pwlib: FTBFS: Shared libraries without -fPIC.

Bug #6824 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
pwlib (Debian)
Fix Released
Unknown
pwlib (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #254916
http://bugs.debian.org/254916

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #254916
http://bugs.debian.org/254916

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 17 Jun 2004 20:27:21 +0200
From: Kurt Roeckx <email address hidden>
To: <email address hidden>
Subject: pwlib: FTBFS: Shared libraries without -fPIC.

Package: pwlib
Version: 1.6.5-2
Severity: serious

When building shared libraries you should be using the -fPIC
option and static should be done without.

It's currently failing on this on atleast amd64 and hppa.

>From the log:
make[6]: Entering directory
`/home/freddy/build/pwlib/pwlib-1.6.5/plugins/sound_alsa'
mkdir -p ../pwlib/device/sound
g++ -DP_USE_PRAGMA -fno-rtti -ffunction-sections -fdata-sections
-D_REENTRANT -Wall -DP_64BIT
-I/home/freddy/build/pwlib/pwlib-1.6.5/include \
-lasound \
-I. -shared sound_alsa.cxx -o ../pwlib/device/sound/alsa.a
/usr/bin/ld: /tmp/ccKMnwDk.o: relocation R_X86_64_32 can not be
used when making a shared object; recompile with -fPIC

This looks really weird, it's using -shared for a .a file. Using
-fPIC actually makes this build on amd64 but is not the proper
solution. The extention should probably also be renamed to .so.

I really have no idea what the intention is here.

Kurt

Revision history for this message
In , Jose Carlos Garcia Sogo (jsogo) wrote : Bug#254916: fixed in pwlib 1.6.5-3
Download full text (4.4 KiB)

Source: pwlib
Source-Version: 1.6.5-3

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

asnparser_1.6.5-3_i386.deb
  to pool/main/p/pwlib/asnparser_1.6.5-3_i386.deb
libpt-1.6.3_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-1.6.3_1.6.5-3_i386.deb
libpt-dbg_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-dbg_1.6.5-3_i386.deb
libpt-dev_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-dev_1.6.5-3_i386.deb
libpt-doc_1.6.5-3_all.deb
  to pool/main/p/pwlib/libpt-doc_1.6.5-3_all.deb
libpt-plugins-alsa_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-alsa_1.6.5-3_i386.deb
libpt-plugins-avc_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-avc_1.6.5-3_i386.deb
libpt-plugins-dc_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-dc_1.6.5-3_i386.deb
libpt-plugins-oss_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-oss_1.6.5-3_i386.deb
libpt-plugins-v4l_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-v4l_1.6.5-3_i386.deb
pwlib_1.6.5-3.diff.gz
  to pool/main/p/pwlib/pwlib_1.6.5-3.diff.gz
pwlib_1.6.5-3.dsc
  to pool/main/p/pwlib/pwlib_1.6.5-3.dsc

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jose Carlos Garcia Sogo <email address hidden> (supplier of updated pwlib 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 address hidden>)

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

Format: 1.7
Date: Sun, 27 Jun 2004 15:11:01 +0200
Source: pwlib
Binary: libpt-1.6.3 libpt-plugins-oss libpt-plugins-alsa libpt-plugins-dc libpt-dev libpt-plugins-v4l libpt-plugins-avc libpt-doc asnparser libpt-dbg
Architecture: source i386 all
Version: 1.6.5-3
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <email address hidden>
Changed-By: Jose Carlos Garcia Sogo <email address hidden>
Description:
 asnparser - ASN.1 to C/C++ converter
 libpt-1.6.3 - Portable Windows Library
 libpt-dbg - Portable Windows Library development debug files
 libpt-dev - Portable Windows Library development files
 libpt-doc - Portable Windows Library documentation & sample files
 libpt-plugins-alsa - Portable Windows Library Audio Plugin for the ALSA Interface
 libpt-plugins-avc - PWLib Video Plugin for IEEE1394 (FireWire) AVC devices
 libpt-plugins-dc - PWLib Video Plugin for IEEE1394 (Firewire) DC Devices
 libpt-plugins-oss - Portable Windows Library Audio Plugins for the OSS Interface
 libpt-plugins-v4l - Portable Windows Library Video Plugin for Video4Linux
Closes: 254916 255494
Changes:
 pwlib (1.6.5-3) unstable; urgency=low
 .
   * Kilian:
      + Added version >= 0.9.4 to Build-Depends on libdc1394. (Closes: #255494)
      + Added libsasl2-dev to Build-Depends line.
   * Jose Carlos:
      + debian/patches:
          - 05_hppa: adds missing arch hppa in unix...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.6 KiB)

Message-Id: <email address hidden>
Date: Sun, 27 Jun 2004 11:17:07 -0400
From: Jose Carlos Garcia Sogo <email address hidden>
To: <email address hidden>
Subject: Bug#254916: fixed in pwlib 1.6.5-3

Source: pwlib
Source-Version: 1.6.5-3

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

asnparser_1.6.5-3_i386.deb
  to pool/main/p/pwlib/asnparser_1.6.5-3_i386.deb
libpt-1.6.3_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-1.6.3_1.6.5-3_i386.deb
libpt-dbg_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-dbg_1.6.5-3_i386.deb
libpt-dev_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-dev_1.6.5-3_i386.deb
libpt-doc_1.6.5-3_all.deb
  to pool/main/p/pwlib/libpt-doc_1.6.5-3_all.deb
libpt-plugins-alsa_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-alsa_1.6.5-3_i386.deb
libpt-plugins-avc_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-avc_1.6.5-3_i386.deb
libpt-plugins-dc_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-dc_1.6.5-3_i386.deb
libpt-plugins-oss_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-oss_1.6.5-3_i386.deb
libpt-plugins-v4l_1.6.5-3_i386.deb
  to pool/main/p/pwlib/libpt-plugins-v4l_1.6.5-3_i386.deb
pwlib_1.6.5-3.diff.gz
  to pool/main/p/pwlib/pwlib_1.6.5-3.diff.gz
pwlib_1.6.5-3.dsc
  to pool/main/p/pwlib/pwlib_1.6.5-3.dsc

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jose Carlos Garcia Sogo <email address hidden> (supplier of updated pwlib 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 address hidden>)

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

Format: 1.7
Date: Sun, 27 Jun 2004 15:11:01 +0200
Source: pwlib
Binary: libpt-1.6.3 libpt-plugins-oss libpt-plugins-alsa libpt-plugins-dc libpt-dev libpt-plugins-v4l libpt-plugins-avc libpt-doc asnparser libpt-dbg
Architecture: source i386 all
Version: 1.6.5-3
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <email address hidden>
Changed-By: Jose Carlos Garcia Sogo <email address hidden>
Description:
 asnparser - ASN.1 to C/C++ converter
 libpt-1.6.3 - Portable Windows Library
 libpt-dbg - Portable Windows Library development debug files
 libpt-dev - Portable Windows Library development files
 libpt-doc - Portable Windows Library documentation & sample files
 libpt-plugins-alsa - Portable Windows Library Audio Plugin for the ALSA Interface
 libpt-plugins-avc - PWLib Video Plugin for IEEE1394 (FireWire) AVC devices
 libpt-plugins-dc - PWLib Video Plugin for IEEE1394 (Firewire) DC Devices
 libpt-plugins-oss - Portable Windows Library Audio Plugins for the OSS Interface
 libpt-plugins-v4l - Portable Windows Library Video Plugin for Video4Linux
Closes: 254916 255494
Changes:
 pwlib (1.6.5-3) unstable; urgency=low
 .
   * Kilian:
      +...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug was fixed in 1.6.5-3, which made it into Warty

Changed in pwlib:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.