Over the last few svn updates and compiles have failed because certain files do not get created, always near the end of the build. For instance with my last try I completely emptied the haiku/ folder and /generated.x86gcc4 and /generated.x86gcc2. I redownloaded all the Haiku source. I had to anyway because if I just did a svn update it returned an error about malformed svn. The exact error with my last build is:
...failed C++ /boot/home/develop/haiku/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/mail_daemon/inbound_protocols/imap/ssl/imap_client.o ...
...skipped IMAP for lack of imap_client.o...
...skipped haiku.image-copy-files-dummy-system/add-ons/mail_daemon/inbound_protocols for lack of IMAP...
...skipped 1 for lack of haiku.image-copy-files...
...failed updating 1 target(s)...
...skipped 3 target(s)...
...updated 9275 target(s)...
~/develop/haiku/haiku/generated.x86gcc4>
I have had similar errors over the last month and last few tries at building Haiku. I’m building from r37730 gcc4 hybrid. What can I do to make it build?
Just before the second attempt at completely downloading the whole source; during the first try at downloading the source, I got a vm machine pagefault and kdl. I couldn’t reboot from the kdl screen; the computer was frozen. I had to do a hard reset. I did a checkfs -c /boot
corruption was shown. I then did checkfs /boot
the computer crashed again trying to fix the fs corruption, (this is another known bug). So I don’t know how to fix bfs corruption apart from using checkfs or recreating the partition with DriveSetup.
I then re wiped everything again from the folders mentioned in my first post and tried to download the source again. This time it downloaded without crashing. (it might have crashed before because I was emptying the Trash that had about 700mb and was taking quite a long time, at the same time downloading).
So I eventually got the whole source again but to no avail.
I will look at why it does not create imap_client.o…
[quote=tonestone57]For some reason imap_client.o did not build.
…skipped IMAP for lack of imap_client.o…
You forgot to show why this object file was not compiled. Do jam -q to stop at first error. Find out why imap_client.o was not built.[/quote]
There is a lot of output from the terminal and I am not sure exactly what is relevent. I had done jam -q @disk but I don’t think it stopped where the problem first occurred. Here it is:
AppendToContainerCopyFilesScript haiku.image-copy-files-dummy-system/add-ons/locale/catalogs
C++ /boot/home/develop/haiku/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/mail_daemon/inbound_protocols/imap/ssl/imap_client.o
cc1plus: warnings being treated as errors
/boot/home/develop/haiku/haiku/headers/os/support/String.h: In member function 'virtual status_t IMAP4Client::CreateMailbox(const char*)':
/boot/home/develop/haiku/haiku/headers/os/support/String.h:424: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false
/boot/home/develop/haiku/haiku/headers/os/support/String.h: In member function 'void IMAP4Client::InitializeMailboxes()':
/boot/home/develop/haiku/haiku/headers/os/support/String.h:424: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false
/boot/develop/abi/x86/gcc4/tools/current/bin/gcc -c "/boot/home/develop/haiku/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_client.cpp" -O2 -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -fno-strict-aliasing -fno-tree-vrp -nostdinc -Wno-deprecated -march=pentium -DUSE_SSL -D_ZETA_USING_DEPRECATED_API_=1 -D_ZETA_TS_FIND_DIR_=1 -Werror -Wno-error=uninitialized -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 -DHAIKU_TARGET_PLATFORM_HAIKU -iquote /boot/home/develop/haiku/haiku/build/user_config_headers -iquote /boot/home/develop/haiku/haiku/build/config_headers -iquote /boot/home/develop/haiku/haiku/src/add-ons/mail_daemon/inbound_protocols/imap -iquote /boot/home/develop/haiku/haiku/generated.x86gcc4/objects/common/add-ons/mail_daemon/inbound_protocols/imap/ssl -iquote /boot/home/develop/haiku/haiku/generated.x86gcc4/objects/haiku_host/x86/common/add-ons/mail_daemon/inbound_protocols/imap/ssl -iquote /boot/home/develop/haiku/haiku/generated.x86gcc4/objects/haiku/x86/common/add-ons/mail_daemon/inbound_protocols/imap/ssl -iquote /boot/home/develop/haiku/haiku/headers/os/add-ons/mail_daemon -I /boot/home/develop/haiku/haiku/headers/os/add-ons/mail_daemon -I /boot/home/develop/haiku/haiku/headers/private/mail -I /boot/home/develop/haiku/haiku/generated.x86gcc4/build_packages/openssl-1.0.0-r1a2-x86-gcc2-2010-04-22-a/common/include -I /boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-100425/lib/gcc/i586-pc-haiku/4.3.3/../../../../include/c++/4.3.3 -I /boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-100425/lib/gcc/i586-pc-haiku/4.3.3/../../../../include/c++/4.3.3/i586-pc-haiku -I /boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-100425/lib/gcc/i586-pc-haiku/4.3.3/../../../../include/c++/4.3.3/backward -I /boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-100425/lib/gcc/i586-pc-haiku/4.3.3/../../../../include/c++/4.3.3/ext -I /boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-100425/lib/gcc/i586-pc-haiku/4.3.3/include -I /boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-100425/lib/gcc/i586-pc-haiku/4.3.3/include-fixed -I /boot/home/develop/haiku/haiku/headers -I /boot/home/develop/haiku/haiku/headers/posix -I /boot/home/develop/haiku/haiku/headers/glibc -I /boot/home/develop/haiku/haiku/headers/os -I /boot/home/develop/haiku/haiku/headers/os/add-ons -I /boot/home/develop/haiku/haiku/headers/os/add-ons/file_system -I /boot/home/develop/haiku/haiku/headers/os/add-ons/graphics -I /boot/home/develop/haiku/haiku/headers/os/add-ons/input_server -I /boot/home/develop/haiku/haiku/headers/os/add-ons/registrar -I /boot/home/develop/haiku/haiku/headers/os/add-ons/screen_saver -I /boot/home/develop/haiku/haiku/headers/os/add-ons/tracker -I /boot/home/develop/haiku/haiku/headers/os/app -I /boot/home/develop/haiku/haiku/headers/os/device -I /boot/home/develop/haiku/haiku/headers/os/drivers -I /boot/home/develop/haiku/haiku/headers/os/game -I /boot/home/develop/haiku/haiku/headers/os/interface -I /boot/home/develop/haiku/haiku/headers/os/kernel -I /boot/home/develop/haiku/haiku/headers/os/locale -I /boot/home/develop/haiku/haiku/headers/os/media -I /boot/home/develop/haiku/haiku/headers/os/mail -I /boot/home/develop/haiku/haiku/headers/os/midi -I /boot/home/develop/haiku/haiku/headers/os/midi2 -I /boot/home/develop/haiku/haiku/headers/os/net -I /boot/home/develop/haiku/haiku/headers/os/opengl -I /boot/home/develop/haiku/haiku/headers/os/storage -I /boot/home/develop/haiku/haiku/headers/os/support -I /boot/home/develop/haiku/haiku/headers/os/translation -I /boot/home/develop/haiku/haiku/headers/private/. -o "/boot/home/develop/haiku/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/mail_daemon/inbound_protocols/imap/ssl/imap_client.o" ;
...failed C++ /boot/home/develop/haiku/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/mail_daemon/inbound_protocols/imap/ssl/imap_client.o ...
...skipped IMAP for lack of imap_client.o...
...skipped haiku.image-copy-files-dummy-system/add-ons/mail_daemon/inbound_protocols for lack of IMAP...
...skipped 1 for lack of haiku.image-copy-files...
...failed updating 1 target(s)...
...skipped 3 target(s)...
...updated 297 target(s)...
~/develop/haiku/haiku/generated.x86gcc4>
“warnings being treated as errors”; something going on when compiling because compiler warnings normally are not equal to errors (except in situations where you want to create perfect code).
In file String.h, line 424 is giving an error:
error: assuming signed overflow does not occur when assuming that (X - c) > X is always false
Try the general list for answer to what is going on. Could be POSIX files were updated or build settings changed, etc.,
Thanks for your answer. Do you mean the general developers mailing list? Do I have to register for that if I post there or is it the same login for trac?