portage.git
17 years agoMove blocker handling from depgraph.create() to select_dep().
Zac Medico [Sat, 25 Aug 2007 23:02:53 +0000 (23:02 -0000)]
Move blocker handling from depgraph.create() to select_dep().

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

17 years agoBug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.
Zac Medico [Sat, 25 Aug 2007 19:41:15 +0000 (19:41 -0000)]
Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.
Bug #190144 - Use the realpath of DISTDIR so that things like subversion.eclass are compatible with sandbox.

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

17 years agoremove $Id$ as it gives us nothing useful
Mike Frysinger [Sat, 25 Aug 2007 14:48:41 +0000 (14:48 -0000)]
remove $Id$ as it gives us nothing useful

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

17 years agoRemove pointless information from --info output
Marius Mauch [Sat, 25 Aug 2007 09:32:48 +0000 (09:32 -0000)]
Remove pointless information from --info output

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

17 years agoDon't cache results from match_from_list() since *dbapi.match() caches do the job.
Zac Medico [Fri, 24 Aug 2007 21:57:28 +0000 (21:57 -0000)]
Don't cache results from match_from_list() since *dbapi.match() caches do the job.

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

17 years agoCall config.regenerate() after config.reload() so that the incrementals are restacked.
Zac Medico [Fri, 24 Aug 2007 03:26:46 +0000 (03:26 -0000)]
Call config.regenerate() after config.reload() so that the incrementals are restacked.

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

17 years agoUse a config.reload() method to explicitly reload /etc/profile.env when setting up...
Zac Medico [Fri, 24 Aug 2007 03:15:01 +0000 (03:15 -0000)]
Use a config.reload() method to explicitly reload /etc/profile.env when setting up the ebuild environment.

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

17 years agoFix another typo.
Zac Medico [Fri, 24 Aug 2007 02:28:37 +0000 (02:28 -0000)]
Fix another typo.

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

17 years agoFix a typo.
Zac Medico [Fri, 24 Aug 2007 01:18:59 +0000 (01:18 -0000)]
Fix a typo.

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

17 years agoAdd * and ~* to the list of valid values for ACCEPT_KEYWORDS.
Zac Medico [Thu, 23 Aug 2007 20:28:37 +0000 (20:28 -0000)]
Add * and ~* to the list of valid values for ACCEPT_KEYWORDS.

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

17 years agoMake depgraph.select_dep() node reuse work when in --usepkgonly mode.
Zac Medico [Thu, 23 Aug 2007 18:29:45 +0000 (18:29 -0000)]
Make depgraph.select_dep() node reuse work when in --usepkgonly mode.

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

17 years agoBug #189791 - Define EBUILD_PHASE=unpack during the nofetch phase since otherwise...
Zac Medico [Thu, 23 Aug 2007 09:11:03 +0000 (09:11 -0000)]
Bug #189791 - Define EBUILD_PHASE=unpack during the nofetch phase since otherwise we get EBUILD_PHASE=merge which isn't in our list of valid EBUILD_PHASES recognized by elog.

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

17 years agoIn config.regenerate(), skip loading /etc/profile.env if it's mtime hasn't changed.
Zac Medico [Thu, 23 Aug 2007 08:40:53 +0000 (08:40 -0000)]
In config.regenerate(), skip loading /etc/profile.env if it's mtime hasn't changed.

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

17 years agoMake depgraph.create() avoid metadata lookups for binary packages and ebuilds in...
Zac Medico [Thu, 23 Aug 2007 08:11:14 +0000 (08:11 -0000)]
Make depgraph.create() avoid metadata lookups for binary packages and ebuilds in cases where an installed package has already been added to the graph. This greatly improves performance when the graph contains a large number of installed packages.

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

17 years agoBug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}...
Zac Medico [Thu, 23 Aug 2007 06:54:18 +0000 (06:54 -0000)]
Bug #189791 - Send errors to /dev/null when debug-print() fails to write to ${T}/eclass-debug.log.

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

