Opened 12 years ago
Last modified 12 years ago
#35526 closed defect
glib2: error: libelf.h: No such file or directory — at Version 1
Reported by: | wcontello | Owned by: | ryandesign@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | glib2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
This is an attempt to install "gerbv" under Mac OS X Mountain Lion. I have uninstalled all ports (sudo port -fp uninstall installed
), removed directories:
sudo rm -rf \ /opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports
reinstall MacPorts from the 2.1.2 installer.
Installed the XCode CLI tools, X11
Here is the transcript:
proton:~ wayne$ sudo port install gerbv Password: ---> Computing dependencies for gerbv ---> Dependencies to be installed: gtk2 atk glib2 gobject-introspection cairo fontconfig freetype bzip2 pkgconfig libpixman libpng xorg-xcb-util xorg-libxcb python27 db46 libedit python_select sqlite3 xorg-libXau xorg-xproto xorg-libXdmcp xorg-libpthread-stubs xorg-xcb-proto libxml2 xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 shared-mime-info intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser xorg-libXcomposite xorg-compositeproto xorg-libXext autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-util-macros xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto ---> Building glib2 Error: org.macports.build for port glib2 returned: command execution failed Error: Failed to install glib2 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: The following dependencies were not installed: gtk2 atk glib2 gobject-introspection cairo fontconfig freetype bzip2 pkgconfig libpixman libpng xorg-xcb-util xorg-libxcb python27 db46 libedit python_select sqlite3 xorg-libXau xorg-xproto xorg-libXdmcp xorg-libpthread-stubs xorg-xcb-proto libxml2 xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 shared-mime-info intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser xorg-libXcomposite xorg-compositeproto xorg-libXext autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-util-macros xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gerbv failed proton:~ wayne$
Change History (2)
Changed 12 years ago by wcontello
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | gerbv glib2 removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | glib2 added; gerbv removed |
Summary: | Install of gerbv fails at glib2 → glib2: error: libelf.h: No such file or directory |
The log says:
:info:build gresource-tool.c:34:20: error: libelf.h: No such file or directory
This sounds like #33948 which I thought I had worked around. However before we get carried away analyzing this, the log also says:
:debug:main Skipping completed org.macports.archivefetch (glib2) :debug:main Skipping completed org.macports.fetch (glib2) :debug:main Skipping completed org.macports.checksum (glib2) :debug:main Skipping completed org.macports.extract (glib2) :debug:main Skipping completed org.macports.patch (glib2) :debug:main Skipping completed org.macports.configure (glib2)
This means this was not a clean build attempt so we should not trust it. Please run:
sudo port clean glib2
Then try again. If it fails again, then attach the new main.log.
Note: See
TracTickets for help on using
tickets.
glib2 log file