#39262 closed defect (duplicate)
glib2: build failure with automake 1.13.2
Reported by: | ve3wwg@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | glib2 |
Description
ports session:
$ sudo port upgrade outdated Password: ---> Computing dependencies for glib2 ---> Building glib2 Error: org.macports.build for port glib2 returned: command execution failed Please see the log file for port glib2 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
main.log:
$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log ... :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2/docs/reference' :info:build Making all in glib :info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2/docs/reference/glib' :info:build cd ../../.. && /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2/missing automake-1.13 --gnu docs/reference/glib/Makefile :info:build configure.ac:66: error: version mismatch. This is Automake 1.13.2, :info:build configure.ac:66: but the definition used by this AM_INIT_AUTOMAKE :info:build configure.ac:66: comes from Automake 1.13.1. You should recreate :info:build configure.ac:66: aclocal.m4 with aclocal and run automake again. :info:build gtk-doc.make:32: warning: EXTRA_DIST multiply defined in condition TRUE ... :info:build docs/reference/glib/Makefile.am:85: 'gtk-doc.make' included from here :info:build Makefile.decl:8: ... 'EXTRA_DIST' previously defined here :info:build docs/reference/glib/Makefile.am:2: 'Makefile.decl' included from here :info:build WARNING: 'automake-1.13' is probably too old. :info:build You should only need it if you modified 'Makefile.am' or :info:build 'configure.ac' or m4 files included by 'configure.ac'. :info:build The 'automake' program is part of the GNU Automake package: :info:build <http://www.gnu.org/software/automake> :info:build It also requires GNU Autoconf, GNU m4 and Perl in order to run: :info:build <http://www.gnu.org/software/autoconf> :info:build <http://www.gnu.org/software/m4/> :info:build <http://www.perl.org/> :info:build make[4]: *** [Makefile.in] Error 63 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2/docs/reference/glib' :info:build make[3]: *** [all-recursive] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2/docs/reference' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2/docs' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.36.2" && /usr/bin/make -j4 -w all V=1 :info:build Exit code: 2 :error:build org.macports.build for port glib2 returned: command execution failed :debug:build Error code: CHILDSTATUS 391 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for glib2: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port glib2 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
Change History (4)
comment:1 follow-up: 2 Changed 11 years ago by cooljeanius (Eric Gallager)
comment:2 Changed 11 years ago by ve3wwg@…
Replying to egall@…:
This should have been fixed recently; try running
sudo port selfupdate
, then clean and try again.
The selfupdate said I was already up to date, but I continued with a clean --all vile and clean glib2, and it has now built successfully.
Thanks. This ticket can now be closed. Warren.
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | glibc version mismatch removed |
---|---|
Port: | glib2 added; glibc removed |
Resolution: | → duplicate |
Status: | new → closed |
Summary: | port upgrade outdated: glib2, Unable to upgrade port: 1 → glib2: build failure with automake 1.13.2 |
Probably the selfupdate said MacPorts base was up to date, and that it also updated your portfiles. MacPorts base changes infrequently; portfiles change constantly.
Duplicate of #39246.
Note: See
TracTickets for help on using
tickets.
This should have been fixed recently; try running
sudo port selfupdate
, then clean and try again.