#1091003 libqt6pas FTBFS on hppa architecture

Package:
libqt6pas
Source:
libqt6pas
Submitter:
Helge Deller
Date:
2024-12-29 12:21:02 UTC
Severity:
normal
Tags:
#1091003#5
Date:
2024-12-22 06:43:10 UTC
From:
To:
libqt6pas fails to build from source at link time on hppa, because of this error:
/usr/bin/ld: tmp/qdir_c.o(.text+0x8c): cannot reach 000007b4__ZN4QDirD1Ev@@Qt_6+0, recompile with -ffunction-sections
/usr/bin/ld: tmp/qdir_c.o(.text+0x8c): cannot handle R_PARISC_PCREL17F for _ZN4QDirD1Ev@@Qt_6
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
Full log is here: https://buildd.debian.org/status/fetch.php?pkg=libqt6pas&arch=hppa&ver=2&stamp=1729030405&raw=0

The problem is, that the binary gets too big, thus the error.
Adding this section somewhere at the top of debian/rules file fixes it for me:

ifeq ($(DEB_TARGET_ARCH),hppa)
CXXFLAGS += -mlong-calls
export CXXFLAGS
endif

Can you please add this (or a similiar patch) to the next upload.
(Please note that I uploaded a manually built binary in the meantime).

Thanks!
Helge

#1091003#10
Date:
2024-12-29 12:10:32 UTC
From:
To:

Hi Helge,

Thanks for providing this fix.

Cheers,
Peter

#1091003#15
Date:
2024-12-29 12:20:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libqt6pas, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1091003@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Blackman <peter@pblackman.plus.com> (supplier of updated libqt6pas package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 29 Dec 2024 10:16:53 +0000
Source: libqt6pas
Architecture: source
Version: 2.1
Distribution: unstable
Urgency: medium
Maintainer: Pascal Packaging Team <pkg-pascal-devel@lists.alioth.debian.org>
Changed-By: Peter Blackman <peter@pblackman.plus.com>
Closes: 1091003
Changes:
 libqt6pas (2.1) unstable; urgency=medium
 .
   [ Helge Deller <deller@gmx.de>  (Thanks) ]
   * Use -mlong-calls on hppa (Closes: #1091003)
Checksums-Sha1:
 2d603376010f0ec1392902262c8e5cfab8cfa1b0 1829 libqt6pas_2.1.dsc
 8c76647b7814c35d3e93e1156fc6aaec9ba74fc9 2776 libqt6pas_2.1.tar.xz
 dd88f321ceb5dd1a208a1255684ae6be4a57dd02 12085 libqt6pas_2.1_source.buildinfo
Checksums-Sha256:
 b520140facdadc55d0ed11e9fa6ba5789a3dc6432a2174d3a7381f66da3b82bf 1829 libqt6pas_2.1.dsc
 26bf1855f48f164c1fa784e0334bb7bb71c4c9166d4e27e6cee867bb031c5927 2776 libqt6pas_2.1.tar.xz
 521806cc63a238c789dc4e1515cf8db7378d406088ca19204c8384f24e8bc0eb 12085 libqt6pas_2.1_source.buildinfo
Files:
 25ffa5c104a1f164a1194e08edbdb210 1829 libs optional libqt6pas_2.1.dsc
 fec28a55b41509b5a726b662dbb4b171 2776 libs optional libqt6pas_2.1.tar.xz
 d42f89fc301edd055515b65ad871b43f 12085 libs optional libqt6pas_2.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEE33HzyvBUkEl4+kj4tty6Zj6hsVAFAmdxJTMZHHBldGVyQHBi
bGFja21hbi5wbHVzLmNvbQAKCRC23LpmPqGxUCsQD/9dfmM+VUw1PdgNVby+ngG2
vAijzGzCeQi+/m5tDjvagGOWoTvZRSAYjjWMetbZaueQBfyF4qlgzuahjIX4diJW
xvEkYFkd73QwokEH5HCf6TOaExe6mARajwof140R/mZ5p9AfQ47HzkrQQYtaRRX3
ziVls6SQPSNcfhqPeVnPa3v6CoF/u9CJHB3NvrtDhZiW1eqaqNFQeRTKK7J1/Kgy
d4ao2+VYBLJNOvbYb+x315Cry4JNCpMOXnqImND/EbDXTGvrN2G0IQWPW3kkRW+m
Wg27cgHcm+sREaXWNtKYWqd58oziEnBCVfJx/NTEvxGRBtoecWxOr+lZnVGWAg9Y
nAICXm/jE3c0GK2WJRh0pqXPyc2RffG2ghhMXmLZoMO3Oh+YaxfBgc9J/M+/9c2z
DAZ0Vkf5HOnjrIqfOQaBnyVylS7nZgHpbqsUSmSXU1IJQGLwptmcHxUE2tRa4OIq
fRFjc4OWpj3pYX3LKDaTktWjv6xpB7L1RH0QvobPy03JLnT9ksrrk6wCx2lfMPSN
Grl9PwKrNI39OQ1R9X7XeX+ZmjsHUOQP44Pj5Mp+7DlRu78pCZ7CEpAStuerex5L
Y/V3g+ktRMa74kIxzKsuOjkSezxTJKyZvgOT/W9Geg3dSzo8jLbRSEBOwClrAuT6
jhJzYRTiHLOk76KR4w8WLA==
=uuu0
-----END PGP SIGNATURE-----