Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
6.2.1
-
None
-
Ubuntu 21.xx, debhelper 13
Description
Hi,
I'm trying to build Qt 6.2.1 on a lot of distributions (fedora 33, 34, 35, opensuse leap 15.3, snap, debian 10, 11, stable, unstable, ubuntu 18.04 20.04 21.04 21.10). Pretty everything is working so far, except ubuntu 21.xx with an error I don't understand:
/tmp/ccZnnIkM.s: Assembler messages: /tmp/ccZnnIkM.s: Error: invalid attempt to declare external version name as default in symbol `qt_version_tag@@Qt_6.2' make[2]: *** [/tmp/ccGmTIUf.mk:2: /tmp/libQt6Core.so.6.2.1.SOcpJr.ltrans0.ltrans.o] Error 1 make[2]: *** Waiting for unfinished jobs.... lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed
(cf attached log for more logs)
This doesn't seems to be the case inside outside debian's tools (I mean it seems I can build Qt 6.2.1 without debhelper, but not it fails for the packaging), the rules file is pretty simple (see attached). debhelper, gcc, g++, ninja are from the official repositories, cmake is from https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-Linux-x86_64.sh