Opened 13 years ago

Closed 13 years ago

#31393 closed defect (fixed)

bug-buddy configure error

Reported by: jsfranko@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: bug-buddy

Description (last modified by mf2k (Frank Schima))

--->  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

Attachments (1)

main.log (18.3 KB) - added by jsfranko@… 13 years ago.
main.log from bug-buddy folder

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by jsfranko@…

Attachment: main.log added

main.log from bug-buddy folder

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: gnome bug-buddy removed
Owner: changed from macports-tickets@… to devans@…
Port: bug-buddy added; gnome removed
Summary: sudo port install gnome fails on bug-buddy, OS X Lionbug-buddy configure error on OS X Lion

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

comment:2 Changed 13 years ago 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

comment:3 Changed 13 years ago 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

comment:4 in reply to:  3 Changed 13 years ago by rich@…

Works around it for me:

cd /opt/local/include
sudo ln -s libelf/gelf.h .
sudo ln -s libelf/libelf.h .

comment:5 Changed 13 years ago 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.

comment:6 Changed 13 years ago 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

comment:7 Changed 13 years ago by dbevans (David B. Evans)

Status: newassigned

comment:8 Changed 13 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed
Summary: bug-buddy configure error on OS X Lionbug-buddy configure error

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.

Note: See TracTickets for help on using tickets.