Opened 13 years ago
Closed 13 years ago
#31558 closed defect (duplicate)
libbonoboui @2.24.5 +no_x11 +quartz build fails
Reported by: | Greisby (Greisberger Christophe) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ak.ml@… | |
Port: | libbonoboui |
Description
Building libbonoboui on a brand new MacPorts fails with to no_x11 variant:
$ sudo port install libbonoboui +no_x11 ---> Computing dependencies for libbonoboui ---> Fetching archive for libbonoboui ---> Attempting to fetch libbonoboui-2.24.5_0+no_x11.darwin_10.x86_64.tbz2 from http://packages.macports.org/libbonoboui ---> Fetching libbonoboui ---> Verifying checksum(s) for libbonoboui ---> Extracting libbonoboui ---> Configuring libbonoboui ---> Building libbonoboui Error: Target org.macports.build returned: shell command failed (see log for details) Log for libbonoboui is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libbonoboui/libbonoboui/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Log extract :
:info:build grep: /opt/local/lib/libgtk-x11-2.0.la: No such file or directory :info:build /opt/local/bin/gsed: can't read /opt/local/lib/libgtk-x11-2.0.la: No such file or directory :info:build libtool: link: `/opt/local/lib/libgtk-x11-2.0.la' is not a valid libtool archive
Seems that the port does not properly configure with --without-x
My System:
OS: Snow Leopard 10.6.8
Arch: x86_64
FS: case sensitive
XCode: 4.0.2
Variants: +no_x11 +quartz +qt4 (set in /opt/local/etc/macports/variants.conf)
Attached the build log and the list of already installed ports.
Attachments (2)
Change History (8)
Changed 13 years ago by Greisby (Greisberger Christophe)
Attachment: | libbonoboui_main.log added |
---|
Changed 13 years ago by Greisby (Greisberger Christophe)
Attachment: | installed.txt added |
---|
List of installed ports
comment:1 Changed 13 years ago by ak.ml@…
Could you make a list of the *.la
files which refer to /opt/local/lib/libgtk-x11-2.0.la
?
This will list the affected files:
$ find /opt/local/lib -type f -name '*.la' \ | xargs egrep --files-with-matches -e '/opt/local/lib/libgtk-x11-2\.0\.la'
This will list the affected ports:
$ find /opt/local/lib -type f -name '*.la' \ | xargs egrep --files-with-matches -e '/opt/local/lib/libgtk-x11-2\.0\.la' \ | xargs port provides \ | sed -e 's,^.* is provided by: ,,;' \ | sort \ | uniq
And could you make a list of *.la
files in gtk2
?
$ port contents gtk2 | egrep -e '\.la$'
Usually the cure would be to recompile the affected ports, but it might not work in this case.
comment:3 Changed 13 years ago by Greisby (Greisberger Christophe)
$ find /opt/local/lib -type f -name '*.la' \ > | xargs egrep --files-with-matches -e '/opt/local/lib/libgtk-x11-2\.0\.la' /opt/local/lib/libglade/2.0/libcanvas.la /opt/local/lib/libglade-2.0.la /opt/local/lib/libgnomecanvas-2.la
$ port contents gtk2 | egrep -e '\.la$' /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-am-et.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-cedilla.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-ipa.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-multipress.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-thai.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-ti-er.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-ti-et.la /opt/local/lib/gtk-2.0/2.10.0/immodules/im-viqr.la /opt/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.la /opt/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-file.la /opt/local/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.la /opt/local/lib/gtk-2.0/modules/libferret.la /opt/local/lib/gtk-2.0/modules/libgail.la /opt/local/lib/libgailutil.la /opt/local/lib/libgdk-quartz-2.0.la /opt/local/lib/libgtk-quartz-2.0.la
I uninstalled and reinstalled libglade2 and libgnomecanvas, the 1st command still returns the 3 same libs, and the compilation of libbonoboui still fails.
comment:4 Changed 13 years ago by ak.ml@…
Thanks for your detailed report. This is similar to #31303.
In this ticket, the workaround is to build libglade2
and libgnomecanvas
from source (port -s
) rather than installing the binary packages from packages.macports.org
(MacPorts' default behaviour).
Could you install libglade2
and libgnomecanvas
from source and report whether it works better?
comment:5 Changed 13 years ago by Greisby (Greisberger Christophe)
Yes, it works! Yippeeee! (jumping around)
comment:6 Changed 13 years ago by drkp (Dan Ports)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Let's call this a duplicate of #31303...
Build log