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)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        net/xorp fails to compile on NetBSD 3.0

>How-To-Repeat:
        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 
`/pkg_comp/obj/pkgsrc/net/xorp/default/xorp-1.5/fea/data_plane/control_socket'
/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 click_socket.cc
 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 click_socket.cc -o 
click_socket.o
/usr/include/sys/mount.h: In member function `int 
   ClickSocket::mount_click_file_system(std::string&)':
/usr/include/sys/mount.h:384: error: too many arguments to function `int 
   mount(const char*, const char*, int, void*)'
click_socket.cc:737: error: at this point in file
gmake[4]: *** [click_socket.lo] Error 1
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/xorp/default/xorp-1.5/fea/data_plane/control_socket'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/xorp/default/xorp-1.5/fea/data_plane'
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

>Fix:
        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.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index