Opened 7 years ago

Closed 6 years ago

#56346 closed defect (fixed)

libgsf @1.14.43 does not build on PPC Mac OS X 10.4.11, Tiger, because "Something went wrong bootstrapping makefile fragments"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.3
Keywords: tiger Cc: ballapete (Peter "Pete" Dyballa)
Port: libgsf

Description

config.status: creating libgsf-1.spec
config.status: creating libgsf-win32-1.pc
config.status: creating libgsf-zip
config.status: creating gsf-config.h
config.status: executing depfiles commands
config.status: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_libgsf/libgsf/work/libgsf-1.14.43':
config.status: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  Try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_libgsf/libgsf/work/libgsf-1.14.43" && ./autogen.sh --prefix=/opt/local --disable-silent-rules --enable-introspection 
Exit code: 1
Error: Failed to configure libgsf, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_libgsf/libgsf/work/libgsf-1.14.43/config.log
Error: Failed to configure libgsf: configure failure: command execution failed

Earlier I see:

DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_libgsf/libgsf/work/libgsf-1.14.43" && ./autogen.sh --prefix=/opt/local --disable-silent-rules --enable-introspection 
aclocal: overwriting 'm4/ax_is_release.m4' with '/opt/local/share/aclocal/ax_is_release.m4'
aclocal: overwriting 'm4/glib-gettext.m4' with '/opt/local/share/aclocal/glib-gettext.m4'
aclocal: overwriting 'm4/pkg.m4' with '/opt/local/share/aclocal/pkg.m4'
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /opt/local/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /opt/local/bin/aclocal --force ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: /opt/local/bin/glibtoolize --copy --force
glibtoolize: putting auxiliary files in '.'.

Does this need a fix as well?

config.log has:

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by libgsf config.status 1.14.43, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on tiger

config.status:1265: creating Makefile
config.status:1265: creating doc/Makefile
config.status:1265: creating gsf/Makefile
config.status:1265: creating gsf-win32/Makefile
config.status:1265: creating python/Makefile
config.status:1265: creating tests/Makefile
config.status:1265: creating tools/Makefile
config.status:1265: creating thumbnailer/Makefile
config.status:1265: creating po/Makefile.in
config.status:1265: creating gsf/version.c
config.status:1265: creating doc/version.xml
config.status:1265: creating libgsf-1.pc
config.status:1265: creating libgsf-1.spec
config.status:1265: creating libgsf-win32-1.pc
config.status:1265: creating libgsf-zip
config.status:1265: creating gsf-config.h
config.status:1494: executing depfiles commands
config.status:1571: cd gsf       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
/opt/local/share/gobject-introspection-1.0/Makefile.introspection:158: *** Need to define Gsf_1_gir_LIBS or Gsf_1_gir_PROGRAM.  Stop.
config.status:1576: $? = 2
config.status:1571: cd gsf-win32       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1576: $? = 0
config.status:1571: cd tests       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1576: $? = 0
config.status:1571: cd tools       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1576: $? = 0
config.status:1571: cd thumbnailer       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1576: $? = 0
config.status:1580: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_libgsf/libgsf/work/libgsf-1.14.43':
config.status:1582: error: Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  Try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

Attachments (2)

main.log (26.3 KB) - added by ballapete (Peter "Pete" Dyballa) 7 years ago.
Main.log from PPC Tiger
config.log (119.3 KB) - added by ballapete (Peter "Pete" Dyballa) 7 years ago.
Config.log from initial try

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Tiger

Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: config.log added

Config.log from initial try

comment:1 Changed 7 years ago by kencu (Ken)

I just had a very similar error trying to build the new version of libsecret on 10.4 PPC. This same bit came up:

Makefile.introspection:158: *** Need to define Gsf_1_gir_LIBS or Gsf_1_gir_PROGRAM.  Stop.

but referring to libsecret instead of gsf.

I wonder if the issue is with gobject-introspection instead?

comment:2 Changed 7 years ago by kencu (Ken)

Well, I don't know about gobject-introspection. Rolling back to an older version didn't help. However, doing what the error message said to do, and

Try re-running configure with the
    '--disable-dependency-tracking'

did in fact fix the issue on libsecret and presumably would work for you too on this port.

configure.args-append --disable-dependency-tracking

Not fully sure why we need to do this all of a sudden, though. What changed?

comment:3 in reply to:  1 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

I wonder if the issue is with gobject-introspection instead?

If that's the case then it might became complicated. Because not all the configure args come from Portfile. This one just appears automagically: --enable-introspection.

Last edited 7 years ago by ballapete (Peter "Pete" Dyballa) (previous) (diff)

comment:4 in reply to:  2 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

Well, I don't know about gobject-introspection. Rolling back to an older version didn't help. However, doing what the error message said to do, and

Try re-running configure with the
    '--disable-dependency-tracking'

did in fact fix the issue on libsecret and presumably would work for you too on this port.

Here it looks better, too. Compilation has started and config.log does not contain the Need to define Gsf_1_gir_LIBS or Gsf_1_gir_PROGRAM.

comment:5 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Cc: ballapete added

comment:6 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Without the configure argument --disable-dependency-tracking it succeeded to build libgsf.

comment:7 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In cb45ca8440bf9f248307bcbd1419fa12df5bf612/macports-ports (master):

gobject_introspection-1.0.tcl: Set MAKE on Tiger

Fixes build failure of ports that use gobject introspection and automake
1.16 or later, including ports like pango that ship with Makefiles that
were generated with automake 1.16 or later, and ports like libgsf that
use autoreconf, since MacPorts automake is now 1.16.x.

Closes: #56346
Closes: #56924

Note: See TracTickets for help on using tickets.