pkgsrc-Bugs archive

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

pkg/40380: net/kismet fails on build



>Number:         40380
>Category:       pkg
>Synopsis:       net/kismet fails on build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 12 15:45:02 +0000 2009
>Originator:     diro%nixsyspaus.org@localhost
>Release:        NetBSD 4.0.1_PATCH
>Organization:
>Environment:
System: NetBSD themobe.lan 4.0.1_PATCH NetBSD 4.0.1_PATCH (THEMOBE) #5: Sun Jan 
11 03:12:13 UTC 2009 
root%themobe.lan@localhost:/usr/obj/sys/arch/i386/compile/THEMOBE i386
Architecture: i386
Machine: i386
>Description:

=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum SHA1 OK for kismet-2008-05-R1.tar.gz
=> Checksum RMD160 OK for kismet-2008-05-R1.tar.gz
===> Installing dependencies for kismet-2008.05.01
==========================================================================
The supported build options for kismet are:

        gps

The currently selected options are:

        gps

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.kismet (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
kismet-2008.05.01.  Their current value is shown below:

        * VARBASE = /var

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency gmake>=3.81: found gmake-3.81
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.3
=> Build dependency xproto>=7.0.9: found xproto-7.0.14
=> Full dependency wget>=1.9.1: found wget-1.11.4
=> Full dependency perl>=5.0: found perl-5.10.0nb4
=> Full dependency gmp>=4.2.1: found gmp-4.2.4nb1
=> Full dependency ImageMagick>=6.3.1.6nb1: found ImageMagick-6.4.6.0
=> Full dependency expat>=2.0.0nb1: found expat-2.0.1
=> Full dependency libX11>=1.1: found libX11-1.1.5
=> Full dependency ncurses>=5.4nb1: found ncurses-5.7nb1
=> Full dependency zlib>=1.2.3: found zlib-1.2.3
=> Full dependency libpcap>=0.5.0: found libpcap-1.0.0nb2
===> Overriding tools for kismet-2008.05.01
===> Extracting for kismet-2008.05.01
===> Patching for kismet-2008.05.01
=> Applying pkgsrc patches for kismet-2008.05.01
===> Creating toolchain wrappers for kismet-2008.05.01
===> Configuring for kismet-2008.05.01
=> Fixing user name.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing Perl interpreter in scripts/gpsmap-helper-earthamaps.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i386-unknown-netbsdelf4.0.1.
checking host system type... i386--netbsdelf
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... cc -E
checking for platform-specific compiler flags... adding pkgsrc locations
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... (cached) yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing 
slash... yes
checking whether stat accepts an empty string... no
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strftime... yes
checking for strstr... yes
checking for system-level getopt_long()... yes
checking for stdint.h... (cached) yes
checking for accept() addrlen type... socklen_t
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for main in -luClibc++... no
checking for main in -lstdc++... yes
checking for group 'root'... no.  Using 'wheel'
checking for group 'man'... no.  Using 'wheel'
checking for pkghildon... checking for initscr in -lncurses... yes
checking for new_panel in -lpanel... yes
checking for assume_default_colors in -lncurses... yes
checking for linux/netlink.h... no
configure: WARNING: *** Missing Linux netlink headers.  wlanng_legacy source 
will not be built. ***
checking for linux/wireless.h... no
configure: WARNING: *** Missing Linux Wireless kernel extentions.  The majority 
of packet sources on Linux require this support and will not work without it.  
Make sure your kernel header packages are installed.  If all else fails, try 
the --with-linuxheaders directive. ***
checking for pcap_open_live in -lpcap... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_setnonblock in -lpcap... yes
checking for pcap_get_selectable_fd in -lpcap... yes
checking for net80211/radiotap support... checking for setuid ... yes
checking for DBUS... checking for XML_GetCurrentLineNumber in -lexpat... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for Magick-config... yes
test: 6 Q16: bad number
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking for gzopen in -lz... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking machine/apmvar.h usability... yes
checking machine/apmvar.h presence... yes
checking for machine/apmvar.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extra/buzzme/Makefile
config.status: creating extra/Makefile
config.status: WARNING:  extra/Makefile.in seems to ignore the --datarootdir 
setting
config.status: creating conf/kismet.conf
config.status: creating conf/kismet_ui.conf
config.status: creating config.h

Configuration complete: 
         Compiling for: netbsdelf (i386)
           C++ Library: stdc++
   Installing as group: wheel
    Man pages owned by: wheel
       Installing into: /usr/pkg
        Setuid capable: yes
      Terminal Control: ncurses
      Curses interface: yes
      Panels interface: yes
 Linux Netlink capture: n/a (only Linux)
       Linux wireless : n/a (only Linux)
 Linux wireless v.22+ : n/a (only Linux)
          pcap capture: yes
       airpcap control: n/a (only Cygwin/Win32)
        WSP100 capture: no
          Viha capture: n/a (only Darwin)
   OSX/Darwin capture : n/a (only OSX/Darwin)
      Radiotap headers: yes
 Using local dump code: yes
      DBUS Integration: no
   Imagemagick support: yes (6.4.6 Q16 )
         Expat Library: yes
           GMP Library: yes
       PThread Support: yes
      libz compression: yes

Configuration complete.  You are not running a linux-based system,
you will likely need to use 'gmake' instead of 'make'.
Run 'gmake dep' to generate dependencies and 'gmake' followed by
'gmake install' to compile and install Kismet
Kismet WILL NOT be installed suid-root by default.  If you wish to install
Kismet as a suid-root utility, READ THE DOCUMENTATION and run 
'make suidinstall'.
DO NOT INSTALL KISMET AS SUID-ROOT IF YOU HAVE UNTRUSTED USERS ON YOUR SYSTEM.
===> Building for kismet-2008.05.01
Makefile:341: .depend: No such file or directory
Generating dependencies... 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
util.cc -o util.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
cygwin_utils.cc -o cygwin_utils.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
ringbuf.cc -o ringbuf.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
configfile.cc -o configfile.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
speech.cc -o speech.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
ifcontrol.cc -o ifcontrol.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
iwcontrol.cc -o iwcontrol.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
madwifing_control.cc -o madwifing_control.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
packet.cc -o packet.o 
c++ -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include 
-I/usr/pkg/include -I/usr/pkg/include/ImageMagick -O2 -Wall 
-DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" 
-DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include/ImageMagick  -c 
pcapsource.cc -o pcapsource.o 
pcapsource.cc:800:1: warning: "IEEE80211_IS_CHAN_FHSS" redefined
In file included from /usr/include/net80211/ieee80211_ioctl.h:41,
                 from pcapsource.cc:55:
/usr/include/net80211/_ieee80211.h:151:1: warning: this is the location of the 
previous definition
pcapsource.cc:802:1: warning: "IEEE80211_IS_CHAN_A" redefined
/usr/include/net80211/_ieee80211.h:153:1: warning: this is the location of the 
previous definition
pcapsource.cc:804:1: warning: "IEEE80211_IS_CHAN_B" redefined
/usr/include/net80211/_ieee80211.h:155:1: warning: this is the location of the 
previous definition
pcapsource.cc:806:1: warning: "IEEE80211_IS_CHAN_PUREG" redefined
/usr/include/net80211/_ieee80211.h:157:1: warning: this is the location of the 
previous definition
pcapsource.cc:808:1: warning: "IEEE80211_IS_CHAN_G" redefined
/usr/include/net80211/_ieee80211.h:159:1: warning: this is the location of the 
previous definition
pcapsource.cc:810:1: warning: "IEEE80211_IS_CHAN_T" redefined
/usr/include/net80211/_ieee80211.h:163:1: warning: this is the location of the 
previous definition
pcapsource.cc: In member function 'virtual int PcapSource::OpenSource()':
pcapsource.cc:182: error: 'BIOCPROMISC' was not declared in this scope
pcapsource.cc:186: error: 'BIOCIMMEDIATE' was not declared in this scope
gmake: *** [pcapsource.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/kismet
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/kismet
>How-To-Repeat:
        cd pkgsrc/net/kismet; bmake depend; bmake;
>Fix:
        



Home | Main Index | Thread Index | Old Index