FS#35335 - [gstreamer0.10-base-plugins] Package fails due to obselet autoconf rules [with patch]
Attached to Project:
Arch Linux
Opened by snuo (snuo) - Friday, 17 May 2013, 05:52 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 17 May 2013, 12:42 GMT
Opened by snuo (snuo) - Friday, 17 May 2013, 05:52 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 17 May 2013, 12:42 GMT
|
Details
The current PKGBUILD fails since AM_CONFIG_HEADER is
obsolete and disabled in autoconf.
Fix cribbed from https://bbs.archlinux.org/viewtopic.php?pid=1265460 & https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gstreamer0.10-good&id=d8e837a1e8e6e50779915b749adb1dccb5a62184 No .patch since the fix is so simple. One extra sed line + ./autogen.sh. Before: build() { cd "${srcdir}/gst-plugins-base-${pkgver}" sed -i '/AC_PATH_XTRA/d' configure.ac autoreconf Fixed: build() { cd "${srcdir}/gst-plugins-base-${pkgver}" sed -i '/AC_PATH_XTRA/d' configure.ac sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac ./autogen.sh The package builds properly when using the added sed tweak & ./autogen.sh instead of autoreconf. Steps to reproduce: Build current release with makepkg. Current package fails with: configure.ac:27: error: 'AM_CONFIG_HEADER': this macro is obsolete. You should use the 'AC_CONFIG_HEADERS' macro instead. /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from... configure.ac:27: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1 autoreconf: aclocal failed with exit status: 1 With only the sed edits (but no autogen): configure.ac:76: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed. configure.ac:76: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:76: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. parallel-tests: error: required file './test-driver' not found parallel-tests: 'automake --add-missing' can install 'test-driver' autoreconf: automake failed with exit status: 1 |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Friday, 17 May 2013, 12:42 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in /trunk; wait a few hours until ABS is updated with the revised PKGBUILD.
Friday, 17 May 2013, 12:42 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in /trunk; wait a few hours until ABS is updated with the revised PKGBUILD.