Opened 15 years ago

Closed 14 years ago

#5927 closed bug (fixed)

LocaleKitTests fails to build

Reported by: mmadia Owned by: pulkomandy
Priority: normal Milestone: R1
Component: Kits/Locale Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #5408
Platform: All

Description

36601-4h

/generated/x86gcc2> jam -qj4 -sHAIKU_ADD_ALTERNATIVE_GCC_LIBS=0 LocaleKitTests

...updating 8 target(s)...
C++ /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogSpeed.o 
C++ /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTest.o 
C++ /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTestAddOn.o 
C++ /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/localeTest.o 
Link /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogSpeed 
Link /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTest 
SetType1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogSpeed 
MimeSet1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogSpeed 
SetVersion1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogSpeed 
Chmod1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogSpeed 
/haiku-src/haiku-svn/src/tests/kits/locale/localeTest.cpp: In function `int main()':
/haiku-src/haiku-svn/src/tests/kits/locale/localeTest.cpp:87: no matching function for call to `BLanguage::Name ()'
/haiku-src/haiku-svn/src/tests/kits/locale/localeTest.cpp:88: no matching function for call to `BLanguage::Family ()'

/boot/develop/abi/x86/gcc2/tools/current/bin/gcc -c "/haiku-src/haiku-svn/src/tests/kits/locale/localeTest.cpp" -O2 -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -pipe -nostdinc -march=pentium -D_ZETA_USING_DEPRECATED_API_=1 -D_ZETA_TS_FIND_DIR_=1 -D__HAIKU__ -DHAIKU_DISTRO_COMPATIBILITY_DEFAULT -D__INTEL__ -DARCH_x86 -DBOOT_ARCHIVE_IMAGE_OFFSET=300 -DB_USE_BUILTIN_ATOMIC_FUNCTIONS -DHAIKU_INCLUDE_PATENTED_CODE=0 -D_BEOS_R5_COMPATIBLE_ -DHAIKU_TARGET_PLATFORM_HAIKU -I/haiku-src/haiku-svn/build/user_config_headers -I/haiku-src/haiku-svn/build/config_headers -I/haiku-src/haiku-svn/src/tests/kits/locale -I/generated/x86gcc2/objects/common/tests/kits/locale -I/generated/x86gcc2/objects/haiku_host/x86/common/tests/kits/locale -I/generated/x86gcc2/objects/haiku/x86/common/tests/kits/locale -I- -I/haiku-src/haiku-svn/headers/os/locale -I/haiku-src/haiku-svn/headers/private/locale -I/haiku-src/haiku-svn/headers/private/shared -I/haiku-src/haiku-svn/headers/libs/icu -I/haiku-src/haiku-svn/headers/cpp -I/haiku-src/haiku-svn/headers/build/gcc-2.95.3 -I/haiku-src/haiku-svn/headers -I/haiku-src/haiku-svn/headers/posix -I/haiku-src/haiku-svn/headers/glibc -I/haiku-src/haiku-svn/headers/os -I/haiku-src/haiku-svn/headers/os/add-ons -I/haiku-src/haiku-svn/headers/os/add-ons/file_system -I/haiku-src/haiku-svn/headers/os/add-ons/graphics -I/haiku-src/haiku-svn/headers/os/add-ons/input_server -I/haiku-src/haiku-svn/headers/os/add-ons/registrar -I/haiku-src/haiku-svn/headers/os/add-ons/screen_saver -I/haiku-src/haiku-svn/headers/os/add-ons/tracker -I/haiku-src/haiku-svn/headers/os/app -I/haiku-src/haiku-svn/headers/os/device -I/haiku-src/haiku-svn/headers/os/drivers -I/haiku-src/haiku-svn/headers/os/game -I/haiku-src/haiku-svn/headers/os/interface -I/haiku-src/haiku-svn/headers/os/kernel -I/haiku-src/haiku-svn/headers/os/locale -I/haiku-src/haiku-svn/headers/os/media -I/haiku-src/haiku-svn/headers/os/mail -I/haiku-src/haiku-svn/headers/os/midi -I/haiku-src/haiku-svn/headers/os/midi2 -I/haiku-src/haiku-svn/headers/os/net -I/haiku-src/haiku-svn/headers/os/opengl -I/haiku-src/haiku-svn/headers/os/storage -I/haiku-src/haiku-svn/headers/os/support -I/haiku-src/haiku-svn/headers/os/translation -I/haiku-src/haiku-svn/headers/private/. -o "/generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/localeTest.o" ;

...failed C++ /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/localeTest.o ...
...skipped localeTest for lack of <src!tests!kits!locale>localeTest.o...
SetType1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTest 
MimeSet1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTest 
SetVersion1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTest 
Chmod1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTest 
Link /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTestAddOn 
SetType1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTestAddOn 
MimeSet1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTestAddOn 
SetVersion1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTestAddOn 
Chmod1 /generated/x86gcc2/objects/haiku/x86/release/tests/kits/locale/catalogTestAddOn 
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 6 target(s)...

Attached is a patch relating to #5408 TR* --> B_TRANSLATE* I didn't want to commit it, seeing as the code doesn't build.

Attachments (1)

5408-LocaleKitTests.patch (4.7 KB ) - added by mmadia 15 years ago.

Download all attachments as: .zip

Change History (3)

by mmadia, 15 years ago

Attachment: 5408-LocaleKitTests.patch added

comment:1 by mmadia, 15 years ago

Blocking: 5408 added

(In #5408) The two above attachments show what I believe to be the remaining bits. Two directories ( src/tests/kits/locale/ & src/apps/installedpackages/ ) do not build, have tickets reported ( #5927 & #5928 respectively), & have TR-->B_TRANSLATE patches attached.

As for cleaning up headers/os/locale/Catalog.h , i'd prefer someone else to do it or tell me the which parts should be deleted -- eg, just the #define TR[.*] lines or the #undef TR[.*] lines as well or ...

comment:2 by pulkomandy, 14 years ago

Resolution: fixed
Status: newclosed

Patch apparently already applied in hrev36733. So closing this bug :)

Note: See TracTickets for help on using tickets.