Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10923 - makepkg of the faad2 ABS does not work

Attached to Project: Arch Linux
Opened by Bruno Widmann (bwid) - Tuesday, 15 July 2008, 19:49 GMT
Last edited by Greg (dolby) - Monday, 21 July 2008, 17:27 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
makepkg of abs/extra/faad2 dies while doing autoreconf/configure



Additional info:
* package version(s)
faad2 2.6
* config and/or log files etc.

[bruno@myhost faad2]$ makepkg
==> Making package: faad2 2.6-1 (Tue Jul 15 21:34:21 CEST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found faad2-2.6.tar.gz in build dir
-> Found LICENSE in build dir
==> Validating source files with md5sums...
faad2-2.6.tar.gz ... Passed
LICENSE ... Passed
==> Extracting Sources...
-> bsdtar -x -f faad2-2.6.tar.gz
==> Entering fakeroot environment...
==> Starting build()...
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.in:14: installing `./config.guess'
configure.in:14: installing `./config.sub'
configure.in:12: installing `./install-sh'
configure.in:12: installing `./missing'
common/mp4ff/Makefile.am: installing `./depcomp'
/usr/share/automake-1.10/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCXX' is to add `AC_PROG_CXX'
/usr/share/automake-1.10/am/depend2.am: to `configure.in' and run `aclocal' and `autoconf' again.
plugins/mpeg4ip/Makefile.am: C++ source seen but `CXX' is undefined
plugins/mpeg4ip/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX'
plugins/mpeg4ip/Makefile.am: to `configure.in' and run `autoconf' again.
Makefile.am: installing `./INSTALL'
autoreconf: automake failed with exit status: 1
checking for a BSD-compatible install... /bin/install -c
( ... standard configure feedback messages ... )
checking for mpeg4ip-config... no
configure: no xmms build configured
configure: creating ./config.status
config.status: creating libfaad/Makefile
config.status: creating common/Makefile
config.status: creating common/mp4ff/Makefile
config.status: creating plugins/Makefile
config.status: error: cannot find input file: plugins/xmms/Makefile.in
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...


This task depends upon

Closed by  Greg (dolby)
Monday, 21 July 2008, 17:27 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Tuesday, 15 July 2008, 20:19 GMT
FYI, I'm currently working on faad2 2.6.1. It will be in testing soon. Therefore, I won't spend time on fixing build problem for faad2 2.6.
Comment by Bruno Widmann (bwid) - Tuesday, 15 July 2008, 20:40 GMT
Ok. I read the autotools suggestions in the error msg and modified the PKGBUILD like below. Seems to work. Keep up the great work!

[bruno@myhost faad2]$ diff -u /var/abs/extra/faad2/PKGBUILD ./PKGBUILD
--- /var/abs/extra/faad2/PKGBUILD 2008-07-15 06:06:07.000000000 +0200
+++ ./PKGBUILD 2008-07-15 22:25:02.000000000 +0200
@@ -11,15 +11,14 @@
url="http://www.audiocoding.com/"
depends=('glibc')
options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.gz LICENSE)
+source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.gz
+LICENSE autoconf-fixes.patch)

build() {
cd ${startdir}/src/${pkgname}
- echo "SUBDIRS = libfaad common frontend" > Makefile.am || return 1
+ patch -Np0 -i ${startdir}/src/autoconf-fixes.patch || return 1

- echo > plugins/Makefile.am
- echo > plugins/xmms/src/Makefile.am
- sed -i '/E_B/d' configure.in
+ libtoolize
autoreconf -vif
./configure --prefix=/usr
make || return 1
[bruno@myhost faad2]$ cat autoconf-fixes.patch
--- configure.in.orig 2006-09-25 21:52:53.000000000 +0200
+++ configure.in 2008-07-15 22:08:03.000000000 +0200
@@ -18,7 +18,7 @@
AC_PROG_CC
AC_PROG_CPP
dnl disable for mpeg4ip plugin
-dnl AC_PROG_CXX
+AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
@@ -164,4 +164,6 @@
AC_CONFIG_FILES(frontend/Makefile)
AC_CONFIG_FILES(Makefile)

+AC_CONFIG_MACRO_DIR('m4')
+
AC_OUTPUT
--- Makefile.am.orig 2004-07-27 10:52:20.000000000 +0200
+++ Makefile.am 2008-07-15 22:03:40.000000000 +0200
@@ -2,6 +2,8 @@

EXTRA_DIST = faad2.spec

+ACLOCAL_AMFLAGS=-I m4
+
rpm: Makefile
make dist
$(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
Comment by Greg (dolby) - Monday, 21 July 2008, 15:06 GMT
Can you try the faad2 PKGBUILD from testing and report back?
Comment by Bruno Widmann (bwid) - Monday, 21 July 2008, 17:26 GMT
I'm using the PKGBUILD from testing now. Build and install works smoothly.
I haven't tested the package yet, but i guess this bug report can be closed
since it's no longer relevant. Thanks Eric.



Loading...