pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45949: bash build on IRIX fails due to missing -c99 flag in builtins

>Number:         45949
>Category:       pkg
>Synopsis:       bash build on IRIX fails due to missing -c99 flag in builtins
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 08 15:35:00 +0000 2012
>Release:        pkgsrc-2011Q3
System: IRIX64 halo 6.5 6.5.29m 01090133 IP30
Architecture: mipseb
Machine: IP30
Building bash fails because the Makefile rule for compiling mkbuiltins.o does
not use CFLAGS but a long meandering chain of other variables that somehow do
not pull in CFLAGS. This makes us lose the -c99 flag which is required for using
C99 standard headers with MIPSPro.

Attempt to build bash on IRIX while for exampel testing a build of netpbm.
Make a new patch, like this. It takes care of the missing compiler flag. There
is a potential here for other systems to fail because of extraenous compiler
flags (I don't know, maybe they actually had a reason for not making it use

I tested this and it works on IRIX, NetBSD 5.1/alpha, NetBSD 4.0/i386

--- builtins/   Tue Dec 21 15:37:18 2010
+++ builtins/        Wed Feb  8 16:49:52 2012
@@ -56,7 +56,7 @@


Home | Main Index | Thread Index | Old Index