dosbin failed because file to be installed does not exist: !!! dosbin: /Library/Gentoo/usr/portage/media-libs/libpng/files/libpng-1.4.x-update.sh does not exist * ERROR: media-libs/libpng-1.4.2 failed: * (no error message) * * Call stack: * ebuild.sh, line 54: Called call-ebuildshell 'src_install' * environment, line 219: Called src_install * environment, line 1310: Called die * The specific snippet of code: * dosbin "${FILESDIR}"/libpng-1.4.x-update.sh || die * * If you need support, post the output of 'emerge --info =media-libs/libpng-1.4.2', * the complete build log and the output of 'emerge -pqv =media-libs/libpng-1.4.2'. * The complete build log is located at '/Library/Gentoo/var/tmp/portage/media-libs/libpng-1.4.2/temp/build.log'. * The ebuild environment file is located at '/Library/Gentoo/var/tmp/portage/media-libs/libpng-1.4.2/temp/environment'. * S: '/Library/Gentoo/var/tmp/portage/media-libs/libpng-1.4.2/work/libpng-1.4.2' * QA Notice: file does not exist: * * dosbin: /Library/Gentoo/usr/portage/media-libs/libpng/files/libpng-1.4.x-update.sh does not exist Reproducible: Always
The file is there. You have broken Portage tree (sync). Proof: ssuominen@foo ~/gentoo-x86/media-libs/libpng $ cvs up ssuominen@foo ~/gentoo-x86/media-libs/libpng $ ls files/ CVS libpng-1.4.x-update.sh
Sorry. Reopening, it's a missing file in prefix-overlay, not in Portage.
I commented the line that installed the script and it installed ok, except for some file collisions with libpng-1.4.1, which I resolved by uninstalling it and installing 1.4.2 later. src_install() { emake DESTDIR="${D}" install || die dodoc ANNOUNCE CHANGES README TODO || die # dosbin "${FILESDIR}"/libpng-1.4.x-update.sh || die } However, since this script is not included anymore, pkg_postinst should also be upgraded or removed: pkg_postinst() { echo ewarn "Moving from libpng 1.2.x to 1.4.x will break installed libtool .la" ewarn "files." echo elog "Run /usr/sbin/libpng-1.4.x-update.sh at your own risk only if" elog "revdep-rebuild or lafilefixer fails." echo elog "Don't forget \"man emerge\" and useful parameters like --skip-first," elog "--resume and --keep-going." echo }
Yes, this is a problem in prefix. No problem.
If the file is in portage, copying it over to prefix should be an easy fix to the issue.
ok, added the script and some sed-foo to fix it for Prefix. Thanks!