[Debian GNUstep maintainers] Bug#1093980: universal-detector: FTCBFS: Uses the build architecture Objective-C compiler
Yavor Doganov
yavor at gnu.org
Fri Jan 24 12:46:15 GMT 2025
Source: universal-detector
Version: 1.1-5
Control: block -1 with 1093978
Tags: pending
User: debian-cross at lists.debian.org
Usertags: ftcbfs
When cross building on amd64 for armhf:
dh_auto_build -Smakefile -- -f Makefile.linux
make -j2 "INSTALL=install --strip-program=true" PKG_CONFIG=arm-linux-gnu
eabihf-pkg-config CXX=arm-linux-gnueabihf-g\+\+ CC=arm-linux-gnueabihf-gcc -f Ma
kefile.linux
make[2]: Entering directory '/build/reproducible-path/universal-detector-1.1'
gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FO
RTIFY_SOURCE=2 -I/usr/include/arm-linux-gnueabihf/GNUstep -std=gnu99 -O2 -Wno-im
port -Wno-multichar -g -D_FILE_OFFSET_BITS=64 -isystem /usr/include/GNUstep -DGN
USTEP -DGNU_RUNTIME=1 -D_NATIVE_OBJC_EXCEPTIONS -fgnu-runtime -fexceptions -fobjc-exceptions -fconstant-string-class=NSConstantString -g -O2 -ffile-prefix-map=/build/reproducible-path/universal-detector-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -MMD -MFBuild/DetectorTest.d -MTBuild/DetectorTest.o -c DetectorTest.m -o Build/DetectorTest.o
[...]
arm-linux-gnueabihf-g++ -Wl,--whole-archive -fexceptions -fgnu-runtime -Wl,-z,relro -Wl,-z,now -o DetectorTest Build/DetectorTest.o libUniversalDetector.a -Wl,--no-whole-archive -lgnustep-base -lobjc -lm
Build/DetectorTest.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile.linux:64: DetectorTest] Error 1
More information about the pkg-GNUstep-maintainers
mailing list