Zac Medico [Wed, 21 Jun 2006 04:16:29 +0000 (04:16 -0000)]
Use get() to simplify setitem logic as suggested by Brian Harring. This patch is from trunk r3546.
svn path=/main/branches/2.1/; revision=3581
Zac Medico [Wed, 21 Jun 2006 04:14:34 +0000 (04:14 -0000)]
Implement get() as part of the standard mapping interface. This patch is from trunk r3545.
svn path=/main/branches/2.1/; revision=3580
Zac Medico [Wed, 21 Jun 2006 03:53:16 +0000 (03:53 -0000)]
Make it possible to pass alternative cache implementations into the constructor as suggested by Brian Harring. This patch is from trunk r3547.
svn path=/main/branches/2.1/; revision=3579
Zac Medico [Wed, 21 Jun 2006 03:15:05 +0000 (03:15 -0000)]
Make sure that elog entries are also processed in *rm phases and that they are only processed once. This patch is from trunk r3539.
svn path=/main/branches/2.1/; revision=3576
Zac Medico [Wed, 21 Jun 2006 03:10:42 +0000 (03:10 -0000)]
Only attempt to unmerge the already-installed instance if it actually exists. This patch is from trunk r3514.
svn path=/main/branches/2.1/; revision=3575
Zac Medico [Wed, 21 Jun 2006 03:08:38 +0000 (03:08 -0000)]
Add autouse removal to RELEASE-NOTES. This patch is from trunk r3510 to r3512.
svn path=/main/branches/2.1/; revision=3574
Zac Medico [Wed, 21 Jun 2006 03:04:25 +0000 (03:04 -0000)]
Add date header for rfc2822 compliance. This patch is from trunk r3497.
svn path=/main/branches/2.1/; revision=3573
Zac Medico [Wed, 21 Jun 2006 02:59:39 +0000 (02:59 -0000)]
Fix LIVEVCS.stable for -* keywords. This patch is from trunk r3487.
svn path=/main/branches/2.1/; revision=3572
Zac Medico [Wed, 21 Jun 2006 02:56:24 +0000 (02:56 -0000)]
Fix it so that values are properly saved in the writable layer. Previously they've been discarded, leading to regen on each access (only in cases where the user has altered an ebuild in ). This patch is from svn r3544.
svn path=/main/branches/2.1/; revision=3571
Zac Medico [Wed, 21 Jun 2006 02:52:35 +0000 (02:52 -0000)]
Source /etc/portage/bashrc after the profile.bashrcs, since user env should be able to override the profile env. This patch is from trunk r3508.
svn path=/main/branches/2.1/; revision=3570
Zac Medico [Wed, 21 Jun 2006 02:50:07 +0000 (02:50 -0000)]
Log parallel-fetch output to /var/log/emerge-fetch.log just in case it's needed (see bug #137105). This patch is from trunk r3525 and r3526.
svn path=/main/branches/2.1/; revision=3569
Zac Medico [Wed, 21 Jun 2006 02:42:00 +0000 (02:42 -0000)]
To prevent infinite recursion when a lock file has more than 1 hardlink, test for exactly 0 hardlinks before recursing. Also use wantnewlockfile=1 on /var/lib/portage/config (see bug #137269). This patch is from svn r3540 and r3543.
svn path=/main/branches/2.1/; revision=3568
Zac Medico [Wed, 21 Jun 2006 02:31:46 +0000 (02:31 -0000)]
Save timestamp.chk even when metadata-transfer is disabled for bug #137177. This patch is from trunk r3537.
svn path=/main/branches/2.1/; revision=3567
Zac Medico [Wed, 21 Jun 2006 02:29:43 +0000 (02:29 -0000)]
Force digest generation when assume-digests is enabled but the file size does not match. See bug #137032. This patch is from trunk r3517.
svn path=/main/branches/2.1/; revision=3566
Zac Medico [Wed, 21 Jun 2006 02:25:33 +0000 (02:25 -0000)]
Fix checksum error messages for bug #136947. Thanks to truedfx for this patch which is also in trunk r3515.
svn path=/main/branches/2.1/; revision=3565
Zac Medico [Wed, 21 Jun 2006 02:18:57 +0000 (02:18 -0000)]
Various man/emerge.1 fixes from Benno Schulenberg in bug #136818. This patch is from trunk r3518 throughr3523.
svn path=/main/branches/2.1/; revision=3564
Zac Medico [Wed, 21 Jun 2006 02:15:14 +0000 (02:15 -0000)]
Fix path to ebuild for dsd, bug # 135705. This patch is from trunk r3507.
svn path=/main/branches/2.1/; revision=3563
Zac Medico [Wed, 21 Jun 2006 02:13:47 +0000 (02:13 -0000)]
s/i686-unknown/i686-gentoo/ for bug #136532. This patch is from trunk r3504.
svn path=/main/branches/2.1/; revision=3562
Zac Medico [Wed, 21 Jun 2006 02:11:35 +0000 (02:11 -0000)]
Remove pointless closing of stdin that is done prior to metadata transfer and use os.rename instead of spawning MOVE_BINARY (see bug #136404). This patch is from trunk r3499 and r3500.
svn path=/main/branches/2.1/; revision=3561
Zac Medico [Wed, 21 Jun 2006 02:06:59 +0000 (02:06 -0000)]
Remove QA warning when files are installed with portage uid/gid for bug #136313. This patch is from trunk r3488.
svn path=/main/branches/2.1/; revision=3560
Zac Medico [Wed, 21 Jun 2006 02:04:19 +0000 (02:04 -0000)]
Toggle the setgid bit on $PORT_LOGDIR\elog\ for bug #136278. This patch is from trunk r3502:3503.
svn path=/main/branches/2.1/; revision=3559
Zac Medico [Wed, 21 Jun 2006 02:00:00 +0000 (02:00 -0000)]
Bug 136236 misc-functions.sh fails to always honor RESTRICT=stricter - Donnie Berkholz spyderous@gentoo.org (patch from trunk r3481)
svn path=/main/branches/2.1/; revision=3558
Zac Medico [Wed, 21 Jun 2006 01:57:37 +0000 (01:57 -0000)]
Prevent extra newlines in elog for einfo invocations. See bug #136208. This patch is from trunk r3501.
svn path=/main/branches/2.1/; revision=3557
Zac Medico [Wed, 21 Jun 2006 01:53:25 +0000 (01:53 -0000)]
Do not unmerge fifo files because, since their mtime is not stored in CONTENTS, we can't be sure if they belong to another package unless we search through all CONTENTS for all installed packages. See bug #136199. This patch is from trunk r3482.
svn path=/main/branches/2.1/; revision=3556
Zac Medico [Wed, 21 Jun 2006 01:51:08 +0000 (01:51 -0000)]
Stack package.mask files in a more logical order as specified in bug #133740. This patch is from trunk r3495 and r3527.
svn path=/main/branches/2.1/; revision=3555
Zac Medico [Wed, 21 Jun 2006 01:41:45 +0000 (01:41 -0000)]
When --debug is enabled, do not raise a ValueError for unresolved dependencies. See bug #126793. This patch is from trunk r3513.
svn path=/main/branches/2.1/; revision=3554
Zac Medico [Wed, 21 Jun 2006 01:40:11 +0000 (01:40 -0000)]
Give a useful error message when a dependency has an ambiguous atom due to the category being unspecified. See bug #123677. This patch is from trunk r3509.
svn path=/main/branches/2.1/; revision=3553
Zac Medico [Wed, 21 Jun 2006 01:31:54 +0000 (01:31 -0000)]
Make elog mail module always set the 'From' header for rfc2822 compliance. This patch is from trunk r3483.
svn path=/main/branches/2.1/; revision=3552
Zac Medico [Wed, 21 Jun 2006 01:24:08 +0000 (01:24 -0000)]
Fix signal handling for bug #96331. Thanks to S. Caglar Onur <caglar@pardus.org.tr> for this patch which is also in trunk r3505.
svn path=/main/branches/2.1/; revision=3551
Zac Medico [Wed, 21 Jun 2006 01:21:01 +0000 (01:21 -0000)]
Replace --include-masked with an inverse --ignore-masked option for bug #85576. This patch is from trunk r3496.
svn path=/main/branches/2.1/; revision=3550
Zac Medico [Wed, 21 Jun 2006 01:17:51 +0000 (01:17 -0000)]
By popular demand (including releng), revert the unmerge behavior change from bug #118515 (r3186). This patch is from trunk r3548.
svn path=/main/branches/2.1/; revision=3549
Zac Medico [Fri, 9 Jun 2006 09:06:36 +0000 (09:06 -0000)]
I meant to ignore an IndexError here, in case mysettings["PORTDIR_OVERLAY"] becomes corrupted and the split has an unexpected number of elements for some reason.
svn path=/main/trunk/; revision=3476
Zac Medico [Thu, 8 Jun 2006 22:10:20 +0000 (22:10 -0000)]
Use ${BASH_SOURCE[0]} instead of $_ because the former is more dependable for preventing endless exec loops (see bug #135470). Testing shows that this corrects the problem for the libtool ebuild when sed is used to generate ltmain.shT.
svn path=/main/trunk/; revision=3475
Zac Medico [Thu, 8 Jun 2006 16:56:19 +0000 (16:56 -0000)]
Break out of the loop asap.
svn path=/main/trunk/; revision=3474
Zac Medico [Thu, 8 Jun 2006 16:15:09 +0000 (16:15 -0000)]
When an ebuild from overlay fails, display a message indicating which overlay it came from (bug #136031). Thanks to genstef for the initial patch.
svn path=/main/trunk/; revision=3473
Zac Medico [Thu, 8 Jun 2006 15:15:27 +0000 (15:15 -0000)]
Add some documentation for /etc/make.profile/profile.bashrc.
svn path=/main/trunk/; revision=3472
Zac Medico [Thu, 8 Jun 2006 13:57:03 +0000 (13:57 -0000)]
Delete incomplete resume data before exiting due to blockers. This prevents a 'mergelist' KeyError from occurring if the user attempts to run `emerge --resume` immediately afterwards. Thanks to axxo for reporting.
svn path=/main/trunk/; revision=3471
Zac Medico [Thu, 8 Jun 2006 13:26:55 +0000 (13:26 -0000)]
Move hard coding of /etc/env.d in CONFIG_PROTECT_MASK from portage.config.__getitem__() to make.globals. Thanks to pauldv for reporting.
svn path=/main/trunk/; revision=3470
Zac Medico [Thu, 8 Jun 2006 12:25:41 +0000 (12:25 -0000)]
Revert r3468 because this type of functionality belongs in profile.bashrc or an eclass.
svn path=/main/trunk/; revision=3469
Mike Frysinger [Wed, 7 Jun 2006 13:20:42 +0000 (13:20 -0000)]
support for FEATURES=debug-build
svn path=/main/trunk/; revision=3468
Zac Medico [Wed, 7 Jun 2006 12:49:22 +0000 (12:49 -0000)]
Call the bogus lchown() once so that the warning is seen asap.
svn path=/main/trunk/; revision=3467
Zac Medico [Wed, 7 Jun 2006 12:39:52 +0000 (12:39 -0000)]
If lchown is unavailable for some unexpected reason, make all lchown calls print a warning message (bug #135398).
svn path=/main/trunk/; revision=3466
Zac Medico [Wed, 7 Jun 2006 11:53:30 +0000 (11:53 -0000)]
Also bump the counter for the "merge" phase since it calls spawnebuild (bug #135856).
svn path=/main/trunk/; revision=3465
Zac Medico [Wed, 7 Jun 2006 10:32:28 +0000 (10:32 -0000)]
Make sure that each new build attempt gets it's own unique log file for bug #135856.
svn path=/main/trunk/; revision=3464
Zac Medico [Tue, 6 Jun 2006 04:10:33 +0000 (04:10 -0000)]
Fix getgccversion() logic so that it works properly with eselect compiler for bug #108393. Thanks to eradicator for help with this patch.
svn path=/main/trunk/; revision=3463
Zac Medico [Mon, 5 Jun 2006 17:16:29 +0000 (17:16 -0000)]
Store the original suid bits when suidctl is enabled for bug #135639. Thanks to splite-gentoo@sigint.cs.purdue.edu for this patch.
svn path=/main/trunk/; revision=3462
Zac Medico [Mon, 5 Jun 2006 07:59:31 +0000 (07:59 -0000)]
Put LIVEVCS.stable in qawarnings for now since it's new and hasn't been thoroughly discussed.
svn path=/main/trunk/; revision=3461
Zac Medico [Mon, 5 Jun 2006 07:43:43 +0000 (07:43 -0000)]
Add python 2.3 compatibility code for the set builtin.
svn path=/main/trunk/; revision=3460
Zac Medico [Mon, 5 Jun 2006 05:51:58 +0000 (05:51 -0000)]
Fix getgccversion() logic for bug #108393. Thanks to eradicator for suggesting this logic.
svn path=/main/trunk/; revision=3459
Alec Warner [Sun, 4 Jun 2006 19:49:17 +0000 (19:49 -0000)]
add LIVEVCS.stable to man repoman
svn path=/main/trunk/; revision=3458
Alec Warner [Sun, 4 Jun 2006 19:48:39 +0000 (19:48 -0000)]
Add live VCS check to repoman, fix misspelling
svn path=/main/trunk/; revision=3457
Zac Medico [Sun, 4 Jun 2006 15:33:21 +0000 (15:33 -0000)]
When generating digests, print a digest.assumed QA warning if necessary in order to prevent confusion. Thanks to jakub for suggesting this.
svn path=/main/trunk/; revision=3456
Zac Medico [Sun, 4 Jun 2006 03:42:40 +0000 (03:42 -0000)]
Raise a ParseError if the profile has a parent file containing a nonexistant parent.
svn path=/main/trunk/; revision=3455
Zac Medico [Sun, 4 Jun 2006 03:29:01 +0000 (03:29 -0000)]
Raise a ParseError if the profile has a parent file containing anything other than 1 parent.
svn path=/main/trunk/; revision=3454
Zac Medico [Sun, 4 Jun 2006 03:13:16 +0000 (03:13 -0000)]
Revert lazy loading of autouse because it is both broken and useless.
svn path=/main/trunk/; revision=3453
Zac Medico [Sun, 4 Jun 2006 00:30:25 +0000 (00:30 -0000)]
Escape the shell parameter expansions in the PORTAGE_ELOG_COMMAND example for bug #135429.
svn path=/main/trunk/; revision=3452
Zac Medico [Sun, 4 Jun 2006 00:09:27 +0000 (00:09 -0000)]
Restore the old behavior of performing global updates when portage is reloaded after `emerge --sync` for bug #135446.
svn path=/main/trunk/; revision=3451
Zac Medico [Sat, 3 Jun 2006 19:21:16 +0000 (19:21 -0000)]
Fix emerge's overlay display so that it works properly with overlay paths that contain symlinks. This is necessary due to pordbapi's internal use of cannonical paths. Thanks to kevquinn for reporting.
svn path=/main/trunk/; revision=3450
Zac Medico [Fri, 2 Jun 2006 19:08:59 +0000 (19:08 -0000)]
In portageq, catch a KeyError and print a message to stderr. If the KeyError is raised, portageq prints a help message which leads to bug #135278.
svn path=/main/trunk/; revision=3449
Zac Medico [Fri, 2 Jun 2006 09:32:26 +0000 (09:32 -0000)]
Update make.conf.example for x86-fbsd with patch from Flameeyes for bug #135241.
svn path=/main/trunk/; revision=3448
Zac Medico [Thu, 1 Jun 2006 13:46:57 +0000 (13:46 -0000)]
Fix unpack so that it works with 7z archives for bug #135134. Thanks to Paul Bredbury <brebs@sent.com> for the initial patch.
svn path=/main/trunk/; revision=3447
Zac Medico [Thu, 1 Jun 2006 11:15:02 +0000 (11:15 -0000)]
Wrap at 80 columns for bug #135132.
svn path=/main/trunk/; revision=3446
Zac Medico [Thu, 1 Jun 2006 07:59:03 +0000 (07:59 -0000)]
Fix --buildpkgonly so that the "clean" phase is run afterwards. In other cases, "clean" is triggered automatically after the package is merged.
svn path=/main/trunk/; revision=3445
Zac Medico [Thu, 1 Jun 2006 06:52:28 +0000 (06:52 -0000)]
Document RESTRICT="confcache" and add a reference econf in the FEATURES="confcache" docs.
svn path=/main/trunk/; revision=3444
Alec Warner [Thu, 1 Jun 2006 01:40:30 +0000 (01:40 -0000)]
Fix quoting for bug 109739
svn path=/main/trunk/; revision=3443
Zac Medico [Tue, 30 May 2006 09:10:18 +0000 (09:10 -0000)]
Use python to lookup the user and group corresponding to PORTAGE_INST_UID and PORTAGE_INST_GID since tarsync doesn't support numeric arguments for the user and group. See bug #134885.
svn path=/main/trunk/; revision=3442
Zac Medico [Tue, 30 May 2006 08:23:16 +0000 (08:23 -0000)]
Add some helpful troubleshooting tips to the depclean warning message.
svn path=/main/trunk/; revision=3441
Zac Medico [Tue, 30 May 2006 03:52:27 +0000 (03:52 -0000)]
Fix prepstrip so that it properly distiguishes between stripped and unstripped binaries for bug #133420. Thanks to robbat2 for this patch.
svn path=/main/trunk/; revision=3440
Simon Stelling [Mon, 29 May 2006 19:00:04 +0000 (19:00 -0000)]
everybody hates repoman failing on modular X, so make it a warning
svn path=/main/trunk/; revision=3439
Zac Medico [Mon, 29 May 2006 11:45:55 +0000 (11:45 -0000)]
Use the well know selinux_aux functions for bug #134743.
svn path=/main/trunk/; revision=3438
Zac Medico [Sun, 28 May 2006 23:27:35 +0000 (23:27 -0000)]
Revert patch for r3426 for bug 134466 and add warnings to docs.
svn path=/main/trunk/; revision=3437
Zac Medico [Sun, 28 May 2006 22:32:20 +0000 (22:32 -0000)]
Update the default USE_ORDER setting in the man page. Thanks to jakub for reporting.
svn path=/main/trunk/; revision=3436
Zac Medico [Sun, 28 May 2006 06:37:39 +0000 (06:37 -0000)]
Update FEATURES docs for 'assume-digests' and 'digest'. Thanks to robbat2 for reporting.
svn path=/main/trunk/; revision=3434
Zac Medico [Sat, 27 May 2006 21:03:22 +0000 (21:03 -0000)]
Ignore ENOENT errors that are expected to occur in portage.fetch().
svn path=/main/trunk/; revision=3433
Zac Medico [Sat, 27 May 2006 04:53:11 +0000 (04:53 -0000)]
Remove dependence on a patched version of libselinux for bug #122517.
svn path=/main/trunk/; revision=3430
Zac Medico [Sat, 27 May 2006 03:40:25 +0000 (03:40 -0000)]
Add noiselevel=-1 to writemsg calls in portage_util.py for errors that shouldn't happen so that messages are printed even when --quiet is used.
svn path=/main/trunk/; revision=3429
Zac Medico [Sat, 27 May 2006 03:27:04 +0000 (03:27 -0000)]
Add noiselevel=-1 to writemsg calls in portage.py for errors that shouldn't happen so that messages are printed even when --quiet is used.
svn path=/main/trunk/; revision=3428
Zac Medico [Sat, 27 May 2006 02:24:42 +0000 (02:24 -0000)]
Add noiselevel=-1 to writemsg calls for fatal emerge errors so that important errors are printed even when --quiet is used.
svn path=/main/trunk/; revision=3427
Zac Medico [Sat, 27 May 2006 02:11:52 +0000 (02:11 -0000)]
Fix emerge's userquery() so that it rejects empty responses when the enter key is pressed for bug #134466.
svn path=/main/trunk/; revision=3426
Zac Medico [Sat, 27 May 2006 01:52:29 +0000 (01:52 -0000)]
Add noiselevel=-1 to writemsg calls for legitimate errors in merge and unmerge phases so that important errors are printed even when --quiet is used.
svn path=/main/trunk/; revision=3425
Zac Medico [Sat, 27 May 2006 01:45:00 +0000 (01:45 -0000)]
Add noiselevel=-1 to writemsg calls for legitimate errors in portage.digestcheck() so that important errors are printed even when --quiet is used.
svn path=/main/trunk/; revision=3424
Zac Medico [Sat, 27 May 2006 01:38:36 +0000 (01:38 -0000)]
Add noiselevel=-1 to writemsg calls for legitimate errors in doebuild so that important errors are printed even when --quiet is used.
svn path=/main/trunk/; revision=3423
Zac Medico [Sat, 27 May 2006 01:05:14 +0000 (01:05 -0000)]
Make sure that fetch errors are reported even when --quiet is being used.
svn path=/main/trunk/; revision=3422
Zac Medico [Sat, 27 May 2006 00:59:31 +0000 (00:59 -0000)]
Only print a warning if absolutely necessary when adjusting distfiles permissions for bug #112612.
svn path=/main/trunk/; revision=3421
Zac Medico [Sat, 27 May 2006 00:09:31 +0000 (00:09 -0000)]
For availability in all stages, use rsync instead of cpio for bug #124638.
svn path=/main/trunk/; revision=3420
Zac Medico [Fri, 26 May 2006 22:38:52 +0000 (22:38 -0000)]
For portability, use cpio instead of `cp --parents` for bug #124638.
svn path=/main/trunk/; revision=3419
Zac Medico [Fri, 26 May 2006 04:08:50 +0000 (04:08 -0000)]
Add some additional error handling for OperationNotPermitted and ReadOnlyFileSystem exceptions (bug #112612).
svn path=/main/trunk/; revision=3418
Zac Medico [Fri, 26 May 2006 03:38:57 +0000 (03:38 -0000)]
Fix the last revision so it also works for files copied from local fsmirrors.
svn path=/main/trunk/; revision=3417
Zac Medico [Fri, 26 May 2006 03:27:41 +0000 (03:27 -0000)]
If necessary, apply appropriate permissions to previously fetched files for bug #112612.
svn path=/main/trunk/; revision=3416
Zac Medico [Fri, 26 May 2006 01:59:13 +0000 (01:59 -0000)]
Reset DISTDIR to it's original value before returning from doebuild() in order to prevent unexpected values for DISTDIR later on.
svn path=/main/trunk/; revision=3415
Zac Medico [Thu, 25 May 2006 22:34:13 +0000 (22:34 -0000)]
Fix CATEGORY spelling for bug #134362.
svn path=/main/trunk/; revision=3414
Alec Warner [Thu, 25 May 2006 13:30:45 +0000 (13:30 -0000)]
update the wget examples in make.conf
svn path=/main/trunk/; revision=3413
Alec Warner [Thu, 25 May 2006 13:09:58 +0000 (13:09 -0000)]
set a timeout on wget to 60 seconds to fix bug 101196; the old timeout was 15 minutes :/
svn path=/main/trunk/; revision=3412
Zac Medico [Wed, 24 May 2006 22:34:55 +0000 (22:34 -0000)]
Add some documentation for RESTRICT="binchecks" (bug #133804).
svn path=/main/trunk/; revision=3411
Ned Ludd [Wed, 24 May 2006 16:11:57 +0000 (16:11 -0000)]
- More updates from Kevin Q bug 131779 ; document the stricter feature along with the QA_* handling
svn path=/main/trunk/; revision=3410
Ned Ludd [Wed, 24 May 2006 10:42:24 +0000 (10:42 -0000)]
- final commit hopefully for QA_TEXTRELS etc.
svn path=/main/trunk/; revision=3409
Zac Medico [Wed, 24 May 2006 08:12:48 +0000 (08:12 -0000)]
When /usr/lib/distcc/bin does not exist, only add a maximum of one distcc to CC and CXX for bug #84150.
svn path=/main/trunk/; revision=3408
Zac Medico [Tue, 23 May 2006 22:20:19 +0000 (22:20 -0000)]
Fix repoman so that it works when the portage tree structure contains symlinks for bug #109961.
svn path=/main/trunk/; revision=3405
Zac Medico [Tue, 23 May 2006 18:27:17 +0000 (18:27 -0000)]
Add kernel to the default USE_EXPAND_HIDDEN. Thanks to Flameeyes for reporting.
svn path=/main/trunk/; revision=3404
Alec Warner [Tue, 23 May 2006 17:51:57 +0000 (17:51 -0000)]
Fix prepstrip to work with restrict, thanks to flameeyes and bug 134135
svn path=/main/trunk/; revision=3403