Port devel/gdb broken on 11-CURRENT amd64.

Dimitry Andric dim at FreeBSD.org
Thu Mar 27 22:09:45 UTC 2014

On 24 Mar 2014, at 22:32, Mark R V Murray <markm at FreeBSD.org> wrote:
> On 24 Mar 2014, at 15:34, pizzamig <luca.pizzamiglio at gmail.com> wrote:
>> I've already got a report about that, but I'm on holiday, without a CURRENT system, I cannot work on it right now...
>> I guess CURRENT has a new clang version…
> Yup! It’s Clang v3.4. I’ve done a local dirty fix of ‘CFLAGS+=-Wno-error’ in the Port Makefile. I suspect it will need rather more than this to cover all the CLANG and GCC versions that are around.

IMHO it is fairly ridiculous the port is compiled with -Werror.  If we
were gdb developers, I could understand, but for contributed software it
does not make much sense.  Maybe the maintainer can apply the following
patch, which I have literally had for years in my ports tree now.

Index: devel/gdb/Makefile
--- devel/gdb/Makefile  (revision 348737)
+++ devel/gdb/Makefile  (working copy)
@@ -21,7 +21,8 @@
                --with-separate-debug-dir=/usr/lib/debug \
                ${ICONV_CONFIGURE_ARG} \
                --without-libunwind-ia64 \
-               --enable-targets=all
+               --enable-targets=all \
+               --disable-werror
 CFLAGS:=       ${CFLAGS:C/ +$//}       # blanks at EOL creep in sometimes
 EXCLUDE=       dejagnu expect sim texinfo intl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140327/324eb67d/attachment.sig>

More information about the freebsd-ports mailing list