pkgsrc-Bugs archive

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

pkg/47358: net/miniupnpd build failure



>Number:         47358
>Category:       pkg
>Synopsis:       net/miniupnpd build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 20 22:00:00 +0000 2012
>Originator:     John D. Baker
>Release:        NetBSD 6.0_STABLE/i386, pkgsrc-HEAD (pre-pkgsrc-2012Q4)
>Organization:
>Environment:
NetBSD yggdrasil.technoskunk.fur 6.0_STABLE NetBSD 6.0_STABLE (YGGDRASIL) #7: 
Mon Dec 17 12:00:24 CST 2012  
sysop%yggdrasil.technoskunk.fur@localhost:/r0/build/netbsd-6/obj/i386/sys/arch/i386/compile/YGGDRASIL
 i386

>Description:
Also seen on NetBSD-6.0_STABLE/sparc.

Building net/miniupnpd fails as follows:

[...]
gcc -pipe -Wall -Os -ansi -c -o bsd/ifacewatcher.o bsd/ifacewatcher.c
In file included from bsd/ifacewatcher.c:14:0:
/usr/include/net/route.h:120:15: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'const'
*** Error code 1

Stop.
make: stopped in /var/tmp/pkgsrc/net/miniupnpd/work/miniupnpd-1.6.20120320
*** Error code 1

Stop.
make: stopped in /r0/nbsd/pkgsrc/net/miniupnpd
*** Error code 1

Stop.
make: stopped in /r0/nbsd/pkgsrc/net/miniupnpd

>How-To-Repeat:
On NetBSD-6.0_STABLE/i386 or /sparc, using pkgsrc-HEAD as of about
201212202153Z, attempt to build "net/miniupnpd".

If it makes a difference, the above data was collected on systems that
use "pf". The sparc system explicitly sets "PKG_OPTIONS.miniupnpd=pf"
while the i386 system defaults to "pf" by virtue of a custom kernel that
omits "ipfilter" in favor of "pf".
>Fix:



Home | Main Index | Thread Index | Old Index