| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This fixes permission issues with category subdirectories created for
FEATURES=split-elog.
|
|
|
|
|
| |
The gid of PORT_LOGDIR is copied to all subdirectories, along with
0x2070 mode bits if present.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
If there is insufficient permission to use PORT_LOGDIR or the required
subdirectory, warn instead of raising an exception. Also, fall back to
using $T/build.log as a last resort.
|
|
|
|
|
|
| |
Due to a quirk in python import behavior, this only failed
nondeterministically. However, the new preinst sanity test in the
portage-9999 ebuild tends to trigger it more often for some people.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The io.open() function is the same as the built-in open() function in
python3, and its implementation is optimized in python-2.7 and later.
In addition to the possible performance improvement, this also allows
us to avoid any future compatibility issues with codecs.open() that
may arise if it is delegated to the built-in open() function as
discussed in PEP 400.
The main caveat involved with io.open() is that TextIOWrapper.write()
raises TypeError if given raw bytes, unlike the streams returned from
codecs.open(). This is mainly an issue for python2 since literal
strings are raw bytes. We handle this by wrapping TextIOWrapper.write()
arguments with our _unicode_decode() function. Also, the
atomic_ofstream class overrides the write() method in python2 so that
it performs automatic coercion to unicode when necessary.
|
| |
|
| |
|
|
|
|
|
| |
This should make it easier to debug cases like bug 374423,
among others.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The flags from REQUIRED_USE were added to affecting_use, which was not
really necessary and was a bad idea because a number of flags in
affecting_use affects our number of loops exponentially. This will fix
bug #374397 in which the large number of flags in the REQUIRED_USE of
dev-lang/php-5.3.6-r1 triggered execution of 2 ^ 45 loops.
|
|
|
|
|
|
| |
Special handling for missing IUSE that was introduced in commit
9a193d42032005396800eb30e550691513529c79 is also useful in one
more spot.
|
|
|
|
|
| |
This might help in some cases like bug 374397 where we're
troubleshooting the circular_dependency code.
|
|
|
|
|
| |
Python's cartesian product function does exactly what we want, so use
it to simplify our code.
|
| |
|
|
|
|
| |
This happens if there is an orphan entry in repos.conf.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This was only needed for ancient versions of python built with
USE=build since the ebuilds used to remove the encodings module in
that case. Since the StreamWriter and StreamReader classes may be
deprecated in the near future, now would be a good time to stop
using them.
|
| |
|
| |
|
|
|
|
| |
Also, update the man page.
|
|
|
|
|
|
|
| |
The feature is as it sounds- primarily useful for temporary
trees or instances where manifests aren't used.
Signed-off-by: Brian Harring <ferringb@gmail.com>
|
| |
|
| |
|
|
|
|
| |
This fixes a regression reported in bug 365033, comment #14.
|
|
|
|
|
| |
This avoids calling the LinkageMapELF.isMasterLink() method, since the
only symlinks that are strictly required are the soname symlinks.
|
|
|
|
|
| |
The code which checks the soname symlink was missing a join with
$ROOT.
|
|
|
|
|
|
| |
Here it referred to an soname symlink as a "master" link, which was
inconsistent with the meaning of "master" link used in the
isMasterLink() method.
|
|
|
|
|
| |
The version component of the libproc-3.2.8.so soname is formed
slightly differently than most other libraries.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Comparing the lengths of the names alone seems like too much of an
assumption, so literally compare the beginning of the soname to the
basename of the given file.
|
| |
|
| |
|
|
|
|
|
| |
This prevents false positives for private libraries installed by
pre-built packages under /opt.
|
| |
|
| |
|
|
|
|
|
| |
There's no point in preserving the "master" symlink, since the soname
symlink is all that's strictly required.
|
|
|
|
|
|
| |
We install .so symlinks with packages, so let's use that instead of
letting ldconfig update them for no reason. This should fix problems
with preserved-libs.
|
|
|
|
|
|
|
| |
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.
|