Summary: | >=app-portage/gentoolkit-0.2.4.5: rm: cannot remove `2_ldpath.rr'; exits with returncode 1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pacho |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 237964, 305793 | ||
Attachments: | use rm -f for non-interactive temp file removal |
Description
Toralf Förster
2009-09-10 08:21:18 UTC
I get the same, this is a problem for me because due that error revdep-rebuild doesn't exit succesfully, then, I am unable to run other commands after that with "&&" (I need to use ";" instead). Seems that 2_ldpath.rr is not being created at all: $ ls 0_env.rr 1_files.rr 3_broken.rr 3_errors.rr 4_ebuilds.rr 4_owners.rr 4_pkgs.rr 4_raw.rr 5_order.rr If this is really harmless, maybe revdep-rebuild should exit succesfully. I am suffering this with app-portage/gentoolkit-0.3.0_rc7 This is the full output: # LC_ALL=C revdep-rebuild --library libreadline.so.5 -- --jobs * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries using libreadline.so.5 * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Checking dynamic linking [ 5% ] * found /usr/bin/bc ... [ 100% ] * Generated new 3_broken.rr * Assigning files to packages * /usr/bin/bc -> sys-devel/bc ... * /usr/sbin/parted -> sys-apps/parted * 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 --jobs app-text/hunspell:0 dev-db/sqlite:3 ... sys-devel/gdb:0 .......... Calculating dependencies... done! >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 11) dev-db/sqlite-3.6.16 ... >>> Installing (11 of 11) sys-devel/gdb-6.8-r1 >>> Jobs: 11 of 11 complete Load avg: 4.47, 7.67, 6.20 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * Regenerating GNU info directory index... * Processed 127 info files. * IMPORTANT: 1 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. * 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 rm: cannot remove `2_ldpath.rr': No such file or directory # echo $? 1 # The message is harmless, but the bug needs to be fixed. It occurs whenever the --library parameter is used. Created attachment 218054 [details, diff]
use rm -f for non-interactive temp file removal
Couldn't reproduce this bug in 0.3.0_rc8, but glancing through the source, I
did notice only one instance where temp files were removed with rm, where in
all other locations we're using rm -f. So this patch should fix the bug, though
not sure if it really fixes the root of the issue.
Also fixed in genscripts svn:
$ svn ci -m "Fixes an issue in revdep-rebuild where we were using 'rm file'
instead of 'rm -f file' for non-interactive removing of temp files; bug
#284419"
Sending bin/revdep-rebuild
Transmitting file data .
Committed revision 184.
Released in gentoolkit-0.3.0_rc9 and gentoolkit-0.2.4.6 Thanks |