17 years agoFix a typo from r7663.
Zac Medico [Thu, 23 Aug 2007 04:00:07 +0000 (04:00 -0000)]
Fix a typo from r7663.

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

17 years agoUse INFORM to colorize the package name.
Zac Medico [Wed, 22 Aug 2007 22:55:46 +0000 (22:55 -0000)]
Use INFORM to colorize the package name.

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

17 years agoPrevent output from being flushed to the console too frequently in dir_get_metadata().
Zac Medico [Wed, 22 Aug 2007 22:38:39 +0000 (22:38 -0000)]
Prevent output from being flushed to the console too frequently in dir_get_metadata().

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

17 years agoSkip --newuse checks for nodes that have already been added to the graph as "merge...
Zac Medico [Wed, 22 Aug 2007 22:09:18 +0000 (22:09 -0000)]
Skip --newuse checks for nodes that have already been added to the graph as "merge" nodes.

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

17 years agoMake depgraph.select_dep() reuse cached metadata from nodes that have already been...
Zac Medico [Wed, 22 Aug 2007 21:31:00 +0000 (21:31 -0000)]
Make depgraph.select_dep() reuse cached metadata from nodes that have already been added to the graph.

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

17 years agoFix update_dbentry() to process version components properly before passing them into...
Zac Medico [Wed, 22 Aug 2007 20:58:45 +0000 (20:58 -0000)]
Fix update_dbentry() to process version components properly before passing them into ververify().

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

17 years agoMake best() return early when it's only given one packages.
Zac Medico [Wed, 22 Aug 2007 20:40:37 +0000 (20:40 -0000)]
Make best() return early when it's only given one packages.

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

17 years agoPass complete package metadata from depgraph.select_dep() into create() in order...
Zac Medico [Wed, 22 Aug 2007 19:05:41 +0000 (19:05 -0000)]
Pass complete package metadata from depgraph.select_dep() into create() in order to minimize aux_get calls.

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

17 years agoBug #188703 - Don't adjust permissions in ${T} unless userpriv is enabled.
Zac Medico [Wed, 22 Aug 2007 15:29:47 +0000 (15:29 -0000)]
Bug #188703 - Don't adjust permissions in ${T} unless userpriv is enabled.

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

