#10807: FetchFileJob.cpp does not cross-compile on Ubuntu 14.04
----------------------------------+----------------------------
Reporter: starsseed | Owner: bonefish
Type: bug | Status: closed
Priority: normal | Milestone: R1
Component: Build System | Version: R1/Development
Resolution: no change required | Keywords: curl
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+----------------------------
Comment (by jackburton):
Error:
C++
/home/stefano/haiku/haiku/generated/objects/haiku/x86/release/kits/package/FetchFileJob.o
src/kits/package/FetchFileJob.cpp:16:23: fatal error: curl/curl.h: No such
file or directory
compilation terminated.
job commandline:
/home/stefano/haiku/haiku/generated/cross-tools-x86/bin/i586-pc-haiku-gcc
-c "src/kits/package/FetchFileJob.cpp" -O2 -Wall -Wno-trigraphs -Wno-ctor-
dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-
compare -Wno-multichar -Werror -Wno-error=uninitialized -Wno-error=maybe-
uninitialized -Wno-unused-but-set-variable -fno-strict-aliasing -fno-tree-
vrp -Wno-array-bounds -nostdinc -Wno-deprecated -DARCH_x86
-DB_USE_BUILTIN_ATOMIC_FUNCTIONS
-D__HAIKU_PRIMARY_PACKAGING_ARCH=\"x86_gcc2\"
-DHAIKU_DISTRO_COMPATIBILITY_DEFAULT -DHAIKU_INCLUDE_PATENTED_CODE=0
-DHAIKU_TARGET_PLATFORM_HAIKU -DHAIKU_REGULAR_BUILD -iquote
/home/stefano/haiku/haiku/build/user_config_headers -iquote
/home/stefano/haiku/haiku/build/config_headers -iquote src/kits/package
-iquote /home/stefano/haiku/haiku/generated/objects/common/kits/package
-iquote
/home/stefano/haiku/haiku/generated/objects/linux/x86_64/common/kits/package
-iquote
/home/stefano/haiku/haiku/generated/objects/haiku/x86/common/kits/package
-iquote /home/stefano/haiku/haiku/src/kits/package/hpkg -iquote
/home/stefano/haiku/haiku/src/kits/package/hpkg/v1 -iquote
/home/stefano/haiku/haiku/src/kits/package/manager -iquote
/home/stefano/haiku/haiku/src/kits/package/solver -I
/home/stefano/haiku/haiku/headers/private/app -I
/home/stefano/haiku/haiku/headers/private/kernel -I
/home/stefano/haiku/haiku/headers/private/shared -I
/home/stefano/haiku/haiku/headers/private/storage -I
/home/stefano/haiku/haiku/headers/private/support -I
/home/stefano/haiku/haiku/headers/private/. -I
/home/stefano/haiku/haiku/headers/private/system -I
/home/stefano/haiku/haiku/headers/private/system/arch/x86 -I
/home/stefano/haiku/haiku/generated/build_packages/curl_x86-7.45.0-2-x86_gcc2/develop/headers/x86
-I
/home/stefano/haiku/haiku/generated/build_packages/curl_x86-7.45.0-2-x86_gcc2/develop/headers/x86/curl
-I
/home/stefano/haiku/haiku/generated/build_packages/gcc_x86_syslibs_devel-5.4.0_2016_06_04-1-x86_gcc2/develop/headers/x86/c++
-I
/home/stefano/haiku/haiku/generated/build_packages/gcc_x86_syslibs_devel-5.4.0_2016_06_04-1-x86_gcc2/develop/headers/x86/c++/i586
-pc-haiku -I
/home/stefano/haiku/haiku/generated/build_packages/gcc_x86_syslibs_devel-5.4.0_2016_06_04-1-x86_gcc2/develop/headers/x86/c++/backward
-I
/home/stefano/haiku/haiku/generated/build_packages/gcc_x86_syslibs_devel-5.4.0_2016_06_04-1-x86_gcc2/develop/headers/x86/c++/ext
-I
/home/stefano/haiku/haiku/generated/build_packages/gcc_x86_syslibs_devel-5.4.0_2016_06_04-1-x86_gcc2/develop/headers/x86/gcc/include
-I
/home/stefano/haiku/haiku/generated/build_packages/gcc_x86_syslibs_devel-5.4.0_2016_06_04-1-x86_gcc2/develop/headers/x86/gcc
/include-fixed -I /home/stefano/haiku/haiku/headers -I
/home/stefano/haiku/haiku/headers/posix -I
/home/stefano/haiku/haiku/headers/glibc -I
/home/stefano/haiku/haiku/headers/os -I
/home/stefano/haiku/haiku/headers/os/add-ons -I
/home/stefano/haiku/haiku/headers/os/add-ons/file_system -I
/home/stefano/haiku/haiku/headers/os/add-ons/graphics -I
/home/stefano/haiku/haiku/headers/os/add-ons/input_server -I
/home/stefano/haiku/haiku/headers/os/add-ons/registrar -I
/home/stefano/haiku/haiku/headers/os/add-ons/screen_saver -I
/home/stefano/haiku/haiku/headers/os/add-ons/tracker -I
/home/stefano/haiku/haiku/headers/os/app -I
/home/stefano/haiku/haiku/headers/os/device -I
/home/stefano/haiku/haiku/headers/os/drivers -I
/home/stefano/haiku/haiku/headers/os/game -I
/home/stefano/haiku/haiku/headers/os/interface -I
/home/stefano/haiku/haiku/headers/os/kernel -I
/home/stefano/haiku/haiku/headers/os/locale -I
/home/stefano/haiku/haiku/headers/os/media -I
/home/stefano/haiku/haiku/headers/os/mail -I
/home/stefano/haiku/haiku/headers/os/midi -I
/home/stefano/haiku/haiku/headers/os/midi2 -I
/home/stefano/haiku/haiku/headers/os/net -I
/home/stefano/haiku/haiku/headers/os/storage -I
/home/stefano/haiku/haiku/headers/os/support -I
/home/stefano/haiku/haiku/headers/os/translation -I
/home/stefano/haiku/haiku/headers/private/. -o
"/home/stefano/haiku/haiku/generated/objects/haiku/x86/release/kits/package/FetchFileJob.o"
;
...failed C++
/home/stefano/haiku/haiku/generated/objects/haiku/x86/release/kits/package/FetchFileJob.o
...
Note that there is no
/home/stefano/haiku/haiku/generated/build_packages/curl_x86-7.45.0-2-x86_gcc2/develop/headers/x86
directory. IOW: no libcurl headers in the cross compile directories.
--
Ticket URL: <https://dev.haiku-os.org/ticket/10807#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.