Opened 12 years ago

Closed 12 years ago

#38130 closed defect (duplicate)

gtk2 2.24.16_0 build failure

Reported by: m99@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gtk2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I wanted to update gtk2 from 2.24.15_0 to 2.24.16_0 on Mac OS X 10.8.2 with MacPorts 2.1.3 (selfupdated before) and I'm getting this error:

Error: org.macports.build for port gtk2 returned: command execution failed

Please see the log file for port gtk2 for details:

:info:build libtool: link: `/opt/local/lib/libharfbuzz.la' is not a valid libtool archive
:info:build make[5]: *** [libgailutil.la] Error 1
:info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.16-i386/modules/other/gail/libgail-util'
:info:build make[4]: *** [all-recursive] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.16-i386/modules/other/gail'
: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_gnome_gtk2/gtk2/work/gtk+-2.24.16-i386/modules/other'
: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_gnome_gtk2/gtk2/work/gtk+-2.24.16-i386/modules'
: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_gnome_gtk2/gtk2/work/gtk+-2.24.16-i386'
: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_gnome_gtk2/gtk2/work/gtk+-2.24.16-i386'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.16-i386" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port gtk2 returned: command execution failed

Change History (5)

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: gtk2 removed

Why is /opt/local/lib/libharfbuzz.la not a valid libtool archive? What does it contain?

comment:3 Changed 12 years ago by m99@…

Not knowing if the question is headed to me just wanted to give you my content of libharfbuzz.la:

# libharfbuzz.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libharfbuzz.0.dylib'

# Names of this library.
library_names='libharfbuzz.0.dylib libharfbuzz.dylib'

# The name of the static archive.
old_library=''

# Linker flags that can not go in dependency_libs.
inherited_linker_flags='  -framework ApplicationServices'

# Libraries that this one depends upon.
dependency_libs=' -R/opt/local/lib -L/opt/local/lib /opt/local/lib/libgobject-2.0.la /opt/local/lib/libgthread-2.0.la /opt/local/lib/libffi.la /opt/local/lib/libglib-2.0.la -lresolv /opt/local/lib/libintl.la /opt/local/lib/libiconv.la -lc /opt/local/lib/libfreetype.la -lz -lbz2 /opt/local/lib/libgraphite2.la -licule -licuuc -licudata'

# Names of additional weak libraries provided by this library
weak_library_names=''

# Version information for libharfbuzz.
current=912
age=912
revision=0

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/opt/local/lib'

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

Yes, the question was for you; you're experiencing a problem we're not, so I needed more information about your system.

Thanks for providing your libharfbuzz.la. It looks just like mine; no problem there. It is a valid libtool archive, contrary to the error message.

This might be another case of the mysterious #30809. Please clean gtk2 and try again—maybe even try a few more times, since the problem seems to have been intermittent before.

comment:5 Changed 12 years ago by m99@…

Strange. I gave it a second try and it worked without an error. So maybe it was something not really related to gtk2. Sorry for the interrupt. I think the ticket can be closed.

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

Resolution: duplicate
Status: newclosed

Great, then it's #30809 again. I wish we knew why that sometimes happens...

Note: See TracTickets for help on using tickets.