| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
See http://bugs.python.org/issue14988
|
|
|
|
|
|
|
|
|
|
|
| |
Since binutils/gdb can compress the .debug* sections with zlib into
.zdebug*, we should be able to save quite a bit of space -- on my
system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB.
This requires binutils/gdb to be built with USE=zlib which is why
this defaults to off.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| |
|
|
|
|
|
|
|
| |
Since StringIO.StringIO fallback was removed in commit
5df96179611ce0e98727945b1800b43daccedfc2, we can rely on
io.StringIO.getoutput() to return unicode, so there's no
need to call _unicode_decode on the result.
|
|
|
|
|
|
|
|
| |
Since the io module in python-2.6 was broken when threading was
disabled, we needed to fall back from io.StringIO to StringIO.StringIO
in this case (typically just for Gentoo's stage1 and stage2 tarballs).
Now that python-2.7 is stable in stages and we rely on io.open() being
available, we can also rely on io.StringIO being available.
|
|
|
|
|
|
| |
Also, suppress this maintainer info from going to stdout since it's
intended for the log and it doesn't necessarily need to be visible
elsewhere. This will fix bug #374809.
|
|
|
|
|
|
|
| |
This will allow us to safely use the ldconfig -X option for all
ldconfig calls, an thereby avoid having ldconfig override our own
soname symlink policy which allows preserve-libs to work correctly
when libraries are downgraded as discussed in bug 373341.
|
|
|
|
| |
This will fix bug #288597.
|
| |
|
| |
|
|
|
|
| |
This will fix bug #366939.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Narrow scope of merge locks to improve performance.
Instead of locking the DB for the entire package merge, just lock it
when we actually need to do so. Also add locks around conf_mem_file
updating and pkg_* phases.
Locking in pkg_* phases can be turned off with
FEATURES="no-ebuild-locks" if you use ebuilds that are careful not
to mess with each other during theses phases. The default is to leave
this locking enabled.
Given this new locking, I've improved the scheduler to run merge jobs
in parallel.
Time required for merging 348 packages with --usepkgonly:
- Before patch: 29m50s
- After patch: 10m2s
- After patch w/o locks: 7m9s
Change-Id: I63588c4cc59fa6fe2f8327ea1e4a9e71b241d4fe
Review URL: http://gerrit.chromium.org/gerrit/498
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moving these commands from shell to Python helps avoid an unnecessary
call to misc-functions.sh for the postinst_bsdflags. This improves
performance.
BUG=none
TEST=Run emerge-x86-generic -eg --jobs=16 libchrome
Change-Id: I0c2af50b4d2f7644cabac84fde7fe4d682010c69
Review URL: http://codereview.chromium.org/6676107
|
| |
|
|
|
|
|
|
|
|
| |
In this subprocess we don't want PORTAGE_BACKGROUND to suppress
stdout/stderr output since they are pipes. We also don't want to open
PORTAGE_LOG_FILE, since it will already be opened by the parent
process, so we set the PORTAGE_BACKGROUND="subprocess" value for use
in conditional logging code involving PORTAGE_LOG_FILE.
|
|
|
|
|
| |
Display upstream maintainers and bugtrackers along with Gentoo
maintainers when emerging a package.
|
|
|
|
| |
Thanks to Christian Ruppert <idl0r@gentoo.org> for the suggestion.
|
|
|
|
| |
ebuild(1) calls the 'package' phase.
|
| |
|
|
|
|
| |
and "REPO" the the start of the build log.
|
|
|
|
|
| |
spawn_nofetch() support for doebuild() and other fetch() callers
to use.
|
|
|
|
| |
EbuildPhase.
|
|
|
|
|
| |
constructor with a single herds parameter that can be either a
path to a herds.xml, or a pre-parsed ElementTree.
|
| |
|
|
|
|
| |
so presence of color in the log file is consistent.
|
|
|
|
|
| |
and move it from ebuild.sh to EbuildPhase. This way we can easily
use python to extend it for bug #336019.
|
|
|
|
| |
EbuildPhase._env_extractor_exit().
|
| |
|
|
|
|
|
|
| |
since the code we are running reads PORTAGE_LOG_FILE, and we
want to avoid annoying "gzip: unexpected end of file" messages
when FEATURES=compress-build-logs is enabled.
|
|
|
|
|
|
|
| |
all build logs to be compressed while they are being written. Log file
names have an extension that is appropriate for the compression type.
Currently, only gzip(1) compression is supported, so build logs will
have a '.gz' extension when this feature is enabled.
|
| |
|
| |
|
|
|
|
| |
class.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
svn path=/main/trunk/; revision=15448
|
|
|
|
|
|
|
| |
register_die_hook, and also add code to ensure the die hooks are called even
when the failure is on the python side (like for file collisions).
svn path=/main/trunk/; revision=14936
|
|
|
|
|
|
| |
the log. Thanks to Diego E. Pettenò for reporting.
svn path=/main/trunk/; revision=14927
|
|
|
|
|
|
| |
up temp files on tmpfs after build failures with --keep-going.
svn path=/main/trunk/; revision=14517
|
|
|
|
| |
svn path=/main/trunk/; revision=14101
|
|
|
|
|
|
| |
(equal to sys.getfilesystemencoding()).
svn path=/main/trunk/; revision=14029
|
|
|
|
|
|
| |
_unicode_encode() and _unicode_decode() where appropriate.
svn path=/main/trunk/; revision=13993
|
|
|
|
| |
svn path=/main/trunk/; revision=13913
|
|
|
|
| |
svn path=/main/trunk/; revision=13690
|
|
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13663
|