Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353897 - sys-apps/portage-2.2.0_alpha19 fails with EAPI=4 ebuilds and no defined src_test()
Summary: sys-apps/portage-2.2.0_alpha19 fails with EAPI=4 ebuilds and no defined src_t...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 349307
  Show dependency tree
 
Reported: 2011-02-06 19:32 UTC by Xake
Modified: 2011-02-07 00:54 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 Xake 2011-02-06 19:32:34 UTC
Reproduce:
1. emerge =portage-2.2.0_alpha19
2. FEATURES="test" emerge =sys-apps/gdisk-0.6.14

This always fails for me, trying with FEATURES="-test", or inserting a dummy src_test() into the ebuild makes it build and install.
Same seems to hold true for app-doc/gimp-help-2.6.1 as well


# emerge -1 gdisk
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/gdisk-0.6.14
 * gdisk-0.6.14.tgz RMD160 SHA1 SHA256 size ;-) ...                                                                                      [ ok ]
 * Package:    sys-apps/gdisk-0.6.14
 * Repository: gentoo
 * Maintainer: alexxy@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib test userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gdisk-0.6.14.tgz to /var/tmp/portage/sys-apps/gdisk-0.6.14/work
>>> Source unpacked in /var/tmp/portage/sys-apps/gdisk-0.6.14/work
>>> Preparing source in /var/tmp/portage/sys-apps/gdisk-0.6.14/work/gdisk-0.6.14 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/gdisk-0.6.14/work/gdisk-0.6.14 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/gdisk-0.6.14/work/gdisk-0.6.14 ...
make -j16 -l15 CXX=x86_64-pc-linux-gnu-g++ 
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o crc32.o crc32.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o support.o support.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o guid.o guid.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o partnotes.o partnotes.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o gptpart.o gptpart.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o mbr.o mbr.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o gpt.o gpt.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o bsd.o bsd.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o parttypes.o parttypes.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o attributes.o attributes.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o diskio.o diskio.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o diskio-unix.o diskio-unix.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o gdisk.o gdisk.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o gpttext.o gpttext.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -mtune=native -Wall -D_FILE_OFFSET_BITS=64   -c -o sgdisk.o sgdisk.cc
x86_64-pc-linux-gnu-g++ crc32.o support.o guid.o partnotes.o gptpart.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o gdisk.o gpttext.o -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu  -luuid -o gdisk
x86_64-pc-linux-gnu-g++ crc32.o support.o guid.o partnotes.o gptpart.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o sgdisk.o -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu  -luuid -lpopt -o sgdisk
>>> Source compiled.

>>> Failed to emerge sys-apps/gdisk-0.6.14, Log file:

>>>  '/var/log/portage/sys-apps:gdisk-0.6.14:20110206-192749.log'



Portage 2.2.0_alpha19 (hardened/linux/amd64, gcc-4.5.2, glibc-2.12.2-r0, 2.6.38-rc3+ x86_64)
=================================================================
System uname: Linux-2.6.38-rc3+-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 04 Feb 2011 10:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo gamerlay-stable x11 mozilla Mine
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb -mtune=native"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/os/Linux/distributions/gentoo"
INSTALL_MASK="*.la"
LANG="sv_SE.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
LINGUAS="sv en"
MAKEOPTS="-j16 -l15"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/var/overlays/layman/gamerlay /var/overlays/layman/x11 /var/overlays/layman/mozilla /var/overlays/mine"
SYNC="rsync://liten.csbnet.se/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 amr amrnb amrwb applet archive asyncns autoipd avahi bash-completion bluetooth branding bzip2 cairo caps ccache cdaudio cdda cdr cleartype cli clutter connection-sharing consolekit coverart cracklib crypt cups cxx dbus device-mapper devicekit devkit dhcpcd digitalradio djvu dri dts dvd dvdr dvi eds enca encode eselect evo exif fat fbcondecor ffmpeg fftw flac fluidsynth fontconfig fuse gdbm gdm gdu gif gimp glib gmp gnome gnome-keyring gphoto2 gpm grammar graphite gsf gsm gstreamer gtk gudev hardened hpn ical iconv iconvacl icq icu id3tag idn ieee1394 iptc ipv6 jabber jack java6 jingle jpeg jpeg2k justify kate kvm lcms libffi libnotify libsamplerate logrotate lvm lzma mad maps math matroska md mdadm midi mms mmx mmxext mng moonlight mp2 mp3 mpeg mpi msn mtp mudflap multilib musepack musicbrainz natspec nautilus ncurses network-cron networkmanager nfs nls nntp nptl nptlonly ntfs ntp nut offensive ogg openal opencore-amr opengl openmp openntpd ots pam pango parted pcre pdf perl pic pidgin playlist png policykit pppd pulseaudio python qt3support quicktime quvi raw readline rrdcgi rtmp samba schroedinger seed sensord session smp sms speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs test tex theora thesaurus threads tiff totem truetype udev unicode upnp urandom usb userlocales v4l2 vaapi vhook videos vim-syntax vorbis webkit wmf x264 xattr xcb xcomposite xml xmp xmpp xorg xrandr xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv en" NETBEANS_MODULES="cnd profiler dlight harness ide java websvccommon apisupport nb" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Zac Medico gentoo-dev 2011-02-07 00:54:40 UTC
This is fixed in 2.1.9.37 and 2.2.0_alpha21.