Zac Medico [Fri, 16 Jun 2006 20:13:16 +0000 (20:13 -0000)]
Import missing PermissionDenied class. Thanks to marienz for reporting (and suggesting pyflakes).
svn path=/main/trunk/; revision=3516
Zac Medico [Fri, 16 Jun 2006 06:10:28 +0000 (06:10 -0000)]
Fix checksum error messages for bug #136947. Thanks to truedfx for this patch.
svn path=/main/trunk/; revision=3515
Zac Medico [Thu, 15 Jun 2006 23:10:43 +0000 (23:10 -0000)]
Only attempt to unmerge the already-installed instance if it actually exists. This patch prevents self.settings.configdict["pkg"] from getting nuked by a call to load_infodir on a nonexistent directory. By preserving configdict["pkg"] here, the CATEGORY is available for the next doebuild call (needed to create log names correctly).
svn path=/main/trunk/; revision=3514
Zac Medico [Thu, 15 Jun 2006 16:19:54 +0000 (16:19 -0000)]
When --debug is enabled, do not raise a ValueError for unresolved dependencies. See bug #126793.
svn path=/main/trunk/; revision=3513
Alec Warner [Wed, 14 Jun 2006 12:42:31 +0000 (12:42 -0000)]
more fixes to make it sound like I didn't write it at 8:41am
svn path=/main/trunk/; revision=3512
Alec Warner [Wed, 14 Jun 2006 12:41:33 +0000 (12:41 -0000)]
idiot, use.defaults, not make.defaults
svn path=/main/trunk/; revision=3511
Alec Warner [Wed, 14 Jun 2006 12:35:46 +0000 (12:35 -0000)]
Add autouse removal to RELEASE-NOTES
svn path=/main/trunk/; revision=3510
Zac Medico [Wed, 14 Jun 2006 10:08:51 +0000 (10:08 -0000)]
Give a useful error message when a dependency has an ambiguous atom due to the category being unspecified. See bug #123677.
svn path=/main/trunk/; revision=3509
Zac Medico [Tue, 13 Jun 2006 23:30:33 +0000 (23:30 -0000)]
Source /etc/portage/bashrc after the profile.bashrcs, since user env should be over to override the profile env.
svn path=/main/trunk/; revision=3508
Alec Warner [Tue, 13 Jun 2006 20:46:25 +0000 (20:46 -0000)]
fix path to ebuild for dsd, bug # 135705
svn path=/main/trunk/; revision=3507
Zac Medico [Tue, 13 Jun 2006 19:55:03 +0000 (19:55 -0000)]
Fix generation of ebuild log file names for bug #136285.
svn path=/main/trunk/; revision=3506
Zac Medico [Tue, 13 Jun 2006 04:21:01 +0000 (04:21 -0000)]
Fix signal handling for bug #96331. Thanks to S. Caglar Onur <caglar@pardus.org.tr> for this patch.
svn path=/main/trunk/; revision=3505
Zac Medico [Tue, 13 Jun 2006 03:50:27 +0000 (03:50 -0000)]
s/i686-unknown/i686-gentoo/ for bug #136532.
svn path=/main/trunk/; revision=3504
Zac Medico [Tue, 13 Jun 2006 00:20:02 +0000 (00:20 -0000)]
Fix a typo from the last revision (octal literals begin with 0).
svn path=/main/trunk/; revision=3503
Zac Medico [Tue, 13 Jun 2006 00:06:32 +0000 (00:06 -0000)]
Toggle the setgid bit on $PORT_LOGDIR\elog\ for bug #136278.
svn path=/main/trunk/; revision=3502
Zac Medico [Mon, 12 Jun 2006 23:22:05 +0000 (23:22 -0000)]
Prevent extra newlines in elog for einfo invocations. See bug #136208.
svn path=/main/trunk/; revision=3501
Zac Medico [Mon, 12 Jun 2006 19:06:02 +0000 (19:06 -0000)]
For more simplicity, use os.rename instead of spawning MOVE_BINARY (see bug #136404).
svn path=/main/trunk/; revision=3500
Zac Medico [Mon, 12 Jun 2006 18:24:17 +0000 (18:24 -0000)]
Remove pointless closing of stdin that is done prior to metadata transfer (See bug #136404).
svn path=/main/trunk/; revision=3499
Simon Stelling [Mon, 12 Jun 2006 17:33:17 +0000 (17:33 -0000)]
removing windows-like senseless confirmation requests
svn path=/main/trunk/; revision=3498
Marius Mauch [Mon, 12 Jun 2006 15:57:22 +0000 (15:57 -0000)]
add date header for rfc2822 compliance
svn path=/main/trunk/; revision=3497
Zac Medico [Mon, 12 Jun 2006 03:51:39 +0000 (03:51 -0000)]
Replace --include-masked with an inverse --ignore-masked option for bug #85576.
svn path=/main/trunk/; revision=3496
Zac Medico [Mon, 12 Jun 2006 02:46:37 +0000 (02:46 -0000)]
Stack package.mask files in a more logical order as specified in bug #133740.
svn path=/main/trunk/; revision=3495
Zac Medico [Mon, 12 Jun 2006 00:13:46 +0000 (00:13 -0000)]
Wrap more exceptions in ensure_dirs().
svn path=/main/trunk/; revision=3494
Zac Medico [Sun, 11 Jun 2006 23:51:21 +0000 (23:51 -0000)]
Wrap more exceptions when applying permissions. Thanks to marienz for reporting.
svn path=/main/trunk/; revision=3493
Zac Medico [Sat, 10 Jun 2006 23:03:55 +0000 (23:03 -0000)]
Remove QA warning when files are installed with portage uid/gid for bug #136313.
svn path=/main/trunk/; revision=3488
Alec Warner [Sat, 10 Jun 2006 22:54:44 +0000 (22:54 -0000)]
Fix LIVEVCS.stable for -* keywords
svn path=/main/trunk/; revision=3487
Marius Mauch [Sat, 10 Jun 2006 22:50:20 +0000 (22:50 -0000)]
override sender on sendmail invocation
svn path=/main/trunk/; revision=3486
Marius Mauch [Sat, 10 Jun 2006 22:43:29 +0000 (22:43 -0000)]
add code to allow sendmail binaries to be used instead of a smtp connection for sending mails
svn path=/main/trunk/; revision=3485
Marius Mauch [Sat, 10 Jun 2006 22:38:44 +0000 (22:38 -0000)]
refactor elog mail stuff so it's reusable by other tools (like glsa-check)
svn path=/main/trunk/; revision=3484
Marius Mauch [Sat, 10 Jun 2006 21:40:40 +0000 (21:40 -0000)]
make elog mail module always set the 'From' header for rfc2822 compliance
svn path=/main/trunk/; revision=3483
Zac Medico [Sat, 10 Jun 2006 05:06:35 +0000 (05:06 -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.
svn path=/main/trunk/; revision=3482
Ned Ludd [Sat, 10 Jun 2006 00:25:42 +0000 (00:25 -0000)]
- Bug 136236 misc-functions.sh fails to always honor RESTRICT=stricter - Donnie Berkholz spyderous@gentoo.org
svn path=/main/trunk/; revision=3481
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