Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161966 - net-dialup/ppp-2.4.4-r4 fails to build - f.c:423: error: storage size of ‘ifr’ isn’t known
Summary: net-dialup/ppp-2.4.4-r4 fails to build - f.c:423: error: storage size of ‘if...
Status: RESOLVED DUPLICATE of bug 159896
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-13 22:36 UTC by Russell Knighton
Modified: 2007-01-13 23:42 UTC (History)
0 users

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 Russell Knighton 2007-01-13 22:36:35 UTC
"emerge ppp" fails with the error:
>>> Install ppp-2.4.4-r4 into /var/tmp/portage/net-dialup/ppp-2.4.4-r4/image/ category net-dialup
!!! dosbin: pppd/plugins/rp-pppoe/pppoe-discovery does not exist
install: cannot stat `pppd/plugins/rp-pppoe/rp-pppoe.so': No such file or directory


Reproducible: Always

Steps to Reproduce:
1. emerge ppp
2.
3.

Actual Results:  
>>> Compiling source in /var/tmp/portage/net-dialup/ppp-2.4.4-r4/work/ppp-2.4.4 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
Configuring for Linux
Creating Makefiles.
  Makefile <= linux/Makefile.top
  pppd/Makefile <= pppd/Makefile.linux
  pppstats/Makefile <= pppstats/Makefile.linux
  chat/Makefile <= chat/Makefile.linux
  pppdump/Makefile <= pppdump/Makefile.linux
  pppd/plugins/Makefile <= pppd/plugins/Makefile.linux
  pppd/plugins/rp-pppoe/Makefile <= pppd/plugins/rp-pppoe/Makefile.linux
  pppd/plugins/radius/Makefile <= pppd/plugins/radius/Makefile.linux
  pppd/plugins/pppoatm/Makefile <= pppd/plugins/pppoatm/Makefile.linux
cd chat; make - --jobserver-fds=3,4 -j all
make[1]: Entering directory `/var/tmp/portage/net-dialup/ppp-2.4.4-r4/work/ppp-2.4.4/chat'
i686-pc-linux-gnu-gcc -c -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -DTERMIOS                  -DSIGTYPE=void                  -UNO_SLEEP                    -DFNDELAY=O_NDELAY              -o chat.o chat.c
chat.c:1306:22: warning: trigraph ??) ignored, use -trigraphs to enable
i686-pc-linux-gnu-gcc -Wl,--as-needed -Wl,-z,now -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -DTERMIOS                  -DSIGTYPE=void                        -UNO_SLEEP                      -DFNDELAY=O_NDELAY              -o chat chat.o
make[1]: Leaving directory `/var/tmp/portage/net-dialup/ppp-2.4.4-r4/work/ppp-2.4.4/chat'
cd pppd/plugins; make - --jobserver-fds=3,4 -j all
make[1]: Entering directory `/var/tmp/portage/net-dialup/ppp-2.4.4-r4/work/ppp-2.4.4/pppd/plugins'
i686-pc-linux-gnu-gcc -Wl,--as-needed -Wl,-z,now -shared -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I.. -I../../include -fPIC -o minconn.so minconn.c 
i686-pc-linux-gnu-gcc -Wl,--as-needed -Wl,-z,now -shared -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I.. -I../../include -fPIC -o passprompt.so passprompt.c 
i686-pc-linux-gnu-gcc -Wl,--as-needed -Wl,-z,now -shared -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I.. -I../../include -fPIC -o passwordfd.so passwordfd.c 
i686-pc-linux-gnu-gcc -Wl,--as-needed -Wl,-z,now -shared -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I.. -I../../include -fPIC -o winbind.so winbind.c 
for d in rp-pppoe dhcp pppoatm radius; do make -w --jobserver-fds=3,4 - --jobserver-fds=3,4 -j -C $d all; done
make[2]: Entering directory `/var/tmp/portage/net-dialup/ppp-2.4.4-r4/work/ppp-2.4.4/pppd/plugins/rp-pppoe'
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o discovery.o -fPIC discovery.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o if.o -fPIC if.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o common.o -fPIC common.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../../../include/linux '-DVERSION="3.3"' -c -o debug.o -fPIC debug.c
i686-pc-linux-gnu-gcc '-DRP_VERSION="3.3"' -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../../../include/linux -I../../..  -c -o plugin.o -fPIC plugin.c
if.c: In function ‘openInterface’:
if.c:423: error: storage size of ‘ifr’ isn’t known
make[2]: *** [if.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/net-dialup/ppp-2.4.4-r4/work/ppp-2.4.4/pppd/plugins/rp-pppoe'
make[2]: Entering directory `/var/tmp/portage/net-dialup/ppp-2.4.4-r4/work/ppp-2.4.4/pppd/plugins/dhcp'
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../.. -I../../../include -fPIC   -c -o dhcpc.o dhcpc.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../.. -I../../../include -fPIC   -c -o clientpacket.o clientpacket.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../.. -I../../../include -fPIC   -c -o packet.o packet.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -I../.. -I../../../include -fPIC   -c -o socket.o socket.c

