Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143008 - net-misc/dhcpv6-0.85-r1 fails on gcc 4.1
Summary: net-misc/dhcpv6-0.85-r1 fails on gcc 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 64839
Blocks: 117482 143189
  Show dependency tree
 
Reported: 2006-08-06 12:32 UTC by Dick Marinus
Modified: 2006-08-28 00:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dhcpv6-0.85-gcc4.patch (dhcpv6-0.85-gcc4.patch,1.15 KB, patch)
2006-08-19 13:33 UTC, Dick Marinus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dick Marinus 2006-08-06 12:32:33 UTC
Portage 2.1.1_pre4-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="nl_NL@euro"
LINGUAS="nl_NL nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://routi.marinus/gentoo-portage"
USE="x86 X X509 Xaw3d aac acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cdparanoia cdr cli crypt cscope cups curl dbus dlloader dri dvd dvdr dvdread dvi eds elibc_glibc emboss encode esd exif expat fat ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif glitz gnome gnutls graphviz gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse iontruetype ipv6 isdnlog jack java jpeg jpeg2k kernel_linux libg++ libwww linguas_nl linguas_nl_NL mad mikmod mjpeg mmx mmxext motif mp3 mpeg ncurses network nls nptl nptlonly nsplugin ntfs ogg opengl pam pcre pdflib perl plotutils png pppd python qt qt3 qt4 quicktime readline real reflection samba scanner sdl session slang snmp spell spl sse sse2 ssl startup-notification stream svg sysfs tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_apm vorbis win32codecs xml xml2 xorg xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

====================================================

gcc -march=pentium4 -O3 -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 client6_parse.o client6_parse.c
client6_parse.y: In function 'cpyyparse':
client6_parse.y:270: error: invalid lvalue in assignment
client6_parse.y:275: error: invalid lvalue in assignment
client6_parse.y:280: error: invalid lvalue in assignment
client6_parse.y:281: error: invalid lvalue in assignment
client6_parse.y:286: error: invalid lvalue in assignment
client6_parse.y:287: error: invalid lvalue in assignment
make: *** [client6_parse.o] Error 1
make: *** Waiting for unfinished jobs....
mv y.tab.h sf.tab.h
mv y.tab.c server6_parse.c

!!! ERROR: net-misc/dhcpv6-0.85-r1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  dhcpv6-0.85-r1.ebuild, line 31:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Maciej Grela 2006-08-19 06:42:26 UTC
I have the same problem with dhcp6-0.8

gcc -O2 -mcpu=i686 -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 lease.o lease.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
bison -y -d -p cpyy client6_parse.y
mv y.tab.h cp.tab.h
mv y.tab.c client6_parse.c
gcc -O2 -mcpu=i686 -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 client6_parse.o client6_parse.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
client6_parse.y: In function 'cpyyparse':
client6_parse.y:270: error: invalid lvalue in assignment
client6_parse.y:275: error: invalid lvalue in assignment
client6_parse.y:280: error: invalid lvalue in assignment
client6_parse.y:281: error: invalid lvalue in assignment
client6_parse.y:286: error: invalid lvalue in assignment
client6_parse.y:287: error: invalid lvalue in assignment
make: *** [client6_parse.o] Błąd 1

emerge --info:

newhope dhcp6-0.8 # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r9-newhope i686)
=================================================================
System uname: 2.6.16-gentoo-r9-newhope i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.4
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo-mirror:dupa@newhope/gentoo http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib acl acpi adns alsa apache2 arts avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli crypt cups curl dedicated dio dlloader dmi dri dvd embedded emboss encode esd exif ffmpeg fftw foomaticdb fortran ftp gd gdbm gif glitz glut gmp gnutls gpgme gpm gsm gtk gtk2 hal iconv idn imap ipv6 irda isdnlog jabber jack java javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility ldap libcaca libg++ libwww lm_sensors mad maildir matroska mikmod mime mmx mmxext motif mp3 mpeg mysql ncurses netboot nls nntp nptl nptlonly ogg openal opengl pam pcre pdflib perl png pop pppd python qt qt3 quicktime readline real reflection rtc samba sasl sdl sensord session sharedmem slp smartcard smime snmp sockets socks5 sox speex spl sse ssl svg sysfs tcpd theora threads threadstruetype tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs xcomposite xine xinerama xinetd xml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_pl userland_GNU video_cards_radeon video_cards_i810 video_cards_mach64 video_cards_nv video_cards_r128 video_cards_s3virge video_cards_s3 video_cards_savage video_cards_sis video_cards_tdfx video_cards_v4l video_cards_vesa video_cards_vga video_cards_via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 2 Dick Marinus 2006-08-19 13:07:56 UTC
FYI, dhcpv6-0.10 is newer then dhcpv6-0.85, as described in bug #64839.

Ubuntu / Debian placed their bet on http://wide-dhcpv6.sourceforge.net/
Fedora / Red Hat is using this project (dhcpv6) they created libdhcp which uses libdhcpv6.

what will we choose?
Comment 3 Dick Marinus 2006-08-19 13:33:38 UTC
Created attachment 94631 [details, diff]
dhcpv6-0.85-gcc4.patch

A fix for GCC 4, I guess ...
Comment 4 SpanKY gentoo-dev 2006-08-28 00:54:30 UTC
0.10 + cvs fixes in portage