Bug#249040: FTBFS: -fPIC missing

Tim Johann Tim Johann <t1m@phrogstar.de>, 249040@bugs.debian.org
Thu, 20 May 2004 16:23:06 +0200


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

Hi,


We removed this, for lines

ifeq ($(P_SHAREDLIB),1)
ifndef PROG
STDCCFLAGS      += -fPIC -DPIC
endif # PROG
endif # P_SHAREDLIB


are in 'unix.mak' and '01_unix.mak.dpatch' (within 'ifeq
($(OSTYPE),linux)' dependency).  There are none for the static libs,
because of FBTFS of the static openh323 libs:(see changelog, version
1.5.2-1).

So, I propose a patch including LDFLAGS at the same point within the
'01_unix.mak.dpatch', 'cause such changes ought to go upstream (while
making the patch obsolete).

Though, as my builds do not fail, I wonder, on wich target exactly
they do for you (static libs?  static debug?).

~  cheers,

~    t1m        



Goswin von Brederlow wrote:

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

|
| ----------------------------------------------------------------------
|
|
| 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`



- --

Tim Johann <t1m@phrogstar.de>
PGP/GnuPG public key available at wwwkeys.pgp.net
PGP-fingerprint:  B983 04E1 D046 BAC1 FF60  D0DC 4002 CAD4 DEBB A8D2



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFArL9FQALK1N67qNIRAlG8AJ9QB5kWuRpYpnuOb9ASE+hLb7PiwwCgjnZx
mq2ERxaAW8PfLnqlX5wEReM=
=JWX0
-----END PGP SIGNATURE-----