Bugfixes now in master

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.core
Organization Fink Core Team
Message-ID <[email protected]>
These bugfixes
are:

(1)  http://git.io/BtPqgg
     http://git.io/6Yccpw

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.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
fink-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.