Opened 12 years ago

Closed 12 years ago

#37458 closed defect (fixed)

libdnet @1.12_1 build fails due to automake @1.13_0

Reported by: mndavidoff (Monte Davidoff) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: libdnet

Description

The libdnet build broke due to changes in automake 1.13.

$ sudo port -vs install libdnet
...
--->  Configuring libdnet
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
config/acinclude.m4:7: warning: underquoted definition of AC_DNET_SOCKADDR_SA_LEN
config/acinclude.m4:7:   run info Automake 'Extending aclocal'
config/acinclude.m4:7:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:13: warning: macro 'AM_CONFIG_HEADER' not found in library
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
glibtoolize: copying file `config/ltmain.sh'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
config/acinclude.m4:7: warning: underquoted definition of AC_DNET_SOCKADDR_SA_LEN
config/acinclude.m4:7:   run info Automake 'Extending aclocal'
config/acinclude.m4:7:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:13: warning: macro 'AM_CONFIG_HEADER' not found in library
configure.in:13: error: possibly undefined macro: AM_CONFIG_HEADER
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /opt/local/bin/autoconf failed with exit status: 1
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libdnet/libdnet/work/libdnet-1.12" && autoreconf --install -I config 
Exit code: 1
Error: org.macports.configure for port libdnet returned: autoreconf failure: command execution failed
Warning: targets not executed for libdnet: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port libdnet for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_libdnet/libdnet/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libdnet failed

I have attached a patch that appears to fix the problem.

Attachments (3)

main.log.gz (2.7 KB) - added by mndavidoff (Monte Davidoff) 12 years ago.
Portfile.diff (684 bytes) - added by mndavidoff (Monte Davidoff) 12 years ago.
patch-automake.diff (316 bytes) - added by mndavidoff (Monte Davidoff) 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

Changed 12 years ago by mndavidoff (Monte Davidoff)

Attachment: Portfile.diff added

Changed 12 years ago by mndavidoff (Monte Davidoff)

Attachment: patch-automake.diff added

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

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

Thanks.

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.