Bug#265025: marked as done (pwlib: FTBFS on amd64: Missing '-fPIC')

Debian Bug Tracking System owner@bugs.debian.org
Wed, 11 Aug 2004 10:33:09 -0700


Your message dated Wed, 11 Aug 2004 19:17:44 +0200
with message-id <1092244664.4044.54.camel@ganymede.kk.de>
and subject line Bug#265025: pwlib: FTBFS on amd64: Missing '-fPIC'
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Aug 2004 12:51:13 +0000
>From aj@andaco.de Wed Aug 11 05:51:13 2004
Return-path: <aj@andaco.de>
Received: from c156124.adsl.hansenet.de (localhost) [213.39.156.124] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BusZV-00040n-00; Wed, 11 Aug 2004 05:51:13 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1BusZQ-0005LX-RV; Wed, 11 Aug 2004 14:51:08 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: pwlib: FTBFS on amd64: Missing '-fPIC'
Message-Id: <E1BusZQ-0005LX-RV@localhost>
Date: Wed, 11 Aug 2004 14:51:08 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: pwlib
Severity: normal
Tags: patch

When building 'pwlib' on amd64 I get the following error:

g++ -shared -Wl,-soname,libpt_d.so.1.6.6 -o /pwlib-1.6.6.4/lib/libpt_d.so.1.6.6   -L/pwlib-1.6.6.4/lib    /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/asner.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/ipacl.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/modem.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/qchannel.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/delaychan.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/memfile.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/cypher.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/random.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/socks.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/httpsvc.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/snmpclnt.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/snmpserv.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/psnmp.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pasn.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/httpform.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/httpclnt.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/httpsrvr.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/http.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/html.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/ftpclnt.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/ftpsrvr.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/ftp.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/inetmail.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/inetprot.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/telnet.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pwavfile.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/dtmf.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/ptts.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pstun.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pdns.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pssl.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/shttpsvc.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pldap.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pils.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/vfakeio.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/videoio.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/vconvert.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/getdate.tab.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pxml.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pxmlrpc.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pxmlrpcs.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/psoap.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/vxml.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/uicmp.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/sound.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pluginmgr.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/sockets.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/qos.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pvidchan.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/socket.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/svcproc.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/remconn.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/config.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/udll.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/ptime.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/pipechan.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/serchan.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/sfile.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/channel.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/osutil.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/osutils.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/safecoll.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/tlib.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/switch.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/assert.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/collect.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/contain.o  /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/object.o  -lpthread -lldap -lldap_r -llber -lsasl2 -lssl -lcrypto -lexpat -lresolv -ldl
/usr/bin/ld: /pwlib-1.6.6.4/lib/obj_linux_x86_64_d/getdate.tab.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/pwlib-1.6.6.4/lib/obj_linux_x86_64_d/getdate.tab.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [/pwlib-1.6.6.4/lib/libpt_d.so.1.6.6] Error 1

With the attached patch 'pwlib' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/pwlib-1.6.6.4/debian/patches/03_src_ptlib_unix_Makefile.dpatch ./debian/patches/03_src_ptlib_unix_Makefile.dpatch
--- ../tmp-orig/pwlib-1.6.6.4/debian/patches/03_src_ptlib_unix_Makefile.dpatch	2004-08-11 14:25:47.820466266 +0200
+++ ./debian/patches/03_src_ptlib_unix_Makefile.dpatch	2004-08-11 14:16:21.771823466 +0200
@@ -29,7 +29,7 @@
  
  $(OBJDIR)/getdate.tab.o: $(GETDATE_SOURCE)
 -	$(CC) $(CFLAGS) $(STDCCFLAGS) -c $< -o $@
-+	$(CC) $(CFLAGS) -c $< -o $@
++	$(CC) $(CFLAGS) -fPIC -c $< -o $@
  
  $(DEPDIR)/getdate.tab.dep: $(GETDATE_SOURCE)
  	$(CC) $(STDCCFLAGS) -M $< >> $@

---------------------------------------
Received: (at 265025-done) by bugs.debian.org; 11 Aug 2004 17:17:54 +0000
>From kk@verfaction.de Wed Aug 11 10:17:54 2004
Return-path: <kk@verfaction.de>
Received: from nyx.verfaction.de [212.9.161.72] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Buwja-0000aH-00; Wed, 11 Aug 2004 10:17:54 -0700
Received: from erebos.verfaction.de
	([3ffe:400:d00:7357::1] helo=erebos.kk.de ident=Debian-exim)
	by nyx.verfaction.de with asmtp (TLS-1.0:RSA_ARCFOUR_SHA:16)
	(Exim 4.34)
	id 1BuwjX-0000uB-VK; Wed, 11 Aug 2004 19:17:52 +0200
Received: from ganymede.kk.verfaction.de ([192.168.70.18])
	by erebos.kk.de with esmtp (TLS-1.0:RSA_ARCFOUR_MD5:16)
	(Exim 4.34)
	id 1BuwjT-0000NG-Iy; Wed, 11 Aug 2004 19:17:51 +0200
From: Kilian Krause <kk@verfaction.de>
To: Andreas Jochens <aj@andaco.de>, 265025-done@bugs.debian.org
In-Reply-To: <E1BusZQ-0005LX-RV@localhost>
References: <E1BusZQ-0005LX-RV@localhost>
Message-Id: <1092244664.4044.54.camel@ganymede.kk.de>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Wed, 11 Aug 2004 19:17:44 +0200
Subject: Re: Bug#265025: pwlib: FTBFS on amd64: Missing '-fPIC'
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-bFDszWqt8EQhIlOIPc+H"
X-SA-Exim-Connect-IP: 3ffe:400:d00:7357::1
X-SA-Exim-Mail-From: kk@verfaction.de
Delivered-To: 265025-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--=-bFDszWqt8EQhIlOIPc+H
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Andreas,

should be fixed in the 1.6.6.4-2 upload of pwlib. Please let us know if
it doesn't.

--=20
Best regards,
 Kilian

--=-bFDszWqt8EQhIlOIPc+H
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

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

iD8DBQBBGlS4vdkzt4X+wX8RAqP9AJ4lRzvFTGDs7O7gWgNHckqtJWQXlgCdFblc
prDjPU5XSedazoBMSAgrIbk=
=QKYK
-----END PGP SIGNATURE-----

--=-bFDszWqt8EQhIlOIPc+H--