Your message dated Mon, 16 Apr 2012 10:04:16 +0000
with message-id <e1sjina-0007os...@franck.debian.org>
and subject line Bug#661393: fixed in keyutils 1.5.5-2
has caused the Debian Bug report #661393,
regarding FTBFS: Enabling hardening on amd64 causes relocation errors
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 ow...@bugs.debian.org
immediately.)


-- 
661393: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661393
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: keyutils
Version: 1.5.5-1
Severity: important
Tags: patch

Hello:

The last release enabled hardening but caused the following errors in amd64:
 /usr/bin/ld: keyctl.o: relocation R_X86_64_32S against `commands' can
not be used when making a shared object; recompile with -fPIC
 /usr/bin/ld: request-key.o: relocation R_X86_64_32 against `.rodata'
can not be used when making a shared object; recompile with -fPIC
 /usr/bin/ld: key.dns_resolver.o: relocation R_X86_64_32 against
`.rodata' can not be used when making a shared object; recompile with
-fPIC

If hardening is disabled the errors go away but I doubt that is
desired. As an attachment I included a patch for a possible way to fix
the FTBFS.

The log of the errors can be found:
https://buildd.debian.org/status/fetch.php?pkg=keyutils&arch=amd64&ver=1.5.5-1&stamp=1327720867

The 2nd and 3rd -fPIC error messages appear when you add -fPIC flag to
the object file of the previous line.

Hope this helps,
Miguel
Description: Use -fPIC for the generated *.o.
 Errors caused by enabling hardening in amd64:
 /usr/bin/ld: keyctl.o: relocation R_X86_64_32S against `commands' can not be used when making a shared object; recompile with -fPIC
 /usr/bin/ld: request-key.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
 /usr/bin/ld: key.dns_resolver.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
Forwarded: no
Author: Miguel Colon <debian.mic...@gmail.com>
Last-Update: 2012-02-26

--- keyutils-1.5.5.orig/Makefile
+++ keyutils-1.5.5/Makefile
@@ -127,7 +127,7 @@ keyutils.os: keyutils.c keyutils.h Makef
 #
 ###############################################################################
 %.o: %.c keyutils.h Makefile
