Opened 4 years ago

Closed 4 years ago

#15536 closed bug (invalid)

can't build test app_server

Reported by: X512 Owned by: bonefish
Priority: normal Milestone: Unscheduled
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev53613 gcc2hybrid.

Building test app_server by

TARGET_PLATFORM=libbe_test jam -q install-test-apps

fails with following errors:

Starting build of type regular ... 
build-feature packages unavailable on x86_gcc2: webkit libdvdread libdvdnav zstd 
build-feature packages unavailable on x86: gutenprint qrencode_kdl libdvdread libdvdnav gnu_efi_kernel zstd 
AddHaikuImagePackages: package zstd not available! 
libbe_test is not in SUPPORTED_PLATFORMS, cannot make struct-offsets header! 
libbe_test is not in SUPPORTED_PLATFORMS, cannot make struct-offsets header! 
libbe_test is not in SUPPORTED_PLATFORMS, cannot make struct-offsets header! 
libbe_test is not in SUPPORTED_PLATFORMS, cannot make struct-offsets header! 
...patience...
don't know how to make libstdc++.r4.so
...patience...
...found 14440 target(s)...
...can't find 1 target(s)...
...can't make 116 target(s)...
...skipped 116 target(s)...

.

Change History (10)

comment:1 by waddlesplash, 4 years ago

Are you building under Haiku? You may need to build the regular app server in "normal" target platform mode first.

comment:2 by X512, 4 years ago

Yes I am building under Haiku gcc2hybrid. After building normal app_server building test app_server still fails. I will try complete build later.

comment:3 by X512, 4 years ago

Building of test app_server still fails after complete build with

jam -q -j2 @nightly-raw

.

Last edited 4 years ago by X512 (previous) (diff)

comment:4 by X512, 4 years ago

Build is configured by

 ../configure --target-arch x86_gcc2 --target-arch x86 --distro-compatibility official

.

comment:5 by pulkomandy, 4 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev53664.

comment:6 by X512, 4 years ago

Still fails on x86_64.

Configured with:

../configure --build-cross-tools x86_64 ../../buildtools

Errors:

Link objects/libbe_test/x86_64/release/kits/libbe_test.so 
/Haiku/data/packages/haiku/generated.x86_64/cross-tools-x86_64/lib/gcc/x86_64-unknown-haiku/8.3.0/../../../../x86_64-unknown-haiku/bin/ld: cannot find crti.o: No such file or directory
/Haiku/data/packages/haiku/generated.x86_64/cross-tools-x86_64/lib/gcc/x86_64-unknown-haiku/8.3.0/../../../../x86_64-unknown-haiku/bin/ld: cannot find init_term_dyn.o: No such file or directory
/Haiku/data/packages/haiku/generated.x86_64/cross-tools-x86_64/lib/gcc/x86_64-unknown-haiku/8.3.0/../../../../x86_64-unknown-haiku/bin/ld: cannot find -lroot
/Haiku/data/packages/haiku/generated.x86_64/cross-tools-x86_64/lib/gcc/x86_64-unknown-haiku/8.3.0/../../../../x86_64-unknown-haiku/bin/ld: cannot find crtn.o: No such file or directory

comment:7 by X512, 4 years ago

Resolution: fixed
Status: closedreopened

comment:8 by waddlesplash, 4 years ago

I think you cannot build test_app_server with cross-tools; try without them.

comment:9 by X512, 4 years ago

Build was successful without cross-tools, but normal build don't work without cross-tools on x86_64.

Last edited 4 years ago by X512 (previous) (diff)

comment:10 by waddlesplash, 4 years ago

Resolution: invalid
Status: reopenedclosed

This is actually expected; the test_app_server has to be built in a special environment that requires a functioning host.

Note: See TracTickets for help on using tickets.