* freebsd-lib is required SYS. When upgrading, SYS seems to need to be included in WORKDIR. In fact, SYS will be extracted only when USE=build. original report: Bug 444920 comment #6 * need /usr/src/sys-9.1 Some sys-freebsd packages requires /usr/src/sys-9.1. However, if the USE flag is not enabled symlink, it will not be created. Reproducible: Always Steps to Reproduce: 1. eselect profile set default/bsd/fbsd/x86/9.1 2. emerge -uDN @system
Created attachment 337094 [details, diff] patch for freebsd-lib-9.1.ebuild Extract ${SYS} in all cases.
Created attachment 337096 [details, diff] patch for freebsd-sources-9.1.ebuild When /usr/src/sys-${RV} does not exist, create it.
(In reply to comment #1) > Created attachment 337094 [details, diff] [details, diff] > patch for freebsd-lib-9.1.ebuild > > Extract ${SYS} in all cases. nope, you are supposed to have it as a symlink to your freebsd-sources install. and doing this without taking care of its patches is a no go anyway.
(In reply to comment #3) > (In reply to comment #1) > > Created attachment 337094 [details, diff] [details, diff] [details, diff] > > patch for freebsd-lib-9.1.ebuild > > > > Extract ${SYS} in all cases. > > nope, you are supposed to have it as a symlink to your freebsd-sources > install. and doing this without taking care of its patches is a no go anyway. Thank you for your comment. As you say, I have confirmed that patch for freebsd-lib is not required. I think that it needs a patch for freebsd-sources. FYI, Result of running `emerge freebsd-sources` without USE=symlink. $ ls -lha /usr/src lrwxr-xr-x 1 root wheel 10B May 5 2012 sys -> sys-9.0-r0 lrwxr-xr-x 1 root wheel 10B May 5 2012 sys-9.0 -> sys-9.0-r0 drwxr-xr-x 57 root wheel 1.0k May 5 2012 sys-9.0-r0 drwxr-xr-x 57 root wheel 1.0k Jan 26 01:18 sys-9.1
what we could do: use $PV instead of $PVR for slot in freebsd-sources, install to sys-${PV} and it should fix the problems, no?
Created attachment 337104 [details, diff] using ${RV} way patch for freebsd-sources-9.1.ebuild (In reply to comment #5) > what we could do: use $PV instead of $PVR for slot in freebsd-sources, > install to sys-${PV} and it should fix the problems, no? I think ${RV} is better. When version beta/rc, problem occurs again. I was confirmed to solve this problem by applying the patch attached.
(In reply to comment #6) > Created attachment 337104 [details, diff] [details, diff] > using ${RV} way patch for freebsd-sources-9.1.ebuild > > (In reply to comment #5) > > what we could do: use $PV instead of $PVR for slot in freebsd-sources, > > install to sys-${PV} and it should fix the problems, no? > > I think ${RV} is better. > When version beta/rc, problem occurs again. > > I was confirmed to solve this problem by applying the patch attached. applied, thanks! (and indeed RV is better)