portage.git
12 years agoemerge.1: --depclean-lib-check disabled default v2.1.11.38
Zac Medico [Mon, 24 Sep 2012 03:26:33 +0000 (20:26 -0700)]
emerge.1: --depclean-lib-check disabled default

12 years agoRemove extended package set configuration docs.
Zac Medico [Fri, 3 Jun 2011 12:28:16 +0000 (05:28 -0700)]
Remove extended package set configuration docs.

Extended package sets configuration is disabled in the stable branch.

12 years agoportage.const: toggle constants for stable branch
Zac Medico [Fri, 21 Sep 2012 22:03:12 +0000 (15:03 -0700)]
portage.const: toggle constants for stable branch

12 years agorepoman: check deps for * and ~* keywords v2.2.0_alpha149
Zac Medico [Sat, 15 Dec 2012 23:41:48 +0000 (15:41 -0800)]
repoman: check deps for * and ~* keywords

12 years agorepoman keywords.dropped: handle * and ~*
Zac Medico [Sat, 15 Dec 2012 22:23:53 +0000 (14:23 -0800)]
repoman keywords.dropped: handle * and ~*

12 years agoHandle closed sys.__stdin__, for multiprocessing
Zac Medico [Sat, 15 Dec 2012 22:04:28 +0000 (14:04 -0800)]
Handle closed sys.__stdin__, for multiprocessing

Buggy code in python's multiprocessing/process.py closes sys.stdin and
reassigns it to open(os.devnull), but fails to update the corresponding
__stdin__ reference. So, detect that case and handle it appropriately.
The buggy code is visible in http://hg.python.org/lookup/r73708.

12 years agomakeopts_jobs is declared in multiprocessing, not eutils.
Michał Górny [Sat, 15 Dec 2012 14:43:29 +0000 (15:43 +0100)]
makeopts_jobs is declared in multiprocessing, not eutils.

12 years agoAdd QA_CONFIGURE_OPTIONS variable. v2.2.0_alpha148
Zac Medico [Tue, 11 Dec 2012 20:40:48 +0000 (12:40 -0800)]
Add QA_CONFIGURE_OPTIONS variable.

12 years agoxattr-helper.py: fix AssertionError string format
Zac Medico [Tue, 11 Dec 2012 17:14:41 +0000 (09:14 -0800)]
xattr-helper.py: fix AssertionError string format

12 years agoxattr-helper.py: fix backslash quoting
Zac Medico [Tue, 11 Dec 2012 11:09:27 +0000 (03:09 -0800)]
xattr-helper.py: fix backslash quoting

12 years agoDisallow SLOT="${slot}/${subslot}=" in ebuilds.
Arfrever Frehtes Taifersar Arahesis [Tue, 11 Dec 2012 09:39:38 +0000 (10:39 +0100)]
Disallow SLOT="${slot}/${subslot}=" in ebuilds.

12 years agoprepstrip: preserve xattrs, bug #446420
Zac Medico [Tue, 11 Dec 2012 09:00:25 +0000 (01:00 -0800)]
prepstrip: preserve xattrs, bug #446420

12 years agoprepstrip: handle objcopy failure, bug #446774
Zac Medico [Mon, 10 Dec 2012 22:05:09 +0000 (14:05 -0800)]
prepstrip: handle objcopy failure, bug #446774

12 years agodblink._elog_process: obey phasefilter arg
Zac Medico [Mon, 10 Dec 2012 08:55:18 +0000 (00:55 -0800)]
dblink._elog_process: obey phasefilter arg

This would make a difference when collecting messages for prerm/postrm
when uninstalling the previous instance of a package that's been
updated.

12 years agoMergeProcess: avoid duplicate elog, bug #446136
Zac Medico [Mon, 10 Dec 2012 08:38:51 +0000 (00:38 -0800)]
MergeProcess: avoid duplicate elog, bug #446136

12 years agoget_real_flag: handle implicit iuse v2.2.0_alpha147
Zac Medico [Mon, 10 Dec 2012 02:07:40 +0000 (18:07 -0800)]
get_real_flag: handle implicit iuse

12 years agoemerge --info: handle bug #446358 more v2.2.0_alpha146
Zac Medico [Mon, 10 Dec 2012 00:56:05 +0000 (16:56 -0800)]
emerge --info: handle bug #446358 more

- old-style virtuals
- masked packages

