Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153015 - emerge -gk busybox failed
Summary: emerge -gk busybox failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-27 11:02 UTC by Dirk Goettel
Modified: 2006-10-28 14:25 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 Dirk Goettel 2006-10-27 11:02:44 UTC
>>> Emerging (3 of 4) sys-apps/busybox-1.2.1 to /
>>> Extracting info
>>> Extracting busybox-1.2.1
>>> Merging sys-apps/busybox-1.2.1 to /
mv: cannot stat
`/var/tmp/binpkgs/busybox-1.2.1/bin/usr/share/busybox/busybox-links.tar': No such file or directory

!!! ERROR: sys-apps/busybox-1.2.1 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_preinst
  ebuild.sh, line 1038:   Called pkg_preinst
  busybox-1.2.1.ebuild, line 246:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call
stack if relevant.

!!! FAILED preinst: 1
-------------------------------


The file will buid in src_install but in pkg_preinst it will remove?


pkg_preinst() {
       if use make-symlin... 
cut...

...cut
        mv "${D}"/usr/share/${PN}/busybox-links.tar "${T}"/ || die
        mv "${D}"/usr/share/${PN}/${PF}.config "${T}"/ || die
}


I strip off the '|| die' and it works.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-10-27 13:04:53 UTC
Probably more a Portage bug, see also bug 153017.
Comment 2 SpanKY gentoo-dev 2006-10-27 14:42:29 UTC
no, i think you just have an old busybox binpkg
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2006-10-28 04:46:55 UTC
Dirk forgot to say that it was quickpkg'ed. As busybox-links.tar is not installed it won't get packaged by quickpkg and a new installation of the bin-package will fail.
Comment 4 SpanKY gentoo-dev 2006-10-28 14:25:56 UTC
updated the ebuild to only copy the tar when needed