23ea96bd5 added a patch to fix some issues caused by build system
updates; namely, it added some necessary `#include <cstdint>`s that
allowed the project to build. Swift 6.2 requires an additional include
in `FunctionRefInfo.cpp`.
Signed-off-by: Itai Ferber <itai@itaiferber.net>
The build script complains when the same option occurs multiple
times in the same preset, but merges them when they occur in separate
presets. Therefore restore the code that creates a stack of presets
with one for each subsequent argument, instead of packing them all
into a single preset.
Signed-off-by: Katalin Rebhan <me@dblsaiko.net>
Along with `/usr/$(get_libdir)/swift-${PV}`, symlink to a stable
directory in `/usr/$(get_libdir)` that matches the package SLOT so
revdeps can rely on a stable directory that doesn't change on patch
version.
Closes: https://bugs.gentoo.org/957730
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2849e1a7d removed swift-6.0.1, -6.0.1-r1, and -6.0.2, but
swift-5.10.1-r2/backtracing-noexecstack.patch was symlinked to
swift-6.0.1's version. The effective file has been moved down to
swift-5.10.1-r2 and the swift-6.x line now symlinks to this base file;
the contents have not changed.
Closes: https://bugs.gentoo.org/954338
Signed-off-by: Itai Ferber <itai@itaiferber.net>
On `pkg_postinst`, `has_version` wasn't returning the expected value in
order to symlink Swift on first install; instead, we can use `eselect
swift show` itself to be able to tell whether we're eligible to update
the symlinks.
Closes: https://bugs.gentoo.org/951175
Signed-off-by: Itai Ferber <itai@itaiferber.net>
The Swift build system takes a '-j'/'--jobs' flag, but the value from
MAKEOPTS needs to be manually exposed to it for it to be respected.
Closes: https://bugs.gentoo.org/951202
Signed-off-by: Itai Ferber <itai@itaiferber.net>
Swift is now set up to properly respect CFLAGS, CXXFLAGS, and LDFLAGS
from the environment by not overriding those values in the build system.
Swift 6 now also picks up on `SWIFT_EXTRA_BUILD_FLAGS` from the
environment and passes those to its build system as well.
Closes: https://bugs.gentoo.org/939764
Closes: https://bugs.gentoo.org/939766
Signed-off-by: Itai Ferber <itai@itaiferber.net>
Python 3.10 target is scheduled for removal in Gentoo:
https://public-inbox.gentoo.org/gentoo-dev/e6ca9f1f4ababb79ab2a3d005c39b483c3ecef6e.camel@gentoo.org/
Sphinx 8.2.0 already dropped support for CPython 3.10 and PyPy 3.10,
leading to multiple CI failures in ::guru.
We can safely remove this target, because GURU is "experimental" and
does not have stable keywords.
Let's not remove "pypy3" right now because
a) There are not many packages using it.
b) So we can see which packages supported PyPy 3.10, and test them with
PyPy 3.11.
Closes: https://github.com/gentoo/guru/pull/291
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Resolves a QA warning on Tinderbox regarding a missing RDEPEND on
app-arch/zstd. Since target systems are guaranteed to already have this
already (Portage itself depends on it unconditionally), this addition is
inconsequential and not worth adding ebuild revisions for.
Closes: https://bugs.gentoo.org/948329
Signed-off-by: Itai Ferber <itai@itaiferber.net>
Swift 6 builds with `dev-cpp/tbb` installed on systems with
>=libstdc++-11 (the minimum version currently supported by Gentoo) as
long as it's bootstrapped by swift-5.10.1-r3 or later (which has a patch
backported from Swift 6 which prevents `<execution>` from getting picked
up).
Bug: https://bugs.gentoo.org/947141
Signed-off-by: Itai Ferber <itai@itaiferber.net>
* Enables backtracing on Swift program abort
* Disables unconditional `-Werror` in swift-corelibs-libdispatch
* Adds correct dependency on Swift 5.10.1 via dev-lang/swift-bootstrap
Signed-off-by: Itai Ferber <itai@itaiferber.net>