ports/171764: devel/gdb66 fails to fetch/compile on STABLE-9

Garrett Cooper yanegomi at gmail.com
Wed Sep 19 03:20:09 UTC 2012


>Number:         171764
>Category:       ports
>Synopsis:       devel/gdb66 fails to fetch/compile on STABLE-9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 19 03:20:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9.1-PRERELEASE
>Organization:
EMC Isilon
>Environment:
FreeBSD forza.west.isilon.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r238921M: Mon Jul 30 14:47:10 PDT 2012     gcooper at forza.west.isilon.com:/usr/obj/usr/src/sys/FORZA  amd64
>Description:
Tried getting a version of gdb to compile and install on my 9.1-PRERELEASE box, but it appears that devel/gdb66 is busted:

ar: warning: creating libgdb.a
ranlib libgdb.a
rm -f gdb
rm -f gdbtui
cc -O2 -pipe -O2 -fno-strict-aliasing -DRL_NO_COMPAT       \
        -o gdb gdb.o libgdb.a \
           -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a  ../libiberty/libiberty.a     -lncurses -lm -L/usr/local/lib -liconv /usr/local/lib/libexpat.so -Wl,-rpath -Wl,/usr/local/lib ../libiberty/libiberty.a  -lkvm
cc -O2 -pipe -O2 -fno-strict-aliasing -DRL_NO_COMPAT       \
        -o gdbtui tui-main.o libgdb.a \
           -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a  ../libiberty/libiberty.a     -lncurses -lm -L/usr/local/lib -liconv /usr/local/lib/libexpat.so -Wl,-rpath -Wl,/usr/local/lib ../libiberty/libiberty.a  -lkvm
libgdb.a(tui-io.o): In function `tui_setup_io':
tui-io.c:(.text+0x2aa): undefined reference to `readline_echoing_p'
tui-io.c:(.text+0x2b0): undefined reference to `readline_echoing_p'
tui-io.c:(.text+0x3c0): undefined reference to `readline_echoing_p'
libgdb.a(tui-io.o): In function `tui_setup_io':
tui-io.c:(.text+0x2aa): undefined reference to `readline_echoing_p'
tui-io.c:(.text+0x2b0): undefined reference to `readline_echoing_p'
tui-io.c:(.text+0x3c0): undefined reference to `readline_echoing_p'
gmake[2]: *** [gdbtui] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [gdb] Error 1
gmake[2]: Leaving directory `/scratch/freebsd/ports/devel/gdb66/work/gdb-6.6/gdb'
gmake[1]: *** [all-gdb] Error 2
gmake[1]: Leaving directory `/scratch/freebsd/ports/devel/gdb66/work/gdb-6.6'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /scratch/freebsd/ports/devel/gdb66.
*** [install] Error code 1

Stop in /scratch/freebsd/ports/devel/gdb66.

The port failed to fetch before, so I'm thinking that the port should just be marked BROKEN and/or upgraded to gdb68 (gdb68 actually functions and is somewhat sane with threads, etc on FreeBSD).
>How-To-Repeat:
cd /usr/ports/distfiles
fetch http://pkgs.fedoraproject.org/repo/pkgs/gdb/gdb-6.6.tar.bz2/a4df41d28dd514d64e8ccbfe125fd9a6/gdb-6.6.tar.bz2
cd /usr/ports/devel/gdb66
make install
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list