[97871] branches/release_2_1/base
raimue at macports.org
raimue at macports.org
Tue Sep 18 05:05:45 PDT 2012
Revision: 97871
http://trac.macports.org//changeset/97871
Author: raimue at macports.org
Date: 2012-09-18 05:05:45 -0700 (Tue, 18 Sep 2012)
Log Message:
-----------
Merge r97868 and r97869 from trunk: ccache intialization fixes
Revision Links:
--------------
http://trac.macports.org//changeset/97868
http://trac.macports.org//changeset/97869
Modified Paths:
--------------
branches/release_2_1/base/ChangeLog
branches/release_2_1/base/src/port1.0/portconfigure.tcl
Property Changed:
----------------
branches/release_2_1/base/
branches/release_2_1/base/ChangeLog
Property changes on: branches/release_2_1/base
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/gsoc08-privileges/base:37343-46937
/branches/gsoc09-logging/base:51231-60371
/branches/gsoc11-rev-upgrade/base:78828-88375
/branches/universal-sanity/base:51872-52323
/branches/variant-descs-14482/base:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base:91825,91829,91834,92072,92342,92404,92546,92730,92785,92881,92903,92976,93062,93129,93153,93197,93250,93256,93258-93259,93261,93268,93274,93303,93339,93511-93512,93816,93962,95382,95438-95439,95480,95552,95616,95620,95873,96136-96137,96399-96401,96538-96539
/users/perry/base-bugs_and_notes:45682-46060
/users/perry/base-select:44044-44692
+ /branches/gsoc08-privileges/base:37343-46937
/branches/gsoc09-logging/base:51231-60371
/branches/gsoc11-rev-upgrade/base:78828-88375
/branches/universal-sanity/base:51872-52323
/branches/variant-descs-14482/base:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base:91825,91829,91834,92072,92342,92404,92546,92730,92785,92881,92903,92976,93062,93129,93153,93197,93250,93256,93258-93259,93261,93268,93274,93303,93339,93511-93512,93816,93962,95382,95438-95439,95480,95552,95616,95620,95873,96136-96137,96399-96401,96538-96539,97868-97869
/users/perry/base-bugs_and_notes:45682-46060
/users/perry/base-select:44044-44692
Modified: branches/release_2_1/base/ChangeLog
===================================================================
--- branches/release_2_1/base/ChangeLog 2012-09-18 12:04:56 UTC (rev 97870)
+++ branches/release_2_1/base/ChangeLog 2012-09-18 12:05:45 UTC (rev 97871)
@@ -9,6 +9,10 @@
it should start from the beginning.
(#29223, cal in r96136, r96399, r96400, r96538)
+ - Fix permission problem in the creation of the ccache directory with
+ ccache >= 3.1.7 by running the initialization step as the macportsuser.
+ (raimue in r97868)
+
Release 2.1.2 (2012-07-26 by jmr):
- Fixed autodetection of developer_dir with Xcode 4.4
(#35150, mfeiri in r95552)
Property changes on: branches/release_2_1/base/ChangeLog
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/gsoc08-privileges/base/ChangeLog:37343-46937
/branches/gsoc09-logging/base/ChangeLog:51231-60371
/branches/gsoc11-rev-upgrade/base/ChangeLog:78828-88375
/branches/universal-sanity/base/ChangeLog:51872-52323
/branches/variant-descs-14482/base/ChangeLog:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base/ChangeLog:91825,91829,91834,92072,92342,92404,92546,92730,92785,92881,92903,93062,93129,93153,93197,93225,93250,93256,93268,93274,95439,95620,95873,96137,96399-96401,96539
/users/perry/base-bugs_and_notes/ChangeLog:45682-46060
/users/perry/base-select/ChangeLog:44044-44692
+ /branches/gsoc08-privileges/base/ChangeLog:37343-46937
/branches/gsoc09-logging/base/ChangeLog:51231-60371
/branches/gsoc11-rev-upgrade/base/ChangeLog:78828-88375
/branches/universal-sanity/base/ChangeLog:51872-52323
/branches/variant-descs-14482/base/ChangeLog:34469-34855,34900-37508,37511-37512,41040-41463,42575-42626,42640-42659
/trunk/base/ChangeLog:91825,91829,91834,92072,92342,92404,92546,92730,92785,92881,92903,93062,93129,93153,93197,93225,93250,93256,93268,93274,95439,95620,95873,96137,96399-96401,96539,97869
/users/perry/base-bugs_and_notes/ChangeLog:45682-46060
/users/perry/base-select/ChangeLog:44044-44692
Modified: branches/release_2_1/base/src/port1.0/portconfigure.tcl
===================================================================
--- branches/release_2_1/base/src/port1.0/portconfigure.tcl 2012-09-18 12:04:56 UTC (rev 97870)
+++ branches/release_2_1/base/src/port1.0/portconfigure.tcl 2012-09-18 12:05:45 UTC (rev 97871)
@@ -229,16 +229,26 @@
# Additional ccache directory setup
global configureccache ccache_dir ccache_size macportsuser
if {${configureccache}} {
+ # Create ccache directory with correct permissions with root privileges
elevateToRoot "configure ccache"
if [catch {
file mkdir ${ccache_dir}
file attributes ${ccache_dir} -owner ${macportsuser} -permissions 0755
- exec ccache -M ${ccache_size} >/dev/null
} result] {
- ui_warn "ccache_dir ${ccache_dir} could not be initialized; disabling ccache: $result"
+ ui_warn "ccache_dir ${ccache_dir} could not be created; disabling ccache: $result"
set configureccache no
}
dropPrivileges
+
+ # Initialize ccache directory with the given maximum size
+ if {${configureccache}} {
+ if [catch {
+ exec ccache -M ${ccache_size} >/dev/null
+ } result] {
+ ui_warn "ccache_dir ${ccache_dir} could not be initialized; disabling ccache: $result"
+ set configureccache no
+ }
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120918/964d22d5/attachment.html>
More information about the macports-changes
mailing list