Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334727 - net-dialup/ppp-2.4.5 build failures in src_compile not caught
Summary: net-dialup/ppp-2.4.5 build failures in src_compile not caught
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 05:47 UTC by Travis Hansen
Modified: 2010-09-03 10:24 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,24.26 KB, text/plain)
2010-08-27 17:20 UTC, Travis Hansen
Details
Abort build on error (gentoo334727a.patch,1.21 KB, patch)
2010-09-01 11:45 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Hansen 2010-08-27 05:47:58 UTC
install: cannot stat `pppd/plugins/rp-pppoe/rp-pppoe.so': No such file or directory
!!! doins: pppd/plugins/rp-pppoe/rp-pppoe.so does not exist
doins failed
 * ERROR: net-dialup/ppp-2.4.5 failed:
 *   rp-pppoe.so not build
 * 
 * Call stack:
 *     ebuild.sh, line  47:  Called src_install
 *   environment, line 3396:  Called die
 * The specific snippet of code:
 *       doins pppd/plugins/rp-pppoe/rp-pppoe.so || die "rp-pppoe.so not build";
 * 
 * If you need support, post the output of 'emerge --info =net-dialup/ppp-2.4.5',
 * the complete build log and the output of 'emerge -pqv =net-dialup/ppp-2.4.5'.
 * The complete build log is located at '/var/tmp/portage/net-dialup/ppp-2.4.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dialup/ppp-2.4.5/temp/environment'.
 * S: '/var/tmp/portage/net-dialup/ppp-2.4.5/work/ppp-2.4.5'
 * QA Notice: file does not exist:
 * 
 *      doins: pppd/plugins/rp-pppoe/rp-pppoe.so does not exist


Reproducible: Always




Here is the emerge --info

e1420 overlays # emerge --info ppp
Portage 2.2_rc69 (default/linux/amd64/10.0/no-multilib, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 27 Aug 2010 05:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Q3AEULA AdobeFlash-10.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/overlays/sunrise /usr/local/overlays/chaos /usr/local/overlays/crappy"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acpi aesicm akonadi alsa amd64 amr apache2 applet archive asf assistant attica avahi avi bash-completion berkdb bluetooth bonjour bonobo bzip2 caps cdb cdda cddb cdparanoia cdr chm cli clucene composite consolekit coverage cracklib crypt csharp cups curl cxx daap dbus designer-plugin desktopglobe device-mapper directfb djvu dlloader dmi dri dv dvd dvdr ebook editor embedded encode exceptions exif expat faac faad fam fastcgi fbcon fbcondecor ffmpeg firefox flac floppy font-server fontconfig foomaticdb fortran freetype ftp fuse gcj gcrypt gd gdbm gif gmp gpm gps graphviz gsm gstreamer guile hal howl iconv id3tag idn ieee1394 imagemagick imap imlib inotify iodbc ipv6 jack java java6 jbig jingle jpeg jpeg2k kde kig-scripting kipi ladspa lame laptop lcd lcms ldap libcaca libgda libnl libsamplerate libwww lirc lua lzma lzo mad midi mmap mmx mng modules mono mp3 mp4 mpeg mplayer msn mtp mudflap multimedia musicbrainz mysql mysqli nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin odbc ogg oggvorbis okular openexr opengl openmp otr pam pango pcmcia pcre pdf perl phonon php phyp plasma png pnp policykit ppds ppp pppd python qalculate qimageblitz qscintilla qt3support qt4 quicktime qwt raster raw readline reflection resolvconf rss samba sasl scim sdk sdl semantic-desktop server session slp smp sms sndfile solver sound soup speex spell spl sql sqlite sqlite3 srtp sse sse2 ssh ssh1 ssl subversion svg swig sysfs syslog taglib tcl tcltk tcpd testbed theora threads thumbnail tidy tiff timidity tk trace transcode truetype trusted udev unicode usb utf8 v4l v4l2 vala video vorbis wavpack webkit webpresence widescreen wifi wikipedia win64codecs wmf x264 xattr xcb xcomposite xforms xine xinerama xml xml2 xmlpatterns xorg xrandr xslt xv xvid xvidinfo xvmc yahoo zeroconf zip zlib" ALSA_CARDS="hda-intel 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="cgi cgid actions alias auth_basic auth_digest authn_anon authn_alias 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 i965 intel vesa fbdev v4l vmware svga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-dialup/ppp-2.4.4-r25 was built with the following:
USE="dhcp ipv6 pam -activefilter -atm -eap-tls -gtk -mppe-mppc -radius"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-27 06:02:53 UTC
Please attach the entire build log.
Comment 2 Travis Hansen 2010-08-27 17:20:32 UTC
Created attachment 244981 [details]
build.log
Comment 3 Dmitry Halturin 2010-08-27 19:34:18 UTC
I have this bug:

!!! dosbin: pppd/plugins/rp-pppoe/pppoe-discovery does not exist
dosbin failed
 * ERROR: net-dialup/ppp-2.4.5 failed:
 *   pppoe-discovery not build
 * 
 * Call stack:
 *     ebuild.sh, line  47:  Called src_install
 *   environment, line 3361:  Called die
 * The specific snippet of code:
 *       dosbin pppd/plugins/rp-pppoe/pppoe-discovery || die "pppoe-discovery not build
Comment 4 Dmitry Halturin 2010-08-27 19:40:58 UTC
reason for this error lies here:

/usr/include/linux/if_pppox.h:75: error: field 'pppol2tp' has incomplete type
Comment 5 Dmitry Halturin 2010-08-27 19:44:42 UTC
dublicat and resolve this bug (confirm please)
http://bugs.gentoo.org/show_bug.cgi?id=334047
Comment 6 Travis Hansen 2010-08-27 20:45:52 UTC
Yes, compiles and installs correctly with the patch.  I'm not in a position to
actually use ppp right now, but at least it installs correctly :)
Comment 7 SpanKY gentoo-dev 2010-08-29 22:10:36 UTC
ignoring the actual build failure which has already been reported, src_compile() should not complete when an error occurs.  that is a bug unto itself.
Comment 8 Martin von Gagern 2010-09-01 11:45:51 UTC
Created attachment 245579 [details, diff]
Abort build on error

This should ensure that make actually terminates in case of an error.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2010-09-03 10:24:53 UTC
+  03 Sep 2010; Markos Chandras <hwoarang@gentoo.org> ppp-2.4.5.ebuild:
+  New patchset which fixes bug #334047 and bug #334727. No revbump
+

Please sync your tree later today and try to rebuild it. Reopen the bug if needed