When I was updating freebsd-lib-9.0 from freebsd install cd, it failed installing, saying something like "couldn't move "$D"/usr/lib64/libc.so to "$D"/lib/: no such dir". I've made fixed ebuild which didn't cause such error. Later, at installed Gentoo/FreeBSD I couldn't repeat this bug. And I didn't try to repeat it from freebsd install cd yet. System: Gentoo/FreeBSD amd64. Reproducible: Couldn't Reproduce Steps to Reproduce: 1. boot from freebsd install cd and go to shell 2. chroot into gentoo/freebsd 3. emerge freebsd-lib-9.0 Actual Results: emerge fails Expected Results: emerge shouldn't have errors
Created attachment 319514 [details] Fixed ebuild which worked for me. Fix makes always first create directory before moving lib there. There is diff: --- freebsd-lib-9.0-r3.ebuild.backup 2012-06-11 18:01:27.000000000 +0400 +++ freebsd-lib-9.0-r3.ebuild 2012-07-28 17:09:34.964632747 +0400 @@ -384,6 +384,7 @@ # Move the library if needed if [ "$1" != "$2" ] ; then + dodir "/$1" mv "${D}/$2/libc.so.7" "${D}/$1/" || die fi
This issue is duplicate bug 428014. And, bug 428014 has been fixed. simple solution) emerge --sync && emerge sys-freebsd/freebsd-lib
Thanks Yuta. *** This bug has been marked as a duplicate of bug 428014 ***