From: Alexander H. <ale...@gm...> - 2012-07-30 21:27:31
|
On 7/29/12 8:10 PM, Alexander Hansen wrote: > These bugfixes > are: > > (1) http://git.io/BtPqgg > http://git.io/6Yccpw also: http://git.io/yPFbJQ http://git.io/weemXw https://github.com/fink/fink/commit/e511dfa6ca4139d1b44ab0c0a544579d68bf9f6a (I lost the short URL for the last one) > > These address an issue in which packages that aren't supposed to build > as nobody still unpack and install as fink-bld. This leads to problems > such as the following (kdebase3-unified declares BuildAsNobody: false): > > /bin/mv /sw/src/fink.build/root-kdebase3-unified-3.5.10-10/sw/include > /sw/src/fink.build/root-kdebase3-unified-dev-3.5.10-10/sw/ > mv: rename /sw/src/fink.build/root-kdebase3-unified-3.5.10-10/sw/include > to /sw/src/fink.build/root-kdebase3-unified-dev-3.5.10-10/sw/include: > Permission denied > ### execution of /bin/mv failed, exit code 1 > ### execution of /tmp/fink.LQV6V failed, exit code 1 > > $ ls -l /sw/src/fink.build/root-kdebase3-unified-3.5.10-10/sw/ > total 0 > drwxr-xr-x 2 root fink-bld 2890 Jul 29 13:58 bin > drwxr-xr-x 4 root fink-bld 170 Jul 29 13:58 etc > drwxr-xr-x 6 root fink-bld 1326 Jul 29 13:58 include > drwxr-xr-x 5 root fink-bld 5746 Jul 29 13:58 lib > drwxr-xr-x 19 root fink-bld 646 Jul 29 13:58 share > $ ls -ld /sw/src/fink.build/root-kdebase3-unified-dev-3.5.10-10/sw/ > drwxr-xr-x 2 fink-bld fink-bld 68 Jul 29 13:58 > /sw/src/fink.build/root-kdebase3-unified-dev-3.5.10-10/sw/ > > The change does indeed solve this issue. > > (2) http://git.io/-Wp3kg > > This addresses an issue for in place upgrades from Lion to Mountain > Lion. Apple deletes our users (at least in the 250-300 range) when > updating, and this results in fink-bld being deleted. (I haven't > verified whether or not Apple deletes users in the 600+ range). > > When folks try to perform build operations, fink reports that won't > reinstall fink-bld at UID 266 (our default for a long time) because the > test for an occupied ID checks _both_ the UID and GID. Th commit > modifies the test function so that we can check _just_ the UID. > > It worked for me on the following test case: > > A) remove the fink-bld user (but not group) using > > sudo dscl . -delete /Users/fink-bld > > . > B) Reboot as this appears to be required required to clear the account > information out fully. > C) Do any operation where a build _could_ take place, e.g. "fink > selfupdate", and fink-bld should be restored to the value stored in > fink.conf. > I'd like to put these out soon. (2) affects the Lion upgrade, and (1) allows BuildAsNobody: false package with SplitOffs actually to build. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ |