Your message dated Tue, 07 Oct 2025 15:50:12 +0000
with message-id <[email protected]>
and subject line Bug#1114771: fixed in reglookup 1.0.1+svn296-2
has caused the Debian Bug report #1114771,
regarding reglookup: FTBFS on hppa - reglookup-recover.c needs compilation with 
-fPIE
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1114771: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114771
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: reglookup
Version: 1.0.1+svn296-1
Severity: normal
Tags: patch

Dear Maintainer,

Build fails here:
gcc -o src/reglookup-recover -fPIE -pie src/reglookup-recover.o -Llib 
-L/usr/lib -lm -lpthread -lregfi -ltalloc
/usr/bin/ld: src/reglookup-recover.o: relocation R_PARISC_DPREL21L can not be 
used when making a shared object; recompile with -fPIC
/usr/bin/ld: src/reglookup-recover.o(.text+0x1fc): cannot handle 
R_PARISC_PCREL17F for fwrite@@GLIBC_2.2
/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=reglookup&arch=hppa&ver=1.0.1%2Bsvn296-1&stamp=1757429064&raw=0

The 32-bit hppa architecture doesn't enable PIE by default.  As a result,
reglookup-recover.c needs to be compiled with -fPIE.

With the attached patch, the reglookup package builds successfully on hppa.
Maybe another alternative would be to modify CFLAGS in debian/rules.

Regards,
Dave Anglin

-- System Information:
Debian Release: forky/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.12.44-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--- SConstruct.save     2025-09-09 12:47:08.000000000 -0400
+++ SConstruct  2025-09-09 13:01:45.496008451 -0400
@@ -10,7 +10,8 @@
 # package build, instead relying on CFLAGS/LDFLAGS to specify them when 
appropriate?
 cflags = '-std=gnu99 -pedantic -Wall -Werror=format-security 
-D_FILE_OFFSET_BITS=64 -fvisibility=hidden'
 cflags += ' -DREGFI_VERSION=\'"%s"\' ' % REGFI_VERSION
-cflags += os.environ.get('CFLAGS','-fPIE -pie -fstack-protector-strong 
-D_FORTIFY_SOURCE=2 -O2')
+cflags += ' -fPIE -pie '
+cflags += os.environ.get('CFLAGS','-fstack-protector-strong 
-D_FORTIFY_SOURCE=2 -O2')
 
 linkflags = "-fPIE -pie " + os.environ.get('LDFLAGS','-z relro -z now')
 

--- End Message ---
--- Begin Message ---
Source: reglookup
Source-Version: 1.0.1+svn296-2
Done: Sven Geuer <[email protected]>

We believe that the bug you reported is fixed in the latest version of
reglookup, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sven Geuer <[email protected]> (supplier of updated reglookup 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 07 Oct 2025 17:05:52 +0200
Source: reglookup
Architecture: source
Version: 1.0.1+svn296-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Sven Geuer <[email protected]>
Closes: 1114771
Changes:
 reglookup (1.0.1+svn296-2) unstable; urgency=medium
 .
   * Team upload.
   * d/p/fix-install.patch: Update patch to enable for successful hppa builds
     (Closes: #1114771). Thanks to John David Anglin for providing the fix.
   * d/watch: Convert it to version 5 format and switch to a working repository.
   * d/u/metadata: Update URLs to refer to a working repository.
   * d/control:
     - Drop 'Rules-Requires-Root: no', it's the standard now.
     - Bump Standards-Version to 4.7.2.
   * d/copyright:
     - Drop out-dated Upstream-Contact and Source fields.
     - Update packaging years.
Checksums-Sha1:
 8fe8920beaa340d33ba1ff2efd583f7ce909a4d1 2440 reglookup_1.0.1+svn296-2.dsc
 3d55e3e506ece6d05c660c1c17997a329ec2adee 8232 
reglookup_1.0.1+svn296-2.debian.tar.xz
 4e13078e4a763b764e9562e2ca80944abd8edc68 11300 
reglookup_1.0.1+svn296-2_hppa.buildinfo
Checksums-Sha256:
 1277cdfe90fb1f69cc7ac1a84ce3405534d2feae03afd64e11fa266f546bb09d 2440 
reglookup_1.0.1+svn296-2.dsc
 9a7a3c94fc74246f2946c1319d6e7576c6e0f34dde46e61324ca05b5ab0e1c55 8232 
reglookup_1.0.1+svn296-2.debian.tar.xz
 ee0c9fed7181dabf2e84d6b26530f53cc8c5a358b42f6b71d093e68bf90c1944 11300 
reglookup_1.0.1+svn296-2_hppa.buildinfo
Files:
 902190c929e382d5629e220ca2c05684 2440 utils optional 
reglookup_1.0.1+svn296-2.dsc
 0fb5d8f8fc4586d192fc695d62c489ff 8232 utils optional 
reglookup_1.0.1+svn296-2.debian.tar.xz
 c75ccb0a1dabc756cfec9381d930e1f9 11300 utils optional 
reglookup_1.0.1+svn296-2_hppa.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEPfXoqkP8n9/QhvGVrfUO2vit1YUFAmjlMVsPHHNnZUBkZWJp
YW4ub3JnAAoJEK31Dtr4rdWFlbMP/Rv4IXlBDNaxhgQnoWmYpLgl9hMuu8aSuUow
h07grvfeSb7B0Uv2j9e6y1xs2YXsncWxXZwS9Hg06BIZcAu06NAZNfuxxs3eqvTH
74jqqYu4wmyXfaT5yfA6dWlkAIdjUitcFoLGGhKUxOtUBkXJ8I81/z9YS5Y8Ie2Q
OISPVZ7iIsggOunjeTtjB/CFBN8SsB3ehMJ4YCFIkeRAFx/OIkYuuJw5A/CT8CuG
6DvEkwuAzDP4Suc62eTK1nGTQBYhTMJ/Xchqca2hZz46HHJJzzbCu1cv0sctTX8N
f/GRS+97qRumwd5p4ZJ60OmNd+aQlucO4o+hU3bFSWdT3ubh/HCGghNLPU2BfTbg
WTE8/dfqNP26P5/U79O4MJSZrpUKSVB1Wexqj5AZ5BICJeZv942kTUitVWhANO49
r+fBWOVeuCsgUd+4g2+M6ucFs51J8arB55phTqmsG0vjTax+dwGopfKL4sqQ4GrD
zE9C1hMg2V/alRDyaoqUmxluYCJec2cDK/pv7hgAsOy44czOpSGd3plTk7OAN1qN
l3puAPIFl3aXMbkloyst8GL5Y1x+wlvutzeMyArwgktQdGkQaP7r5Hm6R8m03/J7
PGxfWtSPrRKWx/vnFzNSC7UPT9Z40LyAbHuxSEOtpUCIUDsKZ2edkrX7LVqiuLt0
ZnW1qXZc
=5a7S
-----END PGP SIGNATURE-----

Attachment: pgpGbx1NsWHNO.pgp
Description: PGP signature


--- End Message ---

Reply via email to