Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 159877
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alin Năstac <mrness@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Emanuele Tamponi <emanuele@valinor.it>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ppp-linux-headers-2.6.19.patch Define _GNU_SOURCE in if.c patch Arun Raghavan 2007-01-04 05:06 0000 417 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 159877 depends on: Show dependency tree
Bug 159877 blocks: 159304
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-03 10:30 0000
That's the error when compiling ppp:

i686-pc-linux-gnu-gcc -Os -march=i686 -pipe -I../../../include/linux
'-DVERSION="3.3"' -c -o if.o -fPIC if.c
if.c: In function &#8216;openInterface&#8217;:
if.c:423: error: storage size of &#8216;ifr&#8217; isn&#8217;t known
make[2]: *** [if.o] Error 1

Strangely, this error doesn't stop the compilation, that goes "well", but
suddently an error occours at the beginning of the installation because
rp-pppoe.so doesn't exist! The error on installation is:

>>> 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 stats `pppd/plugins/rp-pppoe/rp-pppoe.so': No such file or
directory


ppp used to compile&install fine with older kernels and headers...

My emerge --info:

Portage 2.1.2_rc4-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
glibc-2.5-r0, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.8
Last Sync: Tue, 02 Jan 2007 16:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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="-Os -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at"
LANG="it_IT.UTF8"
LDFLAGS="-Wl,-O1,--sort-common,--no-keep-memory -s"
LINGUAS="it"
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="acpi apache2 bash-completion berkdb bzip2 clamav clamd cli courier
cracklib crypt cups dio fam foomaticdb ftp gd gdbm gif gimpprint gpm gs iconv
jpeg ldap mmx mmxext mysql ncurses nls nptl nptlonly pam pcre pdf php png ppds
readline reflection reiserfs rtc samba session spl ssl tcpd truetype udev
unicode usb userlocales utf8 vhosts x86 xml zip zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev" KERNEL="linux" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="apm ark
ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc
nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng
v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_RSYNC_EXTRA_OPTS

Thanks in advance,
Emanuele Tamponi

------- Comment #1 From Jakub Moc (RETIRED) 2007-01-03 10:37:56 0000 -------
*** Bug 159878 has been marked as a duplicate of this bug. ***

------- Comment #2 From Jakub Moc (RETIRED) 2007-01-03 10:39:09 0000 -------
*** Bug 159879 has been marked as a duplicate of this bug. ***

------- Comment #3 From Kristopher Baker 2007-01-03 19:18:44 0000 -------
same issue here, though this system hasn't been up for a week yet, seems kinda
similar to bug Bug 159896 ... but i'm nowhere near an expert  :-D

awaiting someone to show the guiding light to nirvana

my emerge --sync

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 Pentium III (Coppermine)
Gentoo Base System version 1.12.8
Last Sync: Wed, 03 Jan 2007 23:00:03 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
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=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/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acpi aim alsa arts bash-completion berkdb bitmap-fonts
bittorrent bootsplash bzip2 cairo cardbus cddb cdparanoia cdr cdrom cli
cracklib crypt cups dbus dhcp dlloader dri dvd dvdread encode esd fam fbcon
firefox flac fortran ftp gdbm gif gpm gstreamer gtk gtk2 gtkhtml hal iconv icq
imap isdnlog java jpeg kde kerberos krb4 ldap libg++ libwww mime mmx mp3 mpeg
msn ncurses nls nptl nptlonly nsplugin offensive ogg opengl oscar pam pcmcia
pcre perl png pnp ppds pppd python qt3 qt4 quicktime readline reflection samba
sdl session sockets spell spl sse sse2 ssl svga tcpd tiff truetype
truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs x86 xine xml
xorg xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci 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 mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux"
USERLAND="GNU" VIDEO_CARDS="r128"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #4 From Kristopher Baker 2007-01-03 19:42:50 0000 -------
forgot to add that i did try to emerge ppp-2.4.3-r16 and had the same result

------- Comment #5 From Arun Raghavan 2007-01-04 04:45:38 0000 -------
(In reply to comment #3)
> same issue here, though this system hasn't been up for a week yet, seems kinda
> similar to bug Bug 159896 ... but i'm nowhere near an expert  :-D

Appears to be so. Using -D_GNU_SOURCE to build if.c, as suggested by Spanky in
that bug, pushes the compile through.

------- Comment #6 From Arun Raghavan 2007-01-04 05:06:53 0000 -------
Created an attachment (id=105368) [details]
Define _GNU_SOURCE in if.c

Don't know if this is the Right Way to do it.

------- Comment #7 From Emanuele Tamponi 2007-01-04 05:44:03 0000 -------
The patch in comment #6 works for me :)

------- Comment #8 From Kristopher Baker 2007-01-04 10:43:01 0000 -------
adding #define _GNU_SOURCE 1 to if.c appears to have fixed the ebuild vomit
issue for me, though kinda silly that it was something that i don't need/want
that was breaking (no need for pppoe - not even build in the kernel or was a
module), though i may have to wait till i'm home to use it

------- Comment #9 From Alexandre Ghisoli 2007-01-04 13:12:02 0000 -------
(In reply to comment #6)
> Created an attachment (id=105368) [edit] [details]
> Define _GNU_SOURCE in if.c
> 
> Don't know if this is the Right Way to do it.
> 

Works for me too, thanks !

------- Comment #10 From Alin Năstac 2007-01-05 12:31:49 0000 -------
Fixed in 2.4.4-r4 by adding -D_GNU_SOURCE to CFLAGS.
Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug