NetBSD Problem Report #44866

From www@NetBSD.org  Thu Apr 14 09:15:15 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id B0BD163C25F
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 14 Apr 2011 09:15:15 +0000 (UTC)
Message-Id: <20110414091513.CCA4C63C210@www.NetBSD.org>
Date: Thu, 14 Apr 2011 09:15:13 +0000 (UTC)
From: netbsdamd64@gmail.com
Reply-To: netbsdamd64@gmail.com
To: gnats-bugs@NetBSD.org
Subject: security/honeyd fails
X-Send-Pr-Version: www-1.0

>Number:         44866
>Category:       pkg
>Synopsis:       security/honeyd fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 14 09:20:00 +0000 2011
>Closed-Date:    Mon Apr 30 23:23:45 +0000 2012
>Last-Modified:  Mon Apr 30 23:23:45 +0000 2012
>Originator:     dave
>Release:        5.1
>Organization:
>Environment:
NetBSD NBSD-51.NBSD.org 5.1 NetBSD 5.1 (GRUMPY-BIATCH) #0: Wed Apr 13 21:26:26 SGT 2011  david@NBSD-51.NBSD.org:/usr/src/sys/arch/amd64/compile/GRUMPY-BIATCH amd64

>Description:
security/honeyd fails with pkgsrc-2010Q4, pkgsrc-2011Q1 & current.

Here is the log -

NBSD-51# cd /usr/pkgsrc/security/honeyd
NBSD-51# make
=> 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/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for honeyd-1.5b.tar.gz
=> Checksum RMD160 OK for honeyd-1.5b.tar.gz
===> Installing dependencies for honeyd-1.5bnb14
==========================================================================
The supported build options for honeyd are:

        python rrdtool

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

        PKG_OPTIONS.honeyd (not defined)

==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb4
=> Full dependency honeyd-arpd>=0.2: found honeyd-arpd-0.2nb13
=> Full dependency libevent>=2.0.10: found libevent-2.0.10
=> Full dependency libdnsres>=0.1anb4: found libdnsres-0.1anb9
=> Full dependency libdnet>=1.10nb1: found libdnet-1.12nb1
=> Full dependency pcre>=6.2: found pcre-8.12
===> Overriding tools for honeyd-1.5bnb14
===> Extracting for honeyd-1.5bnb14
===> Patching for honeyd-1.5bnb14
=> Applying pkgsrc patches for honeyd-1.5bnb14
===> Creating toolchain wrappers for honeyd-1.5bnb14
===> Configuring for honeyd-1.5bnb14
=> 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
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for x86_64--netbsd-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 ANSI C... none needed
checking dependency style of cc... none
checking for a sed that does not truncate output... /usr/pkgsrc/security/honeyd/work/.tools/bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/pkgsrc/security/honeyd/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/security/honeyd/work/.wrapper/bin/ld) is GNU ld... yes
checking for /usr/pkgsrc/security/honeyd/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cc -E
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64--netbsd-g++... c++
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... cpp
checking for x86_64--netbsd-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/pkgsrc/security/honeyd/work/.wrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/usr/pkgsrc/security/honeyd/work/.wrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC... 
checking if c++ supports -c -o file.o... no
checking whether the c++ linker (/usr/pkgsrc/security/honeyd/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/usr/pkgsrc/security/honeyd/work/.wrapper/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for x86_64--netbsd-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) none
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for dlopen in -ldl... no
checking for libpcap... yes
checking for dnet-config... /usr/pkg/bin/dnet-config
checking whether libdnet is a libdumbnet... no
checking for libevent... yes
checking for event_priority_init in -levent... yes
checking for libdnsres... yes
checking for libpcre... yes
checking for libedit... yes
checking for deflate in -lz... yes
checking for tgetstr in -lncurses... yes
checking for rrdtool... no
checking for python... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... 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/ioccom.h usability... yes
checking sys/ioccom.h presence... yes
checking for sys/ioccom.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for u_int... yes
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether cc needs -traditional... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for asprintf... yes
checking for dup2... yes
checking for fgetln... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strtoul... yes
checking for strspn... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for freeaddrinfo... yes
checking for setgroups... yes
checking for sendmsg... yes
checking for recvmsg... yes
checking for setregid... yes
checking for setruid... yes
checking for kqueue... yes
checking for daemon... yes
checking for err... yes
checking for strsep... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for getopt_long... yes
checking for SHA1Update... yes
checking for msg_accrights field in struct msghdr... no
checking for sun_len in socketaddr_un... yes
checking for msg_control field in struct msghdr... yes
checking for timeradd in sys/time.h... yes
checking for isblank in ctype.h... no
checking for isblank... yes
checking for working addr_cmp in libdnet... yes
checking for addr_net in libdnet... yes
checking for struct sockaddr_storage... yes
checking for sa_len in sockaddr struct... yes
checking if underscores are needed for symbols... no
checking if we can access libc without dlopen... yes
checking for plugins to build in... none
configure: creating ./config.status
config.status: creating Makefile
config.status: creating regress/Makefile
config.status: creating pypcap/Makefile
config.status: creating config.h
config.status: executing depfiles commands
=> Modifying libtool scripts to use pkgsrc libtool
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
===> Building for honeyd-1.5bnb14
/usr/bin/make  all-recursive
Making all in .
cc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -DPATH_HONEYDINCLUDE="\"/usr/pkg/include/honeyd\""  -DPATH_HONEYDDATA="\"/usr/pkg/share/examples/honeyd\""  -DPATH_HONEYDLIB="\"/usr/pkg/lib/honeyd\""  -DHONEYD_PLUGINS_DECLARE=""  -DHONEYD_PLUGINS=""  -DPATH_RRDTOOL="\"\"" -c honeyd.c
In file included from honeyd.c:97:
tagging.h:89: error: expected declaration specifiers or '...' before '(' token
tagging.h:89: error: expected declaration specifiers or '...' before '(' token
In file included from stats.h:36,
                 from honeyd.c:98:
./compat/sha1.h:23: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:23: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:26: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:28: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:30: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:32: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:35: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:35: warning: '__bounded__' attribute directive ignored
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/honeyd/work/honeyd-1.5b
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/honeyd/work/honeyd-1.5b
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/honeyd/work/honeyd-1.5b
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/honeyd
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/honeyd
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 23 Jun 2011 08:31:40 +0000
State-Changed-Why:
should be fixed with pkgsrc-current, on NetBSD-5.1 with builtin libevent.


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 30 Apr 2012 23:23:45 +0000
State-Changed-Why:
Feedback timeout.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.