Your message dated Thu, 05 Jun 2014 10:00:14 +0000
with message-id <[email protected]>
and subject line Bug#633333: fixed in libmpeg3 1.8.dfsg-1
has caused the Debian Bug report #633333,
regarding libmpeg3: FTBFS with ld --as-needed
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
633333: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633333
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libmpeg3
Version: 1.5.4-5
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu oneiric ubuntu-patch
*** /tmp/tmpBv_MOB
In Ubuntu, the default configuration for the linker includes the flag
--as-needed. With this flag activated this package fails to build
from source.
The related bug report is:
https://bugs.launchpad.net/ubuntu/oneiric/+source/libmpeg3/+bug/770863
The following build log snippet shows the error obtained:
Excerpt 469 lines into the build log:
amd64/libmpeg3.so.1.5.4: undefined reference to `a52_block'
amd64/libmpeg3.so.1.5.4: undefined reference to `pthread_mutexattr_init'
amd64/libmpeg3.so.1.5.4: undefined reference to `a52_frame'
amd64/libmpeg3.so.1.5.4: undefined reference to `a52_free'
amd64/libmpeg3.so.1.5.4: undefined reference to `a52_syncinfo'
amd64/libmpeg3.so.1.5.4: undefined reference to `sin'
amd64/libmpeg3.so.1.5.4: undefined reference to `a52_init'
amd64/libmpeg3.so.1.5.4: undefined reference to `pow'
amd64/libmpeg3.so.1.5.4: undefined reference to `cos'
amd64/libmpeg3.so.1.5.4: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make[1]: *** [amd64/mpeg3dump] Error 1
make[1]: Leaving directory `/build/buildd/libmpeg3-1.5.4'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110424-0609
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/libmpeg3-1.5.4
To reproduce this bug:
- use the flag --as-needed to the linker command, prepending
-Wl,--as-needed to the shared library target in Makefile
or
- Build this package with the latest alpha 2 release of Ubuntu Oneiric from:
http://cdimage.ubuntu.com/releases/oneiric/alpha-2/oneiric-alternate-i386.iso
More info regarding linker related changes can be found in:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
To fix this issue, this patch produces the following changes:
* Makefile: Changed parameter order in call to linker to avoid build
errors with ld --as-needed
Thanks for considering the patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-8-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u libmpeg3-1.5.4/Makefile libmpeg3-1.5.4/Makefile
--- libmpeg3-1.5.4/Makefile
+++ libmpeg3-1.5.4/Makefile
@@ -161,8 +161,8 @@
$(SHAREDOUTPUT): $(SOBJS)
gcc -shared -fPIC -o $(SHAREDOUTPUT) \
- $(LIBS) $(SOBJS) \
- -Wl,-soname -Wl,$(SHLIB_SONAME)
+ $(SOBJS) \
+ -Wl,-soname -Wl,$(SHLIB_SONAME) $(LIBS)
( cd $(OBJDIR); \
ln -sf $(SHLIB_FULLNAME) $(SHLIB); \
ln -sf $(SHLIB_FULLNAME) $(SHLIB_SONAME) \
--- End Message ---
--- Begin Message ---
Source: libmpeg3
Source-Version: 1.8.dfsg-1
We believe that the bug you reported is fixed in the latest version of
libmpeg3, which is due to be installed in the Debian FTP archive.
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 protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <[email protected]> (supplier of updated libmpeg3 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 protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 02 Jun 2014 08:54:11 +0200
Source: libmpeg3
Binary: mpeg3-utils libmpeg3-2 libmpeg3-dev
Architecture: source amd64
Version: 1.8.dfsg-1
Distribution: unstable
Urgency: low
Maintainer: David MartÃnez Moreno <[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Description:
libmpeg3-2 - MPEG streams decoding library
libmpeg3-dev - Headers and static libraries for libMPEG3
mpeg3-utils - MPEG streams decoding library
Closes: 374504 430770 633333 749469
Changes:
libmpeg3 (1.8.dfsg-1) unstable; urgency=low
.
* Update to debhelper 9 support.
* Move source patches to debian/patches/ and package format to 3.0
(quilt).
* Update upstream source to version 1.8 (Closes: #430770).
- Split relevant parts of the patch used in 1.5.4-5.1 info new
patches alpha-largefile.patch and debian-build-rules.patch
- Drop patches to fix bugs #287422 and #729275, as these problems
are fixed differently upstream.
- Change shared library major number from 1 to 2, as the new library have
a new API and ABI.
- No longer have typo in Makefile (Closes: #374504).
- Repack upstream tarball without mpeg3css.c and the a52dec library.
Instructions for how to do this is in debian/rules.
* Add patch prototype-free.patch to make sure stdlib.h is included
before free() is used.
* Change encoding of debian/copyright to UTF-8.
* Update standards-version from 3.6.2.2 to 3.9.5.
* Add missing dependency on ${misc:Depends}. Thank you lintian.
* Adjust copyright file to document upstream copyright 2003-2008.
* Change debian/rules to use dh_prep instead of the obsolete
dh_clean -k. Thank you, lintian.
* Enable hardening flags during build and linking.
* New patch fix-format-security-error.patch to make code buildable
with hardening enabled.
* Add homepage URL to control file (Closes: #749469).
* Reorder shared library linking rule to work with the --as-needed
linker flag (Closes: #633333). Patch from Sebastian Carneiro and
Ubuntu.
* Use ${binary:Version} when depending on library from dev package,
instead of the obsolete ${Source-Version}. Thank you, lintian.
* New patch fix-video-alpha.patch lifted from the Cinelerra project
fixing pixel conversion macros, making sure the default alpha level
is max, not zero.
* New patch handle-hdv-m2t.patch lifted from the Cinelerra project
adding code to recognize *.m2t as MPEG files.
* Add Vcs-* headers to control file pointing to the collab-maint git
repository.
* New patch fix-format-strings.patch to correct format string problems
reported by the compiler because hardening was enabled.
* Add new patch compiler-warnings.patch to enable more compiler
warnings.
* Add new patch missing-include.patch to include system header files
where they were missing.
* Add patch fix-fake-css.patch to fix inconsistent function signature.
* Add patch missing-prototypes.patch to include prototypes before
function calls.
* Add pkgconfig file for libmpeg3 to ease detection and linking.
* Add missing rules targets build-arch and build-indep. Thanks
lintian for the reminder.
* Add myself as uploader.
Checksums-Sha1:
abc2c112601ab087d3d0a9f381c13af15ab2af45 1426 libmpeg3_1.8.dfsg-1.dsc
5a092b52ccf27094fc097434859820bfb49e7cef 2271709 libmpeg3_1.8.dfsg.orig.tar.bz2
5ccc9d34311c3fec9d5104c46739944ff94fe3fd 14896
libmpeg3_1.8.dfsg-1.debian.tar.xz
75faf57a781f02423cc927d43652b0791a292ceb 15794 mpeg3-utils_1.8.dfsg-1_amd64.deb
63943dc0bc481b83178f0101506a8e6dd02de0fe 87504 libmpeg3-2_1.8.dfsg-1_amd64.deb
f4ba2e06b01c398baba67b1a4a5d4fcb14387185 114366
libmpeg3-dev_1.8.dfsg-1_amd64.deb
Checksums-Sha256:
e7d21dba18b8d2c3d4b3be5eb60acbac052bb7b57acf0eb321a28453f1287bcc 1426
libmpeg3_1.8.dfsg-1.dsc
e90e7de1dbc783c62c37c7096b91ed8bf175497d9a6b0b7bc42ae17f17616820 2271709
libmpeg3_1.8.dfsg.orig.tar.bz2
3ea3e8a3ac0e58133ff96f556ed1ad80bf83f1c59a703cd1c2239bbab06c4e29 14896
libmpeg3_1.8.dfsg-1.debian.tar.xz
51b0bdacfe79c0003c81446f203ad80e757da167a924f0e038159a565c7ed011 15794
mpeg3-utils_1.8.dfsg-1_amd64.deb
5ffcaaaaf7677e375664563fed57a8a6d5d07f084bd3b22c1640b146fcc57451 87504
libmpeg3-2_1.8.dfsg-1_amd64.deb
44859c6a03e67966d7bd7ed03bc2861df2c49896e9b38c39478b2f6bd34b5337 114366
libmpeg3-dev_1.8.dfsg-1_amd64.deb
Files:
7f38e3d4111f52401867f16ad6313e16 15794 utils optional
mpeg3-utils_1.8.dfsg-1_amd64.deb
7c44a6626d20805e38b533b38f1d6164 87504 libs optional
libmpeg3-2_1.8.dfsg-1_amd64.deb
a7fac5facb6cc3e2e2ce77713bbb6cdb 114366 libdevel optional
libmpeg3-dev_1.8.dfsg-1_amd64.deb
e3d81ae5ba85ee2fa6f51b9edfa2d1c5 1426 libs optional libmpeg3_1.8.dfsg-1.dsc
a217d58a359d3850cff18737f848ccdc 2271709 libs optional
libmpeg3_1.8.dfsg.orig.tar.bz2
e63bf865880ab8b9c9c1410008e4b340 14896 libs optional
libmpeg3_1.8.dfsg-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQFTjCEU20zMSyow1ykRAtapAKDK7PZnA0LsdLaDy3Rm7egLO0bcdACffJHU
hmHDOi9yv2/1zoGEbukFH1Q=
=dib2
-----END PGP SIGNATURE-----
--- End Message ---