Summary: | app-portage/gentoolkit revdep-rebuild fails to reemerge xchat | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Michael Frank <mfrank> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | .revdep-rebuild files |
Description
Michael Frank
2007-01-08 02:16:10 UTC
Attach the revdep-rebuild temporary files in /root here and reopen then. Thanks. Created attachment 106015 [details]
.revdep-rebuild files
Put set -x at line 606 of revdep-rebuild (just ahead of ordering ebuilds) Trace shows that emerge seems to drop the package Will investigate further ----------------------------- Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/bin/xchat-remote-2 (requires libdbus-1.so.2) broken /usr/lib/xchat/plugins/dbus.so (requires libdbus-1.so.2) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to packages... /usr/bin/xchat-remote-2 -> net-irc/xchat /usr/lib/xchat/plugins/dbus.so -> net-irc/xchat done. (/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners) Cleaning list of packages to rebuild... done. (/root/.revdep-rebuild.4_packages) Assigning packages to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) + echo + echo -n -e 'Evaluating package order...' Evaluating package order...+ '[' -f /root/.revdep-rebuild.5_order ']' + set_trap /root/.revdep-rebuild.5_order + trap 'rm_temp /root/.revdep-rebuild.5_order' SIGHUP SIGINT SIGQUIT SIGABRT SIGTERM ++ cat /root/.revdep-rebuild.4_ebuilds ++ sed 's/^/=/' ++ tr '\n' ' ' + RAW_REBUILD_LIST='=net-irc/xchat-2.6.6 ' + '[' '!' -z '=net-irc/xchat-2.6.6 ' ']' ++ EMERGE_DEFAULT_OPTS= ++ emerge --nospinner --pretend --oneshot --nodeps --quiet =net-irc/xchat-2.6.6 ++ sed -n 's/\./\\&/g;s/ //g;s/$/\\/;s/\[[^]]*\]//gp' ++ tr '\n' '|' ++ sed 's/|$//' ++ echo 0 + REBUILD_GREP='^\()$' ++ cat /root/.revdep-rebuild.5a_status + '[' 0 -gt 0 ']' + EMERGE_DEFAULT_OPTS= + emerge --nospinner --pretend --oneshot --emptytree --quiet =net-irc/xchat-2.6.6 + sed -n 's/ //g;s/^.*\]//p' + grep '^\()$' grep: Unmatched ( or \( + echo 0 ++ cat /root/.revdep-rebuild.5b_status + '[' 0 -gt 0 ']' + echo -e ' done.\n (/root/.revdep-rebuild.5_order)' done. (/root/.revdep-rebuild.5_order) + unset COMPLETE_LD_LIBRARY_PATH SEARCH_DIRS SEARCH_DIRS_MASK LD_LIBRARY_MASK PORTAGE_ROOT CALLED_OPTIONS ++ cat /root/.revdep-rebuild.5_order ++ sed 's/^/=/' ++ tr '\n' ' ' + REBUILD_LIST= + trap - SIGHUP SIGINT SIGQUIT SIGABRT SIGTERM + '[' -z '' ']' + echo -e '\nDynamic linking on your system is consistent... All done. ' Dynamic linking on your system is consistent... All done. + '[' '!' ']' + : + exit 0 What does the following command (all on one line) output on your system? env EMERGE_DEFAULT_OPTS="" emerge --nospinner --pretend --oneshot --nodeps --quiet =net-irc/xchat-2.6.6 env EMERGE_DEFAULT_OPTS="" emerge.py --nospinner --pretend --oneshot --nodeps --quiet =net-irc/xchat-2.6.6 [ebuild R ] net-irc/xchat-2.6.6 I'm at a loss to what is going on. On my system using your revdep-rebuild files, I get the following: ++ EMERGE_DEFAULT_OPTS= ++ emerge --nospinner --pretend --oneshot --nodeps --quiet =net-irc/xchat-2.6.6 ++ sed -n 's/\./\\&/g;s/ //g;s/$/\\/;s/\[[^]]*\]//gp' ++ tr '\n' '|' ++ sed 's/|$//' ++ echo 0 + REBUILD_GREP='^\(net-irc/xchat-2\.6\.6\)$' ++ cat /home/pvarner/.revdep-rebuild.5a_status + '[' 0 -gt 0 ']' + EMERGE_DEFAULT_OPTS= + emerge --nospinner --pretend --oneshot --emptytree --quiet =net-irc/xchat-2.6.6 + sed -n 's/ //g;s/^.*\]//p' + grep '^\(net-irc/xchat-2\.6\.6\)$' + echo 0 As you noted already, for some reason, the emerge command is populating the REBUILD_GREP variable. Since I don't know what is happening, please let me know the following: 1. How are you calling revdep-rebuild? Are you running as root? as a user? or using sudo? 2. What does the following command display on your system: env EMERGE_DEFAULT_OPTS="" emerge --nospinner --pretend --oneshot --nodeps --quiet =net-irc/xchat-2.6.6 | sed -n 's/\./\\&/g;s/ //g;s/$/\\/;s/\[[^]]*\]//gp' | tr '\n' '|' | sed 's/|$//' (There is a space after the s/ where the line breaks) It should return net-irc/xchat-2\.6\.6\ revdep-rebuild was executed from a script invoked via sudo which messed up my PATH resulting in the "wrong" emerge being run by revdep-rebuild. That emerge script is a frontend to emerge which can drop packages from the build list to be built by subsequent runs using other CFLAGS/build machine. Thus xchat was dropped. Thanks for the hint about sudo and my apologies for the waste of time. |