On Sat, Nov 19, 2016 at 08:08:54AM +0100, Lucas Nussbaum wrote: > During a rebuild of all packages in sid, your package failed to build on > amd64. > > Relevant part (hopefully): > > make[4]: Entering directory '/<<PKGBUILDDIR>>/dballe' > > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > > -I.. -DTABLE_DIR=\"/usr/share/wreport\" -I.. -I.. > > -I/usr/include/postgresql -I/usr/include/mysql > > -fdebug-prefix-map=/build/mysql-5.7-lG4h93/mysql-5.7-5.7.16=. .specs > > -fabi-version=2 -fno-omit-frame-pointer -I/usr/include/lua5.1 -Werror -g > > -O2 -Wall -c -o libdballe_la-file.lo `test -f 'file.cc' || echo './'`file.cc > > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. > > -DTABLE_DIR=\"/usr/share/wreport\" -I.. -I.. -I/usr/include/postgresql > > -I/usr/include/mysql > > -fdebug-prefix-map=/build/mysql-5.7-lG4h93/mysql-5.7-5.7.16=. .specs > > -fabi-version=2 -fno-omit-frame-pointer -I/usr/include/lua5.1 -Werror -g > > -O2 -Wall -c file.cc -fPIC -DPIC -o .libs/libdballe_la-file.o > > g++: error: .specs: No such file or directory > > Makefile:1708: recipe for target 'libdballe_la-file.lo' failed > > make[4]: *** [libdballe_la-file.lo] Error 1
I have no idea where that .specs comes from:
$ rgrep specs dballe-7.19/
dballe-7.19/ltmain.sh: # -specs=* GCC specs files
dballe-7.19/ltmain.sh: -specs=*|-fsanitize=*)
dballe-7.19/python/doc-dballe:c_argspecs = {
dballe-7.19/python/doc-dballe: if inspect.isroutine(m) and
(inspect.isfunction(m) or fullname in c_argspecs):
dballe-7.19/python/doc-dballe: argspec = c_argspecs.get(fullname, None)
dballe-7.19/fabfile.py: " --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64
-mtune=generic"
dballe-7.19/fabfile.py: fedora_ldflags = "-Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"
Lucas, is there a way for me to reproduce that build in a way that I can
run commands in the build environment, like running pkg-config to see
what compiler flags are being injected, or inspecting config.status to
see what ./configure has found?
Alternatively, if you still have that build environment around, can you
send me a copy of config.status?
Enrico
--
GPG key: 4096R/634F4BD1E7AD5568 2009-05-08 Enrico Zini <[email protected]>
signature.asc
Description: PGP signature

