Source: gst-plugins-base0.10 Version: 0.10.36-1.1 Severity: important Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el
Dear Maintainer, Currently gst-plugins-base0.10 fails to build on ppc64el platform because it fails to recognize that ppc64el supports ppc64el platform. The root cause is that libtool and configure is outdated in the package, and needs to be updated. The build log is available here: https://buildd.debian.org/status/fetch.php?pkg=gst-plugins-base0.10&arch=ppc64el&ver=0.10.36-1.1&stamp=1409112242 The current version already uses dh-autoreconf, but disables the libtool part as ltmain.sh is patched in 99_ltmain_as-needed.patch to force --as-needed. Now that this is the default in Debian, this patch is not needed anymore if the libtool part is run. This is what the attached patch does. As this package currently blocks the ppc64el bootstrap, an upload as soon as possible would really be appreciated. Cheers, Aurelien -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.14-2-powerpc64le (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru gst-plugins-base0.10-0.10.36/debian/patches/99_ltmain_as-needed.patch gst-plugins-base0.10-0.10.36/debian/patches/99_ltmain_as-needed.patch --- gst-plugins-base0.10-0.10.36/debian/patches/99_ltmain_as-needed.patch 2012-12-04 12:08:57.000000000 +0100 +++ gst-plugins-base0.10-0.10.36/debian/patches/99_ltmain_as-needed.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -Index: gst-plugins-base0.10-0.10.36/ltmain.sh -=================================================================== ---- gst-plugins-base0.10-0.10.36.orig/ltmain.sh 2012-12-04 11:22:23.710301877 +0100 -+++ gst-plugins-base0.10-0.10.36/ltmain.sh 2012-12-04 11:23:37.102314806 +0100 -@@ -5800,6 +5800,11 @@ - arg=$func_stripname_result - ;; - -+ -Wl,--as-needed) -+ deplibs="$deplibs $arg" -+ continue -+ ;; -+ - -Wl,*) - func_stripname '-Wl,' '' "$arg" - args=$func_stripname_result -@@ -6163,6 +6168,15 @@ - lib= - found=no - case $deplib in -+ -Wl,--as-needed) -+ if test "$linkmode,$pass" = "prog,link"; then -+ compile_deplibs="$deplib $compile_deplibs" -+ finalize_deplibs="$deplib $finalize_deplibs" -+ else -+ deplibs="$deplib $deplibs" -+ fi -+ continue -+ ;; - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ - |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) - if test "$linkmode,$pass" = "prog,link"; then diff -Nru gst-plugins-base0.10-0.10.36/debian/patches/series gst-plugins-base0.10-0.10.36/debian/patches/series --- gst-plugins-base0.10-0.10.36/debian/patches/series 2012-12-04 12:08:57.000000000 +0100 +++ gst-plugins-base0.10-0.10.36/debian/patches/series 2014-08-28 08:42:52.000000000 +0200 @@ -1,3 +1,2 @@ 10_gnome-vfs-dav-url.patch 98_fix-ogg-flac-transition.patch -99_ltmain_as-needed.patch diff -Nru gst-plugins-base0.10-0.10.36/debian/rules gst-plugins-base0.10-0.10.36/debian/rules --- gst-plugins-base0.10-0.10.36/debian/rules 2012-05-02 17:48:18.000000000 +0200 +++ gst-plugins-base0.10-0.10.36/debian/rules 2014-08-28 07:58:55.000000000 +0200 @@ -3,13 +3,11 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/cdbs/1/rules/utils.mk --include /usr/share/cdbs/1/rules/autoreconf.mk +include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk export HOME=$(CURDIR)/fake-home -# make autoreconf not call libtoolize since we ship a patch for ltmain.sh -export LIBTOOLIZE=true # make autoreconf not call autopoint since we ship a patch for po/Makefile.in.in export AUTOPOINT=true