Hello, Sorry for the ports lock, but I've just tried to build devel/gdb on -current (because misp64el packages are really out of sync with latest loongson snapshots -- I'm having a lot of "undefined symbol '_thread_sys_pread', lazy binding failed" with libpthread, so I have to recompile a few things by myself so that they explicitly link against the latest version of libpthread -- devel/gdb being a build dependency for lang/ocaml).
The problem is that gdb-7.2 doesn't exist anymore on ftp.gnu.org. >From what I can see, it's because of a GPL violation (the same thing happened to emacs 23.3 -> 23.3b). The following diff makes the port use gdb-7.2a instead (tested on loongson). gdb(1) in base may also be "affected": gdb-6.3 got changed to gdb-6.3a, too. I can't find any "official" information about these changes (probably a few bison files which were missing, I guess) and I can't compare gdb-7.2a with gdb-7.2 since I didn't have gdb-7.2 in my distfiles (hence the build failure, of course)... I'm letting you decide whether it's "critical" for 5.1 :) As usual, thanks for your good work. Donovan. Index: Makefile =================================================================== RCS file: /cvs/ports/devel/gdb/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- Makefile 22 Dec 2011 20:27:31 -0000 1.19 +++ Makefile 4 Feb 2012 14:55:32 -0000 @@ -3,8 +3,9 @@ COMMENT= GNU debugger CATEGORIES= devel -DISTNAME= gdb-7.2 -REVISION= 7 +VERSION= 7.2 +DISTNAME= gdb-${VERSION}a +WRKDIST= ${WRKDIR}/gdb-${VERSION} HOMEPAGE= http://www.gnu.org/software/gdb/ Index: distinfo =================================================================== RCS file: /cvs/ports/devel/gdb/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo 11 Nov 2011 18:33:03 -0000 1.4 +++ distinfo 4 Feb 2012 14:55:32 -0000 @@ -1,5 +1,5 @@ -MD5 (gdb/gdb-7.2.tar.gz) = lQt2ZGa+50jlVHZchri0lQ== -RMD160 (gdb/gdb-7.2.tar.gz) = 7vJVe8vJrgnGTSFUZ75opTr+alY= -SHA1 (gdb/gdb-7.2.tar.gz) = 98/2U1iw8HThGOxMhI6CtAf7+LM= -SHA256 (gdb/gdb-7.2.tar.gz) = NJGctRM0yBSa427QhvNeef4/orKoW1aNfA7a0gzZctQ= -SIZE (gdb/gdb-7.2.tar.gz) = 24678132 +MD5 (gdb/gdb-7.2a.tar.gz) = qajQ6hrleDf62lQVvQ+S/w== +RMD160 (gdb/gdb-7.2a.tar.gz) = H1JOng/ceeVTObEelCyPrTyyw8Q= +SHA1 (gdb/gdb-7.2a.tar.gz) = yrfqDE2c69JDm2wR/ye7+x0xEBM= +SHA256 (gdb/gdb-7.2a.tar.gz) = n1FznNRcFYql3y56u3A6MEtTcOLp5Dxw9cwLHEvl0MI= +SIZE (gdb/gdb-7.2a.tar.gz) = 25144107