-	$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
+	$(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -o $@ -c $<
 
 keyctl: keyctl.o $(DEVELLIB)
 	$(CC) -L. $(CFLAGS) $(LDFLAGS) $(RPATH) -o $@ $< -lkeyutils

--- End Message ---
--- Begin Message ---
Source: keyutils
Source-Version: 1.5.5-2

We believe that the bug you reported is fixed in the latest version of
keyutils, which is due to be installed in the Debian FTP archive:

keyutils-dbg_1.5.5-2_i386.deb
  to main/k/keyutils/keyutils-dbg_1.5.5-2_i386.deb
keyutils_1.5.5-2.debian.tar.gz
  to main/k/keyutils/keyutils_1.5.5-2.debian.tar.gz
keyutils_1.5.5-2.dsc
  to main/k/keyutils/keyutils_1.5.5-2.dsc
keyutils_1.5.5-2_i386.deb
  to main/k/keyutils/keyutils_1.5.5-2_i386.deb
libkeyutils-dev_1.5.5-2_i386.deb
  to main/k/keyutils/libkeyutils-dev_1.5.5-2_i386.deb
libkeyutils1_1.5.5-2_i386.deb
  to main/k/keyutils/libkeyutils1_1.5.5-2_i386.deb



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 661...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel.baum...@progress-technologies.net> (supplier of updated 
keyutils 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 16 Apr 2012 09:45:04 +0000
Source: keyutils
Binary: keyutils keyutils-dbg libkeyutils1 libkeyutils-dev
Architecture: source i386
Version: 1.5.5-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <daniel.baum...@progress-technologies.net>
Changed-By: Daniel Baumann <daniel.baum...@progress-technologies.net>
Description: 
 keyutils   - Linux Key Management Utilities
 keyutils-dbg - Linux Key Management Utilities (debug)
 libkeyutils-dev - Linux Key Management Utilities (development)
 libkeyutils1 - Linux Key Management Utilities (library)
Closes: 661393
Changes: 
 keyutils (1.5.5-2) unstable; urgency=low
 .
   * Adding patch from Simon Ruderich <si...@ruderich.org> to fix FTBFS
     with hardening flags (Closes: #661393).
   * Updating to standards version 3.9.3.
   * Updating copyright file machine-readable format version 1.0.
   * Tightening debhelper install files.
Checksums-Sha1: 
 5d2e42a9a3d390b70d45b10fec49e1d405a71164 1248 keyutils_1.5.5-2.dsc
 a5c77ecd1f7854e30ba6a36792e517cd787aac82 77932 keyutils_1.5.5.orig.tar.gz
 d45949586c6442c18b681834e829e11591e4a1f4 5668 keyutils_1.5.5-2.debian.tar.gz
 e7b79ea228b74f3e5d8ca2036ea4f8a2aa68c546 39784 keyutils_1.5.5-2_i386.deb
 4bbd141c8b200f9ef762a396036ef4db4738d162 48058 keyutils-dbg_1.5.5-2_i386.deb
 b49754d87f50a85430befeed1b12e2779e46bad6 9342 libkeyutils1_1.5.5-2_i386.deb
 33aecb5d25ca9cf79307f54bdb11e27fc5e77370 30310 libkeyutils-dev_1.5.5-2_i386.deb
Checksums-Sha256: 
 597100d7c9e17a01b652ccc96a02d5e391ebf8ff46ffe1c7e59053ac36195e8c 1248 
keyutils_1.5.5-2.dsc
 02b05fdb4758f95d3a271d8052f49b1aee2ec56d47b5161366fae9ce7e311918 77932 
keyutils_1.5.5.orig.tar.gz
 1955073dc48afde56c1024c81189ee09833414334bd56fd1166fdc0f0f0ff701 5668 
keyutils_1.5.5-2.debian.tar.gz
 e7bd635b8c9243a02fd969c8c0b2dae6dea98a7ca744f8f9fe68552a94bfc9ca 39784 
keyutils_1.5.5-2_i386.deb
 1a0e100e72830d5eb4445e9c21428123d88616f1411ce4886e27895c45d082a9 48058 
keyutils-dbg_1.5.5-2_i386.deb
 558ba1b40a8d1c65929bcfba5b9ceb88046fdcc2500acd32932e5606149fba20 9342 
libkeyutils1_1.5.5-2_i386.deb
 5d49d0c335c61fcea8e9a3c567112c9654dd725a83f0f83fa695dd3dd35377da 30310 
libkeyutils-dev_1.5.5-2_i386.deb
Files: 
 8910304476532292b57e2f5fdc4ad947 1248 admin optional keyutils_1.5.5-2.dsc
 c8f48b4e8a9d1fe0c56c1427cbd520e4 77932 admin optional 
keyutils_1.5.5.orig.tar.gz
 e17ad3bef7f3108ac0a6f480f1670066 5668 admin optional 
keyutils_1.5.5-2.debian.tar.gz
 db0e9c34a7d1f6df82ecf53ffca63b80 39784 admin optional keyutils_1.5.5-2_i386.deb
 575ff80e9b94d026f4c8fbe06c89fc0d 48058 debug extra 
keyutils-dbg_1.5.5-2_i386.deb
 94fb0f5ecb9012f4f4005beb0a32c5ab 9342 libs standard 
libkeyutils1_1.5.5-2_i386.deb
 20ae056ba9bb4c1197578089e3a4b42f 30310 libdevel optional 
libkeyutils-dev_1.5.5-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk+L6vAACgkQ+C5cwEsrK55xjQCfflaRqA+38oqtnoXHWpqk26nM
WQgAn1RPwtb0Dp1fSC3k+saWIIqN9U42
=V5X5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to