| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
If EGO_VENDOR is tested in global scope, it needs to be set before the
eclass is inherited. Several ebuilds do not do this, so we need to
perform this test and set -mod=vendor in the appropriate phase function.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
|
| |
This allows cross-compiling comilers with a much smaller dependency set.
Bug: https://bugs.gentoo.org/700898
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
needs_exe_wrapper tells meson whether the build machine is able to
directly execute the binaries it produces or whether it needs an exe
wrapper (like QEMU). For non-native ABI builds like building 32-bit
libraries on an x86-64 system, we want this set to false to communicate
to meson that the build machine can run the binaries directly.
Reviewed-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The go.sum behavior in this eclass triggers a false positive from
pkgcheck, specifically:
MissingUnpackerDep: version ...: missing BDEPEND="app-arch/unzip"
The eclass & package do NOT invoke any direct unpacking of the zipfiles,
and leave that entirely to Go's builtin code, making app-arch/unzip
completely unneeded.
Adding packages using the new eclass functionality will spam the above
MissingUnpackerDep warning, so workaround it for now, until pkgcheck/QA
can not give the false positive.
Reference: https://github.com/pkgcore/pkgcheck/issues/214
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Mike noticed that CFLAGS without any optimization options
still effectively are -O0. Let's follow glibc ebuild here
and always use -O2.
Suggested-by: Mike Gilbert
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
| |
This is not valid in go 1.14, and according to their release notes was
ignored or caused the build to fail.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In bug #701786 'strip-flags' removed all unsafe options
first including -O3 and only then mangled -O? to -O2.
This effectively made gcc to compalie wth -O0, generated
huge slow profile and confused LTO.
Let's default to safer -O3->-O2 transition.
Reported-by: jeff.lemos.a@gmail.com
Closes: https://bugs.gentoo.org/701786
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
| |
All the share-related issues should have been fixed by the PyPy patch
by now, and since PyPy target is not stable, there is really no need
to be very graceful here.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
Stop requiring ebuilds to call distutils-r1_python_install_all default
function. It just calls einstalldocs these days, and it is unlikely
that more magic will ever be added there.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
The EGO_SUM variable replaces EGO_VENDOR for go modules.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
| |
gcc-10 added support for zstd compression algorithm for LTO
streaming.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
| |
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Closes: https://bugs.gentoo.org/710952
Closes: https://bugs.gentoo.org/710972
Closes: https://bugs.gentoo.org/711048
Closes: https://bugs.gentoo.org/710880
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Allow using '-1' to specify 'next free GID' for enewgroup. While
technically this can already be specified by omitting gid, allowing -1
improves consistency with enewuser.
Closes: https://bugs.gentoo.org/707508
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
|
| |
Replace 'einfo' calls with either 'elog' or 'ewarn'. Practically all
messages printed by the eclass functions are important, in particular
regarding account changes and lack of permissions.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
| |
Change live branch from gcc-<N>-branch to releases/gcc-<N>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: Brian Evans <grknight@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
|
|
|
|
|
|
|
| |
removed eapi=4 support
removed unneeded vdr vdr versions test
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
|
|
|
|
|
|
|
|
| |
The current test for the return status of declare -p will be true
if DOCS is declared but otherwise has a void value. Test for presence
of an = sign in the output instead.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
Remove all @ROFF tokens, because they make conversion to any format
other than a man page very difficult. Replace the numbered list by
explicitly numbered paragraphs.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Replace all @ROFF tokens by @SUBSECTION, because the former makes
conversion to any format other than a man page very difficult.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Replace all @ROFF tokens by @SUBSECTION, because the former makes
conversion to any format other than a man page very difficult.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
Gentoo Prefix runs with a normal user and cannot manage any other user.
Exit gracefully with a message.
Closes: https://bugs.gentoo.org/709570
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
|
|
|
|
| |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
| |
Forgot comment noting EAPI7 support
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
|
|
|
|
|
|
| |
Minor change to allow EAPI7.
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/705250
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This reverts 'dosym' part of
"toolchain.eclass: Prepend/strip EPREFIX"
patch. portage-2.3.85 and above contains
"dosym: revert deprecated prefix compat (bug 615594)"
patch. That effectively breaks gcc's /usr/bin/ symlinks.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As decided by the council in its 2020-02-09 meeting, ebuilds and
eclasses in the Gentoo repository must be licensed under GPL-2.
Note that stripping out the "or later" clause is possible without
asking authors for their permission:
https://www.gnu.org/licenses/gpl-faq.en.html#AllCompatibility
Restore the original start year 2007, which is also the year when
the eclass was first committed.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/14646
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
| |
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
gensub() is a GNUism and doesn't exist in all awk variants. Use a loop
instead.
Tested with gawk, nawk, mawk, and busybox awk.
Closes: https://bugs.gentoo.org/709322
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|