[MacPorts] #31393: sudo port install gnome fails on bug-buddy, OS X Lion
#31393: sudo port install gnome fails on bug-buddy, OS X Lion ------------------------------+--------------------------------------------- Reporter: jsfranko@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: gnome bug-buddy | Port: gnome ------------------------------+--------------------------------------------- ---> Fetching archive for bug-buddy ---> Attempting to fetch bug-buddy-2.30.0_2.darwin_11.x86_64.tbz2 from http://packages.macports.org/bug-buddy ---> Fetching bug-buddy ---> Attempting to fetch bug-buddy-2.30.0.tar.bz2 from ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/bug-buddy/2.30/ ---> Verifying checksum(s) for bug-buddy ---> Extracting bug-buddy ---> Configuring bug-buddy Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install bug-buddy -- Ticket URL: <https://trac.macports.org/ticket/31393> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31393: bug-buddy configure error on OS X Lion ------------------------------+--------------------------------------------- Reporter: jsfranko@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: bug-buddy ------------------------------+--------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => devans@… * keywords: gnome bug-buddy => * port: gnome => bug-buddy Old description:
---> Fetching archive for bug-buddy ---> Attempting to fetch bug-buddy-2.30.0_2.darwin_11.x86_64.tbz2 from http://packages.macports.org/bug-buddy ---> Fetching bug-buddy ---> Attempting to fetch bug-buddy-2.30.0.tar.bz2 from ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/bug-buddy/2.30/ ---> Verifying checksum(s) for bug-buddy ---> Extracting bug-buddy ---> Configuring bug-buddy Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install bug-buddy
New description: {{{ ---> Fetching archive for bug-buddy ---> Attempting to fetch bug-buddy-2.30.0_2.darwin_11.x86_64.tbz2 from http://packages.macports.org/bug-buddy ---> Fetching bug-buddy ---> Attempting to fetch bug-buddy-2.30.0.tar.bz2 from ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/bug-buddy/2.30/ ---> Verifying checksum(s) for bug-buddy ---> Extracting bug-buddy ---> Configuring bug-buddy Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install bug-buddy }}} -- Comment: Actual error is: {{{ :info:configure checking for libelf.h... no :info:configure configure: error: libelf.h not found. :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_gnome_bug-buddy/bug-buddy/work/bug- buddy-2.30.0" && ./configure --prefix=/opt/local --disable-scrollkeeper --disable-schemas-install --disable-google-breakpad --disable-eds " returned error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/31393#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31393: bug-buddy configure error on OS X Lion ------------------------------+--------------------------------------------- Reporter: jsfranko@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: bug-buddy ------------------------------+--------------------------------------------- Comment(by jsfranko@…): $ cd /opt/local/include $ ls -ltr libelf total 112 -rw-r--r-- 1 root admin 3972 Sep 24 14:46 sys_elf.h -rw-r--r-- 1 root admin 1452 Sep 24 14:46 nlist.h -rw-r--r-- 1 root admin 9050 Sep 24 14:46 libelf.h -rw-r--r-- 1 root admin 5103 Sep 24 14:46 gelf.h -rw-r--r-- 1 root admin 24724 Sep 24 14:46 elf_repl.h -- Ticket URL: <https://trac.macports.org/ticket/31393#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31393: bug-buddy configure error on OS X Lion ------------------------------+--------------------------------------------- Reporter: jsfranko@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: bug-buddy ------------------------------+--------------------------------------------- Comment(by jsfranko@…): {{{ $ cd /opt/local/include /Users/jsfranko $ ls -ltr libelf total 112 -rw-r--r-- 1 root admin 3972 Sep 24 14:46 sys_elf.h -rw-r--r-- 1 root admin 1452 Sep 24 14:46 nlist.h -rw-r--r-- 1 root admin 9050 Sep 24 14:46 libelf.h -rw-r--r-- 1 root admin 5103 Sep 24 14:46 gelf.h -rw-r--r-- 1 root admin 24724 Sep 24 14:46 elf_repl.h }}} -- Ticket URL: <https://trac.macports.org/ticket/31393#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31393: bug-buddy configure error on OS X Lion ------------------------------+--------------------------------------------- Reporter: jsfranko@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: bug-buddy ------------------------------+--------------------------------------------- Comment(by rich@…): Works around it for me: {{{ cd /opt/local/include sudo ln -s libelf/gelf.h . sudo ln -s libelf/libelf.h . }}} -- Ticket URL: <https://trac.macports.org/ticket/31393#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31393: bug-buddy configure error on OS X Lion ------------------------------+--------------------------------------------- Reporter: jsfranko@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: bug-buddy ------------------------------+--------------------------------------------- Comment(by jsfranko@…): confirmed. Those soft links allowed sudo port install gnome to continue where it left off with bug-buddy, it built successfully and is moving on. -- Ticket URL: <https://trac.macports.org/ticket/31393#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31393: bug-buddy configure error on OS X Lion ------------------------------+--------------------------------------------- Reporter: jsfranko@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: bug-buddy ------------------------------+--------------------------------------------- Comment(by jsfranko@…): Unfortunately, I ran into this before the gnome install completed. {{{ ---> Fetching libnotify Error: This port causes problems on Lion, so it will not be installed. Error: Target org.macports.fetch returned: libnotify is not supported on Lion. Error: Failed to install libnotify Log for libnotify is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libnotify/libnotify/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/31393#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31393: bug-buddy configure error on OS X Lion ------------------------------+--------------------------------------------- Reporter: jsfranko@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: bug-buddy ------------------------------+--------------------------------------------- Changes (by devans@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/31393#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31393: bug-buddy configure error -------------------------------+-------------------------------------------- Reporter: jsfranko@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: bug-buddy | -------------------------------+-------------------------------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: The error is not Lion specific but comes from bud-buddy's assumption that libelf.h is in {{{ ${prefix}/include }}} without checking pkg-config. In fact, it is (now) in {{{ $(prefix)/include/libelf }}} configure.in patched to use pkg_config to find location of libelf.h in r85056. -- Ticket URL: <https://trac.macports.org/ticket/31393#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts