Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 45121

Summary: dhcpv6 failed
Product: Gentoo Linux Reporter: Honza <hkmaly>
Component: [OLD] ServerAssignee: The ipv6 Team <ipv6>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Honza 2004-03-19 04:06:52 UTC
Last lines:

gcc -O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe -I.  -DHAVE_LIBCRYPTO=1 -DHAVE_LIBRESOLV=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_IF_NAMETOINDEX=1 -DSTDC_HEADERS=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_TM_ZONE=1 -DGETPGRP_VOID=1 -DSETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_MKTIME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_ANSI_FUNC=1 -DHAVE_STDARG_H=1  -DCONF_DH6OPT_DNS_RESOLVERS=25 -DCONF_DH6OPT_DOMAIN_LIST=26 -DCONF_DH6OPT_IA_PD=30 -DCONF_DH6OPT_IAPREFIX=31    -c -o server6_addr.o server6_addr.c
bison -y -d -p sfyy server6_parse.y
server6_parse.y:93.17-22: type redeclaration for OPTION
make: *** [server6_parse.c] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-misc/dhcpv6-0.8 failed.
!!! Function src_compile, Line 418, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1. emerge dhcpv6

Actual Results:  
already said - emake failed at compiling file server6_parse.y

Expected Results:  
install dhcpv6, of course :-)

There are two %token <str> OPTION in that file. If you delete one, problem seems
fixed.
BTW, I repair it while I ctrl-Z emerge, but I don't think if you can expect this
from every user ...
Comment 1 François MASSON 2004-04-14 14:31:25 UTC
I encounter the same problem.
This bug is fixed in cvs, see:
http://cvs.sourceforge.net/viewcvs.py/dhcpv6/dhcp6/server6_parse.y?r1=1.8&r2=1.9
Comment 2 Guy Martin (RETIRED) gentoo-dev 2004-06-11 17:47:35 UTC
Fixed in cvs.