| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Remove the redirect_alloc_fd function that is no longer used since
the removal of multijob* functions. The function is complex, has little
potential use and an equivalent functionality is built-in in newer bash
versions, making it completely unnecessary for EAPI 6.
Closes: https://github.com/gentoo/gentoo/pull/6696
|
|
|
|
|
|
| |
Remove the bashpid function that is not used anywhere after the removal
of multijob* logic. The unprefixed name can be quite confusing,
and the function itself is rather unlikely to be useful.
|
|
|
|
|
|
|
|
|
|
| |
Remove the multijob functions that were used to run bash code
in parallel. The code was very complex, fragile and unmaintained. It has
been used scarcely, and pretty much by a single developer. It gave very
little gain, usually at the cost of losing readability and violating
PMS.
Closes: https://bugs.gentoo.org/613322
|
|
|
|
|
|
| |
On Darwin, gcc emits __ppc__ or __ppc64__, not __powerpc__. Do
additionally allow the short variants to match, such that we can use the
wrapped packages on ppc-macos as well.
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/582450
Closes: https://github.com/gentoo/gentoo/pull/6713
|
| |
|
| |
|
|
|
|
| |
Acked-by: Thomas Deutschmann <whissi@gentoo.org>
|
|
|
|
|
|
|
| |
By Michael Weiser, relying on the other support that enables @rpath
entries, supported in macOS 10.5 and up.
Closes: https://bugs.gentoo.org/642668
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Make tc-getBUILD* functions respect host variables (CC & co.) when
not cross-compiling. This removes the necessity of overriding BUILD_*
along with the regular variables on the systems that are not concerned
about cross-compilation, and does not change the behavior for those
which are.
Closes: https://bugs.gentoo.org/630282
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/4526
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the eclass code to remove the misguided Linux conditionals.
The whole purpose of the eclass was to avoid having to implement
fallback logic for systems not having service manager tmpfiles.d
support. Making it conditional to Linux implied that for non-Linux
systems (Prefix, FreeBSD) we would have to implement explicit fallback
to create the necessary directories.
While systemd (and therefore systemd-tmpfilesd) is indeed
Linux-specific, the opentmpfiles implementation should be pretty
portable and there is no reason to restrict it to Linux only, or to
prevent using it on non-Linux OpenRC (and non-OpenRC) systems.
|
|
|
|
|
|
|
|
|
|
|
| |
This eclass is inherited by ebuilds in sys-devel/{gcc,kgcc64,gcc-apple},
each which make use of different IUSE flags. This causes problems with
`use X` constructions when X is not in the IUSE flags. At EAPI=4 this
simply emitted a warning, while at EAPI=5 this is an error. We update
the eclass to make use of use_if_iuse and similar constructions where
necessary to bring the eclass into compliance with EAPI=5.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
|
| |
|
|
|
|
|
|
|
| |
The php-ext-pecl-r2.eclass has no more in-tree consumers, and it was
last-rited on 2017-10-19. This commit removes it.
Closes: https://bugs.gentoo.org/642708
|
| |
|
|
|
|
|
| |
The only function needed from eutils was epatch() which has been split
off into its own eclass.
|
| |
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We explicitly disable IFUNC support on the following targets:
alpha/hppa/ia64/mips/m68k/nios2/riscv/sh
to workaround weak IFUNC detection on binutils/glibc side.
Otherwise at least on ia64 glibc generates IFUNC entries against
compat librt.so.1 symbols (to redirect them back to libc.so.6)
but linker does not produce correct relocations. As a result all
IFUNC-backed functions don't work.
Reported-by: Émeric Maschino
Bug: https://sourceware.org/PR22634
Closes: https://bugs.gentoo.org/641216
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Closes: https://bugs.gentoo.org/636986
|
| |
|
| |
|
| |
|
|
|
|
| |
This is needed for sys-process/systemd-cron.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise dlopen() crashes (found on 'top' from 'procps' package).
Original backtrace from qemu-mipsn32 (fails the same way on native host):
```
Program received signal SIGSEGV, Segmentation fault.
0x408cb908 in _dlerror_run (operate=operate@entry=0x408cadf0 <dlopen_doit>, args=args@entry=0x407feb28) at dlerror.c:163
163 result->errcode = _dl_catch_error (&result->objname, &result->errstring,
(gdb) bt
#0 0x408cb908 in _dlerror_run (operate=operate@entry=0x408cadf0 <dlopen_doit>, args=args@entry=0x407feb28) at dlerror.c:163
#1 0x408caf4c in __dlopen (file=file@entry=0x10012d58 "libnuma.so", mode=mode@entry=1) at dlopen.c:87
#2 0x1000306c in before (me=0x407ff382 "/usr/mips64-unknown-linux-gnu/usr/bin/top") at top/top.c:3308
#3 0x10001a10 in main (dont_care_argc=<optimized out>, argv=0x407ff1a4) at top/top.c:5721
```
Reported-by: Matt Turner
Bug: https://bugs.gentoo.org/640130
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
| |
This is only for making eclass-manpages happy.
Closes: https://bugs.gentoo.org/637848
|
|
|
|
| |
Closes: https://bugs.gentoo.org/639460
|
|
|
|
|
|
|
| |
gcc-6 and above no longer needs uclibc specific patches, so we don't die if
the patchset is not available. We do, however, still apply it if UCLIBC_VER
is defined in the ebuild to future proof the code in case we need to reintroduce
the patchset in the future.
|
| |
|
|
|
|
| |
Closes: https://bugs.gentoo.org/637776
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Split off functions make_desktop_entry, make_session_desktop, domenu,
newmenu, doicon, and newicon from eutils.eclass into a dedicated
desktop.eclass. These functions are independent of the rest of eutils,
therefore moving them into their own eclass will help clarifying
eclass inheritance in ebuilds.
For backwards compatibility, eutils inherits the new eclass in
existing EAPIs.
|
|
|
|
|
| |
This function is no longer used in the tree. It was deprecated more
than 8 months ago in commit 650a1ebe8f63d3750908142e2117b24a8efc9403.
|
|
|
|
| |
This is an inoperative stub since 2011, and no longer used in the tree.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce a new, more flexible override API in git-r3, in replacement
of the LIVE_* API that was pretty much a legacy of git-2. This means to
solve the two major limitations of the old API:
1. The variables were based on package names without categories.
Therefore, they weren't suitable whenever two packages had the same
category. This is quite common when dealing with various programming
language bindings/reimplementations, and we can't really rely on every
new programming language inventing its own VCS.
2. The overrides weren't suitable for packages checking out multiple
repositories (LLVM, wine, glibc).
The new mode for overrides uses the repository name (as guessed
by git-r3) transformed into correct variable name. The specifically
defined variables are:
- EGIT_OVERRIDE_REPO_${NAME} -- to override the repository URI,
- EGIT_OVERRIDE_BRANCH_${NAME} -- to override the branch,
- EGIT_OVERRIDE_COMMIT_${NAME} -- to override the commit id or tag,
- EGIT_OVERRIDE_COMMIT_DATE_${NAME} -- to request last commit older than
the specified date.
|
|
|
|
|
|
|
|
|
| |
Support limiting the git checkout to specific subdirectories of the git
tree, using 'git checkout ... -- <paths>...' The main use case for this
is doing partial checkouts of very large repositories where only a small
subset of files is necessary. Doing partial checkouts can save both
time and disk space which can be important in large intertwined
projects such as LLVM+Clang.
|
| |
|