Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351054 - app-portage/gentoolkit-0.3.0_rc11-r3: revdep-rebuild exits with "0" status when compilation fails
Summary: app-portage/gentoolkit-0.3.0_rc11-r3: revdep-rebuild exits with "0" status wh...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 375181 458306 (view as bug list)
Depends on:
Blocks: 346443
  Show dependency tree
 
Reported: 2011-01-07 20:35 UTC by Pacho Ramos
Modified: 2013-02-20 14:27 UTC (History)
2 users (show)

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 Pacho Ramos gentoo-dev 2011-01-07 20:35:55 UTC
I have experienced this in some of my computers and is a bit annoying since I usually update them with a big sequence with multiple commands and "&&" between them, then, it seems to succeed when revdep-rebuild really failed.

See the output:
  * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot  --keep-going --jobs app-office/lyx:0
games-arcade/smc:0
games-puzzle/pingus:0
games-strategy/wesnoth:0
..........
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 4) games-puzzle/pingus-0.7.3
>>> Emerging (2 of 4) games-strategy/wesnoth-1.8.5
>>> Emerging (3 of 4) app-office/lyx-1.6.8
>>> Emerging (4 of 4) games-arcade/smc-1.9
>>> Installing (1 of 4) games-puzzle/pingus-0.7.3
>>> Installing (4 of 4) games-arcade/smc-1.9
>>> Installing (3 of 4) app-office/lyx-1.6.8
>>> Jobs: 3 of 4 complete, 1 running                Load avg: 3.31, 3.92, 4.37
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib/portage/pym/_emerge/main.py", line 1700, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib/portage/pym/_emerge/actions.py", line 443, in action_build
    retval = mergetask.merge()
  File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1129, in merge
    rval = self._merge()
  File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1447, in _merge
    self._main_loop()
  File "/usr/lib/portage/pym/_emerge/Scheduler.py", line 1596, in _main_loop
    self._poll_loop()
  File "/usr/lib/portage/pym/_emerge/PollScheduler.py", line 138, in _poll_loop
    handler(f, event)
  File "/usr/lib/portage/pym/_emerge/SpawnProcess.py", line 198, in _output_handler
    files.log.flush()
IOError: [Errno 28] No space left on device
 * Build finished correctly. Removing temporary files...
 *
 * You can re-run revdep-rebuild to verify that all libraries and binaries
 * are fixed. Possible reasons for remaining inconsistencies include:
 *   orphaned files
 *   deep dependencies
 *   packages installed outside of portage's control
 *   specially-evaluated libraries
[...]

and exit status is "0"

Thanks for fixing this


Reproducible: Always




Portage 2.1.9.30 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-ck-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-ck-r5-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.14
Timestamp of tree: Fri, 07 Jan 2011 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/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"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org 		http://ftp.ussg.iu.edu/linux/gentoo 		http://mirror.ovh.net/gentoo-distfiles/ 		http://ftp.heanet.ie/pub/gentoo/ 		http://gentoo-euetib.upc.es/mirror/gentoo/ 		http://ftp.udc.es/gentoo/ 		http://darkstar.ist.utl.pt/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/local/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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cdda cddb cdinstall cdr cdrom cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif git gnome gnome-keyring gpm gstreamer gtk hddtemp iconv java jpeg kpathsea latex lcdfilter lcms libnotify lm_sensors lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reiserfs scanner sdl session spell sse sse2 sse3 ssl startup-notification subversion svg sysfs t1lib tcpd test threads tiff truetype udev unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 James Broadhead 2011-04-24 17:58:27 UTC
This isn't quite a dupe of #326923, but it's pretty close. 
The patch in #326923 will also solve this.
Comment 2 James Broadhead 2011-04-24 19:58:29 UTC
Patched version available in my overlay. 

jamesbroadhead.googlecode.com/hg/portage-overlay
Comment 3 Paul Varner (RETIRED) gentoo-dev 2011-07-15 15:46:21 UTC
Targeting to be fixed with the python version of revdep-rebuild in gentoolkit-0.3.1
Comment 4 Pacho Ramos gentoo-dev 2011-07-15 16:19:14 UTC
*** Bug 375181 has been marked as a duplicate of this bug. ***
Comment 5 Paul Varner (RETIRED) gentoo-dev 2011-10-12 16:39:55 UTC
Fixed in the following commit:

http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=57d86eac981ce951c45890854752d62c6e2b2749

It will be released in gentoolkit-0.3.0.4-r5
Comment 6 Paul Varner (RETIRED) gentoo-dev 2012-02-16 17:49:09 UTC
This wasn't fixed correctly in 0.3.0.4-r5.  Should really be fixed in the following commit which will be released in -r6.

http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commitdiff;h=3e51df74595c535656ef9f38bf7a577a4f64d0f5;hp=d1ee16c4194e7a94c91924d62332363d06e64aae
Comment 7 Paul Varner (RETIRED) gentoo-dev 2012-02-29 15:42:50 UTC
Released in gentoolkit-0.3.0.5
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-20 14:27:50 UTC
*** Bug 458306 has been marked as a duplicate of this bug. ***