Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351243 - app-portage/portage-utils: qpkg failing when /bin/sh != bash.
Summary: app-portage/portage-utils: qpkg failing when /bin/sh != bash.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 20:14 UTC by Piotr Karbowski (RETIRED)
Modified: 2011-01-16 01:23 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 Piotr Karbowski (RETIRED) gentoo-dev 2011-01-09 20:14:01 UTC
qpkg failing hard with /bin/sh as real posix shell (dash in that case).

Reproducible: Always

Steps to Reproduce:
1. emerge dash
2. cd /bin; rm sh -f; ln -s dash sh

Actual Results:  
# qpkg openbox
 - x11-wm/openbox-3.4.11.2: 0 kB
tar (child): /var/tmp/binpkgs/qpkg.USHdkt/bin.tar.bz2: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: /var/tmp/binpkgs/qpkg.USHdkt/bin.tar.bz2: Cannot write: Broken pipe
tar: Error is not recoverable: exiting now
 * Packages can be found in /var/tmp/binpkgs
Comment 1 SpanKY gentoo-dev 2011-01-10 09:35:14 UTC
probably because qpkg.c executes tar with '&> /dev/null'
Comment 3 solar (RETIRED) gentoo-dev 2011-01-15 08:22:52 UTC
I don't see the fix with the revisions you show SpanKY.
Any calls to system() are however a cause for a FIXME:
Comment 4 solar (RETIRED) gentoo-dev 2011-01-15 08:28:12 UTC
line 252?
Comment 5 SpanKY gentoo-dev 2011-01-16 01:23:38 UTC
yes.  the new differ could probably do with a tweak to use a different color for unchanged lines, and a horizontal break in between hunks.