Package: meson
Version: 0.47.1-2
Severity: normal

Hi,

afaik, an Architecture: all package needs to build correctly on all
release arches. I cannot find policy lanugage that defines that,
therefore this is only a "normal" bug.

When I try building meson on armhf[1], the build fails with
"/usr/bin/ld: cannot find -lquadmath". The same build on amd64 goes
through just fine.

Tail of the build log:
ninja explain: Meson-1.0.gir is dirty
ninja explain: Meson-1.0.gir is dirty
ninja explain: Meson-1.0.typelib is dirty
ninja explain: output build.ninja older than most recent input ../test 
cases/frameworks/22 gir link order/meson.build (1535290699 vs 1535290719)
ninja explain: output PHONY of phony edge with no inputs doesn't exist
ninja explain: PHONY is dirty
ninja explain: command line changed for libsample.so
ninja explain: libsample.so is dirty
ninja explain: libsample.so is dirty
ninja explain: Meson-1.0.gir is dirty
ninja explain: Meson-1.0.gir is dirty
ninja explain: Meson-1.0.typelib is dirty
ninja explain: all is dirty
ninja explain: meson-install is dirty
ninja explain: output PHONY of phony edge with no inputs doesn't exist
ninja explain: PHONY is dirty
ninja explain: PHONY is dirty
ninja explain: meson-clean-ctlist is dirty
ninja explain: clean-ctlist is dirty
ninja explain: meson-clean is dirty

Skipping: test cases/nasm/1 configure file

Total configuration time: 1565.97s
Total build time: 7602.30s
Total test time: 84.40s

Total passed tests: 382
Total failed tests: 1
Total skipped tests: 39

Mesonlogs of failing tests

The Meson build system
Version: 0.47.1
Source dir: /<<PKGBUILDDIR>>/test cases/fortran/9 cpp
Build dir: /<<PKGBUILDDIR>>/b fd9bf17977
Build type: native build
Project name: C++ and FORTRAN
Project version: undefined
Appending FFLAGS from environment: '-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong'
Appending LDFLAGS from environment: '-Wl,-z,relro'
Native Fortran compiler: gfortran (gcc 8.2.0 "GNU Fortran (Debian 8.2.0-4) 
8.2.0")
Appending CXXFLAGS from environment: '-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security'
Appending LDFLAGS from environment: '-Wl,-z,relro'
Appending CPPFLAGS from environment: '-Wdate-time -D_FORTIFY_SOURCE=2'
Native C++ compiler: ccache c++ (gcc 8.2.0 "c++ (Debian 8.2.0-4) 8.2.0")
Build machine cpu family: arm
Build machine cpu: armv7l
Build targets in project: 1
WARNING: Project specifies a minimum meson_version '' which conflicts with:
 * 0.42.0: {'Pcap Dependency'}
 * 0.44.0: {'LibWMF Dependency'}
Found ninja-1.8.2 at /usr/bin/ninja
[0/1] /usr/bin/python3 /<<PKGBUILDDIR>>/meson.py --internal regenerate 
'/<<PKGBUILDDIR>>/test cases/fortran/9 cpp' '/<<PKGBUILDDIR>>/b fd9bf17977' 
--backend ninja
The Meson build system
Version: 0.47.1
Source dir: /<<PKGBUILDDIR>>/test cases/fortran/9 cpp
Build dir: /<<PKGBUILDDIR>>/b fd9bf17977
Build type: native build
Project name: C++ and FORTRAN
Project version: undefined
Native Fortran compiler: gfortran (gcc 8.2.0 "GNU Fortran (Debian 8.2.0-4) 
8.2.0")
Native C++ compiler: ccache c++ (gcc 8.2.0 "c++ (Debian 8.2.0-4) 8.2.0")
Build machine cpu family: arm
Build machine cpu: armv7l
Build targets in project: 1
Found ninja-1.8.2 at /usr/bin/ninja
[1/3] gfortran -Icppfort@exe -I. '-I../test cases/fortran/9 cpp' 
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -O0 -g -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Jcppfort@exe   
-o 'cppfort@exe/fortran.f.o' -c '../test cases/fortran/9 cpp/fortran.f'
[2/3] ccache c++ -Icppfort@exe -I. '-I../test cases/fortran/9 cpp' 
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch 
-Wnon-virtual-dtor -O0 -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2  -MD -MQ 'cppfort@exe/main.cpp.o' -MF 
'cppfort@exe/main.cpp.o.d' -o 'cppfort@exe/main.cpp.o' -c '../test 
cases/fortran/9 cpp/main.cpp'
[3/3] ccache c++  -o cppfort 'cppfort@exe/main.cpp.o' 'cppfort@exe/fortran.f.o' 
-Wl,--no-undefined -Wl,--as-needed -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
-Wl,--start-group -lgfortran -lm -lquadmath -Wl,--end-group  
FAILED: cppfort 
ccache c++  -o cppfort 'cppfort@exe/main.cpp.o' 'cppfort@exe/fortran.f.o' 
-Wl,--no-undefined -Wl,--as-needed -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
-Wl,--start-group -lgfortran -lm -lquadmath -Wl,--end-group  
/usr/bin/ld: cannot find -lquadmath
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 

ninja explain: output build.ninja older than most recent input ../test 
cases/fortran/9 cpp/meson.build (1535289470 vs 1535289471)
ninja explain: deps for 'cppfort@exe/main.cpp.o' are missing
ninja explain: cppfort@exe/main.cpp.o is dirty
ninja explain: deps for 'cppfort@exe/fortran.f.o' are missing
ninja explain: cppfort@exe/fortran.f.o is dirty
ninja explain: cppfort is dirty
 

System information.
Architecture: ('32bit', 'ELF')
Machine: armv7l
Platform: Linux
Processor: 
System: Linux

Running unittests.

make[1]: *** [debian/rules:19: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2018-08-26T13:39:01Z

If I'm doing things wrong, please advise.

Greetings
Marc



[1] I am building on armhf because the buildd software in use insists on
building on all arches before accepting the package.

Reply via email to