pkgsrc-Bugs archive

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

pkg/45325: net/wide-dhcpv6 fails to build



>Number:         45325
>Category:       pkg
>Synopsis:       net/wide-dhcpv6 fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 02 20:15:01 +0000 2011
>Originator:     Robert Swindells
>Release:        NetBSD 5.99.55
>Organization:
NetBSD
>Environment:
System: NetBSD neo.fdy2.co.uk 5.99.55 NetBSD 5.99.55 (NEO) #8: Fri Sep 2 
19:56:11 BST 2011 
rjs%neo.fdy2.co.uk@localhost:/u1/src/sys/arch/amd64/compile/NEO amd64
Architecture: x86_64
Machine: amd64
>Description:
Compilation of net/wide-dhcpv6 fails due to a conflict between a logging
function dprintf and the one in libc.

config.status: creating Makefile
===> Building for wide-dhcpv6-20080615
gcc -O2 -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DINET6=1 
-DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETIFADDRS=1 
-DHAVE_IF_NAMETOINDEX=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_DAEMON=1 
-DHAVE_WARNX=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_IFADDRS_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 
-DHAVE_TM_ZONE=1 -DHAVE_SIG_ATOMIC_T=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void 
-DHAVE_MKTIME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_CLOCK_GETTIME=1 
-DHAVE_ARC4RANDOM=1 -DHAVE_ANSI_FUNC=1 -DHAVE_TAILQ_FOREACH_REVERSE_OLD=1 
-DHAVE_SA_LEN=1 -DHAVE_STDARG_H=1  -DSYSCONFDIR=\"/usr/pkg/etc\"  
-DLOCALDBDIR=\"/var/db\"  -c dhcp6c.c
In file included from dhcp6c.c:73:
./common.h:158: error: conflicting types for 'dprintf'
/usr/include/stdio.h:499: error: previous declaration of 'dprintf' was here
*** Error code 1

Stop.

>How-To-Repeat:
        
>Fix:
        



Home | Main Index | Thread Index | Old Index