[[[ SNIP ]]]

i686-pc-linux-gnu-gcc -Wl,--as-needed -Wl,-z,now -o pppdump pppdump.o bsd-comp.o deflate.o zlib.o
make[1]: Leaving directory `/var/tmp/portage/net-dialup/ppp-2.4.4-r4/work/ppp-2.4.4/pppdump'
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe   -c -o pppgetpass.vt.o pppgetpass.vt.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe -c pppgetpass.gtk.c `gtk-config --cflags`
i686-pc-linux-gnu-gcc -Wl,--as-needed -Wl,-z,now  pppgetpass.vt.o   -o pppgetpass.vt
i686-pc-linux-gnu-gcc -Wl,--as-needed -Wl,-z,now pppgetpass.gtk.o `gtk-config --libs` -o pppgetpass.gtk
>>> Source compiled.
>>> Test phase [not enabled]: net-dialup/ppp-2.4.4-r4

>>> Install ppp-2.4.4-r4 into /var/tmp/portage/net-dialup/ppp-2.4.4-r4/image/ category net-dialup
!!! dosbin: pppd/plugins/rp-pppoe/pppoe-discovery does not exist
install: cannot stat `pppd/plugins/rp-pppoe/rp-pppoe.so': No such file or directory

!!! ERROR: net-dialup/ppp-2.4.4-r4 failed.
Call stack:
  ebuild.sh, line 1593:   Called dyn_install
  ebuild.sh, line 1036:   Called src_install
  ppp-2.4.4-r4.ebuild, line 174:   Called die

!!! rp-pppoe.so not build
!!! If you need support, post the topmost build error, and the call stack if relevant.



it seems to be caused early on in the compile by this:
if.c: In function ‘openInterface’:
if.c:423: error: storage size of ‘ifr’ isn’t known
make[2]: *** [if.o] Error 1

but instead of crashing out, it continues compiling until it can't find the files to install later on.
Comment 1 Russell Knighton 2007-01-13 22:37:33 UTC
Here is the output of emerge --info:
Portage 2.1.2_rc4-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.8
Last Sync: Thu, 04 Jan 2007 03:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fforce-addr -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo http://gentoo.osuosl.org ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
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://starbug/gentoo-portage"
USE="/ 3dnow 3dnowext 7zip X a52 aac aalib acpi aiglx aim alsa aoss asf audiofile avahi avi beagle bidi bitmap bitmap-fonts bluetooth bonobo bzip2 cairo caps cdda cddb cdio cdparanoia cdr cjk cli cracklib crypt cups curl dbus dga dhcp divx divx4linux dlloader dmi dpms dri dv dvb dvd dvdr dvdread eds encode esd evo evolution exif faad fastcgi fbcon ffmpeg fglrx firefox flac flash foomaticdb fortran ftp fuse gb gd gdbm gif gimp glibc-omitfp gmedia gnome gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml hal iconv icq ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jikes joystick jpeg jpeg2k kerberos keyring krb4 lcms ldap libg++ libnotify libvisual libwww lirc live lm_sensors mad matroska migemo mikmod mime ming mjpeg mmx mmx2 mmxext mng modplug mono mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpi mppe-mppc msn musepack nas nautilus ncurses network nforce2 nfs nls nptl nptlonly nsplugin oav odbc offensive ogg oggvorbis on-the-fly-crypt opengl oscar pam pcre pda pdf pdflib perl pic pmu png ppds pppd prelude python qt3 quicktime readline real reflection rtc samba sasl scanner sdl session shorten slp sndfile snmp sockets sox speex spell spl sse ssl stream sysfs syslog szip tcl tcltk tcpd theora tiff tk truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd videos vidix vim vim-syntax visualization vorbis wavpack win32codecs wma wmf wmp x264 x86 xinerama xml xml2 xorg xosd xpm xprint xv xvid yahoo zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LINGUAS="en_GB en" LIRC_DEVICES="avermedia" USERLAND="GNU" VIDEO_CARDS="fglrx ati radeon vesa v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Russell Knighton 2007-01-13 23:07:20 UTC
(updated summary to include ppp version number)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-13 23:42:35 UTC
emerge --sync before reporting bugs...

*** This bug has been marked as a duplicate of bug 159896 ***