Summary: | net-dialup/ppp-2.4.4-r4 doesn't compile with linux-headers 2.6.19 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Emanuele Tamponi <emanuele> |
Component: | New packages | Assignee: | Alin Năstac (RETIRED) <mrness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex, fischer_thomas, ford_prefect, gentryx, kbatman_74, teidakankan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 159304 | ||
Attachments: | Define _GNU_SOURCE in if.c |
Description
Emanuele Tamponi
2007-01-03 10:30:45 UTC
*** Bug 159878 has been marked as a duplicate of this bug. *** *** Bug 159879 has been marked as a duplicate of this bug. *** 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 forgot to add that i did try to emerge ppp-2.4.3-r16 and had the same result (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. Created attachment 105368 [details, diff]
Define _GNU_SOURCE in if.c
Don't know if this is the Right Way to do it.
The patch in comment #6 works for me :) 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 (In reply to comment #6) > Created an attachment (id=105368) [edit] > Define _GNU_SOURCE in if.c > > Don't know if this is the Right Way to do it. > Works for me too, thanks ! Fixed in 2.4.4-r4 by adding -D_GNU_SOURCE to CFLAGS. Thanks! |