pkgsrc-Bugs archive

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

pkg/39705: net/xorp compilation error NetBSD 3.0

>Number:         39705
>Category:       pkg
>Synopsis:       net/xorp compilation error NetBSD 3.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 05 10:10:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE  (pkgsrc current today)
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        net/xorp fails to compile on NetBSD 3.0

        Attempt to build net/xorp on a NetBSD 3.0 (any NetBSD 3
        system probably, and perhaps NetBSD 4 haven't tested that yet).

        I use pkg_comp with libkver and NetBSD 3.0 sets installed,
        but that can't be relevant of itself for this problem.

        Expect to see ...

Making all in control_socket
gmake[4]: Entering directory 
/bin/sh ../../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. 
-I../../.. -I../../..  -I/usr/include  -I/usr/include -g -Werror -W -Wall 
-Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wstrict-prototypes 
-Woverloaded-virtual -ftemplate-depth-25 -pipe -MT click_socket.lo -MD -MP -MF 
.deps/click_socket.Tpo -c -o click_socket.lo
 c++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I/usr/include -I/usr/include -g 
-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
-Wstrict-prototypes -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT 
click_socket.lo -MD -MP -MF .deps/click_socket.Tpo -c -o 
/usr/include/sys/mount.h: In member function `int 
/usr/include/sys/mount.h:384: error: too many arguments to function `int 
   mount(const char*, const char*, int, void*)' error: at this point in file
gmake[4]: *** [click_socket.lo] Error 1
gmake[4]: Leaving directory 
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/pkg_comp/obj/pkgsrc/net/xorp/default/xorp-1.5/fea'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/net/xorp/default/xorp-1.5'
gmake: *** [all] Error 2
*** Error code 2

        Someone obviously made xorp able to deal with the 5-arg
        mount(2) that's in NetBSD-current but didn't make it able to
        deal with older systems...   That needs to be corrected.


Home | Main Index | Thread Index | Old Index