Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159073 - app-portage/portage-utils-0.1.22 failed with FEATURES="test"
Summary: app-portage/portage-utils-0.1.22 failed with FEATURES="test"
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
: 159090 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-25 06:09 UTC by Sergiy Borodych
Modified: 2007-01-15 19:01 UTC (History)
1 user (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 Sergiy Borodych 2006-12-25 06:09:47 UTC
# emerge app-portage/portage-utils
...
make[2]: Leaving directory `/var/tmp/portage/app-portage/portage-utils-0.1.22/work/portage-utils-0.1.22/tests/quse'
make[2]: Entering directory `/var/tmp/portage/app-portage/portage-utils-0.1.22/work/portage-utils-0.1.22/tests/install'
./dotest
Installing symlinks:
 qatom ...      [Success]
 qcache ...     [Success]
 qcheck ...     [Success]
 qdepends ...   [Success]
 qfile ...      [Success]
 qglsa ...      [Success]
 qgrep ...      [Success]
 qlist ...      [Success]
 qlop ...       [Success]
 qmerge ...     [Success]
 qpkg ...       [Success]
 qpy ...        [Success]
 qsearch ...    [Success]
 qsize ...      [Success]
 qtbz2 ...      [Success]
 quse ...       [Success]
 qxpak ...      [Success]
FAILED: Usage: does not exist
make[2]: *** [check] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-portage/portage-utils-0.1.22/work/portage-utils-0.1.22/tests/install'
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-portage/portage-utils-0.1.22/work/portage-utils-0.1.22/tests'
make: *** [check] Error 2

!!! ERROR: app-portage/portage-utils-0.1.22 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_test
  ebuild.sh, line 996:   Called src_test
  ebuild.sh, line 617:   Called die


Problem in
portage-utils-0.1.22/tests/install/dotest :
for app in $(./q -Ch | grep ' : ' | awk '{print $1}') ; do
    [ ! -e $app ] && die "$app does not exist"
done


# cd /var/tmp/portage/app-portage/portage-utils-0.1.22/work/portage-utils-0.1.22/tests/install/
# ./q -Ch | grep ' : ' | awk '{print $1}'
Usage:
q
qatom
qcache
qcheck
qdepends
qfile
qglsa
qgrep
qlist
qlop
qmerge
qpkg
qpy
qsearch
qsize
qtbz2
quse
qxpak


add also '| grep q' at end may help
Comment 1 Xake 2006-12-25 11:29:03 UTC
I can confirm this works is portage-utils CVS thanks to a commit by vapier.
Please update in portage as well.
Comment 2 solar (RETIRED) gentoo-dev 2006-12-25 12:12:31 UTC
*** Bug 159090 has been marked as a duplicate of this bug. ***
Comment 3 solar (RETIRED) gentoo-dev 2007-01-15 19:01:23 UTC
Pushed 0.1.23 into the tree which should fix this. If not please file a new bug.