Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235643 - net-misc/dhcpcd-4.0.0 - dhcpcd.c:632: error: 'struct options' has no member named 'reqmask'
Summary: net-misc/dhcpcd-4.0.0 - dhcpcd.c:632: error: 'struct options' has no member n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 235667 235672 235723 235727 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-25 02:21 UTC by Rahul Jain
Modified: 2008-08-25 23:55 UTC (History)
10 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rahul Jain 2008-08-25 02:21:31 UTC
Compile fails with the following error being repeated:
 error: 'struct options' has no member named 'reqmask'

Reproducible: Always

Steps to Reproduce:
1.emerge -avu dhcpcd
2.
3.

Actual Results:  
Compile fails

Expected Results:  
Should compile

###### build.log ######
>>> Emerging (1 of 3) net-misc/dhcpcd-4.0.0
 * dhcpcd-4.0.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking dhcpcd-4.0.0.tar.bz2 to /var/tmp/portage/net-misc/dhcpcd-4.0.0/work
 * dhcpcd-3 command line support enabled
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/dhcpcd-4.0.0/work/dhcpcd-4.0.0 ...
i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -fomit-frame-pointer -std=c99   -DDBDIR=\"/var/lib/dhcpcd\" -DSCRIPT=\"/lib/dhcpcd/dhcpcd-run-hooks\" -DSYSCONFDIR=\"/etc\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -c common.c -o common.o
i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -fomit-frame-pointer -std=c99   -DDBDIR=\"/var/lib/dhcpcd\" -DSCRIPT=\"/lib/dhcpcd/dhcpcd-run-hooks\" -DSYSCONFDIR=\"/etc\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -c dhcp.c -o dhcp.o
i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -fomit-frame-pointer -std=c99   -DDBDIR=\"/var/lib/dhcpcd\" -DSCRIPT=\"/lib/dhcpcd/dhcpcd-run-hooks\" -DSYSCONFDIR=\"/etc\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -c dhcpcd.c -o dhcpcd.o
dhcpcd.c: In function 'main':
dhcpcd.c:631: warning: implicit declaration of function 'add_requestmask'
dhcpcd.c:632: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:633: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:634: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:635: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:636: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:785: warning: implicit declaration of function 'del_requestmask'
dhcpcd.c:785: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:788: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:791: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:792: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:793: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:796: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:799: error: 'struct options' has no member named 'reqmask'
dhcpcd.c:800: error: 'struct options' has no member named 'reqmask'
make: *** [dhcpcd.o] Error 1
make: *** Waiting for unfinished jobs....
 * 
 * ERROR: net-misc/dhcpcd-4.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  704:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" ${MAKE_ARGS} || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-4.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-4.0.0/temp/environment'.


##### emerge --info ########
Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-tuxonice i686)
=================================================================
System uname: Linux-2.6.26-tuxonice-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Mon, 25 Aug 2008 01:46:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en hi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/oss-overlay /usr/local/portage/layman/bugzilla"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt css ctype cups curl curlwrappers cxx dbus dga djvu dri dts dvd dvdr esd exif fam fbcon ffmpeg flac fontconfig fortran gd gdbm gif gimp gnutls gphoto2 gpm gstreamer hal hddtemp htmlhandbook iconv ieee1394 imagemagick ipv6 isdnlog java java5 java6 javascript joystick jpeg jpeg2k libnotify lm_sensors mad midi mmx mono motif mp3 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp oss pam pcmcia pcre perl png posix ppds pppd python quicktime readline real reflection samba scanner session smp sndfile spell spl sse sse2 sse3 ssl startup-notification svg svga sysfs syslog tcpd theora threads tiff truetype type1 unicode usb v4l2 vcd vim-syntax vorbis wavpack win32codecs wmf x86 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hi" USERLAND="GNU" VIDEO_CARDS="i810 fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 06:26:37 UTC
Confirmed.

Mon Aug 25 08:25:18 CEST 2008
Portage 2.2_rc8 (default/linux/hppa/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.27-rc2-JeR parisc)
=================================================================
System uname: Linux-2.6.27-rc2-JeR-parisc-PA8700_-PCX-W2-with-glibc2.2
Timestamp of tree: Mon, 25 Aug 2008 04:45:02 +0000
distcc 2.18.3 hppa2.0-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-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 /var/bind /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distlocks fixpackages notitles parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl he"
MAKEOPTS="-j4"
PKGDIR="/keeps/gentoo/packages/elmer"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/alt/portage-tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility ads agg alsa amr amrnb amrwb ao aoss apache2 ares arts asf async asyncns audiofile audit automount avfs bash-completion berkdb bidi bittorrent bl bluetooth bzip2 c++ cairo caps catalogs cblas cdb cddb cdparanoia cdr chardet cjk clarens cli cracklib crypt cups curl custom-cflags dbtool dbus device-mapper dga dia dirac directfb djbfft domainkeys drm dts dv dvd dvdr dvdread dxr3 edl elf emacs enca encode esd examples exif expat fam fame fastbuild fastcgi fbcon ffmpeg filter flac fontconfig foomaticdb fortran ftp gadu galago gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnome gnutls gphoto2 gpm gs gsl gtk gtk2 gtkhtml hal hesiod hppa ical icecast iconv idea idn imagemagick imlib immqt-bc inquisitio ipv6 isc isdnlog ithreads jack javascript jbig jingle jpeg jpeg2k kde kerberos lapack latex lcms ldap leim libcaca libnotify libsamplerate libwww live logrotate logwatch lua lzo mad matroska memcache metis mhash midi mikmod mmap mng modplug motif mozbranding mp3 mplayer mssql mudflap musepack mysql nas ncurses netpbm network-cron nfconntrack nfs nls nntp nptl nptlonly nsplugin offensive ogg openexr opengl openmp oss ots overlays pam pango pbs pcre pdf pdo-external perl php pic plotutils plugins png portage portaudio postgres povray ppds pppd pulseaudio python pyzord qdbm qt3 qt3support quotas raw readline recode reflection rpc rrdtool rtc ruby samba sasl scanner schroedinger scim sdl seamonkey server session sid slang slp sms sndfile snmp soundex speex spell spl sqlite ssh ssl startup-notification subversion suhosin supernodal svg swat sysfs syslog talkfilters tcl tcpd test tftp tga theora threads thunar-vfs tidy tiff timidity tk tools truetype twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack webdav webinstall winbind wlan wma wmf xanim xchattext xcomposite xface xml xml2 xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Alex Alexander (RETIRED) gentoo-dev 2008-08-25 06:31:00 UTC
Same here

with or without zeroconf...
Comment 3 frilled 2008-08-25 06:51:15 UTC
It's the "compat" flag that breaks the build.
Comment 4 André Terpstra 2008-08-25 06:55:15 UTC
same here
Comment 5 Roy Marples 2008-08-25 07:45:23 UTC
Fixed in dhcpcd-4.0.1 - sorry about that.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2008-08-25 11:14:34 UTC
Done!
Comment 7 Alexander Huemer 2008-08-25 11:47:47 UTC
confirmed bug in 4.0.0.
confirmed resolution in 4.0.1.
thank you, roy.
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2008-08-25 11:50:36 UTC
*** Bug 235667 has been marked as a duplicate of this bug. ***
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2008-08-25 13:15:35 UTC
*** Bug 235672 has been marked as a duplicate of this bug. ***
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 22:22:23 UTC
*** Bug 235723 has been marked as a duplicate of this bug. ***
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 23:55:45 UTC
*** Bug 235727 has been marked as a duplicate of this bug. ***