Opened 12 years ago

Closed 12 years ago

#37472 closed defect (fixed)

faad2: build fails due to automake 1.13

Reported by: gilles.risch@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: faad2

Description

Hello,

faad2 does not build due to to changes in auotmake 1.13:

...


:info:configure autoreconf: Entering directory `.'
:info:configure autoreconf: configure.in: not using Gettext
:info:configure autoreconf: running: aclocal --force 
:info:configure aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
:info:configure configure.in:28: warning: macro 'AM_CONFIG_HEADER' not found in library
:info:configure autoreconf: configure.in: tracing
:info:configure autoreconf: running: glibtoolize --copy --force
:info:configure glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
:info:configure glibtoolize: copying file `./ltmain.sh'
:info:configure glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
:info:configure glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
:info:configure glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
:info:configure aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
:info:configure configure.in:28: warning: macro 'AM_CONFIG_HEADER' not found in library
:info:configure autoreconf: running: /opt/local/bin/autoconf --force
:info:configure configure.in:28: error: possibly undefined macro: AM_CONFIG_HEADER
:info:configure       If this token and others are legitimate, please use m4_pattern_allow.
:info:configure       See the Autoconf documentation.
:info:configure autoreconf: /opt/local/bin/autoconf failed with exit status: 1
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faad2/faad2/work/faad2-2.7
" && autoreconf --install -vif 
:info:configure Exit code: 1
:error:configure org.macports.configure for port faad2 returned: autoreconf failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: autoreconf failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for faad2: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port faad2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faad2/faad2/main.log

Attached a small patch to fix that issue, drm is enabled because I need it in another project.

Regards, Gilles

Attachments (3)

main.log (17.8 KB) - added by gilles.risch@… 12 years ago.
patch-automake.diff (359 bytes) - added by gilles.risch@… 12 years ago.
Portfile-faad2.diff (706 bytes) - added by gilles.risch@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by gilles.risch@…

Attachment: main.log added

Changed 12 years ago by gilles.risch@…

Attachment: patch-automake.diff added

Changed 12 years ago by gilles.risch@…

Attachment: Portfile-faad2.diff added

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Summary: build fails due to automake 1.13faad2: build fails due to automake 1.13

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Your patch also changed "--without-drm" to "--with-drm" and changed the revision from 0 to 2. That doesn't appear to have anything to do with the matter this ticket is about, which is fixing the port to build with automake 1.13. So in r100938 I committed only the patch to fix the build with automake 1.13.

Note: See TracTickets for help on using tickets.