[pkg-bacula-devel] Bug#913825: bacula: FTBFS on mips and mipsel
Carsten Leonhardt
leo at debian.org
Thu Nov 15 17:03:56 GMT 2018
Package: src:bacula
Version: 9.2.2-1
Severity: serious
postgresql-server-dev-11 depends on clang-7, this depends on
libclang-common-7-dev and this contains 64bit libraries which makes it
in turn depends on other 64bit libraries.
Hence the "if test -d /usr/lib64" in db.m4
https://sources.debian.org/src/bacula/9.2.2-1/autoconf/bacula-macros/db.m4/#L288-L294
succeeds, leading to
/usr/bin/g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/mipsel-linux-gnu/8/../../../mipsel-linux-gnu/crti.o /usr/lib/gcc/mipsel-linux-gnu/8/crtbeginS.o .libs/sqlite.o -L/usr/lib64 /usr/lib/mipsel-linux-gnu/libsqlite3.so -L/usr/lib/gcc/mipsel-linux-gnu/8 -L/usr/lib/gcc/mipsel-linux-gnu/8/../../../mipsel-linux-gnu -L/usr/lib/gcc/mipsel-linux-gnu/8/../../../../lib -L/lib/mipsel-linux-gnu -L/lib/../lib -L/usr/lib/mipsel-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/mipsel-linux-gnu/8/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/mipsel-linux-gnu/8/crtendS.o /usr/lib/gcc/mipsel-linux-gnu/8/../../../mipsel-linux-gnu/crtn.o -Wl,-z -Wl,relro -Wl,-soname -Wl,libbaccats-sqlite3-9.2.2.so -o .libs/libbaccats-sqlite3-9.2.2.so
/usr/bin/ld: /usr/lib64/libgcc_s.so.1: error adding symbols: file in wrong format
Note the "-L/usr/lib64".
autoconf/bacula-macros/db.m4 needs to be fixed.
More information about the pkg-bacula-devel
mailing list