12 years agoget_real_flag: handls use-dep default bug #446666
Zac Medico [Mon, 10 Dec 2012 00:26:14 +0000 (16:26 -0800)]
get_real_flag: handls use-dep default bug #446666

12 years agoemerge --verbose: [ y | n ] for bug #446324 v2.2.0_alpha145
Zac Medico [Sat, 8 Dec 2012 09:24:52 +0000 (01:24 -0800)]
emerge --verbose: [ y | n ] for bug #446324

12 years agoemerge --info: don't error for existing packages
Zac Medico [Sat, 8 Dec 2012 01:49:27 +0000 (17:49 -0800)]
emerge --info: don't error for existing packages

This will fix bug #446358.

12 years agoAvoid duplicate desktop QA notice, bug #446136
Zac Medico [Wed, 5 Dec 2012 21:19:16 +0000 (13:19 -0800)]
Avoid duplicate desktop QA notice, bug #446136

12 years agogetmaskingstatus: fix ~* KEYWORDS handling
Zac Medico [Wed, 5 Dec 2012 18:01:30 +0000 (10:01 -0800)]
getmaskingstatus: fix ~* KEYWORDS handling

Since commit 9144faeb653b9f1dbe74c69f85cd48f26761aa2f,
KeywordsManager.getMissingKeywords() has had support for ~* in KEYWORDS
being matched by any unstable keyword in ACCEPT_KEYWORDS. However,
getmaskingstatus still returned "missing keyword" for this case. Now,
getmaskingstatus is fixed so that it won't erroneously return
"missing keyword" in this case.

12 years agoemerge --sync: search PATH for rsync binary
Zac Medico [Tue, 4 Dec 2012 06:00:29 +0000 (22:00 -0800)]
emerge --sync: search PATH for rsync binary

This allows to use rsync from prefix when necessary.

12 years agoshow_masked_packages: handle missing license file
Zac Medico [Sun, 2 Dec 2012 22:15:05 +0000 (14:15 -0800)]
show_masked_packages: handle missing license file

This will fix bug #445628.

12 years agoemerge --depclean: rm unavailable slot bug 445506
Zac Medico [Sat, 1 Dec 2012 23:22:59 +0000 (15:22 -0800)]
emerge --depclean: rm unavailable slot bug 445506

12 years agoprepstrip: add comment for bug #445336 v2.2.0_alpha144
Zac Medico [Sat, 1 Dec 2012 21:41:37 +0000 (13:41 -0800)]
prepstrip: add comment for bug #445336

12 years agoprepstrip: avoid duplicates for bug #445336
Zac Medico [Sat, 1 Dec 2012 21:17:14 +0000 (13:17 -0800)]
prepstrip: avoid duplicates for bug #445336

This prevents us from trying to hardlink duplicate splitdebug files,
avoiding ln "File exists" failure as reported in bug #445336.

12 years agoRevert "prepstrip: avoid duplicates for bug #445336"
Zac Medico [Sat, 1 Dec 2012 21:14:56 +0000 (13:14 -0800)]
Revert "prepstrip: avoid duplicates for bug #445336"

This reverts commit bba20c632e79426cd006dd2b732fcaed079ac43a.
The sort needs to be inside the subshell in order for it to
work as intended. A correct patch will follow.

12 years agoprepstrip: avoid duplicates for bug #445336
Zac Medico [Sat, 1 Dec 2012 03:37:12 +0000 (19:37 -0800)]
prepstrip: avoid duplicates for bug #445336

This prevents us from trying to hardlink duplicate splitdebug files,
avoiding ln "File exists" failure as reported in bug #445336.

12 years agoAdd --oneshot to the portage update suggestion.
Michał Górny [Fri, 30 Nov 2012 09:11:45 +0000 (10:11 +0100)]
Add --oneshot to the portage update suggestion.

Most users probably have it in the @world already but I don't think
everybody needs it there explicitly.

12 years ago_LockThread: daemon = True
Zac Medico [Fri, 30 Nov 2012 06:24:06 +0000 (22:24 -0800)]
_LockThread: daemon = True

12 years agoportage.util.movefile.movefile(): Try to preserve mtime of symlinks with Python ...
Arfrever Frehtes Taifersar Arahesis [Fri, 30 Nov 2012 02:09:00 +0000 (03:09 +0100)]
portage.util.movefile.movefile(): Try to preserve mtime of symlinks with Python >=3.3.

12 years agorepoman: handle missing @DEPRECATED lic group v2.2.0_alpha143
Zac Medico [Thu, 29 Nov 2012 21:39:53 +0000 (13:39 -0800)]
repoman: handle missing @DEPRECATED lic group

12 years agoFix return value of portage.util.movefile.movefile() for symlinks with Python >=3.3.
Arfrever Frehtes Taifersar Arahesis [Thu, 29 Nov 2012 20:30:35 +0000 (21:30 +0100)]
Fix return value of portage.util.movefile.movefile() for symlinks with Python >=3.3.

12 years agoemerge: add --quiet-fail for bug #440982
Zac Medico [Thu, 29 Nov 2012 07:52:49 +0000 (23:52 -0800)]
emerge: add --quiet-fail for bug #440982

12 years agofix ebuild rpm command for rpm 4.10.0
Lucas Bickel [Thu, 15 Nov 2012 21:50:52 +0000 (22:50 +0100)]
fix ebuild rpm command for rpm 4.10.0

* changes dyn_spec to use a sources_dir in the sandbox
* remove deprecated Buildroot from specfile
* call rpmbuild with --target instead of Buildroot
* grab machine_name from $CHOST and use as --target in rpmbuild
* use dir in sandbox instead of /usr/src/rpm/RPMS

12 years agoportage.5: rm obsolete eclass-overrides warning
Zac Medico [Wed, 28 Nov 2012 12:13:57 +0000 (04:13 -0800)]
portage.5: rm obsolete eclass-overrides warning

This will fix bug #434942. The warning shouldn't be needed anymore
since commit e760c8d2a4ccc56e351ac37904c715f596b58e42 makes egencache
generate md5-dict format by default, and use of the older pms format
triggers a deprecation warning since commit
02a6bf1ac95861831a303f220c7a41b9bbd398ab.

12 years agotest_portdb_cache: use python -Wi
Zac Medico [Tue, 27 Nov 2012 16:33:45 +0000 (08:33 -0800)]
test_portdb_cache: use python -Wi

12 years agoportdbapi: DeprecationWarning for 'pms' cache
Zac Medico [Tue, 27 Nov 2012 16:23:46 +0000 (08:23 -0800)]
portdbapi: DeprecationWarning for 'pms' cache

12 years agoegencache: enable md5-dict format by default
Zac Medico [Tue, 27 Nov 2012 15:45:53 +0000 (07:45 -0800)]
egencache: enable md5-dict format by default

WARNING: Portage versions prior to portage-2.1.11.14 will NOT
recognize the 'md5-dict' format unless it is explicitly listed
in metadata/layout.conf (refer to portage(5) for example usage).

WARNING: For backward compatibility, the obsolete 'pms' cache
format will still be generated by default if the metadata/cache/
directory exists in the repository.

12 years agoAdd Package.built_time property.
Zac Medico [Tue, 27 Nov 2012 06:02:38 +0000 (22:02 -0800)]
Add Package.built_time property.

12 years agoPackage: add defined_phases, properties, restrict
Zac Medico [Tue, 27 Nov 2012 05:34:24 +0000 (21:34 -0800)]
Package: add defined_phases, properties, restrict

12 years agoRename Package.metadata to _metadata.
Zac Medico [Tue, 27 Nov 2012 04:37:41 +0000 (20:37 -0800)]
Rename Package.metadata to _metadata.

The raw metadata is considered a private low-level internal. This
makes the Package class consistent with the _pkg_str class.

12 years agoUse Package.repo where appropriate.
Zac Medico [Tue, 27 Nov 2012 03:59:46 +0000 (19:59 -0800)]
Use Package.repo where appropriate.

12 years agoUse Package.counter where appropriate.
Zac Medico [Tue, 27 Nov 2012 03:45:33 +0000 (19:45 -0800)]
Use Package.counter where appropriate.

12 years agosimilar_name_search: fix lower/upper case bugs
Zac Medico [Mon, 26 Nov 2012 03:26:46 +0000 (19:26 -0800)]
similar_name_search: fix lower/upper case bugs

12 years agoUpdate doc string of portage.dep.extract_affecting_use().
Arfrever Frehtes Taifersar Arahesis [Sun, 25 Nov 2012 11:02:11 +0000 (12:02 +0100)]
Update doc string of portage.dep.extract_affecting_use().

12 years agounpack(): Handle suffixes in case-insensitive way.
Arfrever Frehtes Taifersar Arahesis [Sun, 25 Nov 2012 10:40:06 +0000 (11:40 +0100)]
unpack(): Handle suffixes in case-insensitive way.

12 years ago__sb_append_var(): Quote tr arguments to avoid filename expansion. Avoid a subshell.
Arfrever Frehtes Taifersar Arahesis [Sun, 25 Nov 2012 10:33:10 +0000 (11:33 +0100)]
__sb_append_var(): Quote tr arguments to avoid filename expansion. Avoid a subshell.

12 years agoemerge --info: search similar names, bug #444596
Zac Medico [Sat, 24 Nov 2012 22:08:23 +0000 (14:08 -0800)]
emerge --info: search similar names, bug #444596

12 years agodepgraph: split out similar_name_search func
Zac Medico [Sat, 24 Nov 2012 21:56:51 +0000 (13:56 -0800)]
depgraph: split out similar_name_search func

This will allow the code to be re-used for bug #444596. Copyright
begins in 2011 since that's when the code for this feature was first
added in commit aa78cc8da18015b7d1e4eec277b5a7f940fe357c.

12 years agoemerge --info: report unmatched atom, bug #444596
Zac Medico [Sat, 24 Nov 2012 21:14:32 +0000 (13:14 -0800)]
emerge --info: report unmatched atom, bug #444596

12 years agoEAPI="5-progress": Add automatic unpack dependencies.
Arfrever Frehtes Taifersar Arahesis [Sat, 24 Nov 2012 12:28:44 +0000 (13:28 +0100)]
EAPI="5-progress": Add automatic unpack dependencies.

12 years agoFix a typo.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Nov 2012 22:16:05 +0000 (23:16 +0100)]
Fix a typo.

12 years agoFix some typos and improve amount of whitespace.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Nov 2012 22:11:35 +0000 (23:11 +0100)]
Fix some typos and improve amount of whitespace.

12 years agostrip trailing whitespace
Mike Frysinger [Thu, 22 Nov 2012 17:42:42 +0000 (12:42 -0500)]
strip trailing whitespace

No functional changes here.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoBug #440680: Add boost-utils to list of deprecated eclasses.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Nov 2012 21:53:09 +0000 (22:53 +0100)]
Bug #440680: Add boost-utils to list of deprecated eclasses.

12 years agoAutomatically generate list of repoman checks.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Nov 2012 21:48:57 +0000 (22:48 +0100)]
Automatically generate list of repoman checks.
This also reenables InheritDeprecated check, which has been disabled in
commit 597826a1cabf654f9b3fff88425d04303e921577.

12 years agoEventLoop: handle Linux 2.4 errno 38 for epoll
Zac Medico [Thu, 22 Nov 2012 12:23:20 +0000 (04:23 -0800)]
EventLoop: handle Linux 2.4 errno 38 for epoll

12 years agoflat_hash.__iter__: validate keys
Zac Medico [Wed, 21 Nov 2012 04:38:32 +0000 (20:38 -0800)]
flat_hash.__iter__: validate keys

12 years agoAdd Package.eapi property.
Zac Medico [Sat, 17 Nov 2012 17:31:53 +0000 (09:31 -0800)]
Add Package.eapi property.

12 years agoFix some typos.
Arfrever Frehtes Taifersar Arahesis [Fri, 16 Nov 2012 04:46:41 +0000 (05:46 +0100)]
Fix some typos.

12 years agoFix PORTAGE_BUILDIR_LOCKED typo.
Arfrever Frehtes Taifersar Arahesis [Fri, 16 Nov 2012 04:44:05 +0000 (05:44 +0100)]
Fix PORTAGE_BUILDIR_LOCKED typo.

12 years agoEAPI="5-progress": Add package_manager_build_user() and package_manager_build_group().
Arfrever Frehtes Taifersar Arahesis [Fri, 16 Nov 2012 04:35:57 +0000 (05:35 +0100)]
EAPI="5-progress": Add package_manager_build_user() and package_manager_build_group().

12 years agofixdbentries: add deprecation warning
Zac Medico [Thu, 15 Nov 2012 16:07:59 +0000 (08:07 -0800)]
fixdbentries: add deprecation warning

It's unused since commit c974a023882485b8eeae35bac35c1f00d1a0725b.

12 years agoEAPI="4-python" and EAPI="5-progress": Add support for use.aliases and package.use...
Arfrever Frehtes Taifersar Arahesis [Thu, 15 Nov 2012 07:19:21 +0000 (08:19 +0100)]
EAPI="4-python" and EAPI="5-progress": Add support for use.aliases and package.use.aliases.

12 years agovalidate_desktop_entry: ignore Encoding key
Zac Medico [Thu, 15 Nov 2012 03:41:15 +0000 (19:41 -0800)]
validate_desktop_entry: ignore Encoding key

See bug #443100.

12 years agovardbapi.move_ent: rm wrong fixdbentries call
Zac Medico [Thu, 15 Nov 2012 00:02:38 +0000 (16:02 -0800)]
vardbapi.move_ent: rm wrong fixdbentries call

The parent argument was wrong, as reported in bug #367215 comment #22,
and this call was uneeded anyway because dbapi.update_ents handles
it with update_dbentries.

12 years agoAtom.without_use: preserve blocker prefix
Zac Medico [Wed, 14 Nov 2012 19:54:59 +0000 (11:54 -0800)]
Atom.without_use: preserve blocker prefix

12 years agotest_update_dbentry: test bug #367215
Zac Medico [Wed, 14 Nov 2012 17:41:38 +0000 (09:41 -0800)]
test_update_dbentry: test bug #367215

12 years agoupdate_dbentry: avoid self-blocker, bug #367215
Zac Medico [Wed, 14 Nov 2012 17:28:16 +0000 (09:28 -0800)]
update_dbentry: avoid self-blocker, bug #367215

12 years agoPass settings to _pkg_str constructor.
Zac Medico [Wed, 14 Nov 2012 17:16:10 +0000 (09:16 -0800)]
Pass settings to _pkg_str constructor.

Forgotten in commit 0b4e6c27e87e57fac09fa28d3ed1320cb6a83ad9.

12 years agoupdate_dbentry: add parent arg for bug #367215
Zac Medico [Wed, 14 Nov 2012 07:08:05 +0000 (23:08 -0800)]
update_dbentry: add parent arg for bug #367215

12 years agorepoman: validate use restrict atoms, bug #442786
Zac Medico [Wed, 14 Nov 2012 03:17:24 +0000 (19:17 -0800)]
repoman: validate use restrict atoms, bug #442786

12 years agoelog/mod_save_summary: wrap IOError, bug #441948
Zac Medico [Tue, 13 Nov 2012 17:57:26 +0000 (09:57 -0800)]
elog/mod_save_summary: wrap IOError, bug #441948

12 years agoelog/mod_save: wrap IOException for bug #441948
Zac Medico [Tue, 13 Nov 2012 17:48:55 +0000 (09:48 -0800)]
elog/mod_save: wrap IOException for bug #441948

12 years agopkg_pretend: keep temp on failure for bug #442536
Zac Medico [Sun, 11 Nov 2012 17:57:52 +0000 (09:57 -0800)]
pkg_pretend: keep temp on failure for bug #442536

12 years agoemerge-webrsync: rsync -o -g, bug #442190
Zac Medico [Wed, 7 Nov 2012 16:48:40 +0000 (08:48 -0800)]
emerge-webrsync: rsync -o -g, bug #442190

This fixes a regression since the -a option was removed in
commit e672b5ccbbbe38eda5c733fc799a20d92a8bdf75.

12 years agoprepstrip: check USERLAND outside of loop
Zac Medico [Tue, 6 Nov 2012 08:28:40 +0000 (00:28 -0800)]
prepstrip: check USERLAND outside of loop

12 years agoprepstrip: handle empty inode list
Zac Medico [Tue, 6 Nov 2012 05:42:18 +0000 (21:42 -0800)]
prepstrip: handle empty inode list

12 years agoCOLLISION_IGNORE jython compiled modules as well.
Michał Górny [Mon, 5 Nov 2012 08:32:05 +0000 (09:32 +0100)]
COLLISION_IGNORE jython compiled modules as well.

Jython names its compiled modules *$py.class.

12 years agoprepstrip: account for new inode created by strip
Zac Medico [Mon, 5 Nov 2012 02:51:20 +0000 (18:51 -0800)]
prepstrip: account for new inode created by strip

Since strip creates a new inode, we need to know the initial set of
inodes in advance, so that we can avoid interference due to trying
to strip the same (hardlinked) file multiple times in parallel.
See bug #421099.

12 years agorepoman: add check for deprecated licenses, bug 440638
Ulrich Müller [Wed, 31 Oct 2012 17:42:20 +0000 (18:42 +0100)]
repoman: add check for deprecated licenses, bug 440638

12 years agoDeprecate python-distutils-ng.
Michał Górny [Wed, 31 Oct 2012 10:07:19 +0000 (11:07 +0100)]
Deprecate python-distutils-ng.

python-r1 & distutils-r1 are almost drop-in replacements.

12 years agodblink.mergeme(): use stack instead of recursion
Zac Medico [Tue, 30 Oct 2012 23:11:35 +0000 (16:11 -0700)]
dblink.mergeme(): use stack instead of recursion

Maybe this helps reduce memory consumption when merging packages with
lots of subdirectories like gentoo-sources (bug #320859).

12 years agovalidate_desktop_entry: handle df-utils-0.21 hint
Zac Medico [Sun, 28 Oct 2012 19:25:58 +0000 (12:25 -0700)]
validate_desktop_entry: handle df-utils-0.21 hint

12 years agodie: use local IFS setting
Zac Medico [Sat, 27 Oct 2012 10:00:50 +0000 (03:00 -0700)]
die: use local IFS setting

This is needed at least for splitting ${EBUILD_OVERLAY_ECLASSES}, in
order to avoid potentially strange results.

12 years agoemerge --info: show linker version, bug #436294 v2.2.0_alpha142
Zac Medico [Fri, 26 Oct 2012 17:45:54 +0000 (10:45 -0700)]
emerge --info: show linker version, bug #436294

12 years agotest_slot_conflict_rebuild: add a valid rebuild
Zac Medico [Fri, 26 Oct 2012 17:24:37 +0000 (10:24 -0700)]
test_slot_conflict_rebuild: add a valid rebuild

12 years agodepgraph: use _match_slot in multislot match
Zac Medico [Fri, 26 Oct 2012 17:13:16 +0000 (10:13 -0700)]
depgraph: use _match_slot in multislot match

This amkes sub-slot matching work correctly.

12 years agobacktracking: discard extra rebuilds, bug #439688
Zac Medico [Fri, 26 Oct 2012 07:43:20 +0000 (00:43 -0700)]
backtracking: discard extra rebuilds, bug #439688

12 years agoAdd test case for bug #439688.
Zac Medico [Fri, 26 Oct 2012 06:31:36 +0000 (23:31 -0700)]
Add test case for bug #439688.

12 years agodepgraph: trigger rebuild for unbuilt child
Zac Medico [Fri, 26 Oct 2012 06:06:17 +0000 (23:06 -0700)]
depgraph: trigger rebuild for unbuilt child

This will fix bug #439694, where built slot-operator deps failed
to trigger rebuilds if the deps were initially broken.

12 years agodepgraph: no multislot tweak for built slot op
Zac Medico [Fri, 26 Oct 2012 04:57:01 +0000 (21:57 -0700)]
depgraph: no multislot tweak for built slot op

The multislot tweak from bug #220341 (see commit
65a421ae35acd5639ad1258e220754a85e55de6e) triggered erroneous matches
for built slot-operator deps, causing the depgraph to treat unsatisfied
built slot-operator deps as if they were satisfied (one of the issues
uncovered in bug #439694).

12 years agoAdd test case for bug #439694.
Zac Medico [Fri, 26 Oct 2012 03:44:28 +0000 (20:44 -0700)]
Add test case for bug #439694.

12 years agomerge-sync: handle unmerge corner cases
Zac Medico [Thu, 25 Oct 2012 19:48:56 +0000 (12:48 -0700)]
merge-sync: handle unmerge corner cases

In dblink_merged_path we need to distinguish between existing and
non-existing, since we need an existing path of syncfs.

12 years agomerge-sync: syncfs on parent of dir for unmerge
Zac Medico [Thu, 25 Oct 2012 15:31:16 +0000 (08:31 -0700)]
merge-sync: syncfs on parent of dir for unmerge

Note that we use a realpath and a regular stat here, since we want to
follow any symlinks back to the real device where the real parent
directory resides.

12 years agoMergeProcess: cache syncfs libc library lookup
Zac Medico [Thu, 25 Oct 2012 09:32:35 +0000 (02:32 -0700)]
MergeProcess: cache syncfs libc library lookup

12 years agoAdd FEATURES=merge-sync, for bug #439584.
Zac Medico [Thu, 25 Oct 2012 08:35:31 +0000 (01:35 -0700)]
Add FEATURES=merge-sync, for bug #439584.

12 years agoAdd portage.util._ctypes module, for bug #439584.
Zac Medico [Thu, 25 Oct 2012 08:34:37 +0000 (01:34 -0700)]
Add portage.util._ctypes module, for bug #439584.