Bug#249040: FTBFS: -fPIC missing

Goswin von Brederlow Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>, 249040@bugs.debian.org
Thu, 20 May 2004 11:04:39 +0000


This is a multi-part MIME message sent by reportbug.

--===============9043543620318909763==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: pwlib
Version: 1.6.5-1
Severity: normal
Followup-For: Bug #249040

Hi,

some more FTBFS on this. Ater adding libdv4-dev the build fails to link
because -fPIC is omited during the build.

MfG
	Goswin

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C

--===============9043543620318909763==
Content-Type: text/x-makefile; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="pwlib_1.6.5-1.0.0.1.pure64.patch"

diff -Nurd pwlib-1.6.5.deb/debian/changelog pwlib-1.6.5/debian/changelog
--- pwlib-1.6.5.deb/debian/changelog	2004-05-20 11:01:25.538995854 +0000
+++ pwlib-1.6.5/debian/changelog	2004-05-20 11:01:36.754110111 +0000
@@ -1,3 +1,10 @@
+pwlib (1.6.5-1.0.0.1.pure64) experimental; urgency=low
+
+  * Added Build-Depends libdv2-dev | libdv4-dev (Closes: #249040)
+  * Add -fPIC to CFLAGS and LDFLAGS
+
+ -- Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>  Thu, 20 May 2004 12:27:05 +0200
+
 pwlib (1.6.5-1) experimental; urgency=low
 
   * New upstream version.
diff -Nurd pwlib-1.6.5.deb/debian/control pwlib-1.6.5/debian/control
--- pwlib-1.6.5.deb/debian/control	2004-05-20 11:01:25.536996191 +0000
+++ pwlib-1.6.5/debian/control	2004-05-20 11:01:36.753110279 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Tim Johann <t1m@phrogstar.de>
 Uploaders: Kilian Krause <kk@verfaction.de>
-Build-Depends: debhelper (>=4.0.2), bison, flex, libssl-dev, libldap2-dev, libsdl1.2-dev, libexpat1-dev, doc++, g++ (>=2.95), autotools-dev, dpatch (>=1.11), libasound2-dev, libavc1394-dev, libraw1394-dev, libdv2-dev, libdc1394-dev, libsasl-dev
+Build-Depends: debhelper (>=4.0.2), bison, flex, libssl-dev, libldap2-dev, libsdl1.2-dev, libexpat1-dev, doc++, g++ (>=2.95), autotools-dev, dpatch (>=1.11), libasound2-dev, libavc1394-dev, libraw1394-dev, libdv2-dev | libdv4-dev, libdc1394-dev, libsasl-dev
 Standards-Version: 3.6.1
 
 Package: libpt-1.6.3
diff -Nurd pwlib-1.6.5.deb/debian/rules pwlib-1.6.5/debian/rules
--- pwlib-1.6.5.deb/debian/rules	2004-05-20 11:01:25.539995686 +0000
+++ pwlib-1.6.5/debian/rules	2004-05-20 11:01:36.755109943 +0000
@@ -14,13 +14,15 @@
 
 SHLIBSVER := $(VER_MAJOR).$(VER_MINOR).$(VER_SUB)
 
-CFLAGS =
+CFLAGS = -fPIC
+LDFLAGS = -fPIC
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
 endif
 
 export CFLAGS
+export LDFLAGS
 
 # used for sed-ating out host specific data
 export UNAME_R=`uname -r`

--===============9043543620318909763==--