17 years agoMake --info detect more /etc/*-release files as suggested by grobian.
Zac Medico [Wed, 22 Aug 2007 04:50:54 +0000 (04:50 -0000)]
Make --info detect more /etc/*-release files as suggested by grobian.

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

17 years agoSend cache hit/miss status updates to stdout instead of stderr and add some more...
Zac Medico [Wed, 22 Aug 2007 04:21:59 +0000 (04:21 -0000)]
Send cache hit/miss status updates to stdout instead of stderr and add some more flush() calls.

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

17 years agoShow cache miss/hit counts all on one line, using \r to return to the beginning of...
Zac Medico [Wed, 22 Aug 2007 04:05:38 +0000 (04:05 -0000)]
Show cache miss/hit counts all on one line, using \r to return to the beginning of he line and rewrite it each time that a counter is updated. Thanks to Mike "Fuzzy" Partin <fuzzy@smoke.dope.org> for this patch (submitted on the gentoo-portage-dev mailing list).

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

17 years agoBug #189743 - Add .jpeg to the list of extensions supported by dohtml.
Zac Medico [Wed, 22 Aug 2007 03:39:14 +0000 (03:39 -0000)]
Bug #189743 - Add .jpeg to the list of extensions supported by dohtml.

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

17 years agoTry harder to figure out what OS we are running
Alec Warner [Tue, 21 Aug 2007 07:47:36 +0000 (07:47 -0000)]
Try harder to figure out what OS we are running

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

17 years agoJust use os.listdir() since portage.listdir() is unnecessary.
Zac Medico [Tue, 21 Aug 2007 07:36:11 +0000 (07:36 -0000)]
Just use os.listdir() since portage.listdir() is unnecessary.

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

17 years agoFix ACCEPT_KEYWORDS validation so that ** is valid.
Zac Medico [Sun, 19 Aug 2007 16:48:50 +0000 (16:48 -0000)]
Fix ACCEPT_KEYWORDS validation so that ** is valid.

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

17 years agofilter out kernel modules from ELF QA checks #184443
Mike Frysinger [Fri, 17 Aug 2007 23:30:36 +0000 (23:30 -0000)]
filter out kernel modules from ELF QA checks #184443

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

17 years agoremove "risky" message about -O2
Mike Frysinger [Fri, 17 Aug 2007 23:27:15 +0000 (23:27 -0000)]
remove "risky" message about -O2

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

17 years agoFor bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge...
Zac Medico [Fri, 17 Aug 2007 18:17:14 +0000 (18:17 -0000)]
For bug #189219, use pkgcmp() to sort versions in selected/protected/omitted unmerge display.

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

17 years agoMake etc-update copy owner and group bits when it merges config files.
Zac Medico [Thu, 16 Aug 2007 21:49:34 +0000 (21:49 -0000)]
Make etc-update copy owner and group bits when it merges config files.

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

17 years agomake -f/-F distinction clearer
Mike Frysinger [Thu, 16 Aug 2007 19:07:23 +0000 (19:07 -0000)]
make -f/-F distinction clearer

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

17 years agoFix existing_node logic inside depgraph.create().
Zac Medico [Thu, 16 Aug 2007 06:34:33 +0000 (06:34 -0000)]
Fix existing_node logic inside depgraph.create().

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

17 years agoCombine 2 locations in depgraph.create() where nodes are added to the digraph. This...
Zac Medico [Thu, 16 Aug 2007 05:53:51 +0000 (05:53 -0000)]
Combine 2 locations in depgraph.create() where nodes are added to the digraph. This ensures that dependencies on "rebuild" nodes always have their priority increased.

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

17 years agoAlways assign higher priority to dependencies on packages that are being rebuilt...
Zac Medico [Thu, 16 Aug 2007 05:00:54 +0000 (05:00 -0000)]
Always assign higher priority to dependencies on packages that are being rebuilt (except when --emptytree is enabled since all packages are merged in that case). This optimizes merge order so that dependencies are rebuilt/updated as soon as possible.

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

17 years agoAdd some floating point vercmp cases.
Zac Medico [Wed, 15 Aug 2007 22:12:27 +0000 (22:12 -0000)]
Add some floating point vercmp cases.

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

17 years agoFor bug #188807, add nocreate and delaycompress options for logrotate.
Zac Medico [Wed, 15 Aug 2007 04:37:36 +0000 (04:37 -0000)]
For bug #188807, add nocreate and delaycompress options for logrotate.

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

17 years agoFor bug #188449, since python floats have limited range, we multiply both floating...
Zac Medico [Wed, 15 Aug 2007 02:48:46 +0000 (02:48 -0000)]
For bug #188449, since python floats have limited range, we multiply both floating point representations by a constant so that they are transformed into whole numbers. This allows the practically infinite range of a python int to be exploited. The multiplication is done by padding both literal strings with zeros as necessary to ensure equal length.

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

17 years agoFor bug #188782, dependencies on packages specified as arguments are given higher...
Zac Medico [Wed, 15 Aug 2007 01:37:17 +0000 (01:37 -0000)]
For bug #188782, dependencies on packages specified as arguments are given higher priority since the currently installed version has been rendered useless by ABI breakage. It's okay to increase the priority here even if the caller is not revdep-rebuild.

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

17 years agoMake sure to skip info dir files with the .old extension.
Zac Medico [Tue, 14 Aug 2007 20:15:51 +0000 (20:15 -0000)]
Make sure to skip info dir files with the .old extension.

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

17 years agoFor bug #188782, keep "nomerge" nodes in the graph during the merge order calculation...
Zac Medico [Tue, 14 Aug 2007 06:30:09 +0000 (06:30 -0000)]
For bug #188782, keep "nomerge" nodes in the graph during the merge order calculation so that merge order is better in cases where installed packages have unsatisfied dependencies.

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

17 years ago- revert a few -O2 when they should of remained -O3 in comments
Ned Ludd [Mon, 13 Aug 2007 06:58:36 +0000 (06:58 -0000)]
- revert a few -O2 when they should of remained -O3 in comments

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

17 years ago'decent' CFLAGS should not feature -O3. Bug 188619
Ned Ludd [Sun, 12 Aug 2007 18:18:35 +0000 (18:18 -0000)]
'decent' CFLAGS should not feature -O3. Bug 188619

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

17 years agoFor bug #33585, leave the old info dir file in place if there is nothing to generate.
Zac Medico [Sun, 12 Aug 2007 15:12:43 +0000 (15:12 -0000)]
For bug #33585, leave the old info dir file in place if there is nothing to generate.

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

17 years agoFor bug #188559, invalidate dblink._contents_inodes as necessary to prevent FEATURES...
Zac Medico [Sun, 12 Aug 2007 11:43:27 +0000 (11:43 -0000)]
For bug #188559, invalidate dblink._contents_inodes as necessary to prevent FEATURES=unmerge-orphans from unmerging anything that belongs to the package that has just been merged.

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

17 years agoOptimize config.setcpv() so that it doesn't call regenerate() unnecessarily when...
Zac Medico [Sat, 11 Aug 2007 05:46:41 +0000 (05:46 -0000)]
Optimize config.setcpv() so that it doesn't call regenerate() unnecessarily when there are no USE wildcards to expand.

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

17 years agoDon't generate a QA Notice if the ${S} directory doesn't exist since it might be...
Zac Medico [Fri, 10 Aug 2007 21:02:17 +0000 (21:02 -0000)]
Don't generate a QA Notice if the ${S} directory doesn't exist since it might be irrelevant for some ebuilds.

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

17 years agoUpdate emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis...
Zac Medico [Mon, 6 Aug 2007 19:49:23 +0000 (19:49 -0000)]
Update emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar Arahesis in bug #137483.

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

17 years agoDocument FEATURES=webrsync-gpg. Thanks to Arfrever Frehtes Taifersar Arahesis in...
Zac Medico [Mon, 6 Aug 2007 19:42:43 +0000 (19:42 -0000)]
Document FEATURES=webrsync-gpg. Thanks to Arfrever Frehtes Taifersar Arahesis in bug #130039.

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

17 years agoFor bug #187795, remove pointless digest.disjointed and digest.notadded warnings...
Zac Medico [Mon, 6 Aug 2007 19:29:40 +0000 (19:29 -0000)]
For bug #187795, remove pointless digest.disjointed and digest.notadded warnings since they are always added to cvs automatically anyway.

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

17 years agoMerge rewrite by Alon Bar-Lev from bug #130039:
Zac Medico [Mon, 6 Aug 2007 04:55:12 +0000 (04:55 -0000)]
Merge rewrite by Alon Bar-Lev from bug #130039:
 - Verify gpg signature of snapshot if FEATURES="webrsync-gpg" is enabled.
 - Add a --revert=yyyymmdd option that alows a specific snapshot to be used.

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

17 years agoFix from ferringb
Alec Warner [Sun, 5 Aug 2007 21:30:50 +0000 (21:30 -0000)]
Fix from ferringb

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

17 years agoFor bug #187806, use mkstemp to create tmpservertimestampfile (instead of using PORTA...
Zac Medico [Sun, 5 Aug 2007 18:05:35 +0000 (18:05 -0000)]
For bug #187806, use mkstemp to create tmpservertimestampfile (instead of using PORTAGE_TMPDIR).

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

17 years agoUse == for comparison of portage_node since digraph.clone() makes a deepcopy of the...
Zac Medico [Sat, 4 Aug 2007 22:22:54 +0000 (22:22 -0000)]
Use == for comparison of portage_node since digraph.clone() makes a deepcopy of the nodes.

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

17 years agoMake sure that portage always has all of it's RDEPENDs installed first.
Zac Medico [Sat, 4 Aug 2007 22:01:45 +0000 (22:01 -0000)]
Make sure that portage always has all of it's RDEPENDs installed first.

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

17 years agoMove ecompressdir and ecompress --dequeue after prepall.
Zac Medico [Sat, 4 Aug 2007 21:34:35 +0000 (21:34 -0000)]
Move ecompressdir and ecompress --dequeue after prepall.

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

17 years agoCall ecompressdir and ecompress --dequeue outside of prepall since ruby.eclass overri...
Zac Medico [Sat, 4 Aug 2007 21:30:38 +0000 (21:30 -0000)]
Call ecompressdir and ecompress --dequeue outside of prepall since ruby.eclass overrides prepall.

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

17 years agoMake config updates get counted correctly for bug #187741.
Zac Medico [Sat, 4 Aug 2007 19:44:12 +0000 (19:44 -0000)]
Make config updates get counted correctly for bug #187741.

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

17 years agoRemove the depend phase from the doebuild actionmap since it's never used.
Zac Medico [Sat, 4 Aug 2007 00:12:19 +0000 (00:12 -0000)]
Remove the depend phase from the doebuild actionmap since it's never used.

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

17 years agoMake droppriv for the depend phase conditional on userpriv in FEATURES.
Zac Medico [Fri, 3 Aug 2007 22:33:30 +0000 (22:33 -0000)]
Make droppriv for the depend phase conditional on userpriv in FEATURES.

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

17 years agoGenerate a QA Notice and cd to ${WORKDIR} if the ${S} directory does not exist.
Zac Medico [Fri, 3 Aug 2007 08:41:44 +0000 (08:41 -0000)]
Generate a QA Notice and cd to ${WORKDIR} if the ${S} directory does not exist.

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

17 years agoIn portage.spawn() logging, put the read end of the pipe in O_NONBLOCK mode just...
Zac Medico [Fri, 3 Aug 2007 06:48:58 +0000 (06:48 -0000)]
In portage.spawn() logging, put the read end of the pipe in O_NONBLOCK mode just once at the beginning. This avoids unnecessary fcntl calls and removes one more opportunity to trigger EAGAIN errors on FreeBSD.

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

17 years agos/portage.eclass_cache/eclass_cache/ since eclass_cache is actually a local variable...
Zac Medico [Fri, 3 Aug 2007 00:49:15 +0000 (00:49 -0000)]
s/portage.eclass_cache/eclass_cache/ since eclass_cache is actually a local variable here.

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

17 years agoFor bug #187518, handle EISDIR thrown from mkdir when the directory already exists...
Zac Medico [Thu, 2 Aug 2007 17:19:00 +0000 (17:19 -0000)]
For bug #187518, handle EISDIR thrown from mkdir when the directory already exists on FreeBSD.

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

17 years agoFor bug #187480, fix writemsg args in portdbapi.gvisible().
Zac Medico [Thu, 2 Aug 2007 16:43:14 +0000 (16:43 -0000)]
For bug #187480, fix writemsg args in portdbapi.gvisible().

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

17 years agoLike older versions of portage, don't show the repo display if [0] is all that will...
Zac Medico [Wed, 1 Aug 2007 19:27:04 +0000 (19:27 -0000)]
Like older versions of portage, don't show the repo display if [0] is all that will be shown.

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

17 years agoFor bug #187375, handle an ImportError when portage is downgraded to a version withou...
Zac Medico [Wed, 1 Aug 2007 18:00:47 +0000 (18:00 -0000)]
For bug #187375, handle an ImportError when portage is downgraded to a version without mod_echo.

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

17 years agoHandle the ENOENT error if the world file doesn't exist.
Zac Medico [Tue, 31 Jul 2007 03:45:49 +0000 (03:45 -0000)]
Handle the ENOENT error if the world file doesn't exist.

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

17 years agoChange the numeric value of DepPriority.MIN to be equal to that of a satisfied PDEPEN...
Zac Medico [Tue, 31 Jul 2007 01:21:01 +0000 (01:21 -0000)]
Change the numeric value of DepPriority.MIN to be equal to that of a satisfied PDEPEND since there is currently nothing with lower priority.

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

17 years agoAs a workaround for bug #185305, make quickpkg break hardlinks during creation of...
Zac Medico [Mon, 30 Jul 2007 23:37:27 +0000 (23:37 -0000)]
As a workaround for bug #185305, make quickpkg break hardlinks during creation of the archive.

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

17 years agoFor bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND...
Zac Medico [Mon, 30 Jul 2007 22:51:12 +0000 (22:51 -0000)]
For bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND wildcards work correctly.

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

17 years agoMake finalize() accept a parameter once again since older versions of portage import...
Zac Medico [Mon, 30 Jul 2007 21:19:19 +0000 (21:19 -0000)]
Make finalize() accept a parameter once again since older versions of portage import elog modules from newer versions of portage when they upgrade themselves.

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

17 years agoFor bug #186960, try to create a directory for $ROOT if it doesn't exist.
Zac Medico [Mon, 30 Jul 2007 07:51:26 +0000 (07:51 -0000)]
For bug #186960, try to create a directory for $ROOT if it doesn't exist.

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

17 years agoAlways pass a dbapi instance into a setcpv call.
Zac Medico [Mon, 30 Jul 2007 06:23:17 +0000 (06:23 -0000)]
Always pass a dbapi instance into a setcpv call.

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

17 years agoFor bug #139670, update the dohtml docs to show all supported file extensions. Thank...
Zac Medico [Mon, 30 Jul 2007 02:23:34 +0000 (02:23 -0000)]
For bug #139670, update the dohtml docs to show all supported file extensions.  Thanks to Arfrever Frehtes Taifersar Arahesis for this patch.

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

17 years agoFor bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks...
Zac Medico [Mon, 30 Jul 2007 01:26:03 +0000 (01:26 -0000)]
For bug #137483, move the `emerge --help config` docs to the emerge man page. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch.

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

17 years agoUpdate USE_ORDER docs for bug #187016.
Zac Medico [Sun, 29 Jul 2007 22:09:49 +0000 (22:09 -0000)]
Update USE_ORDER docs for bug #187016.

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

17 years agoFor bug #187016, and env.d to the default USE_ORDER.
Zac Medico [Sun, 29 Jul 2007 21:42:46 +0000 (21:42 -0000)]
For bug #187016, and env.d to the default USE_ORDER.

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

17 years agoChange "output" import to portage.output.
Zac Medico [Sun, 29 Jul 2007 10:12:47 +0000 (10:12 -0000)]
Change "output" import to portage.output.

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

17 years agoFor pty logging, handle the EAGAIN error that is thrown from fcntl when the slave...
Zac Medico [Sun, 29 Jul 2007 02:09:22 +0000 (02:09 -0000)]
For pty logging, handle the EAGAIN error that is thrown from fcntl when the slave end of the pty is closed on FreeBSD.

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

17 years agoFor bug #186876, fall back it os.pipe() if pty.openpty() fails.
Zac Medico [Sat, 28 Jul 2007 22:48:24 +0000 (22:48 -0000)]
For bug #186876, fall back it os.pipe() if pty.openpty() fails.

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

17 years agoWhen the fetch phase fails inside doebuild(), create an eerror log since the mod_echo...
Zac Medico [Sat, 28 Jul 2007 04:09:50 +0000 (04:09 -0000)]
When the fetch phase fails inside doebuild(), create an eerror log since the mod_echo module might push the original message off of the top of the terminal and prevent the user from being able to see it.

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

17 years agoHandle 2 more cases where elog_process() needs to be called:
Zac Medico [Sat, 28 Jul 2007 02:52:39 +0000 (02:52 -0000)]
Handle 2 more cases where elog_process() needs to be called:
- binary install via pkgmerge() fails before reaching the merge phase (pkg_setup dies)
- doebuild() is called for the merge phase but it dies before reaching the merge phase

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

17 years agoFor bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf.
Zac Medico [Sat, 28 Jul 2007 00:07:26 +0000 (00:07 -0000)]
For bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf.

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

17 years agoFor bug #186639, note that /etc/portage/profile/ supports all of the same file types...
Zac Medico [Fri, 27 Jul 2007 23:30:52 +0000 (23:30 -0000)]
For bug #186639, note that /etc/portage/profile/ supports all of the same file types that /etc/make.profile/ does, except parent.

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

17 years agoFor bug #186639, add more clarification about the relationship between /etc/make...
Zac Medico [Fri, 27 Jul 2007 23:16:27 +0000 (23:16 -0000)]
For bug #186639, add more clarification about the relationship between /etc/make.profile/ and /etc/portage/profile/.

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

17 years agoFor bug #186480, while we transition to repository labels, avoid ? spam in the reposi...
Zac Medico [Fri, 27 Jul 2007 22:36:24 +0000 (22:36 -0000)]
For bug #186480, while we transition to repository labels, avoid ? spam in the repository display by ignoring a missing repository label for an installed package. (branches/2.1.2 r7409)

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

17 years agoFor bug #186826, always show --newuse flags that trigger reinstallation even when...
Zac Medico [Fri, 27 Jul 2007 22:02:35 +0000 (22:02 -0000)]
For bug #186826, always show --newuse flags that trigger reinstallation even when not in --verbose mode.

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

17 years agoFor --buildpkgonly, say "built" instead of "merged" in the "These are the packages...
Zac Medico [Fri, 27 Jul 2007 18:57:22 +0000 (18:57 -0000)]
For --buildpkgonly, say "built" instead of "merged" in the "These are the packages that would be <action>" message.

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

17 years agoFor bug #186610, use `find <path>` to scan for config updates since `cd <path>` could...
Zac Medico [Thu, 26 Jul 2007 21:52:14 +0000 (21:52 -0000)]
For bug #186610, use `find <path>` to scan for config updates since `cd <path>` could fail and cause the cwd to be scanned.

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

17 years agoWhen setting the size of the pty for logging, check if stdout isatty rather than...
Zac Medico [Thu, 26 Jul 2007 21:24:43 +0000 (21:24 -0000)]
When setting the size of the pty for logging, check if stdout isatty rather than stdin.

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

17 years agouse ${MAKE:-make} rather than make in einstall()
Mike Frysinger [Wed, 25 Jul 2007 15:09:04 +0000 (15:09 -0000)]
use ${MAKE:-make} rather than make in einstall()

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

17 years agoFor bug #186386, pass stdin directly to spawned processes (even when their output...
Zac Medico [Wed, 25 Jul 2007 10:39:57 +0000 (10:39 -0000)]
For bug #186386, pass stdin directly to spawned processes (even when their output goes through a pty) so that Ctrl+Z works as on would expect.)

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

17 years agoSet O_NONBLOCK just for read calls (uses fewer fcntl calls).
Zac Medico [Wed, 25 Jul 2007 08:26:13 +0000 (08:26 -0000)]
Set O_NONBLOCK just for read calls (uses fewer fcntl calls).

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

17 years agoCACHE_PATH starts with / and therefore isn't compatible with os.path.join().
Zac Medico [Wed, 25 Jul 2007 08:07:20 +0000 (08:07 -0000)]
CACHE_PATH starts with / and therefore isn't compatible with os.path.join().

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

17 years agoUse blocking mode for writes since we'd rather block than trigger a EWOULDBLOCK error.
Zac Medico [Wed, 25 Jul 2007 07:55:13 +0000 (07:55 -0000)]
Use blocking mode for writes since we'd rather block than trigger a EWOULDBLOCK error.

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