First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 256616
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gustavo Fernando Padovan <gfpadovan@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log perl-5.8.8-r5 build.log text/plain Gustavo Fernando Padovan 2009-01-28 11:56 0000 33.85 KB Details
build.log gpm-1.20.5 build.log text/plain Gustavo Fernando Padovan 2009-01-28 11:57 0000 12.81 KB Details
emerge.info emerge --info text/plain Gustavo Fernando Padovan 2009-01-28 11:57 0000 3.22 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 256616 depends on: Show dependency tree
Bug 256616 blocks: 210077 261959 262145
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-01-28 11:54 0000
while emerging app-shells/bash-3.2_p39 (in a emerge -NDuva world from
stage3-x86-2008.0 tarball) other emerge compilation fail with this message:
make[1]: /bin/sh: Command not found

Reproducible: Always

Steps to Reproduce:
1. `emerge -NDuva -j3 world` from stage3-x86-2008.0 tarball with parallel
portage

Actual Results:  
>>> Emerging (35 of 75) app-shells/bash-3.2_p39
>>> Installing sys-apps/texinfo-4.11-r1
>>> Emerging (36 of 75) sys-apps/less-418
>>> Installing sys-apps/less-418
>>> Emerging (37 of 75) sys-libs/gpm-1.20.5
>>> Installing app-shells/bash-3.2_p39
>>> Failed to emerge dev-lang/perl-5.8.8-r5, Log file:
>>>  '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/build.log'
>>> Failed to emerge sys-libs/gpm-1.20.5, Log file:
>>>  '/var/tmp/portage/sys-libs/gpm-1.20.5/temp/build.log'

------- Comment #1 From Gustavo Fernando Padovan 2009-01-28 11:56:16 0000 -------
Created an attachment (id=179949) [details]
perl-5.8.8-r5 build.log

------- Comment #2 From Gustavo Fernando Padovan 2009-01-28 11:57:14 0000 -------
Created an attachment (id=179951) [details]
gpm-1.20.5 build.log

------- Comment #3 From Gustavo Fernando Padovan 2009-01-28 11:57:58 0000 -------
Created an attachment (id=179952) [details]
emerge --info

------- Comment #4 From Zac Medico 2009-01-28 18:17:12 0000 -------
You'd better do this to fix it (your system might not boot otherwise):

  ln -s bash /bin/sh

------- Comment #5 From Zac Medico 2009-01-28 19:09:56 0000 -------
Actually, I suspect that your /bin/sh symlink already exists. It's just that it
didn't exist in the time between bash being upgraded and the pkg_postinst phase
executing (which creates the symlink).

------- Comment #6 From Zac Medico 2009-01-28 19:19:10 0000 -------
One possible way to solve this would be to add /bin/sh to CONFIG_PROTECT.
There's already some code in pkg_preinst which bumps the timestamp on the
symlink, and that will prevent it from being unmerged if it's CONFIG_PROTECTed.

------- Comment #7 From Zac Medico 2009-01-29 00:17:10 0000 -------
Considering that this issue boils down to an unspecified dependency on /bin/sh,
maybe we should have a new RESTRICT value for packages like this, which
prevents them from being merged while other packages are being built. I suppose
we could also just use the system set to identify such packages, but that
wouldn't provide as much granularity.

------- Comment #8 From Zac Medico 2009-01-29 00:40:46 0000 -------
I don't think a new RESTRICT value is really necessary. Since the system set
should work pretty well as an indicator, so I'll go ahead and use that.

------- Comment #9 From Zac Medico 2009-02-02 06:12:35 0000 -------
This is fixed in svn r12569.

------- Comment #10 From Ciaran McCreesh 2009-02-03 20:06:23 0000 -------
Or you could do --jobs properly, by installing via binary packages, as you've
been told is necessary for correctness several times before. Adding in more
workarounds doesn't fix the underlying issue.

------- Comment #11 From Zac Medico 2009-02-03 21:26:56 0000 -------
The "underlying issue" doesn't apply to all packages. It would be better to
introduce a new RESTRICT value than to treat all packages identically.

------- Comment #12 From Ciaran McCreesh 2009-02-03 21:28:38 0000 -------
You have no idea which packages are and aren't affected. This bug is a perfect
example of one of the many things you didn't think of. Why not just do it
properly in a way that's guaranteed not to introduce new breakages?

------- Comment #13 From Zac Medico 2009-03-10 09:28:05 0000 -------
This is fixed in 2.2_rc24 which is in package.mask. I'll close this bug when
it's also released in 2.1.6.8.

------- Comment #14 From Zac Medico 2009-03-13 20:42:18 0000 -------
This is released in 2.1.6.8.

First Last Prev Next    No search results available      Search page      Enter new bug