On 2025-01-09 Laurent Bigonville <bi...@debian.org> wrote: > Source: gpgme1.0 > Version: 1.24.1-2 > Severity: important > Tags: ftbfs > > Hello, > > It seems that gpgme1.0 FTBFS on x32 during the configure: > > configure:21070: g++ -o conftest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat > -Werror=format-security -fcf-protection -DQT_CORE_LIB > -I/usr/include/x86_64-linux-gnux32/qt5/QtCore > -I/usr/include/x86_64-linux-gnux32/qt5 -fpic > -specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,-z,now conftest.cpp > -lQt5Core >&5 > In file included from > /usr/include/x86_64-linux-gnux32/qt5/QtCore/qcoreapplication.h:43, > from > /usr/include/x86_64-linux-gnux32/qt5/QtCore/QCoreApplication:1, > from conftest.cpp:48: > /usr/include/x86_64-linux-gnux32/qt5/QtCore/qglobal.h:1287:4: error: #error > "You must build your code with position independent code if Qt was built with > -reduce-relocations. " "Compile your code with -fPIC (and not with -fPIE)." > 1287 | # error "You must build your code with position independent code if > Qt was built with -reduce-relocations. "\ > | ^~~~~ > > [...]
Hello, This looks like an issue in the way the basic build infrrastructure on x32 is set-up. Looking at config.log we find that {C,CXX,LDFLAGS} all contain -specs=/usr/share/dpkg/pie-compile.specs on x32 and we get this error: configure:22249: checking whether a simple qt program can be built configure:22260: g++ -o conftest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnux32/qt5/QtCore -I/usr/include/x86_64-linux-gnux32/qt5 -fpic -specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,-z,now conftest.cpp -lQt5Core >&5 In file included from /usr/include/x86_64-linux-gnux32/qt5/QtCore/qcoreapplication.h:43, from /usr/include/x86_64-linux-gnux32/qt5/QtCore/QCoreApplication:1, from conftest.cpp:48: /usr/include/x86_64-linux-gnux32/qt5/QtCore/qglobal.h:1287:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (and not with -fPIE)." The autoconf test *does* use -fpic but -specs=/usr/share/dpkg/pie-link.specs sets PIE and stuff breaks. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'