Debian Bug report logs - #249198
mpeg2dec FTBFS on amd64 - not using -fPIC.

version graph

Package: mpeg2dec; Maintainer for mpeg2dec is Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>; Source for mpeg2dec is src:mpeg2dec (PTS, buildd, popcon).

Reported by: Kurt Roeckx <Q@ping.be>

Date: Sat, 15 May 2004 22:18:02 UTC

Severity: important

Found in version 0.4.0b-1

Fixed in version mpeg2dec/0.4.0b-2

Done: dlehn@debian.org (David I. Lehn)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, dlehn@debian.org (David I. Lehn):
Bug#249198; Package mpeg2dec. (full text, mbox, link).


Acknowledgement sent to Kurt Roeckx <Q@ping.be>:
New Bug report received and forwarded. Copy sent to dlehn@debian.org (David I. Lehn). (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Kurt Roeckx <Q@ping.be>
To: submit@bugs.debian.org
Subject: mpeg2dec FTBFS on amd64 - not using -fPIC.
Date: Sun, 16 May 2004 00:12:57 +0200
Package: mpeg2dec
Version: 0.4.0b-1
Severity: important

It fails to build with this error:
/usr/bin/ld: .libs/rgb.o: relocation R_X86_64_32S can not be used when making a
shared object; recompile with -fPIC

On AMD64 we do not support non-pic code.


Kurt




Information forwarded to debian-bugs-dist@lists.debian.org, dlehn@debian.org (David I. Lehn):
Bug#249198; Package mpeg2dec. (full text, mbox, link).


Acknowledgement sent to LaMont Jones <lamont@mmjgroup.com>:
Extra info received and forwarded to list. Copy sent to dlehn@debian.org (David I. Lehn). (full text, mbox, link).


Message #10 received at 249198@bugs.debian.org (full text, mbox, reply):

From: LaMont Jones <lamont@mmjgroup.com>
To: 249198@bugs.debian.org, Kurt Roeckx <Q@ping.be>
Subject: Re: mpeg2dec FTBFS on amd64 - not using -fPIC.
Date: Wed, 14 Jul 2004 22:12:17 -0600
On Sun, May 16, 2004 at 12:12:57AM +0200, Kurt Roeckx wrote:
> On AMD64 we do not support non-pic code.

A patch which fixes this is available from
	http://http.amd64.no-name-yet.com/patches/mpeg2dec.249198.diff

lamont



Information forwarded to debian-bugs-dist@lists.debian.org, dlehn@debian.org (David I. Lehn):
Bug#249198; Package mpeg2dec. (full text, mbox, link).


Acknowledgement sent to "David I. Lehn" <dlehn@vt.edu>:
Extra info received and forwarded to list. Copy sent to dlehn@debian.org (David I. Lehn). (full text, mbox, link).


Message #15 received at 249198@bugs.debian.org (full text, mbox, reply):

From: "David I. Lehn" <dlehn@vt.edu>
To: LaMont Jones <lamont@mmjgroup.com>, 249198@bugs.debian.org
Subject: Re: Bug#249198: mpeg2dec FTBFS on amd64 - not using -fPIC.
Date: Thu, 15 Jul 2004 01:01:14 -0400
* LaMont Jones <lamont@mmjgroup.com> [2004-07-15T00:26:54-0400]:
> On Sun, May 16, 2004 at 12:12:57AM +0200, Kurt Roeckx wrote:
> > On AMD64 we do not support non-pic code.
> 
> A patch which fixes this is available from
> 	http://http.amd64.no-name-yet.com/patches/mpeg2dec.249198.diff
> 

Eek. Sorry I took so long to fix.  Patch applied and uploaded.  Too bad
-prefer-non-pic is so broken on every architecture.  Even mpeg2dec's
check to see if it's broken is broken it seems.  Oh well.

-dave



Reply sent to dlehn@debian.org (David I. Lehn):
You have taken responsibility. (full text, mbox, link).


Notification sent to Kurt Roeckx <Q@ping.be>:
Bug acknowledged by developer. (full text, mbox, link).


Message #20 received at 249198-close@bugs.debian.org (full text, mbox, reply):

From: dlehn@debian.org (David I. Lehn)
To: 249198-close@bugs.debian.org
Subject: Bug#249198: fixed in mpeg2dec 0.4.0b-2
Date: Thu, 15 Jul 2004 01:02:05 -0400
Source: mpeg2dec
Source-Version: 0.4.0b-2

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

libmpeg2-4-dev_0.4.0b-2_i386.deb
  to pool/main/m/mpeg2dec/libmpeg2-4-dev_0.4.0b-2_i386.deb
libmpeg2-4_0.4.0b-2_i386.deb
  to pool/main/m/mpeg2dec/libmpeg2-4_0.4.0b-2_i386.deb
mpeg2dec_0.4.0b-2.diff.gz
  to pool/main/m/mpeg2dec/mpeg2dec_0.4.0b-2.diff.gz
mpeg2dec_0.4.0b-2.dsc
  to pool/main/m/mpeg2dec/mpeg2dec_0.4.0b-2.dsc
mpeg2dec_0.4.0b-2_i386.deb
  to pool/main/m/mpeg2dec/mpeg2dec_0.4.0b-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 249198@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David I. Lehn <dlehn@debian.org> (supplier of updated mpeg2dec 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Thu, 15 Jul 2004 00:34:19 -0400
Source: mpeg2dec
Binary: libmpeg2-4-dev mpeg2dec libmpeg2-4
Architecture: source i386
Version: 0.4.0b-2
Distribution: unstable
Urgency: low
Maintainer: David I. Lehn <dlehn@debian.org>
Changed-By: David I. Lehn <dlehn@debian.org>
Description: 
 libmpeg2-4 - MPEG1 and MPEG2 video decoder library
 libmpeg2-4-dev - libmpeg2 development libraries and headers
 mpeg2dec   - Simple libmpeg2 video decoder application
Closes: 249198
Changes: 
 mpeg2dec (0.4.0b-2) unstable; urgency=low
 .
   * Fix PIC compile on amd64 (Closes: #249198)
Files: 
 07811bef6b59fa73becec6c29f08fc6c 653 libs optional mpeg2dec_0.4.0b-2.dsc
 74bb4d81f80fc75b1a1bc46a4f7ee30a 4036 libs optional mpeg2dec_0.4.0b-2.diff.gz
 e0ca3760ad8d0365d6e434f31e4dc8b7 77224 libdevel optional libmpeg2-4-dev_0.4.0b-2_i386.deb
 7350cfa74ca0f9242bf8eac07dcc9f0c 59828 libs optional libmpeg2-4_0.4.0b-2_i386.deb
 3d7a9f10df8041a363109db9b55e4f4e 30910 graphics optional mpeg2dec_0.4.0b-2_i386.deb

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

iD8DBQFA9gwoPIQIWBo7SN4RAlqKAKD3z5nS0d9QKSL+EOP0oTIIdm//MACg99oQ
U6/PXtoP2nrU9j1F5liXdEA=
=3QUP
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, dlehn@debian.org (David I. Lehn):
Bug#249198; Package mpeg2dec. (full text, mbox, link).


Acknowledgement sent to Martin Michlmayr <tbm@cyrius.com>:
Extra info received and forwarded to list. Copy sent to dlehn@debian.org (David I. Lehn). (full text, mbox, link).


Message #25 received at 249198@bugs.debian.org (full text, mbox, reply):

From: Martin Michlmayr <tbm@cyrius.com>
To: 249198@bugs.debian.org
Subject: Re: Bug#249198: mpeg2dec FTBFS on amd64 - not using -fPIC.
Date: Sat, 24 Jul 2004 03:41:31 +0100
* LaMont Jones <lamont@mmjgroup.com> [2004-07-14 22:12]:
> A patch which fixes this is available from
> 	http://http.amd64.no-name-yet.com/patches/mpeg2dec.249198.diff

diff -ur t/mpeg2dec-0.4.0b/configure mpeg2dec-0.4.0b/configure
--- t/mpeg2dec-0.4.0b/configure	2004-07-15 04:06:22.945407362 +0000
+++ mpeg2dec-0.4.0b/configure	2004-07-15 04:01:27.802282936 +0000
@@ -24535,7 +24535,7 @@
 
 
 case "$host" in
-    i?86-* | k?-* | x86_64-*)
+    i?86-* | k?-* )
         echo "$as_me:$LINENO: checking if libtool supports -prefer-non-pic flag" >&5
 echo $ECHO_N "checking if libtool supports -prefer-non-pic flag... $ECHO_C" >&6
     mkdir ac_test_libtool; cd ac_test_libtool; ac_cv_libtool_non_pic=no
diff -ur t/mpeg2dec-0.4.0b/libmpeg2/configure.incl mpeg2dec-0.4.0b/libmpeg2/configure.incl
--- t/mpeg2dec-0.4.0b/libmpeg2/configure.incl	2004-07-15 04:06:22.936407816 +0000
+++ mpeg2dec-0.4.0b/libmpeg2/configure.incl	2004-07-15 03:51:48.685471131 +0000
@@ -2,7 +2,7 @@
 
 dnl avoid -fPIC when possible
 case "$host" in
-    i?86-* | k?-* | x86_64-*)
+    i?86-* | k?-* )
         AC_LIBTOOL_NON_PIC([LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -prefer-non-pic"])
     ;;
 esac

-- 
Martin Michlmayr
tbm@cyrius.com



Bug unarchived. Request was from Stefano Zacchiroli <zack@debian.org> to control@bugs.debian.org. (Sun, 10 Apr 2011 08:43:04 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 09 May 2011 07:51:56 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 12:05:16 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.