[MacPorts] #33948: glib2 2.32.0 not building
#33948: glib2 2.32.0 not building -------------------------------+-------------------------------------------- Reporter: g5pw@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 -------------------------------+-------------------------------------------- When I try to upgrade glib2, it fails. The main error looks this: {{{ :info:build gresource-tool.c:34:20: error: libelf.h: No such file or directory :info:build gresource-tool.c:35:18: error: gelf.h: No such file or directory }}} however, the include path seems ok. -- Ticket URL: <https://trac.macports.org/ticket/33948> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33948: glib2: libelf.h: No such file or directory -------------------------------+-------------------------------------------- Reporter: g5pw@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (removed) * owner: macports-tickets@… => ryandesign@… Comment: This is not a clean build log (it contains lines saying "Skipping completed"). Could you "sudo port clean glib2" and try again and then attach the new main.log? I'm not sure why it's complaining about [http://en.wikipedia.org/wiki/Executable_and_Linkable_Format ELF] things not being there, since ELF is never used on OS X. -- Ticket URL: <https://trac.macports.org/ticket/33948#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33948: glib2: libelf.h: No such file or directory -------------------------------+-------------------------------------------- Reporter: g5pw@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 -------------------------------+-------------------------------------------- Comment(by g5pw@…): Dammit, I always mess up something ;) Anyway, full main.log attached now... -- Ticket URL: <https://trac.macports.org/ticket/33948#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33948: glib2: libelf.h: No such file or directory -------------------------------+-------------------------------------------- Reporter: g5pw@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: glib2 -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: The only previous mention of ELF in your log is this line during the configure phase: {{{ :info:configure checking for elf_begin in -lelf... yes }}} On my Snow Leopard system it says: {{{ :info:configure checking for elf_begin in -lelf... no }}} And I would not have expected an ELF library to exist on an OS X system. Do you have a file whose name begins with libelf in a lib directory somewhere? ''~ a moment of reflection passes ~'' Well, look at that: we have a port called libelf, and it installs /opt/local/lib/libelf.a. If I install libelf, then try to build glib2, it fails as you indicate. I'll bet you have that port installed too. I'll soon fix that... -- Ticket URL: <https://trac.macports.org/ticket/33948#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33948: glib2: libelf.h: No such file or directory --------------------------------+------------------------------------------- Reporter: g5pw@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: glib2 | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r91728 -- Ticket URL: <https://trac.macports.org/ticket/33948#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33948: glib2: libelf.h: No such file or directory --------------------------------+------------------------------------------- Reporter: g5pw@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: glib2 | --------------------------------+------------------------------------------- Comment(by g5pw@…): Thanks for the workaround, ryan! -- Ticket URL: <https://trac.macports.org/ticket/33948#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts