portage.git
18 years agoRemove redundant quotes from PORTAGE_RSYNC_OPTS.
Zac Medico [Sat, 7 Oct 2006 20:25:56 +0000 (20:25 -0000)]
Remove redundant quotes from PORTAGE_RSYNC_OPTS.

svn path=/main/trunk/; revision=4614

18 years agoRemove redunant quotes for bug #150381. This change is related to the shlex posix...
Zac Medico [Sat, 7 Oct 2006 19:56:12 +0000 (19:56 -0000)]
Remove redunant quotes for bug #150381.  This change is related to the shlex posix mode used to fix bug #14215.

svn path=/main/trunk/; revision=4613

18 years agoFix package type assumptions in depgraph.display() for bug #150359.
Zac Medico [Sat, 7 Oct 2006 17:10:12 +0000 (17:10 -0000)]
Fix package type assumptions in depgraph.display() for bug #150359.

svn path=/main/trunk/; revision=4612

18 years agoAdd a heading for portage-2.1.2.
Zac Medico [Sat, 7 Oct 2006 04:09:27 +0000 (04:09 -0000)]
Add a heading for portage-2.1.2.

svn path=/main/trunk/; revision=4611

18 years agoAdd a release note about --with-bdeps.
Zac Medico [Sat, 7 Oct 2006 04:05:26 +0000 (04:05 -0000)]
Add a release note about --with-bdeps.

svn path=/main/trunk/; revision=4610

18 years agoAdd news about major bug fixes in 2.1.2.
Zac Medico [Sat, 7 Oct 2006 04:01:58 +0000 (04:01 -0000)]
Add news about major bug fixes in 2.1.2.

svn path=/main/trunk/; revision=4609

18 years agoDelete some temporary variables after use.
Zac Medico [Fri, 6 Oct 2006 23:18:55 +0000 (23:18 -0000)]
Delete some temporary variables after use.

svn path=/main/trunk/; revision=4608

18 years agoIn update_dbentries(), use != rather than "is not" to make sure that updates never...
Zac Medico [Fri, 6 Oct 2006 22:03:40 +0000 (22:03 -0000)]
In update_dbentries(), use != rather than "is not" to make sure that updates never occur unnecessarily.

svn path=/main/trunk/; revision=4607

18 years agoReject installed packages if they have a matching masked ebuild in the tree.
Zac Medico [Fri, 6 Oct 2006 12:48:14 +0000 (12:48 -0000)]
Reject installed packages if they have a matching masked ebuild in the tree.

svn path=/main/trunk/; revision=4606

18 years agoFor bug #48195, fall back to the installed packages when there are no other choices...
Zac Medico [Fri, 6 Oct 2006 10:26:54 +0000 (10:26 -0000)]
For bug #48195, fall back to the installed packages when there are no other choices.  Global updates are automatically performed on *DEPEND if necessary in order to clean up stale atoms (we do single packages as necessary because it's too time consuming to do the whole vdb at once).

svn path=/main/trunk/; revision=4605

18 years agoMake repoman generate a syntax error if a slot dep is used with EAPI == 0.
Zac Medico [Fri, 6 Oct 2006 07:37:19 +0000 (07:37 -0000)]
Make repoman generate a syntax error if a slot dep is used with EAPI == 0.

svn path=/main/trunk/; revision=4604

18 years agoDon't call varexpand inside getconfig for env.d/profile.env values.
Zac Medico [Fri, 6 Oct 2006 03:28:25 +0000 (03:28 -0000)]
Don't call varexpand inside getconfig for env.d/profile.env values.

svn path=/main/trunk/; revision=4603

18 years agoFor bug #14215, put the shlex parser in posix mode so that it properly recognizes...
Zac Medico [Fri, 6 Oct 2006 02:48:31 +0000 (02:48 -0000)]
For bug #14215, put the shlex parser in posix mode so that it properly recognizes escaped quotes.

svn path=/main/trunk/; revision=4602

18 years agoFor bug #150163, remove unnecessary validation of new_protect_filename() parameters.
Zac Medico [Fri, 6 Oct 2006 01:25:46 +0000 (01:25 -0000)]
For bug #150163, remove unnecessary validation of new_protect_filename() parameters.

svn path=/main/trunk/; revision=4601

18 years agoFor bug #150178, print an error message when emerge is called with both --config...
Zac Medico [Fri, 6 Oct 2006 00:54:49 +0000 (00:54 -0000)]
For bug #150178, print an error message when emerge is called with both --config and --pretend.

svn path=/main/trunk/; revision=4600

18 years agoAdd news about slot deps.
Zac Medico [Thu, 5 Oct 2006 12:09:54 +0000 (12:09 -0000)]
Add news about slot deps.

svn path=/main/trunk/; revision=4599

18 years agoImprove best_match_to_list() and include support for slot deps.
Zac Medico [Thu, 5 Oct 2006 11:52:50 +0000 (11:52 -0000)]
Improve best_match_to_list() and include support for slot deps.

svn path=/main/trunk/; revision=4598

18 years agoFix package moves/slotmoves to work with slot deps.
Zac Medico [Thu, 5 Oct 2006 11:15:05 +0000 (11:15 -0000)]
Fix package moves/slotmoves to work with slot deps.

svn path=/main/trunk/; revision=4597

18 years agoJust use a simple replace for the needlessly complex dep_transform function. This...
Zac Medico [Thu, 5 Oct 2006 09:03:28 +0000 (09:03 -0000)]
Just use a simple replace for the needlessly complex dep_transform function.  This will make it compatible with slot deps.

svn path=/main/trunk/; revision=4596

18 years agoFor bug #4698, use slot deps to ensure that all installed slots are automatically...
Zac Medico [Thu, 5 Oct 2006 06:50:05 +0000 (06:50 -0000)]
For bug #4698, use slot deps to ensure that all installed slots are automatically updated.

svn path=/main/trunk/; revision=4595

18 years agoAdd support for slot based dep matching in all dbapi derived classes. The supported...
Zac Medico [Thu, 5 Oct 2006 05:24:42 +0000 (05:24 -0000)]
Add support for slot based dep matching in all dbapi derived classes.  The supported syntax is ${CATEGORY}/${PN}:${SLOT} (identical to that used by paludis and pkgcore).

svn path=/main/trunk/; revision=4594

18 years agoShare duplicate code between dep_getkey() and dep_getcpv().
Zac Medico [Wed, 4 Oct 2006 23:02:51 +0000 (23:02 -0000)]
Share duplicate code between dep_getkey() and dep_getcpv().

svn path=/main/trunk/; revision=4593

18 years agoDon't create /cvs-src since the cvs.eclass will do that automatically.
Zac Medico [Wed, 4 Oct 2006 08:17:30 +0000 (08:17 -0000)]
Don't create /cvs-src since the cvs.eclass will do that automatically.

svn path=/main/trunk/; revision=4591

18 years agoFix a typo for the file mode in ${T}.
Zac Medico [Wed, 4 Oct 2006 08:04:57 +0000 (08:04 -0000)]
Fix a typo for the file mode in ${T}.

svn path=/main/trunk/; revision=4590

18 years agoDon't apply the sticky bits until we have a complete plan for bug #149062.
Zac Medico [Wed, 4 Oct 2006 07:37:01 +0000 (07:37 -0000)]
Don't apply the sticky bits until we have a complete plan for bug #149062.

svn path=/main/trunk/; revision=4589

18 years agoProperly write all fifo and device nodes to CONTENTS for bug #144781. Code to parse...
Zac Medico [Wed, 4 Oct 2006 07:17:50 +0000 (07:17 -0000)]
Properly write all fifo and device nodes to CONTENTS for bug #144781.  Code to parse these entries has already in place and they are never unmerged.

svn path=/main/trunk/; revision=4588

18 years agoRemove redundant PORTAGE_BUILDDIR creation.
Zac Medico [Wed, 4 Oct 2006 06:10:02 +0000 (06:10 -0000)]
Remove redundant PORTAGE_BUILDDIR creation.

svn path=/main/trunk/; revision=4587

18 years agoWhen gathering a group of nodes to merge (with circular RDEPEND), make sure not to...
Zac Medico [Wed, 4 Oct 2006 05:09:30 +0000 (05:09 -0000)]
When gathering a group of nodes to merge (with circular RDEPEND), make sure not to prematurely merge any nodes that have unsatisfied hard deps.

svn path=/main/trunk/; revision=4586

18 years agoMake PORTAGE_BUILDDIR and subdirectories group writable for now (reverts some of...
Zac Medico [Wed, 4 Oct 2006 04:37:42 +0000 (04:37 -0000)]
Make PORTAGE_BUILDDIR and subdirectories group writable for now (reverts some of the changes from bug #149062).  One major problem is that the first phase (setup) is often run as root.  We need a way to tell portage about a less privileged user that may need to be given permission on files and directories.

svn path=/main/trunk/; revision=4585

18 years agoDon't set the gid unnecessarily on $PORTAGE_BUILDDIR/distdir.
Zac Medico [Tue, 3 Oct 2006 22:18:20 +0000 (22:18 -0000)]
Don't set the gid unnecessarily on $PORTAGE_BUILDDIR/distdir.

svn path=/main/trunk/; revision=4584

18 years agoFor userpriv support, chown files in ${T} if necessary after priveleged phases.
Zac Medico [Tue, 3 Oct 2006 22:09:41 +0000 (22:09 -0000)]
For userpriv support, chown files in ${T} if necessary after priveleged phases.

svn path=/main/trunk/; revision=4583

18 years agoUse 01775 permissions for subdirectories of PORTAGE_TMPDIR, and 0755 permissions...
Zac Medico [Tue, 3 Oct 2006 21:04:57 +0000 (21:04 -0000)]
Use 01775 permissions for subdirectories of PORTAGE_TMPDIR, and 0755 permissions for other directories (bug #149062).

svn path=/main/trunk/; revision=4582

18 years agoUse 755 permissions for ${PORTAGE_WORKDIR}/distdir (bug #149062).
Zac Medico [Tue, 3 Oct 2006 19:03:23 +0000 (19:03 -0000)]
Use 755 permissions for ${PORTAGE_WORKDIR}/distdir (bug #149062).

svn path=/main/trunk/; revision=4581

18 years agoPrint a message about make.globals if PORTDIR is undefined.
Zac Medico [Tue, 3 Oct 2006 18:33:04 +0000 (18:33 -0000)]
Print a message about make.globals if PORTDIR is undefined.

svn path=/main/trunk/; revision=4580

18 years agoAdd a digraph.NONE constant to represent no priority.
Zac Medico [Tue, 3 Oct 2006 07:05:50 +0000 (07:05 -0000)]
Add a digraph.NONE constant to represent no priority.

svn path=/main/trunk/; revision=4579

18 years agoRefector depgraph.altlist() reverse/ignore_priority handling.
Zac Medico [Tue, 3 Oct 2006 06:45:58 +0000 (06:45 -0000)]
Refector depgraph.altlist() reverse/ignore_priority handling.

svn path=/main/trunk/; revision=4578

18 years agoRemove a len(nodes) == 1 test that's never True.
Zac Medico [Tue, 3 Oct 2006 01:51:33 +0000 (01:51 -0000)]
Remove a len(nodes) == 1 test that's never True.

svn path=/main/trunk/; revision=4577

18 years agoIn depgraph.altlist(), use a recursive fuction to gather groups of nodes that RDEPEND...
Zac Medico [Tue, 3 Oct 2006 01:40:42 +0000 (01:40 -0000)]
In depgraph.altlist(), use a recursive fuction to gather groups of nodes that RDEPEND on eachother.

svn path=/main/trunk/; revision=4576

18 years agoFix priority logic in digraph.add().
Zac Medico [Tue, 3 Oct 2006 00:27:45 +0000 (00:27 -0000)]
Fix priority logic in digraph.add().

svn path=/main/trunk/; revision=4575

18 years agoOptimize varexpand for bug #149900.
Zac Medico [Mon, 2 Oct 2006 22:39:03 +0000 (22:39 -0000)]
Optimize varexpand for bug #149900.

svn path=/main/trunk/; revision=4574

18 years agoRemove unnecessary set creation.
Zac Medico [Mon, 2 Oct 2006 22:21:57 +0000 (22:21 -0000)]
Remove unnecessary set creation.

svn path=/main/trunk/; revision=4573

18 years agoFix depgraph.altlist() so that it can identify a group of nodes that completely satis...
Zac Medico [Mon, 2 Oct 2006 22:08:04 +0000 (22:08 -0000)]
Fix depgraph.altlist() so that it can identify a group of nodes that completely satisfy eachothers non-soft deps.  This should complete the fix for bug #149881.

svn path=/main/trunk/; revision=4572

18 years agoAdd medium priority level into the digraph (in addition to the existing hard and
Zac Medico [Mon, 2 Oct 2006 19:29:23 +0000 (19:29 -0000)]
Add medium priority level into the digraph (in addition to the existing hard and

svn path=/main/trunk/; revision=4571

18 years agoFor bug #149781, exclude symlinks to directories when creating binary package with...
Zac Medico [Sun, 1 Oct 2006 23:15:49 +0000 (23:15 -0000)]
For bug #149781, exclude symlinks to directories when creating binary package with quickpkg.

svn path=/main/trunk/; revision=4570

18 years agoFix misspelling of dependencies for bug #149645.
Zac Medico [Sat, 30 Sep 2006 19:35:29 +0000 (19:35 -0000)]
Fix misspelling of dependencies for bug #149645.

svn path=/main/trunk/; revision=4568

18 years agoEmulate old --update world/system behavior for bug #149527.
Zac Medico [Sat, 30 Sep 2006 18:24:19 +0000 (18:24 -0000)]
Emulate old --update world/system behavior for bug #149527.

svn path=/main/trunk/; revision=4567

18 years agoDon't try to match call best_match_to_list() on "blocks" nodes for bug #149576.
Zac Medico [Sat, 30 Sep 2006 04:06:53 +0000 (04:06 -0000)]
Don't try to match call best_match_to_list() on "blocks" nodes for bug #149576.

svn path=/main/trunk/; revision=4566

18 years agoUpdate CONFIG_PROTECT docs to reflect that files are now supported.
Zac Medico [Fri, 29 Sep 2006 21:56:09 +0000 (21:56 -0000)]
Update CONFIG_PROTECT docs to reflect that files are now supported.

svn path=/main/trunk/; revision=4565

18 years agoUpdate installsources docs for bug #149491.
Zac Medico [Fri, 29 Sep 2006 21:50:16 +0000 (21:50 -0000)]
Update installsources docs for bug #149491.

svn path=/main/trunk/; revision=4564

18 years agoDocument the new COLLISION_IGNORE variable.
Zac Medico [Fri, 29 Sep 2006 21:47:49 +0000 (21:47 -0000)]
Document the new COLLISION_IGNORE variable.

svn path=/main/trunk/; revision=4563

18 years agoFor bug #149412, add a COLLISION_IGNORE user config option that behaves similar to...
Zac Medico [Fri, 29 Sep 2006 21:36:34 +0000 (21:36 -0000)]
For bug #149412, add a COLLISION_IGNORE user config option that behaves similar to CONFIG_PROTECT_MASK, but for collision-protect.

svn path=/main/trunk/; revision=4562

18 years agoDocument the new --with-bdeps option.
Zac Medico [Fri, 29 Sep 2006 21:07:01 +0000 (21:07 -0000)]
Document the new --with-bdeps option.

svn path=/main/trunk/; revision=4561

18 years agoAllow options contained in EMERGE_DEFAULT_OPTS to be overridden by the real command...
Zac Medico [Fri, 29 Sep 2006 20:37:26 +0000 (20:37 -0000)]
Allow options contained in EMERGE_DEFAULT_OPTS to be overridden by the real command line options.

svn path=/main/trunk/; revision=4560

18 years agoMove installed sources into ${CATEGORY} subdirectories in order to prevent collisions...
Zac Medico [Fri, 29 Sep 2006 19:12:47 +0000 (19:12 -0000)]
Move installed sources into ${CATEGORY} subdirectories in order to prevent collisions for bug #149491.

svn path=/main/trunk/; revision=4559

18 years agoAllow env.d file names with 3 characters. This is a regression from r4451.
Zac Medico [Fri, 29 Sep 2006 18:28:29 +0000 (18:28 -0000)]
Allow env.d file names with 3 characters. This is a regression from r4451.

svn path=/main/trunk/; revision=4558

18 years agoFix quoting of ${D} in make arguments for einstall(). Thanks to Volkov Peter <pva...
Zac Medico [Fri, 29 Sep 2006 17:47:35 +0000 (17:47 -0000)]
Fix quoting of ${D} in make arguments for einstall().  Thanks to Volkov Peter <pva@gentoo.org> for this patch from bug #149494.

svn path=/main/trunk/; revision=4557

18 years agoFix broken [ -z "" ] test. Thanks to Volkov Peter <pva@gentoo.org> for this patch...
Zac Medico [Fri, 29 Sep 2006 17:41:03 +0000 (17:41 -0000)]
Fix broken [ -z "" ] test.  Thanks to Volkov Peter <pva@gentoo.org> for this patch from bug #149494.

svn path=/main/trunk/; revision=4556

18 years agoFix inverted --with-bdeps logic.
Zac Medico [Fri, 29 Sep 2006 05:36:50 +0000 (05:36 -0000)]
Fix inverted --with-bdeps logic.

svn path=/main/trunk/; revision=4555

18 years agoCall sys.stdout.flush() after print statements so that output has the correct order...
Zac Medico [Fri, 29 Sep 2006 02:10:29 +0000 (02:10 -0000)]
Call sys.stdout.flush() after print statements so that output has the correct order when multiple processes output to a shared pipe.

svn path=/main/trunk/; revision=4554

18 years agoProperly treat myopts as a dict.
Zac Medico [Fri, 29 Sep 2006 01:52:50 +0000 (01:52 -0000)]
Properly treat myopts as a dict.

svn path=/main/trunk/; revision=4553

18 years agoRemove some unreachable code.
Zac Medico [Fri, 29 Sep 2006 01:26:35 +0000 (01:26 -0000)]
Remove some unreachable code.

svn path=/main/trunk/; revision=4552

18 years agoUse dict.pop(k, None) to delete items if they exist.
Zac Medico [Fri, 29 Sep 2006 01:14:31 +0000 (01:14 -0000)]
Use dict.pop(k, None) to delete items if they exist.

svn path=/main/trunk/; revision=4551

18 years agoStore myopts in the mtimedb as a list for backward compatibility.
Zac Medico [Fri, 29 Sep 2006 00:47:11 +0000 (00:47 -0000)]
Store myopts in the mtimedb as a list for backward compatibility.

svn path=/main/trunk/; revision=4550

18 years agoAdd missing calls to iteritems() from the last commit.
Zac Medico [Fri, 29 Sep 2006 00:05:35 +0000 (00:05 -0000)]
Add missing calls to iteritems() from the last commit.

svn path=/main/trunk/; revision=4549

18 years agoAdd a --with-bdeps=[y,n] option for bug #148870.
Zac Medico [Thu, 28 Sep 2006 23:02:03 +0000 (23:02 -0000)]
Add a --with-bdeps=[y,n] option for bug #148870.

svn path=/main/trunk/; revision=4548

18 years agoConvert myopts into a dictionary so that it can be used for more that boolean flags.
Zac Medico [Thu, 28 Sep 2006 18:29:40 +0000 (18:29 -0000)]
Convert myopts into a dictionary so that it can be used for more that boolean flags.

svn path=/main/trunk/; revision=4547

18 years agoConvert emerge option parsing to use python's optparse module. This patch makes...
Zac Medico [Thu, 28 Sep 2006 17:36:35 +0000 (17:36 -0000)]
Convert emerge option parsing to use python's optparse module.  This patch makes the minimum changes necessary for the conversion and is supposed to be 100% compatible with previous parsing behavior.

svn path=/main/trunk/; revision=4546

18 years agoCatch a ValueError caused by corrupt cache for bug #149134.
Zac Medico [Thu, 28 Sep 2006 00:15:57 +0000 (00:15 -0000)]
Catch a ValueError caused by corrupt cache for bug #149134.

svn path=/main/trunk/; revision=4545

18 years agoIn dep_zapdeps preference selection, use package names instead of the real atoms...
Zac Medico [Wed, 27 Sep 2006 16:50:36 +0000 (16:50 -0000)]
In dep_zapdeps preference selection, use package names instead of the real atoms for an initial rough match against installed packages.  More specific preference selection is handled later via slot and version comparison.  Thanks to Jason Stubbs for this patch from bug #147766.

svn path=/main/trunk/; revision=4543

18 years agoRevert dep_zapdeps fakedbapi usage as per comment #31 on bug #147766.
Zac Medico [Wed, 27 Sep 2006 15:41:14 +0000 (15:41 -0000)]
Revert dep_zapdeps fakedbapi usage as per comment #31 on bug #147766.

svn path=/main/trunk/; revision=4542

18 years agoFix --update so that it updates direct dependencies for bug #149208.
Zac Medico [Wed, 27 Sep 2006 08:44:22 +0000 (08:44 -0000)]
Fix --update so that it updates direct dependencies for bug #149208.

svn path=/main/trunk/; revision=4541

18 years agoMake sure that all packages are in the dbapi when doing the blocker validation.
Zac Medico [Wed, 27 Sep 2006 07:01:45 +0000 (07:01 -0000)]
Make sure that all packages are in the dbapi when doing the blocker validation.

svn path=/main/trunk/; revision=4540

18 years agoAdd SLOT support to fakedbapi then use it for depgraph blocker handling and dep_zapde...
Zac Medico [Wed, 27 Sep 2006 06:22:44 +0000 (06:22 -0000)]
Add SLOT support to fakedbapi then use it for depgraph blocker handling and dep_zapdeps preference selection.

svn path=/main/trunk/; revision=4539

18 years agoAdd a warning about the portage group and the possiblility of exploits for bug #149062.
Zac Medico [Mon, 25 Sep 2006 21:16:32 +0000 (21:16 -0000)]
Add a warning about the portage group and the possiblility of exploits for bug #149062.

svn path=/main/trunk/; revision=4530

18 years agoClean up the logic a little for bug #149092.
Zac Medico [Mon, 25 Sep 2006 20:40:18 +0000 (20:40 -0000)]
Clean up the logic a little for bug #149092.

svn path=/main/trunk/; revision=4529

18 years agoCheck the dep_check return value and fail with a message if an error has occurred.
Zac Medico [Mon, 25 Sep 2006 20:07:08 +0000 (20:07 -0000)]
Check the dep_check return value and fail with a message if an error has occurred.

svn path=/main/trunk/; revision=4528

18 years agoMake `emerge world` (without --deep) work as expected for bug #149092.
Zac Medico [Mon, 25 Sep 2006 18:26:01 +0000 (18:26 -0000)]
Make `emerge world` (without --deep) work as expected for bug #149092.

svn path=/main/trunk/; revision=4527

18 years agoprint errors to stderr, not stdout
Mike Frysinger [Mon, 25 Sep 2006 16:22:44 +0000 (16:22 -0000)]
print errors to stderr, not stdout

svn path=/main/trunk/; revision=4526

18 years agoFor bug #149028, don't lock the tbz2 file because the filesytem could be readonly...
Zac Medico [Mon, 25 Sep 2006 09:49:37 +0000 (09:49 -0000)]
For bug #149028, don't lock the tbz2 file because the filesytem could be readonly or shared by a cluster.

svn path=/main/trunk/; revision=4525

18 years agoClean up and simplify depgraph params logic. This fixes bug #148893.
Zac Medico [Sun, 24 Sep 2006 23:45:07 +0000 (23:45 -0000)]
Clean up and simplify depgraph params logic.  This fixes bug #148893.

svn path=/main/trunk/; revision=4524

18 years agoRemove depgraph params for depclean since it no longer uses the depgraph.
Zac Medico [Sun, 24 Sep 2006 21:30:07 +0000 (21:30 -0000)]
Remove depgraph params for depclean since it no longer uses the depgraph.

svn path=/main/trunk/; revision=4523

18 years agoIn order to ensure correct merge order such that build time dependencies will really...
Zac Medico [Sun, 24 Sep 2006 07:49:50 +0000 (07:49 -0000)]
In order to ensure correct merge order such that build time dependencies will really be usable, don't treat RDEPEND as soft_deps.  Thanks for Jason Stubbs for recognizing this issue.

svn path=/main/trunk/; revision=4522

18 years agoUse the same directories for binary package merges as would be used for source based...
Zac Medico [Sun, 24 Sep 2006 01:07:17 +0000 (01:07 -0000)]
Use the same directories for binary package merges as would be used for source based merges (since the normal PORTAGE_BUILDDIR is already used by the setup, preinst, and postinst phases anyway).

svn path=/main/trunk/; revision=4521

18 years agoFix portage.pkgmerge() so that it locks files and directories when in use.
Zac Medico [Sat, 23 Sep 2006 22:14:31 +0000 (22:14 -0000)]
Fix portage.pkgmerge() so that it locks files and directories when in use.

svn path=/main/trunk/; revision=4520

18 years agoRemove pkgmerge since it's apparent that nobody uses it (it's been broken for a long...
Zac Medico [Sat, 23 Sep 2006 19:21:11 +0000 (19:21 -0000)]
Remove pkgmerge since it's apparent that nobody uses it (it's been broken for a long time, anyway).

svn path=/main/trunk/; revision=4519

18 years agoRemove doebuild_environment return value checks since it no raises and exception...
Zac Medico [Sat, 23 Sep 2006 19:01:03 +0000 (19:01 -0000)]
Remove doebuild_environment return value checks since it no raises and exception if necessary.

svn path=/main/trunk/; revision=4518

18 years agoMake doebuild_environment raise an exception so that we never have to check the retur...
Zac Medico [Sat, 23 Sep 2006 10:47:11 +0000 (10:47 -0000)]
Make doebuild_environment raise an exception so that we never have to check the return value.

svn path=/main/trunk/; revision=4516

18 years agoOnly lock PORTAGE_BUILDDIR if the ebuild exists (otherwise we don't run prerm and...
Zac Medico [Sat, 23 Sep 2006 10:30:25 +0000 (10:30 -0000)]
Only lock PORTAGE_BUILDDIR if the ebuild exists (otherwise we don't run prerm and postrm).

svn path=/main/trunk/; revision=4515

18 years agoLock PORTAGE_BUILDDIR all the way through prerm, unmerge, and postrm.
Zac Medico [Sat, 23 Sep 2006 10:28:09 +0000 (10:28 -0000)]
Lock PORTAGE_BUILDDIR all the way through prerm, unmerge, and postrm.

svn path=/main/trunk/; revision=4514

18 years agoAlways check the return value of doebuild_environment().
Zac Medico [Sat, 23 Sep 2006 09:47:16 +0000 (09:47 -0000)]
Always check the return value of doebuild_environment().

svn path=/main/trunk/; revision=4513

18 years agoMove PORTAGE_BUILDDIR locking out of doebuild and into emerge in order to ensure...
Zac Medico [Sat, 23 Sep 2006 09:07:42 +0000 (09:07 -0000)]
Move PORTAGE_BUILDDIR locking out of doebuild and into emerge in order to ensure that emerge maintains it's lock through all phases.

svn path=/main/trunk/; revision=4512

18 years agoRemove outdated "Unable to run required binary" messages that are now unreachable.
Zac Medico [Sat, 23 Sep 2006 07:09:51 +0000 (07:09 -0000)]
Remove outdated "Unable to run required binary" messages that are now unreachable.

svn path=/main/trunk/; revision=4511

18 years agoMove PORTAGE_LOG_FILE initialization from doebuild to prepare_build_dirs.
Zac Medico [Sat, 23 Sep 2006 06:56:16 +0000 (06:56 -0000)]
Move PORTAGE_LOG_FILE initialization from doebuild to prepare_build_dirs.

svn path=/main/trunk/; revision=4510

18 years agoPass in the correct arg= value to select_dep.
Zac Medico [Sat, 23 Sep 2006 05:24:42 +0000 (05:24 -0000)]
Pass in the correct arg= value to select_dep.

svn path=/main/trunk/; revision=4509

18 years agoNever allow packages explicitly requested on the command line to be tagged "nomerge...
Zac Medico [Sat, 23 Sep 2006 05:13:01 +0000 (05:13 -0000)]
Never allow packages explicitly requested on the command line to be tagged "nomerge" unless --noreplace has been specified.  This patch accomplishes the same goal as r4494 but without the potential for causing inconsistency in the depgraph.

svn path=/main/trunk/; revision=4508

18 years agoEnsure that soft_dep is a plain boolean (not vardb match results).
Zac Medico [Fri, 22 Sep 2006 23:57:01 +0000 (23:57 -0000)]
Ensure that soft_dep is a plain boolean (not vardb match results).

svn path=/main/trunk/; revision=4507

18 years agoMove the open call out of the inner try block.
Zac Medico [Fri, 22 Sep 2006 22:31:33 +0000 (22:31 -0000)]
Move the open call out of the inner try block.

svn path=/main/trunk/; revision=4506

18 years agoMake it possible, once again, to use --noreplace to add a package to the world file.
Zac Medico [Fri, 22 Sep 2006 22:20:48 +0000 (22:20 -0000)]
Make it possible, once again, to use --noreplace to add a package to the world file.

svn path=/main/trunk/; revision=4505

18 years agoUse finally: to ensure that the file is closed properly.
Zac Medico [Fri, 22 Sep 2006 21:49:22 +0000 (21:49 -0000)]
Use finally: to ensure that the file is closed properly.

svn path=/main/trunk/; revision=4504

18 years agoDon't use LazyLoad for cache pulls because it causes a race condition.
Zac Medico [Fri, 22 Sep 2006 21:26:37 +0000 (21:26 -0000)]
Don't use LazyLoad for cache pulls because it causes a race condition.

svn path=/main/trunk/; revision=4503