diff --git a/sdk_container/src/third_party/portage-stable/changelog/security/2022-10-19-weekly-package-updates.md b/sdk_container/src/third_party/portage-stable/changelog/security/2022-10-19-weekly-package-updates.md
new file mode 100644
index 0000000000..a2afefc641
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/changelog/security/2022-10-19-weekly-package-updates.md
@@ -0,0 +1 @@
+- libxml2 ([CVE-2022-40303](https://nvd.nist.gov/vuln/detail/CVE-2022-40303), [CVE-2022-40304](https://nvd.nist.gov/vuln/detail/CVE-2022-40304))
diff --git a/sdk_container/src/third_party/portage-stable/changelog/updates/2022-10-19-weekly-package-updates.md b/sdk_container/src/third_party/portage-stable/changelog/updates/2022-10-19-weekly-package-updates.md
new file mode 100644
index 0000000000..890b189978
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/changelog/updates/2022-10-19-weekly-package-updates.md
@@ -0,0 +1,3 @@
+- libxml2 ([2.10.3](https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3))
+- nmap ([7.93](https://nmap.org/changelog.html#7.93))
+- zlib ([1.2.13](https://github.com/madler/zlib/releases/tag/v1.2.13))
diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/perl/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-lang/perl/metadata.xml
index d72260120d..c36cc7ac87 100644
--- a/sdk_container/src/third_party/portage-stable/dev-lang/perl/metadata.xml
+++ b/sdk_container/src/third_party/portage-stable/dev-lang/perl/metadata.xml
@@ -10,6 +10,7 @@
Enable 128bit floating point arithmetic via libquadmath
+ cpe:/a:perl:perl
Perl/perl5
arsv/perl-cross
diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.74.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.74.0-r1.ebuild
index 9c91688a8c..505345d239 100644
--- a/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.74.0-r1.ebuild
+++ b/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.74.0-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="LGPL-2.1+"
SLOT="2"
IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test utils xattr"
RESTRICT="!test? ( test )"
-REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.74.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.74.0.ebuild
deleted file mode 100644
index 2afacc7da2..0000000000
--- a/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.74.0.ebuild
+++ /dev/null
@@ -1,288 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_REQ_USE="xml(+)"
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib python-any-r1 toolchain-funcs xdg
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="https://www.gtk.org/"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test utils xattr"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-# * elfutils (via libelf) does not build on Windows. gresources are not embedded
-# within ELF binaries on that platform anyway and inspecting ELF binaries from
-# other platforms is not that useful so exclude the dependency in this case.
-# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
-# these are used by GIO, which glib[static-libs] consumers don't really seem
-# to need at all, thus not imposing the deps for now and once some consumers
-# are actually found to static link libgio-2.0.a, we can revisit and either add
-# them or just put the (build) deps in that rare consumer instead of recursive
-# RDEPEND here (due to lack of recursive DEPEND).
-RDEPEND="
- !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
- >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},static-libs?]
- >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
- >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
- kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
- selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
- xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) )
- elf? ( virtual/libelf:0= )
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-# libxml2 used for optional tests that get automatically skipped
-BDEPEND="
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- >=sys-devel/gettext-0.19.8
- gtk-doc? ( >=dev-util/gtk-doc-1.33
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5 )
- systemtap? ( >=dev-util/systemtap-1.3 )
- ${PYTHON_DEPS}
- test? ( >=sys-apps/dbus-1.2.14 )
- virtual/pkgconfig
-"
-# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify gio/tests/meson.build to use external gdbus-codegen
-
-PDEPEND="
- dbus? ( gnome-base/dconf )
- mime? ( x11-misc/shared-mime-info )
-"
-# shared-mime-info needed for gio/xdgmime, bug #409481
-# dconf is needed to be able to save settings, bug #498436
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/gio-querymodules$(get_exeext)
-)
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
- "${FILESDIR}"/${P}-clang-build.patch
-)
-
-pkg_setup() {
- if use kernel_linux ; then
- CONFIG_CHECK="~INOTIFY_USER"
- if use test ; then
- CONFIG_CHECK="~IPV6"
- WARNING_IPV6="Your kernel needs IPV6 support for running some tests, skipping them."
- fi
- linux-info_pkg_setup
- fi
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- if use test; then
- # TODO: Review the test exclusions, especially now with meson
- # Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629, upstream bug #629163
- if ! has_version dev-util/desktop-file-utils ; then
- ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
- ewarn "think on installing it to get these tests run."
- sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
- sed -i -e "/g_test_add_func/d" gio/tests/desktop-app-info.c || die
- fi
-
- # gdesktopappinfo requires existing terminal (gnome-terminal or any
- # other), falling back to xterm if one doesn't exist
- #if ! has_version x11-terms/xterm && ! has_version x11-terms/gnome-terminal ; then
- # ewarn "Some tests will be skipped due to missing terminal program"
- # These tests seem to sometimes fail even with a terminal; skip for now and reevulate with meson
- # Also try https://gitlab.gnome.org/GNOME/glib/issues/1601 once ready for backport (or in a bump) and file new issue if still fails
- sed -i -e "/appinfo\/launch/d" gio/tests/appinfo.c || die
- # desktop-app-info/launch* might fail similarly
- sed -i -e "/desktop-app-info\/launch-as-manager/d" gio/tests/desktop-app-info.c || die
- #fi
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=722604
- sed -i -e "/timer\/stop/d" glib/tests/timer.c || die
- sed -i -e "/timer\/basic/d" glib/tests/timer.c || die
-
- ewarn "Tests for search-utils have been skipped"
- sed -i -e "/search-utils/d" glib/tests/meson.build || die
-
- # Play nice with network-sandbox, but this approach would defeat the purpose of the test
- #sed -i -e "s/localhost/127.0.0.1/g" gio/tests/gsocketclient-slow.c || die
- else
- # Don't build tests, also prevents extra deps, bug #512022
- sed -i -e '/subdir.*tests/d' {.,gio,glib}/meson.build || die
- fi
-
- # Don't build fuzzing binaries - not used
- sed -i -e '/subdir.*fuzzing/d' meson.build || die
-
- # gdbus-codegen is a separate package
- sed -i -e '/install_dir/d' gio/gdbus-2.0/codegen/meson.build || die
-
- # Same kind of meson-0.50 issue with some installed-tests files; will likely be fixed upstream soon
- sed -i -e '/install_dir/d' gio/tests/meson.build || die
-
- cat > "${T}/glib-test-ld-wrapper" <<-EOF
- #!/usr/bin/env sh
- exec \${LD:-ld} "\$@"
- EOF
- chmod a+x "${T}/glib-test-ld-wrapper" || die
- sed -i -e "s|'ld'|'${T}/glib-test-ld-wrapper'|g" gio/tests/meson.build || die
-
- default
- gnome2_environment_reset
- # TODO: python_name sedding for correct python shebang? Might be relevant mainly for glib-utils only
-}
-
-multilib_src_configure() {
- if use debug; then
- append-cflags -DG_ENABLE_DEBUG
- else
- append-cflags -DG_DISABLE_CAST_CHECKS # https://gitlab.gnome.org/GNOME/glib/issues/1833
- fi
-
- # TODO: figure a way to pass appropriate values for all cross properties that glib uses (search for get_cross_property)
- #if tc-is-cross-compiler ; then
- # https://bugzilla.gnome.org/show_bug.cgi?id=756473
- # TODO-meson: This should be in meson cross file as 'growing_stack' property; and more, look at get_cross_property
- #case ${CHOST} in
- #hppa*|metag*) export glib_cv_stack_grows=yes ;;
- #*) export glib_cv_stack_grows=no ;;
- #esac
- #fi
-
- local emesonargs=(
- -Ddefault_library=$(usex static-libs both shared)
- $(meson_feature selinux)
- $(meson_use xattr)
- -Dlibmount=enabled # only used if host_system == 'linux'
- -Dman=true
- $(meson_use systemtap dtrace)
- $(meson_use systemtap)
- $(meson_feature sysprof)
- $(meson_native_use_bool gtk-doc gtk_doc)
- $(meson_use test tests)
- -Dinstalled_tests=false
- -Dnls=enabled
- -Doss_fuzz=disabled
- $(meson_native_use_feature elf libelf)
- -Dmultiarch=false
- )
- meson_src_configure
-}
-
-multilib_src_test() {
- export XDG_CONFIG_DIRS=/etc/xdg
- export XDG_DATA_DIRS=/usr/local/share:/usr/share
- export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
- export LC_TIME=C # bug #411967
- export TZ=UTC
- unset GSETTINGS_BACKEND # bug #596380
- python_setup
-
- # https://bugs.gentoo.org/839807
- local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
- addpredict /usr/b
-
- # Related test is a bit nitpicking
- mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
- chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
-
- meson_src_test --timeout-multiplier 2 --no-suite flaky
-}
-
-multilib_src_install() {
- meson_src_install
- keepdir /usr/$(get_libdir)/gio/modules
-}
-
-multilib_src_install_all() {
- # These are installed by dev-util/glib-utils
- # TODO: With patching we might be able to get rid of the python-any deps and removals, and test depend on glib-utils instead; revisit now with meson
- rm "${ED}/usr/bin/glib-genmarshal" || die
- rm "${ED}/usr/share/man/man1/glib-genmarshal.1" || die
- rm "${ED}/usr/bin/glib-mkenums" || die
- rm "${ED}/usr/share/man/man1/glib-mkenums.1" || die
- rm "${ED}/usr/bin/gtester-report" || die
- rm "${ED}/usr/share/man/man1/gtester-report.1" || die
- # gdbus-codegen manpage installed by dev-util/gdbus-codegen
- rm "${ED}/usr/share/man/man1/gdbus-codegen.1" || die
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
-
- # Make gschemas.compiled belong to glib alone
- local cache="/usr/share/glib-2.0/schemas/gschemas.compiled"
-
- if [[ -e ${EROOT}${cache} ]]; then
- cp "${EROOT}"${cache} "${ED}"/${cache} || die
- else
- touch "${ED}"${cache} || die
- fi
-
- multilib_pkg_preinst() {
- # Make giomodule.cache belong to glib alone
- local cache="/usr/$(get_libdir)/gio/modules/giomodule.cache"
-
- if [[ -e ${EROOT}${cache} ]]; then
- cp "${EROOT}"${cache} "${ED}"${cache} || die
- else
- touch "${ED}"${cache} || die
- fi
- }
-
- # Don't run the cache ownership when cross-compiling, as it would end up with an empty cache
- # file due to inability to create it and GIO might not look at any of the modules there
- if ! tc-is-cross-compiler ; then
- multilib_foreach_abi multilib_pkg_preinst
- fi
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- # glib installs no schemas itself, but we force update for fresh install in case
- # something has dropped in a schemas file without direct glib dep; and for upgrades
- # in case the compiled schema format could have changed
- gnome2_schemas_update
-
- multilib_pkg_postinst() {
- gnome2_giomodule_cache_update \
- || die "Update GIO modules cache failed (for ${ABI})"
- }
- if ! tc-is-cross-compiler ; then
- multilib_foreach_abi multilib_pkg_postinst
- else
- ewarn "Updating of GIO modules cache skipped due to cross-compilation."
- ewarn "You might want to run gio-querymodules manually on the target for"
- ewarn "your final image for performance reasons and re-run it when packages"
- ewarn "installing GIO modules get upgraded or added to the image."
- fi
-
- for v in ${REPLACING_VERSIONS}; do
- if ver_test "$v" "-lt" "2.63.6"; then
- ewarn "glib no longer installs the gio-launch-desktop binary. You may need"
- ewarn "to restart your session for \"Open With\" dialogs to work."
- fi
- done
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-
- if [[ -z ${REPLACED_BY_VERSION} ]]; then
- multilib_pkg_postrm() {
- rm -f "${EROOT}"/usr/$(get_libdir)/gio/modules/giomodule.cache
- }
- multilib_foreach_abi multilib_pkg_postrm
- rm -f "${EROOT}"/usr/share/glib-2.0/schemas/gschemas.compiled
- fi
-}
diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/Manifest
index f5ac9a3f16..cda56d9516 100644
--- a/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/Manifest
+++ b/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/Manifest
@@ -1,4 +1,5 @@
DIST libxml2-2.10.2.tar.xz 2636304 BLAKE2B 3ccc11ac73a81ee7ea3e565597c95e74923eba3d858c9a915aecf1dcf2fb6ab3e46c6ed2ea504261a822de2ac2132834ffa8ffd039e9e1390a9637a2dac7d6c5 SHA512 c26ee428ae2fae2326fcaec156ed36c5f5d63aeb4839d626f6544a3fad158a1602e9dc0d542b2f947e6a8de0c09ff130da2626a30aec27446ce09614f78466b5
+DIST libxml2-2.10.3.tar.xz 2639908 BLAKE2B aef2cc87e4632ddc478ff719155fdcb17601a8af37ecc1145ca05e01340935b57f07722e016ca2b27e4b269d47bd2fe97db09119a47849e8745e077e42b8bb66 SHA512 33bb87ae9a45c475c3de09477e5d94840d8f687f893ef7839408bc7267e57611c4f2b863ed8ec819a4b5f1ebd6a122db9f6054c73bceed427d37f3e67f62620c
DIST libxml2-2.9.14-patches-r0.tar.bz2 8304 BLAKE2B 067faba5bfcbf81e2ef356925c0d3b4ef0aff7604db049366180b8217b781c60c2746be348c5e1a09de925e54fc69e3e431f7e2199ce326b6ff88ea9352ca45c SHA512 e97bada92a14ef0501a5f7be312d35d26eb52b648102d028dc11b3eef62ee0597540d0b474f54bd015a914a9cb7600d4dc34912b0ead5230136e945d80ae8428
DIST libxml2-2.9.14.tar.xz 3129968 BLAKE2B ab584503d5209e4aaf41ae6f44aed5e94c0ae29e28cfba39a9012568aa97515af861b47891b84d2a352a07357626ba50ddb1e344e911fa14ff2ce93c5beff1f1 SHA512 d08e6cafb289c499fdc5b3a12181e032a34f7a249bc66758859f964d3e71e19fd69be79921e1a9d8ab1e692d15b13f5fae95eeb10c3236974d89e218f5107606
DIST xmlts20130923.tar.gz 641522 BLAKE2B 63a47bc69278ef510cd0b3779aed729e1b309e30efa0015d28ed051cc03f9dfddb447ab57b07b3393e8f47393d15473b0e199c34cb1f5f746b15ddfaa55670be SHA512 d5c4d26b324ed21f4e0641cd7f8b76dbf9de80df8b519982e44d41c960df29fd03618e02e9693b2d11ad06d19c4a965274c95a048ec3b9653eacb919a7f8b733
diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/libxml2-2.10.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/libxml2-2.10.3.ebuild
new file mode 100644
index 0000000000..b8f7fa1688
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/libxml2-2.10.3.ebuild
@@ -0,0 +1,194 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Note: Please bump in sync with dev-libs/libxslt
+
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="xml(+)"
+inherit flag-o-matic python-r1 multilib-minimal
+
+XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
+XSTS_NAME_1="xmlschema2002-01-16"
+XSTS_NAME_2="xmlschema2004-01-14"
+XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
+XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
+XMLCONF_TARBALL="xmlts20130923.tar.gz"
+
+DESCRIPTION="XML C parser and toolkit"
+HOMEPAGE="http://www.xmlsoft.org/ https://gitlab.gnome.org/GNOME/libxml2"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2"
+ inherit autotools git-r3
+else
+ inherit gnome.org libtool
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+SRC_URI+="
+ test? (
+ ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
+ ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
+ https://www.w3.org/XML/Test/${XMLCONF_TARBALL}
+ )"
+S="${WORKDIR}/${PN}-${PV%_rc*}"
+
+LICENSE="MIT"
+SLOT="2"
+IUSE="debug examples +ftp icu lzma +python readline static-libs test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
+ icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
+ lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
+ python? ( ${PYTHON_DEPS} )
+ readline? ( sys-libs/readline:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+if [[ ${PV} == 9999 ]] ; then
+ BDEPEND+=" dev-util/gtk-doc-am"
+fi
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/xml2-config
+)
+
+DOCS=( NEWS README.md TODO TODO_SCHEMAS python/TODO )
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ else
+ local tarname=${P/_rc/-rc}.tar.xz
+
+ # ${A} isn't used to avoid unpacking of test tarballs into ${WORKDIR},
+ # as they are needed as tarballs in ${S}/xstc instead and not unpacked
+ unpack ${tarname}
+
+ if [[ -n ${PATCHSET_VERSION} ]] ; then
+ unpack ${PN}-${PATCHSET_VERSION}.tar.bz2
+ fi
+ fi
+
+ cd "${S}" || die
+
+ if use test ; then
+ cp "${DISTDIR}/${XSTS_TARBALL_1}" \
+ "${DISTDIR}/${XSTS_TARBALL_2}" \
+ "${S}"/xstc/ \
+ || die "Failed to install test tarballs"
+ unpack ${XMLCONF_TARBALL}
+ fi
+}
+
+src_prepare() {
+ default
+
+ if [[ ${PV} == 9999 ]] ; then
+ eautoreconf
+ else
+ # Please do not remove, as else we get references to PORTAGE_TMPDIR
+ # in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
+ elibtoolize
+ fi
+}
+
+multilib_src_configure() {
+ # Filter seemingly problematic CFLAGS (bug #26320)
+ filter-flags -fprefetch-loop-arrays -funroll-loops
+
+ # Notes:
+ # The meaning of the 'debug' USE flag does not apply to the --with-debug
+ # switch (enabling the libxml2 debug module). See bug #100898.
+ libxml2_configure() {
+ ECONF_SOURCE="${S}" econf \
+ --enable-ipv6 \
+ $(use_with ftp) \
+ $(use_with debug run-debug) \
+ $(use_with icu) \
+ $(use_with lzma) \
+ $(use_enable static-libs static) \
+ $(multilib_native_use_with readline) \
+ $(multilib_native_use_with readline history) \
+ "$@"
+ }
+
+ # Build python bindings separately
+ libxml2_configure --without-python
+
+ multilib_is_native_abi && use python &&
+ python_foreach_impl run_in_build_dir libxml2_configure --with-python
+}
+
+libxml2_py_emake() {
+ pushd "${BUILD_DIR}"/python >/dev/null || die
+
+ emake top_builddir="${NATIVE_BUILD_DIR}" "$@"
+
+ popd >/dev/null || die
+}
+
+multilib_src_compile() {
+ default
+
+ if multilib_is_native_abi && use python ; then
+ NATIVE_BUILD_DIR="${BUILD_DIR}"
+ python_foreach_impl run_in_build_dir libxml2_py_emake all
+ fi
+}
+
+multilib_src_test() {
+ ln -s "${S}"/xmlconf || die
+
+ emake check
+
+ multilib_is_native_abi && use python &&
+ python_foreach_impl run_in_build_dir libxml2_py_emake check
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ multilib_is_native_abi && use python &&
+ python_foreach_impl run_in_build_dir libxml2_py_emake DESTDIR="${D}" install
+
+ # Hack until automake release is made for the optimise fix
+ # https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097
+ multilib_is_native_abi && use python && python_foreach_impl python_optimize
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if ! use examples ; then
+ rm -rf "${ED}"/usr/share/doc/${PF}/examples || die
+ rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die
+ fi
+
+ rm -rf "${ED}"/usr/share/doc/${PN}-python-${PVR} || die
+
+ find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
+ # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
+ if [[ -n "${ROOT}" ]]; then
+ elog "Skipping XML catalog creation for stage building (bug #208887)."
+ else
+ # Need an XML catalog, so no-one writes to a non-existent one
+ CATALOG="${EROOT}/etc/xml/catalog"
+
+ # We don't want to clobber an existing catalog though,
+ # only ensure that one is there
+ #
+ if [[ ! -e "${CATALOG}" ]]; then
+ [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml"
+ "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
+ einfo "Created XML catalog in ${CATALOG}"
+ fi
+ fi
+}
diff --git a/sdk_container/src/third_party/portage-stable/dev-util/cmake/cmake-3.24.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/cmake/cmake-3.24.2.ebuild
index 9491df325a..53c17a9fa5 100644
--- a/sdk_container/src/third_party/portage-stable/dev-util/cmake/cmake-3.24.2.ebuild
+++ b/sdk_container/src/third_party/portage-stable/dev-util/cmake/cmake-3.24.2.ebuild
@@ -47,7 +47,7 @@ else
https://github.com/Kitware/CMake/releases/download/v$(ver_cut 1-3)/${MY_P}-SHA-256.txt.asc
)"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-bradking )"
fi
diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gperf/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-util/gperf/metadata.xml
index d69e5f6f28..8ec7a6f186 100644
--- a/sdk_container/src/third_party/portage-stable/dev-util/gperf/metadata.xml
+++ b/sdk_container/src/third_party/portage-stable/dev-util/gperf/metadata.xml
@@ -1,7 +1,10 @@
-
- blueness@gentoo.org
-
+
+ blueness@gentoo.org
+
+
+ gperf
+
diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ninja/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/ninja/Manifest
index b62f6953ec..4ccdb98ca1 100644
--- a/sdk_container/src/third_party/portage-stable/dev-util/ninja/Manifest
+++ b/sdk_container/src/third_party/portage-stable/dev-util/ninja/Manifest
@@ -1,2 +1 @@
-DIST ninja-1.11.0.tar.gz 229475 BLAKE2B 71c8b6cf9524bdc11cf73f7e761f0d7deef2498a970c1439c10cc7d361e31fed1e3b54bcb185f3c7ed041f15704851a96e42560058af61b8a5df6e918d52ebf3 SHA512 9b9c8dae2251f9ddba50680911271b8504c292994fd90a0da94902f64c69a9edc72212217df5c651ddfc2f79c2ae03e84c99b805497dcd7497c53a1617de83e7
DIST ninja-1.11.1.tar.gz 229479 BLAKE2B c96cf7c319b7abd65f644465688d256f8b3a576c4616d0c63852e25dd0dc5f63c66708d429d8dddb6228502eb147211a86a5dd369b80ec2228902b370d2343e5 SHA512 1bca38877c70ee6613f347ffccef5adc02ba0a3947c62ae004ea97f918442b5a3de92378e4f820ae2a7676bc7609d25fbc7d41f6cfb3a61e5e4b26ec3639e403
diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ninja/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-util/ninja/metadata.xml
index 500b650605..9f465f8c98 100644
--- a/sdk_container/src/third_party/portage-stable/dev-util/ninja/metadata.xml
+++ b/sdk_container/src/third_party/portage-stable/dev-util/ninja/metadata.xml
@@ -2,8 +2,8 @@
- chromium@gentoo.org
- Chromium in Gentoo Project
+ base-system@gentoo.org
+ Gentoo Base System
ninja-build/ninja
diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.0.ebuild
deleted file mode 100644
index 815e93ce74..0000000000
--- a/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.0.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 2012-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit bash-completion-r1 elisp-common python-any-r1 toolchain-funcs
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
-else
- SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-fi
-
-DESCRIPTION="A small build system similar to make"
-HOMEPAGE="https://ninja-build.org/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-IUSE="doc emacs test vim-syntax"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- ${PYTHON_DEPS}
- dev-util/re2c
- doc? (
- app-text/asciidoc
- app-doc/doxygen
- dev-libs/libxslt
- media-gfx/graphviz
- )
- test? ( dev-cpp/gtest )
-"
-RDEPEND="
- emacs? ( >=app-editors/emacs-23.1:* )
- vim-syntax? (
- || (
- app-editors/vim
- app-editors/gvim
- )
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/ninja-cflags.patch
-)
-
-run_for_build() {
- if tc-is-cross-compiler; then
- local -x AR=$(tc-getBUILD_AR)
- local -x CXX=$(tc-getBUILD_CXX)
- local -x CFLAGS=
- local -x CXXFLAGS=${BUILD_CXXFLAGS}
- local -x LDFLAGS=${BUILD_LDFLAGS}
- fi
- echo "$@" >&2
- "$@"
-}
-
-src_compile() {
- tc-export AR CXX
-
- # configure.py appends CFLAGS to CXXFLAGS
- unset CFLAGS
-
- run_for_build ${EPYTHON} configure.py --bootstrap --verbose || die
-
- if tc-is-cross-compiler; then
- mv ninja ninja-build || die
- ${EPYTHON} configure.py || die
- ./ninja-build -v ninja || die
- else
- ln ninja ninja-build || die
- fi
-
- if use doc; then
- ./ninja-build -v doxygen manual || die
- fi
-
- if use emacs; then
- elisp-compile misc/ninja-mode.el || die
- fi
-}
-
-src_test() {
- if ! tc-is-cross-compiler; then
- # Bug 485772
- ulimit -n 2048
- ./ninja -v ninja_test || die
- ./ninja_test || die
- fi
-}
-
-src_install() {
- dodoc README.md CONTRIBUTING.md
- if use doc; then
- docinto html
- dodoc -r doc/doxygen/html/.
- dodoc doc/manual.html
- fi
- dobin ninja
-
- newbashcomp misc/bash-completion "${PN}"
-
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax/
- doins misc/ninja.vim
-
- echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}/ninja.vim"
- insinto /usr/share/vim/vimfiles/ftdetect
- doins "${T}/ninja.vim"
- fi
-
- insinto /usr/share/zsh/site-functions
- newins misc/zsh-completion _ninja
-
- if use emacs; then
- cd misc || die
- elisp-install ninja ninja-mode.el* || die
- fi
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.1-r2.ebuild
similarity index 87%
rename from sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.1.ebuild
rename to sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.1-r2.ebuild
index bedb66f577..477e2d2504 100644
--- a/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.1.ebuild
+++ b/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-1.11.1-r2.ebuild
@@ -5,14 +5,14 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
-inherit edo bash-completion-r1 elisp-common python-any-r1 toolchain-funcs
+inherit edo bash-completion-r1 elisp-common flag-o-matic python-any-r1 toolchain-funcs
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
inherit git-r3
else
SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="A small build system similar to make"
@@ -59,6 +59,8 @@ src_compile() {
# configure.py appends CFLAGS to CXXFLAGS
unset CFLAGS
+ append-lfs-flags
+
run_for_build ${EPYTHON} configure.py --bootstrap --verbose || die
if tc-is-cross-compiler; then
diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-9999.ebuild
index bedb66f577..49a69753e9 100644
--- a/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-9999.ebuild
+++ b/sdk_container/src/third_party/portage-stable/dev-util/ninja/ninja-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
-inherit edo bash-completion-r1 elisp-common python-any-r1 toolchain-funcs
+inherit edo bash-completion-r1 elisp-common flag-o-matic python-any-r1 toolchain-funcs
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
@@ -59,6 +59,8 @@ src_compile() {
# configure.py appends CFLAGS to CXXFLAGS
unset CFLAGS
+ append-lfs-flags
+
run_for_build ${EPYTHON} configure.py --bootstrap --verbose || die
if tc-is-cross-compiler; then
diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.37.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.37.3.ebuild
index e223810359..ac00d04d0a 100644
--- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.37.3.ebuild
+++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.37.3.ebuild
@@ -46,7 +46,7 @@ if [[ ${PV} != *9999 ]]; then
${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
)"
[[ "${PV}" == *_rc* ]] || \
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
LICENSE="GPL-2"
diff --git a/sdk_container/src/third_party/portage-stable/eclass/linux-mod.eclass b/sdk_container/src/third_party/portage-stable/eclass/linux-mod.eclass
index b7c13cbf7e..7e99938928 100644
--- a/sdk_container/src/third_party/portage-stable/eclass/linux-mod.eclass
+++ b/sdk_container/src/third_party/portage-stable/eclass/linux-mod.eclass
@@ -150,8 +150,8 @@
# It's a read-only variable. It contains the extension of the kernel modules.
case ${EAPI:-0} in
- [67])
- inherit eutils
+ [67])
+ inherit eutils
;;
8)
;;
@@ -163,7 +163,7 @@ _LINUX_MOD_ECLASS=1
# TODO: When adding support for future EAPIs, please audit this list
# for unused inherits and conditionalise them.
-inherit linux-info multilib toolchain-funcs
+inherit linux-info multilib multiprocessing toolchain-funcs
case ${MODULES_OPTIONAL_USE_IUSE_DEFAULT:-n} in
[nNfF]*|[oO][fF]*|0|-) _modules_optional_use_iuse_default='' ;;
@@ -361,8 +361,8 @@ generate_modulesd() {
debug-print-function ${FUNCNAME} $*
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
- local currm_path currm currm_t t myIFS myVAR
- local module_docs module_enabled module_aliases \
+ local currm_path currm currm_t t myIFS myVAR
+ local module_docs module_enabled module_aliases \
module_additions module_examples module_modinfo module_opts
for currm_path in ${@}
@@ -380,9 +380,9 @@ generate_modulesd() {
module_additions="$(eval echo \${#MODULESD_${currm_t}_ADDITIONS[*]})"
module_examples="$(eval echo \${#MODULESD_${currm_t}_EXAMPLES[*]})"
- [[ ${module_aliases} -eq 0 ]] && unset module_aliases
+ [[ ${module_aliases} -eq 0 ]] && unset module_aliases
[[ ${module_additions} -eq 0 ]] && unset module_additions
- [[ ${module_examples} -eq 0 ]] && unset module_examples
+ [[ ${module_examples} -eq 0 ]] && unset module_examples
# If we specify we dont want it, then lets exit, otherwise we assume
# that if its set, we do want it.
@@ -712,22 +712,26 @@ linux-mod_src_install() {
cd "${objdir}" || die "${objdir} does not exist"
insinto "${INSTALL_MOD_PATH}"/lib/modules/${KV_FULL}/${libdir}
- # check here for CONFIG_MODULE_COMPRESS_ (NONE, GZIP, XZ, ZSTD)
+ # check here for CONFIG_MODULE_COMPRESS_ (NONE, GZIP, XZ, ZSTD)
# and similarily compress the module being built if != NONE.
if linux_chkconfig_present MODULE_COMPRESS_XZ; then
- xz ${modulename}.${KV_OBJ}
- doins ${modulename}.${KV_OBJ}.xz || die "doins ${modulename}.${KV_OBJ}.xz failed"
+ xz -T$(makeopts_jobs) --memlimit-compress=50% -q ${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with xz failed"
+ doins ${modulename}.${KV_OBJ}.xz
elif linux_chkconfig_present MODULE_COMPRESS_GZIP; then
- gzip ${modulename}.${KV_OBJ}
- doins ${modulename}.${KV_OBJ}.gz || die "doins ${modulename}.${KV_OBJ}.gz failed"
+ if type -P pigz &>/dev/null ; then
+ pigz -p$(makeopts_jobs) ${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with pigz failed"
+ else
+ gzip ${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with gzip failed"
+ fi
+ doins ${modulename}.${KV_OBJ}.gz
elif linux_chkconfig_present MODULE_COMPRESS_ZSTD; then
- zstd ${modulename}.${KV_OBJ}
- doins ${modulename}.${KV_OBJ}.zst || die "doins ${modulename}.${KV_OBJ}.zst failed"
+ zstd -T$(makeopts_jobs) ${modulename}.${KV_OBJ} || "Compressing ${modulename}.${KV_OBJ} with zstd failed"
+ doins ${modulename}.${KV_OBJ}.zst
else
- doins ${modulename}.${KV_OBJ} || die "doins ${modulename}.${KV_OBJ} failed"
+ doins ${modulename}.${KV_OBJ}
fi
- cd "${OLDPWD}"
+ cd "${OLDPWD}" || die "${OLDPWD} does not exist"
generate_modulesd "${objdir}/${modulename}"
done
diff --git a/sdk_container/src/third_party/portage-stable/eclass/toolchain-funcs.eclass b/sdk_container/src/third_party/portage-stable/eclass/toolchain-funcs.eclass
index 48bf11606c..32e446cb23 100644
--- a/sdk_container/src/third_party/portage-stable/eclass/toolchain-funcs.eclass
+++ b/sdk_container/src/third_party/portage-stable/eclass/toolchain-funcs.eclass
@@ -1173,4 +1173,68 @@ gen_usr_ldscript() {
done
}
+# @FUNCTION: tc-get-cxx-stdlib
+# @DESCRIPTION:
+# Attempt to identify the C++ standard library used by the compiler.
+# If the library is identified, the function returns 0 and prints one
+# of the following:
+#
+# - ``libc++`` for ``sys-libs/libcxx``
+# - ``libstdc++`` for ``sys-devel/gcc``'s libstdc++
+#
+# If the library is not recognized, the function returns 1.
+tc-get-cxx-stdlib() {
+ local code='#include
+
+#if defined(_LIBCPP_VERSION)
+ HAVE_LIBCXX
+#elif defined(__GLIBCXX__)
+ HAVE_LIBSTDCPP
+#endif
+'
+ local res=$(
+ $(tc-getCXX) ${CXXFLAGS} ${CPPFLAGS} -x c++ -E -P - \
+ <<<"${code}" 2>/dev/null
+ )
+
+ case ${res} in
+ *HAVE_LIBCXX*)
+ echo libc++;;
+ *HAVE_LIBSTDCPP*)
+ echo libstdc++;;
+ *)
+ return 1;;
+ esac
+
+ return 0
+}
+
+# @FUNCTION: tc-get-c-rtlib
+# @DESCRIPTION:
+# Attempt to identify the runtime used by the C/C++ compiler.
+# If the runtime is identifed, the function returns 0 and prints one
+# of the following:
+#
+# - ``compiler-rt`` for ``sys-libs/compiler-rt``
+# - ``libgcc`` for ``sys-devel/gcc``'s libgcc
+#
+# If the runtime is not recognized, the function returns 1.
+tc-get-c-rtlib() {
+ local res=$(
+ $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
+ -print-libgcc-file-name 2>/dev/null
+ )
+
+ case ${res} in
+ *libclang_rt*)
+ echo compiler-rt;;
+ *libgcc*)
+ echo libgcc;;
+ *)
+ return 1;;
+ esac
+
+ return 0
+}
+
fi
diff --git a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass
index 71342765c7..2bed15110e 100644
--- a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass
+++ b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass
@@ -6,6 +6,10 @@
# Toolchain Ninjas
# @SUPPORTED_EAPIS: 7 8
# @BLURB: Common code for sys-devel/gcc ebuilds
+# @DESCRIPTION:
+# Common code for sys-devel/gcc ebuilds (and occasionally GCC forks, like
+# GNAT for Ada). If not building GCC itself, please use toolchain-funcs.eclass
+# instead.
case ${EAPI} in
7) inherit eutils ;;
@@ -57,6 +61,7 @@ is_crosscompile() {
[[ ${CHOST} != ${CTARGET} ]]
}
+
# @FUNCTION: tc_version_is_at_least
# @USAGE: ver1 [ver2]
# @DESCRIPTION:
@@ -138,6 +143,32 @@ GCCMINOR=$(ver_cut 2 ${GCC_PV})
# GCC micro version.
GCCMICRO=$(ver_cut 3 ${GCC_PV})
+tc_use_major_version_only() {
+ local use_major_version_only=0
+
+ if ! tc_version_is_at_least 10 ; then
+ return 1
+ fi
+
+ if [[ ${GCCMAJOR} -eq 10 ]] && ver_test ${PV} -ge 10.4.1_p20220929 ; then
+ use_major_version_only=1
+ elif [[ ${GCCMAJOR} -eq 11 ]] && ver_test ${PV} -ge 11.3.1_p20220930 ; then
+ use_major_version_only=1
+ elif [[ ${GCCMAJOR} -eq 12 ]] && ver_test ${PV} -ge 12.2.1_p20221001 ; then
+ use_major_version_only=1
+ elif [[ ${GCCMAJOR} -eq 13 ]] && ver_test ${PV} -ge 13.0.0_pre20221002 ; then
+ use_major_version_only=1
+ elif [[ ${GCCMAJOR} -gt 13 ]] ; then
+ use_major_version_only=1
+ fi
+
+ if [[ ${use_major_version_only} -eq 1 ]] ; then
+ return 0
+ fi
+
+ return 1
+}
+
# @ECLASS_VARIABLE: GCC_CONFIG_VER
# @INTERNAL
# @DESCRIPTION:
@@ -145,7 +176,11 @@ GCCMICRO=$(ver_cut 3 ${GCC_PV})
# of binary and gcc-config names not directly tied to upstream
# versioning. In practice it's hard to untangle from gcc/BASE-VER
# (GCC_RELEASE_VER) value.
-GCC_CONFIG_VER=${GCC_RELEASE_VER}
+if tc_use_major_version_only ; then
+ GCC_CONFIG_VER=${GCCMAJOR}
+else
+ GCC_CONFIG_VER=${GCC_RELEASE_VER}
+fi
# Pre-release support. Versioning schema:
# 1.0.0_pre9999: live ebuild
@@ -830,7 +865,7 @@ make_gcc_hard() {
# Most other distros use the logic (including mainline gcc):
# lib - 32bit binaries (x86)
# lib64 - 64bit binaries (x86_64)
-# Over time, Gentoo is migrating to the latter form.
+# Over time, Gentoo is migrating to the latter form (17.1 profiles).
#
# Unfortunately, due to distros picking the lib32 behavior, newer gcc
# versions will dynamically detect whether to use lib or lib32 for its
@@ -1006,6 +1041,10 @@ toolchain_src_configure() {
--with-pkgversion="${BRANDING_GCC_PKGVERSION}"
)
+ if tc_use_major_version_only ; then
+ confgcc+=( --with-gcc-major-version-only )
+ fi
+
# If we want hardened support with the newer PIE patchset for >=gcc 4.4
if tc_version_is_at_least 4.4 && want_minispecs && in_iuse hardened ; then
confgcc+=( $(use_enable hardened esp) )
@@ -1975,16 +2014,20 @@ toolchain_src_install() {
fi
done
- # We remove the generated fixincludes, as they can cause things to break
- # (ncurses, openssl, etc). We do not prevent them from being built, as
- # in the following commit which we revert:
- # https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.647&r2=1.648
- # This is because bsd userland needs fixedincludes to build gcc, while
- # linux does not. Both can dispose of them afterwards.
- while read x ; do
- grep -q 'It has been auto-edited by fixincludes from' "${x}" \
- && rm -f "${x}"
- done < <(find gcc/include*/ -name '*.h')
+ # Re-enable fixincludes for >= GCC 13
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107128
+ if [[ ${GCCMAJOR} -lt 13 ]] ; then
+ # We remove the generated fixincludes, as they can cause things to break
+ # (ncurses, openssl, etc). We do not prevent them from being built, as
+ # in the following commit which we revert:
+ # https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.647&r2=1.648
+ # This is because bsd userland needs fixedincludes to build gcc, while
+ # linux does not. Both can dispose of them afterwards.
+ while read x ; do
+ grep -q 'It has been auto-edited by fixincludes from' "${x}" \
+ && rm -f "${x}"
+ done < <(find gcc/include*/ -name '*.h')
+ fi
if is_jit ; then
# See https://gcc.gnu.org/onlinedocs/gcc-11.3.0/jit/internals/index.html#packaging-notes
@@ -2713,11 +2756,11 @@ toolchain_death_notice() {
pushd "${WORKDIR}"/build >/dev/null
(echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > gccinfo.log
[[ -e "${T}"/build.log ]] && cp "${T}"/build.log .
- tar jcf "${WORKDIR}"/gcc-build-logs.tar.bz2 \
+ tar -acf "${WORKDIR}"/gcc-build-logs.tar.xz \
gccinfo.log build.log $(find -name config.log)
rm gccinfo.log build.log
eerror
- eerror "Please include ${WORKDIR}/gcc-build-logs.tar.bz2 in your bug report."
+ eerror "Please include ${WORKDIR}/gcc-build-logs.tar.xz in your bug report."
eerror
popd >/dev/null
fi
diff --git a/sdk_container/src/third_party/portage-stable/licenses/coldspringharbor b/sdk_container/src/third_party/portage-stable/licenses/coldspringharbor
new file mode 100644
index 0000000000..27f85e9e0c
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/licenses/coldspringharbor
@@ -0,0 +1,20 @@
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself. See the Artistic License file
+in the main Perl distribution for specific terms and conditions of
+use. In addition, the following disclaimers apply:
+
+CSHL makes no representations whatsoever as to the SOFTWARE contained
+herein. It is experimental in nature and is provided WITHOUT WARRANTY
+OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER
+WARRANTY, EXPRESS OR IMPLIED. CSHL MAKES NO REPRESENTATION OR
+WARRANTY THAT THE USE OF THIS SOFTWARE WILL NOT INFRINGE ANY PATENT OR
+OTHER PROPRIETARY RIGHT.
+
+By downloading this SOFTWARE, your Institution hereby indemnifies CSHL
+against any loss, claim, damage or liability, of whatsoever kind or
+nature, which may arise from your Institution's respective use,
+handling or storage of the SOFTWARE.
+
+If publications result from research using this SOFTWARE, we ask that
+CSHL be acknowledged and/or credit be given to CSHL scientists, as
+scientifically appropriate.
diff --git a/sdk_container/src/third_party/portage-stable/net-analyzer/nmap/nmap-7.93.ebuild b/sdk_container/src/third_party/portage-stable/net-analyzer/nmap/nmap-7.93.ebuild
index 7c6ddc0d5b..1c9da57558 100644
--- a/sdk_container/src/third_party/portage-stable/net-analyzer/nmap/nmap-7.93.ebuild
+++ b/sdk_container/src/third_party/portage-stable/net-analyzer/nmap/nmap-7.93.ebuild
@@ -22,7 +22,7 @@ else
SRC_URI="https://nmap.org/dist/${P}.tar.bz2"
SRC_URI+=" verify-sig? ( https://nmap.org/dist/sigs/${P}.tar.bz2.asc )"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
fi
LICENSE="|| ( NPSL GPL-2 )"
diff --git a/sdk_container/src/third_party/portage-stable/net-libs/gnutls/Manifest b/sdk_container/src/third_party/portage-stable/net-libs/gnutls/Manifest
index f468c56dbe..20aefd7eca 100644
--- a/sdk_container/src/third_party/portage-stable/net-libs/gnutls/Manifest
+++ b/sdk_container/src/third_party/portage-stable/net-libs/gnutls/Manifest
@@ -2,3 +2,5 @@ DIST gnutls-3.7.6.tar.xz 6338276 BLAKE2B 9f3cce8dfc0b88f2c42d1d2633417dac649a265
DIST gnutls-3.7.6.tar.xz.sig 685 BLAKE2B eae022d6cb0d772e465257411381afd97f3dfd19d6f794a1c3e0f8c3c1232a8a1b91269ca7252a5662782183b11ca393c31efe3f88171a526884400fd0534528 SHA512 c969da9a938b9d29a70cea3b00cce337f9a4c4304aae7f501ef6263894f81a420395ddbe1b005f35dff2e900d3fac75e288f10bbfde0ebea034f7e257bb16d0e
DIST gnutls-3.7.7.tar.xz 6351664 BLAKE2B a66037ecc6da660ff12949f50012840263c2e0b174079e41b62a2d884f060cee56f0c64a2815d07321a54b08cce016d2b4c8f0e059636c1ab5f7db9c8d64c7c6 SHA512 ba00b20126379ec7e96c6bfa606cfb7bb0d9a5853318b29b5278a42a85ae40d39d8442778938e1f165debcdb1adaf9c63bcec59a4eb3387dd1ac99b08bcc5c08
DIST gnutls-3.7.7.tar.xz.sig 685 BLAKE2B 53d76a06ed5a74664d6c193459eb310f06e87dd3db97aca9e9fa78837677df58d8de66f187c182b9375786ee0308c5da55f08414183c959c7acb4527c38cd7c7 SHA512 6463bc4661e20051ff9f31c1a557cece34d06b748f4e24f98e807ddc72a3daa9348aa9f0afa83a0f9cd226421c575210eec1936fbeb9a55849e2c397ace9d03d
+DIST gnutls-3.7.8.tar.xz 6029220 BLAKE2B 0a21e63c7cb0ba4eeff23593c7282e0b4d704fa2d2a1cd5289998fd04b58ea36fc343f872225ad05478e278b1cdebbcd0fd376459abcb58547f8fa1488485530 SHA512 4199bcf7c9e3aab2f52266aadceefc563dfe2d938d0ea1f3ec3be95d66f4a8c8e5494d3a800c03dd02ad386dec1738bd63e1fe0d8b394a2ccfc7d6c6a0cc9359
+DIST gnutls-3.7.8.tar.xz.sig 1250 BLAKE2B 66c6a335c3b2290a4e44ffa6ae715ad71d2bcd7df485c1d2d9490985d9dcd445768d6eb021ad3a61614431183c6652254c63ebd8abd0f0a03d3164a6193b6192 SHA512 cecf9843e8683a278d065b663dc98ac2b5fcad1905ee25333038c93c2289b518c974629367e77e66552ac1c9d122d551616edba35cb0c4204202ec676f1a2db7
diff --git a/sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.7.8.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.7.8.ebuild
new file mode 100644
index 0000000000..3995f16eed
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.7.8.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnutls.asc
+inherit libtool multilib-minimal verify-sig
+
+DESCRIPTION="A secure communications library implementing the SSL, TLS and DTLS protocols"
+HOMEPAGE="https://www.gnutls.org/"
+SRC_URI="mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( mirror://gnupg/gnutls/v$(ver_cut 1-2)/${P}.tar.xz.sig )"
+
+LICENSE="GPL-3 LGPL-2.1+"
+SLOT="0/30.30" # .
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="brotli +cxx dane doc examples guile +idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full +tls-heartbeat tools valgrind zlib zstd"
+
+REQUIRED_USE="test-full? ( cxx dane doc examples guile idn nls openssl pkcs11 seccomp tls-heartbeat tools )"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=dev-libs/libtasn1-4.9:=[${MULTILIB_USEDEP}]
+ dev-libs/libunistring:=[${MULTILIB_USEDEP}]
+ >=dev-libs/nettle-3.6:=[gmp,${MULTILIB_USEDEP}]
+ >=dev-libs/gmp-5.1.3-r1:=[${MULTILIB_USEDEP}]
+ brotli? ( >=app-arch/brotli-1.0.0:=[${MULTILIB_USEDEP}] )
+ dane? ( >=net-dns/unbound-1.4.20:=[${MULTILIB_USEDEP}] )
+ guile? ( >=dev-scheme/guile-2:=[networking] )
+ nls? ( >=virtual/libintl-0-r1:=[${MULTILIB_USEDEP}] )
+ pkcs11? ( >=app-crypt/p11-kit-0.23.1[${MULTILIB_USEDEP}] )
+ idn? ( >=net-dns/libidn2-0.16-r1:=[${MULTILIB_USEDEP}] )
+ zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
+ zstd? ( >=app-arch/zstd-1.3.0:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ test? (
+ seccomp? ( sys-libs/libseccomp )
+ )"
+BDEPEND="
+ dev-util/gtk-doc-am
+ >=virtual/pkgconfig-0-r1
+ doc? ( dev-util/gtk-doc )
+ nls? ( sys-devel/gettext )
+ valgrind? ( dev-util/valgrind )
+ test-full? (
+ app-crypt/dieharder
+ >=app-misc/datefudge-1.22
+ dev-libs/softhsm:2[-bindist(-)]
+ net-dialup/ppp
+ net-misc/socat
+ )
+ verify-sig? ( >=sec-keys/openpgp-keys-gnutls-20221017 )"
+
+DOCS=( README.md doc/certtool.cfg )
+
+HTML_DOCS=()
+
+pkg_setup() {
+ # bug #520818
+ export TZ=UTC
+
+ use doc && HTML_DOCS+=(
+ doc/gnutls.html
+ )
+}
+
+src_prepare() {
+ default
+
+ # don't try to use system certificate store on macOS, it is
+ # confusingly ignoring our ca-certificates and more importantly
+ # fails to compile in certain configurations
+ sed -i -e 's/__APPLE__/__NO_APPLE__/' lib/system/certs.c || die
+
+ # Use sane .so versioning on FreeBSD.
+ elibtoolize
+}
+
+multilib_src_configure() {
+ LINGUAS="${LINGUAS//en/en@boldquot en@quot}"
+
+ local libconf=()
+
+ # TPM needs to be tested before being enabled
+ # Note that this may add a libltdl dep when enabled. Check configure.ac.
+ libconf+=(
+ --without-tpm
+ --without-tpm2
+ )
+
+ # hardware-accel is disabled on OSX because the asm files force
+ # GNU-stack (as doesn't support that) and when that's removed ld
+ # complains about duplicate symbols
+ [[ ${CHOST} == *-darwin* ]] && libconf+=( --disable-hardware-acceleration )
+
+ # Cygwin as does not understand these asm files at all
+ [[ ${CHOST} == *-cygwin* ]] && libconf+=( --disable-hardware-acceleration )
+
+ # -fanalyzer substantially slows down the build and isn't useful for
+ # us. It's useful for upstream as it's static analysis, but it's not
+ # useful when just getting something built.
+ export gl_cv_warn_c__fanalyzer=no
+
+ local myeconfargs=(
+ $(multilib_native_enable manpages)
+ $(multilib_native_use_enable doc gtk-doc)
+ $(multilib_native_use_enable doc)
+ $(multilib_native_use_enable guile)
+ $(multilib_native_use_enable seccomp seccomp-tests)
+ $(multilib_native_use_enable test tests)
+ $(multilib_native_use_enable test-full full-test-suite)
+ $(multilib_native_use_enable tools)
+ $(multilib_native_use_enable valgrind valgrind-tests)
+ $(use_enable cxx)
+ $(use_enable dane libdane)
+ $(use_enable nls)
+ $(use_enable openssl openssl-compatibility)
+ $(use_enable sslv2 ssl2-support)
+ $(use_enable sslv3 ssl3-support)
+ $(use_enable static-libs static)
+ $(use_enable tls-heartbeat heartbeat-support)
+ $(use_with brotli)
+ $(use_with idn)
+ $(use_with pkcs11 p11-kit)
+ $(use_with zlib)
+ $(use_with zstd)
+ --disable-rpath
+ --with-default-trust-store-file="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
+ --with-unbound-root-key-file="${EPREFIX}"/etc/dnssec/root-anchors.txt
+ --without-included-libtasn1
+ $("${S}/configure" --help | grep -o -- '--without-.*-prefix')
+ )
+
+ ECONF_SOURCE="${S}" econf "${libconf[@]}" "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -type f -name '*.la' -delete || die
+
+ if use examples; then
+ docinto examples
+ dodoc doc/examples/*.c
+ fi
+}
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/alpha/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/alpha/package.use.mask
index 11026d6ba4..f430ba409c 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/alpha/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/alpha/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# matoro (2022-09-30)
+# Per Sam: avoid app-emacs/flycheck deptree, bug #873541
+dev-util/pkgcheck emacs
+
# matoro (2022-09-22)
# Unable to test due to mask, bug #763963
net-misc/openntpd constraints
@@ -30,10 +34,6 @@ media-libs/imlib2 svg heif jpegxl
# app-text/nuspell is not keyworded
app-text/enchant nuspell
-# Matt Turner (2022-04-16)
-# sys-auth/seatd is not keyworded
-dev-libs/weston seatd
-
# Lars Wendler (2022-04-01)
# gnome-base/librsvg missing keywords
media-libs/freetype svg
@@ -180,7 +180,7 @@ gnome-base/nautilus previewer
# needs libgdata[gnome-online-accounts], depends on net-libs/webkit-gtk
gnome-base/gvfs google
# needs app-text/libgepub which depends on webkit-gtk
-xfce-extra/tumbler epub
+xfce-base/tumbler epub
# Michał Górny (2020-06-14)
# Requires dev-python/networkx.
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.mask
index 8b3916f244..b9031a92a7 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.mask
@@ -17,6 +17,11 @@
#--- END OF EXAMPLES ---
+# WANG Xuerui (2022-10-07)
+# sys-libs/libsmbios is available here.
+app-laptop/pbbuttonsd -macbook
+sys-apps/fwupd -dell
+
# Alfredo Tupone (2022-08-30)
# ada bootstrap currently only available on amd64/x86
sys-devel/gcc -ada
@@ -35,7 +40,7 @@ media-sound/qmmp -xmp
# Kai-Chun Ning (2022-05-23)
# Need intel-hybrid-codec-driver, which only works on amd64
-x11-libs/libva-intel-driver -hybrid
+media-libs/libva-intel-driver -hybrid
# James Le Cuirot (2021-10-22)
# The JIT feature only works on amd64 and x86.
@@ -218,11 +223,6 @@ dev-util/catalyst -system-bootloader
# Mask everywhere, unmask where appropriate.
media-video/mpv -vulkan
-# Nick Sarnie (2018-04-29)
-# media-libs/vulkan-loader and app-emulation/vkd3d are keyworded on amd64
-app-emulation/wine-staging -vulkan
-app-emulation/wine-vanilla -vkd3d -vulkan
-
# Richard Yao (2018-04-16)
# sys-fs/zfs is keyworded on amd64
sys-cluster/ceph -zfs
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.stable.mask
index 875a20d936..bb1c0370eb 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.stable.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.stable.mask
@@ -18,9 +18,9 @@
#--- END OF EXAMPLES ---
# Kai-Chun Ning (2022-05-23)
-# Dependency x11-libs/intel-hybrid-codec-driver is only available on unstable
+# Dependency media-libs/intel-hybrid-codec-driver is only available on unstable
# branch
-x11-libs/libva-intel-driver hybrid
+media-libs/libva-intel-driver hybrid
# Adel Kara Slimane (2022-03-14)
# needs stabilizing
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.mask
index 173918986b..959adab62d 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.mask
@@ -4,6 +4,10 @@
# Unmask the flag which corresponds to ARCH.
-amd64
+# matoro (2022-09-29)
+# dev-util/google-perftools is supported here
+-tcmalloc
+
# Matt Turner (2022-04-16)
# dev-util/sysprof-capture is keyworded on amd64
-sysprof
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.mask
index acd5a24333..a7c1448efa 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.mask
@@ -3,7 +3,7 @@
# Kai-Chun Ning (2022-05-26)
# intel-hybrid-codec-driver does not work on x32
-x11-libs/intel-hybrid-codec-driver
+media-libs/intel-hybrid-codec-driver
# Jonas Licht (2022-05-01)
# Requires net-libs/nodejs, plus mask all reverse-dependecies.
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.use.mask
index a960225a3a..ea7045e603 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.use.mask
@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# Kai-Chun Ning (2022-05-26)
-# Dependency x11-libs/intel-hybrid-codec-driver does not work on x32
-x11-libs/libva-intel-driver hybrid
+# Dependency media-libs/intel-hybrid-codec-driver does not work on x32
+media-libs/libva-intel-driver hybrid
# Andreas Sturmlechner (2021-02-09)
# dev-qt/qtwebengine requires net-libs/nodejs, plus mask all
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.mask
index de6c9748e4..4e846eeb77 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Volkmar W. Pogatzki (2022-08-09)
+# dev-java/jaxws-api not keyworded
+>=dev-java/jmock-2.12.0 test
+
# Bernd Waibel (2022-09-16)
# dev-libs/optix depends on x11-drivers/nvidia-drivers,
# which lacks arm support
@@ -175,13 +179,9 @@ net-analyzer/rrdtool rados
sys-fs/multipath-tools rbd
www-servers/uwsgi uwsgi_plugins_rados
-# Anthony G. Basile (2019-03-08)
-# hipe code is missing in erlang for arm
-dev-lang/erlang hipe
-
# Andreas Sturmlechner (2019-02-25)
-# (SM)BIOS/Thunderbolt outside of amd64/x86? - citation needed
-sys-apps/fwupd dell thunderbolt
+# (SM)BIOS outside of amd64/x86? - citation needed
+sys-apps/fwupd dell
# Thomas Deutschmann (2018-10-12)
# Requires www-client/firefox which isn't available on ARM yet
@@ -248,10 +248,6 @@ dev-libs/libsecp256k1 -asm
# DOSBox + OpenGLide is untested on this arch.
games-emulation/dosbox glide
-# Thomas Deutschmann (2016-12-04)
-# sci-libs/gdal[mdb] requires dev-java/jackcess which is not keyworded
->=sci-libs/gdal-2.0.3 mdb
-
# Ettore Di Giacinto (2016-11-10)
# Dependency has no stable keyword
# and as for now we have only stable mate versions
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.stable.mask
index 730ecc16d4..b149b0eec5 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.stable.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.stable.mask
@@ -148,10 +148,6 @@ media-video/mpv raspberry-pi
# net-misc/libteam is not yet stable on arm
net-misc/networkmanager teamd
-# Pacho Ramos (2015-10-03)
-# Missing stable, bug #529462
-media-gfx/graphviz java
-
# Markus Meier (2015-07-19)
# Missing stable
media-libs/gegl umfpack
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/use.mask
index fba199bc66..654c40b633 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/use.mask
@@ -4,6 +4,10 @@
# Unmask the flag which corresponds to ARCH.
-arm
+# matoro (2022-09-29)
+# dev-util/google-perftools is supported here
+-tcmalloc
+
# Michał Górny (2021-01-07)
# Prebuilt kernels are supported here.
-dist-kernel
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.mask
index a54c74e4c0..5609dc9012 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Volkmar W. Pogatzki (2022-08-09)
+# dev-java/jaxws-api not keyworded
+>=dev-java/jmock-2.12.0 test
+
# Alexey Shvetsov (2022-09-15)
# Mask nvml use flag for slurm
sys-cluster/slurm nvml
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.mask
index 1aa7b0ba54..57064e39a9 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.mask
@@ -4,6 +4,10 @@
# Unmask the flag which corresponds to ARCH.
-arm64
+# matoro (2022-09-29)
+# dev-util/google-perftools is supported here
+-tcmalloc
+
# Mike Gilbert (2022-08-31)
# Requires the following packages to be keyworded/stable:
# sys-libs/libapparmor
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/base/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/base/package.use.mask
index f2c9176131..26044840a0 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/base/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/base/package.use.mask
@@ -1,6 +1,19 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Mike Gilbert (2022-10-16)
+# Only supported on MIPS.
+dev-lang/gnat-gpl fixed-point
+sys-devel/gcc fixed-point
+
+# WANG Xuerui (2022-10-07)
+# sys-libs/libsmbios unavailable on most arches (requires the very low-level
+# header that is only ever present on alpha, amd64, ia64 and x86),
+# only unmask on relevant arches.
+# bug #875830
+app-laptop/pbbuttonsd macbook
+sys-apps/fwupd dell
+
# Conrad Kostecki (2022-07-19)
# www-servers/nginx requires keywording
www-servers/nginx nginx_modules_http_security
@@ -10,7 +23,7 @@ media-sound/qmmp xmp
# Kai-Chun Ning (2022-05-23)
# Need intel-hybrid-codec-driver, which only works on amd64
-x11-libs/libva-intel-driver hybrid
+media-libs/libva-intel-driver hybrid
# WANG Xuerui (2022-04-24)
# This is only for bringing in the not-upstreamed-yet LoongArch patchset;
@@ -204,11 +217,6 @@ dev-util/catalyst system-bootloader
# Mask everywhere, unmask where appropriate.
media-video/mpv vulkan
-# Nick Sarnie (2018-04-29)
-# media-libs/vulkan-loader and app-emulation/vkd3d are not available everywhere
-app-emulation/wine-staging vulkan
-app-emulation/wine-vanilla vkd3d vulkan
-
# Richard Yao (2018-04-16)
# sys-fs/zfs is not available everywhere.
sys-cluster/ceph zfs
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.force b/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.force
index 30802cd5b3..b44881f462 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.force
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.force
@@ -1,6 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Michał Górny (2022-10-09)
+# We want to run all tests by default. This flag is disabled in wd40
+# profiles to avoid unresolved dependencies.
+test-rust
+
# James Le Cuirot (2017-06-29)
# Forced and masked by default. Unmask where necessary.
big-endian
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.mask
index 649d66b60a..1d46d81afb 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.mask
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# matoro (2022-09-29)
+# Pulls in dev-util/google-perftools, which is arch-specific
+# Unmask on supported arches.
+tcmalloc
+
# Michał Górny (2021-01-07)
# Prebuilt kernels are not supported on all architectures.
dist-kernel
@@ -75,7 +80,6 @@ cpu_flags_ppc_vsx3
ppcsha1
# mips arch specific USE flags
-fixed-point
loongson2f
mipsdspr1
mipsdspr2
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/package.use.mask
index 85e6179230..0b7e2fd38c 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/package.use.mask
@@ -237,10 +237,6 @@ dev-ruby/asciidoctor test
# libgo needs an explicit port to hppa: bug #686624
sys-devel/gcc go
-# Jeroen Roovers (jer@gentoo.org) (2018-03-22)
-# HiPE does not work on HPPA
-dev-lang/erlang hipe
-
# Thomas Deutschmann (2018-07-04)
# dev-libs/xxhash not keyworded for hppa
app-admin/rsyslog xxhash
@@ -356,7 +352,7 @@ sci-mathematics/octave hdf5 qhull
# Jeroen Roovers (2012-07-08)
# media-libs/devil has not been fully tested on HPPA
-media-gfx/graphviz devil lefty
+media-gfx/graphviz devil
# Jeroen Roovers (2012-07-03)
# Mask USE=connman for net-libs/gupnp (bug #424225)
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/use.mask
index f6eb535bcb..83ae1d1951 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/use.mask
@@ -98,10 +98,6 @@ luajittex
# Mask USE=systemtap generally until proper kernel support is in place
systemtap
-# Jeroen Roovers (2014-05-20)
-# USE=tcmalloc needs dev-util/google-perftools
-tcmalloc
-
# Chí-Thanh Christopher Nguyễn (2013-11-10)
# sys-devel/llvm is not keyworded, bug #320221
llvm
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/ia64/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/ia64/package.use.mask
index 6fdbdd874c..bbb3c72764 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/ia64/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/ia64/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# matoro (2022-09-30)
+# No ruby on ia64 for dev-ruby/asciidoctor
+net-misc/chrony html
+
# Arthur Zamarin (2022-08-15)
# deps not keyworded
dev-util/pkgcheck emacs
@@ -27,10 +31,6 @@ app-text/enchant nuspell
# net-misc/freerdp is not keyworded
dev-libs/weston rdp
-# Matt Turner (2022-04-16)
-# sys-auth/seatd is not keyworded
-dev-libs/weston seatd
-
# Lars Wendler (2022-04-01)
# gnome-base/librsvg missing keywords
media-libs/freetype svg
@@ -135,7 +135,8 @@ media-libs/libsdl2 fcitx4
# Sergei Trofimovich (2020-09-18)
# media-libs/libilbc is not ported to ia64
-net-analyzer/wireshark ilbc
+# nor is Qt
+net-analyzer/wireshark gui ilbc
# Matt Turner (2020-08-11)
# No drivers on this architecture support Vulkan
@@ -181,7 +182,7 @@ gnome-base/nautilus previewer
# - net-libs/gnome-online-accounts: depends on webkit-gtk
gnome-base/gvfs google
# app-text/libgepub depends on webkit-gtk.
-xfce-extra/tumbler epub
+xfce-base/tumbler epub
# Thomas Deutschmann (2020-03-15)
# Mask USE=libtesseract, app-text/tesseract is not keyworded
@@ -280,10 +281,6 @@ media-video/mplayer dvdnav
# Requires USE=v4l that is masked in this profile.
media-video/ffmpeg libv4l
-# Sergei Trofimovich (2017-07-20)
-# pulls in unkeyworded java
-sci-libs/gdal mdb
-
# Sergei Trofimovich (2017-07-20)
# pulls in unkeyworded lapack
sci-libs/gdal armadillo
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/ia64/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/ia64/use.mask
index 35691c5b0a..187c06dae9 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/ia64/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/ia64/use.mask
@@ -4,10 +4,6 @@
# Unmask the flag which corresponds to ARCH.
-ia64
-# Sam James (2022-07-30)
-# dev-util/google-perftools not keyworded here
-tcmalloc
-
# Sam James (2022-07-21)
# Untested.
ieee1394
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/loong/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/loong/package.use.mask
index d1c7930003..4661754420 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/loong/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/loong/package.use.mask
@@ -1,6 +1,12 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# WANG Xuerui (2022-10-04)
+# Sanitizers partially supported on this architecture.
+#
+# ASan: https://reviews.llvm.org/D129418 (LLVM 15 and above)
+>=sys-libs/compiler-rt-sanitizers-15 -asan
+
# WANG Xuerui (2022-07-08)
# virtual/jre is not available on loong yet.
www-client/chromium js-type-check
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/m68k/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/m68k/package.use.mask
index c1cd52961c..bed1ecab87 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/m68k/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/m68k/package.use.mask
@@ -38,7 +38,7 @@ dev-util/cmake test
# James Le Cuirot (2021-09-19)
# Avoid having to keyword Poppler and X11 libraries for now.
-media-gfx/graphviz lefty pdf
+media-gfx/graphviz pdf
# James Le Cuirot (2021-09-19)
# Requires Rust, which is currently unavailable on m68k.
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/mips/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/mips/package.use.mask
index 2c2619a4a2..0b06a8ad3d 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/mips/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/mips/package.use.mask
@@ -1,6 +1,11 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Mike Gilbert (2022-10-16)
+# Only supported on MIPS.
+dev-lang/gnat-gpl -fixed-point
+sys-devel/gcc -fixed-point
+
# matoro (2022-09-14)
# Not broken, but better wait on profiles: bug #515694
dev-lang/rust system-llvm
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/mips/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/mips/use.mask
index 7c2cc1ebf1..84935ae0a2 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/mips/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/mips/use.mask
@@ -25,10 +25,6 @@ networkmanager
# sci-geosciences/gpsd is not keyworded here.
gps
-# Brian Evans (2018-01-15)
-# Mask tcmalloc as dev-util/google-perftools is unavailable
-tcmalloc
-
# James Le Cuirot (2017-06-29)
# Unmask as this profile is big endian.
-big-endian
@@ -263,7 +259,6 @@ ocamlopt
fluidsynth
# Mips USE flags
--fixed-point
-loongson2f
# Chí-Thanh Christopher Nguyễn (2013-08-22)
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/package.use.mask
index bcff852d19..1b54d7bbf6 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/package.use.mask
@@ -1,6 +1,18 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Bernard Cafarelli (2022-10-17)
+# media-libs/libheif not keyworded
+media-gfx/geeqie heif
+
+# Sam James (2022-10-16)
+# dev-cpp/notcurses not keyworded here
+media-sound/snd notcurses
+
+# Volkmar W. Pogatzki (2022-08-09)
+# dev-java/jaxws-api not keyworded
+>=dev-java/jmock-2.12.0 test
+
# Andrew Ammerlaan (2022-09-23)
# Only PyQt5 is keyworded on pcc64 at the moment.
# Mask the other Qt4Python implementations
@@ -201,6 +213,7 @@ app-portage/g-sorcery bson
# Michał Górny (2017-03-24)
# libcxx fails to compile on ppc*, #595744.
sys-devel/clang default-libcxx
+sys-devel/clang-common default-libcxx
sys-devel/clang-runtime libcxx
# James Le Cuirot (2016-12-14)
@@ -246,7 +259,6 @@ gnome-extra/sushi office
# test dependencies need keywording
dev-haskell/dlist test
dev-haskell/haskell-src-exts test
-dev-util/bnfc test
# Anthony G. Basile (2014-08-16)
# Ultimately pulls in nodejs which is broken.
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc32/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc32/package.use.mask
index 734395f077..58aaa24e15 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc32/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc32/package.use.mask
@@ -32,7 +32,7 @@ media-libs/freetype svg
# Matt Turner (2022-04-16)
# sys-auth/seatd is not keyworded
-dev-libs/weston seatd
+<=dev-libs/weston-10.0.0 seatd
# Bernard Cafarelli (2022-03-14)
# Now requires dev-java/rhino which is not keyworded
@@ -110,6 +110,7 @@ media-libs/gd avif heif
# compiler-rt* has no support for ppc32 (yet?)
# bug #708344
sys-devel/clang-runtime compiler-rt sanitize
+sys-devel/clang-common default-compiler-rt
sys-devel/clang default-compiler-rt
# Florian Schmaus (2020-12-03)
@@ -190,10 +191,6 @@ sys-devel/clang-runtime openmp sanitize
# Dropping ppc from sci-libs/armadillo, bug 555896
sci-libs/gdal armadillo
-## Thomas Deutschmann (2016-12-04)
-# sci-libs/gdal[mdb] requires dev-java/jackcess which is not keyworded
-sci-libs/gdal mdb
-
# Michał Górny (2016-11-18)
# libomp does not support 32-bit PPC, #600148.
sys-devel/clang-runtime openmp
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/32ul/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/32ul/package.use.mask
index bfd49a6d6b..2b06708257 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/32ul/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/32ul/package.use.mask
@@ -20,7 +20,3 @@ media-gfx/gimp heif
# Andreas Sturmlechner (2019-02-16)
# app-text/libwpd and app-text/libwpg are not keyworded
media-gfx/inkscape cdr visio wpg
-
-# Thomas Deutschmann (2016-12-04)
-# sci-libs/gdal[mdb] requires dev-java/jackcess which is not keyworded
-sci-libs/gdal mdb
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.mask
index 5c48095368..86a0237523 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.mask
@@ -64,7 +64,7 @@
# Georgy Yakovlev (2020-01-21)
# works fine on little-endian
--x11-libs/libva
+-media-libs/libva
-media-video/libva-utils
-media-plugins/gst-plugins-vaapi
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.mask
index ec04b7c841..96a21d0855 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James (2022-10-08)
+# sys-boot/gnu-efi isn't keyworded here right now
+sys-kernel/installkernel-systemd-boot
+
# Michał Górny (2022-08-25)
# Only ppc64le binpkg is provided.
dev-python/pypy-exe-bin
@@ -57,7 +61,7 @@ virtual/dist-kernel
# Georgy Yakovlev (2020-01-21)
# buggy on big-endian
-x11-libs/libva
+media-libs/libva
media-video/libva-utils
media-plugins/gst-plugins-vaapi
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.use.mask
index 4d8af12fcb..ef0c262fbb 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.use.mask
@@ -1,6 +1,15 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James (2022-10-13)
+# Causes segfaults, bug #871921
+sci-libs/symengine tcmalloc
+
+# Georgy Yakovlev (2022-09-29)
+# USE=fix requires ring crate, which is not portable
+# https://github.com/rustsec/rustsec/issues/707
+dev-util/cargo-audit fix
+
# Andrey Grozin (2022-09-02)
# dev-libs/capstone not keyworded
dev-lisp/sbcl capstone
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/use.mask
index f320d25db6..9bff3d4bab 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/use.mask
@@ -4,6 +4,10 @@
# PPC Specific use flags
#
+# matoro (2022-09-29)
+# dev-util/google-perftools is supported here
+-tcmalloc
+
# Georgy Yakovlev (2021-06-06)
# XEN does not support ppc/ppc64 yet
xen
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/package.use.force b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/package.use.force
index cb405f4ea1..cc0ff66917 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/package.use.force
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/package.use.force
@@ -1,6 +1,12 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# matoro (2022-09-10)
+# GHC does not support native codegen for riscv at all.
+# It gains LLVM codegen in 9.2, but we maintain a backport of this,
+# so force LLVM codegen in all versions.
+dev-lang/ghc llvm
+
# we, kinda, need this on riscv ...
sys-devel/llvm llvm_targets_RISCV
sys-devel/clang llvm_targets_RISCV
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/package.use.mask
index a54a8f8260..e55a09567d 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Xin Yang (2022-10-18)
+# requires qtwebengine, bug #876301
+app-i18n/fcitx-libpinyin dictionary-manager
+
# Yixun Lan (2022-01-27)
# This target supports ASAN/etc...
# Andreas K. Hüttel (2022-09-25)
@@ -64,11 +68,6 @@ sys-block/fio rbd
# Upstream bug for criu: https://github.com/checkpoint-restore/criu/issues/1702
app-containers/crun criu
-# Alex Fan (2022-02-28)
-# dev-libs/vc is a dummy implementation on this arch
-# krita fails to build with it
-media-gfx/krita vc
-
# Adel Kara Slimane (2022-02-17)
# Mask AMF keyword on non-amd64 arches
# It is unusable, for now, in other arches
@@ -114,6 +113,7 @@ dev-ruby/capybara test
# - dev-qt/qtwebengine (bdepend)
dev-python/ipython qt5
kde-apps/marble webengine
+kde-plasma/discover webengine
kde-plasma/kdeplasma-addons webengine
kde-plasma/libksysguard webengine
net-irc/quassel urlpreview
@@ -123,7 +123,7 @@ net-irc/quassel urlpreview
net-analyzer/suricata hyperscan
# Yixun Lan (2021-08-29)
-# sys-apps/fwupd not tested, USE=spi,uefi,dell
+# sys-apps/fwupd not tested, USE=spi,uefi
sys-apps/fwupd spi uefi
# Marek Szuba (2021-08-23)
@@ -158,8 +158,6 @@ net-libs/libproxy spidermonkey
app-text/texlive pdfannotextractor
# - JDK
media-libs/rubberband jni
-# - dev-java/jackcess
-sci-libs/gdal mdb
# Yixun Lan (2021-08-05)
# Boost.Context can be built on riscv
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/use.mask
index 6fef498580..1c5098544e 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/use.mask
@@ -1,4 +1,4 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Unmask the flag which corresponds to ARCH.
@@ -7,6 +7,10 @@
# Unmask systemd
-systemd
+# matoro (2022-09-29)
+# dev-util/google-perftools is supported here
+-tcmalloc
+
# Yixun Lan (2021-05-19)
# Unmask for more testing
-elogind
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/s390/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/s390/use.mask
index e41e114866..6da3d76394 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/s390/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/s390/use.mask
@@ -12,10 +12,6 @@
# dev-libs/mongo-c-driver not keyworded here
mongodb
-# Sam James (2022-04-24)
-# Avoid unkeyworded dev-util/google-perftools
-tcmalloc
-
# Sam James (2022-04-24)
# Desktopy stacks not currently keyworded
alsa
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/package.use.mask
index dda0c67f23..6601f11402 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/package.use.mask
@@ -38,10 +38,6 @@ app-text/enchant nuspell
# net-misc/freerdp is not keyworded
dev-libs/weston rdp
-# Matt Turner (2022-04-16)
-# sys-auth/seatd is not keyworded
-dev-libs/weston seatd
-
# Lars Wendler (2022-04-01)
# gnome-base/librsvg missing keywords
media-libs/freetype svg
@@ -103,6 +99,7 @@ dev-cpp/eigen test
# Sam James (2021-04-27)
# Deps not yet tested/keyworded.
sys-devel/clang default-compiler-rt default-lld
+sys-devel/clang-common default-compiler-rt default-lld
sys-devel/clang-runtime compiler-rt
sys-devel/llvm z3
@@ -150,7 +147,7 @@ net-libs/webkit-gtk gamepad
# Joonas Niilola (2020-11-16)
# app-text/libgepub not yet keyworded on this arch. #754762
-xfce-extra/tumbler epub
+xfce-base/tumbler epub
# Arfrever Frehtes Taifersar Arahesis (2020-10-14)
# app-i18n/fcitx:4 not keyworded.
@@ -320,10 +317,6 @@ net-print/cups-filters pdf
# Skip keywording it for now.
app-office/scribus osg
-# Sergei Trofimovich (2018-06-17)
-# Mask broken HIPE support on sparc32 (bug #656618)
-dev-lang/erlang hipe
-
# Sergei Trofimovich (2018-05-08)
# Mask USE=games to avoid unkeyworded games-util/qstat.
net-analyzer/monitoring-plugins game
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/use.mask
index 6362e7c746..ff37147126 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/use.mask
@@ -153,7 +153,6 @@ gts
metalink
tremor
fdk
-tcmalloc
jemalloc
zmq
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.mask
index 2fa62df312..f91453636d 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.mask
@@ -1,3 +1,6 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Volkmar W. Pogatzki (2022-08-19)
+# dev-java/hamcrest:0 is not keyworded
+>=dev-java/jmock-2.12.0
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.mask
index 9799b25a0a..a5789fc65f 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.mask
@@ -1,6 +1,15 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# WANG Xuerui (2022-10-07)
+# sys-libs/libsmbios is available here.
+app-laptop/pbbuttonsd -macbook
+sys-apps/fwupd -dell
+
+# Volkmar W. Pogatzki (2022-08-09)
+# dev-java/jaxws-api not keyworded
+>=dev-java/jmock-2.12.0 test
+
# Alexey Shvetsov (2022-09-15)
# Mask nvml use flag for slurm
sys-cluster/slurm nvml
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.stable.mask
index db6bc5ca83..2183c009cb 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.stable.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.stable.mask
@@ -82,7 +82,7 @@ dev-ruby/haml test
# Adam Feldman (2017-09-27)
# patchset variants are not stable
-virtual/wine staging
+virtual/wine proton staging
# Christoph Junghans (2017-02-26)
# Stable mask some fabrics (bug #525534)
diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.mask
index f5ed2fdbec..9a57752b6a 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.mask
@@ -4,6 +4,10 @@
# Unmask the flag which corresponds to ARCH.
-x86
+# matoro (2022-09-29)
+# dev-util/google-perftools is supported here
+-tcmalloc
+
# Matt Turner (2022-04-16)
# dev-util/sysprof-capture is keyworded on x86
-sysprof
diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/make.defaults b/sdk_container/src/third_party/portage-stable/profiles/base/make.defaults
index 2c288d12d1..39d5dd1cf8 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/base/make.defaults
+++ b/sdk_container/src/third_party/portage-stable/profiles/base/make.defaults
@@ -43,7 +43,7 @@ CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
# GOBIN needs to be cleaned as random values in GOBIN can affect the
# building of some packages:
# https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0
-ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY CARGO_HOME XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH"
+ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY CARGO_HOME XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_STATE_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH"
# Variables that are set exclusively by the profile
# and not by user configuration files.
diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.force b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.force
index fa17fcb49e..904108ba96 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.force
+++ b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.force
@@ -6,12 +6,6 @@
# so force the flag on until problem fixed upstream
>=sys-cluster/ceph-17.2.1 system-boost
-# Sam James (2022-05-17)
-# Force on jpeg & png for now until build system fixes are made
-# by upstream. The CMake port is new so it's fairly expected
-# to have a few bumps. bug #844751.
-=sci-libs/gdal-3.5.0-r3 jpeg png
-
# Esteve Varela Colominas (2022-02-19)
# Use the jemalloc allocator for telegram, as recommended by upstream,
# to reduce memory usage, at least on glibc.
diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.mask
index fbcf23d6ee..5dd77f442a 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.mask
@@ -6,6 +6,31 @@
# This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base.
+# Sam James (2022-10-08)
+# Older versions of libvirt need a vulnerable version of wireshark
+ (2022-10-07)
+# media-sound/rplay is masked for removal.
+x11-wm/fvwm3 rplay
+x11-wm/ctwm rplay
+x11-wm/fvwm rplay
+x11-wm/vtwm rplay
+
+# Viorel Munteanu (2022-10-07)
+# Cannot test and fix pax-kernel related bugs on a current grsec kernel
+# Mask the flag for now
+# Bugs: #643466, #674872, #832161, #855722
+app-emulation/virtualbox pax-kernel
+app-emulation/virtualbox-modules pax-kernel
+
+# Sam James (2022-10-02)
+# USE=compat / possibly allowing sys-libs/zlib needs to be figured out,
+# but packages want to use the actual zlib-ng library, so we need to
+# mask it and can't hold the whole thing up on the compat effort.
+sys-libs/zlib-ng compat
+sys-libs/minizip-ng compat
+
# Matt Turner (2022-09-26)
# Requires nautilus-43.0 which is not in tree yet.
>=x11-terms/gnome-terminal-3.46 nautilus
@@ -77,11 +102,6 @@ dev-python/QtPy pyqt6 pyside6
# Doesn't compile with 'Xaw3d' use flag, #849947.
app-text/xdvik Xaw3d
-# Joonas Niilola (2022-07-13)
-# Depends on an older enigmail that only supports python2, which is
-# being removed soon. #758344
-www-client/seamonkey crypt
-
# Sam James (2022-07-10)
# TBB support is deprecated/broken upstream, needs older version,
# and upstream are inclined to remove it entirely. bug #820827.
diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.stable.mask
index 6da1b54760..b897a27630 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.stable.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.stable.mask
@@ -23,11 +23,6 @@ sci-electronics/kicad ngspice
# app-text/pandoc is not stable
app-text/nuspell doc
-# Volkmar W. Pogatzki (2022-05-05)
-# fop[test] depends on mockito:4, which is not yet stable (bug #727504),
-# and itself blocked by libffi stabilization (bug #813756).
-dev-java/fop test
-
# Sam James (2022-02-11)
# Needs glibc-2.35(?) (or <2.34) which is not yet even keyworded but
# won't be stable for a while. Can be unmasked then.
@@ -193,10 +188,6 @@ dev-php/PEAR-Text_Password test
# The go flag requires stable masked dev-lang/go[gccgo].
www-servers/uwsgi go uwsgi_plugins_alarm_xmpp
-# Michael Palimaka (2017-09-30)
-# Required dependeny is not stable
-sci-libs/gdal mdb
-
# Tim Harder (2017-09-11)
# Requires guile-2 which is still unstable.
>=net-irc/weechat-1.7 guile
diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/use.mask b/sdk_container/src/third_party/portage-stable/profiles/base/use.mask
index 95771e8b8e..7f933c6c7e 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/base/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/base/use.mask
@@ -4,6 +4,10 @@
# This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base.
+# Brian Evans (2022-09-30)
+# PHP 8.2 is in RC
+php_targets_php8-2
+
# Sam James (2022-08-02)
# Masked for testing. The split of some packages may still
# change. bug #838970.
diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/base/use.stable.mask
index ca3c1c7516..a4e777b49d 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/base/use.stable.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/base/use.stable.mask
@@ -4,6 +4,10 @@
# This file requires eapi 5 or later. New entries go on top.
# Please use the same syntax as in use.mask
+# Patrick Lauer (2022-10-13)
+# Postgres:15 is not stable yet
+postgres_targets_postgres15
+
# Michał Górny (2022-05-08)
# Mask until dev-lang/python:3.11 becomes stable.
python_targets_python3_11
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/clang/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/clang/package.use.mask
new file mode 100644
index 0000000000..3435fc7a7d
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/clang/package.use.mask
@@ -0,0 +1,6 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Sam James (2022-10-15)
+# Undo the general musl mask
+www-client/firefox -clang
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/clang/parent b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/clang/parent
index 45c5283c44..845cedb73f 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/clang/parent
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/clang/parent
@@ -1,2 +1,2 @@
..
-../../../../../../features/clang
+../../../../../../features/llvm
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/package.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/package.mask
index 03746363ca..25a5df5e91 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/package.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.0/musl/package.mask
@@ -1,6 +1,11 @@
-# Copyright 2020 Gentoo Authors.
+# Copyright 2020-2022 Gentoo Authors.
# Distributed under the terms of the GNU General Public License v2
+# Sam James (2022-10-08)
+# openjdk-bin is available on amd64 musl
+-dev-java/openjdk-bin
+dev-java/openjdk-bin:8
+
# Georgy Yakovlev (2020-01-28)
# rust-bin is available on amd64 musl
-dev-lang/rust-bin
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.1/clang/parent b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.1/clang/parent
index 7cba5799ab..929f409fcc 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.1/clang/parent
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.1/clang/parent
@@ -1,2 +1,2 @@
..
-../../../../../features/clang
+../../../../../features/llvm
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.1/systemd/clang/parent b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.1/systemd/clang/parent
index 45c5283c44..845cedb73f 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.1/systemd/clang/parent
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/amd64/17.1/systemd/clang/parent
@@ -1,2 +1,2 @@
..
-../../../../../../features/clang
+../../../../../../features/llvm
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/clang/eapi b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/llvm/eapi
similarity index 100%
rename from sdk_container/src/third_party/portage-stable/profiles/features/clang/eapi
rename to sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/llvm/eapi
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/llvm/packages.build b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/llvm/packages.build
new file mode 100644
index 0000000000..9ffb08757b
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/llvm/packages.build
@@ -0,0 +1,9 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# we use glibc here, so we still need these in stage1
+# later stages should pull them in as BDEPEND anyway
+sys-devel/gcc
+sys-devel/gcc-config
+sys-devel/binutils
+sys-devel/binutils-config
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/llvm/parent b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/llvm/parent
new file mode 100644
index 0000000000..929f409fcc
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/llvm/parent
@@ -0,0 +1,2 @@
+..
+../../../../../features/llvm
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/eapi b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/eapi
new file mode 100644
index 0000000000..7ed6ff82de
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/eapi
@@ -0,0 +1 @@
+5
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/package.use.mask
new file mode 100644
index 0000000000..3435fc7a7d
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/package.use.mask
@@ -0,0 +1,6 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Sam James (2022-10-15)
+# Undo the general musl mask
+www-client/firefox -clang
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/parent b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/parent
new file mode 100644
index 0000000000..845cedb73f
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/musl/llvm/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../features/llvm
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/eapi b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/eapi
new file mode 100644
index 0000000000..7ed6ff82de
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/eapi
@@ -0,0 +1 @@
+5
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/packages.build b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/packages.build
new file mode 100644
index 0000000000..9ffb08757b
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/packages.build
@@ -0,0 +1,9 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# we use glibc here, so we still need these in stage1
+# later stages should pull them in as BDEPEND anyway
+sys-devel/gcc
+sys-devel/gcc-config
+sys-devel/binutils
+sys-devel/binutils-config
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/parent b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/parent
new file mode 100644
index 0000000000..845cedb73f
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/arm64/17.0/systemd/llvm/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../features/llvm
diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/parent b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/parent
index 58651906cb..9ef7663a23 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/parent
+++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/parent
@@ -1,2 +1,3 @@
..
../../../../../features/musl
+../../../../../features/wd40
diff --git a/sdk_container/src/third_party/portage-stable/profiles/desc/php_targets.desc b/sdk_container/src/third_party/portage-stable/profiles/desc/php_targets.desc
index 301a3e58a8..78c3a07424 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/desc/php_targets.desc
+++ b/sdk_container/src/third_party/portage-stable/profiles/desc/php_targets.desc
@@ -3,6 +3,7 @@
# This file contains descriptions of the PHP_TARGETS USE_EXPAND flags
+php8-2 - Build against PHP 8.2
php8-1 - Build against PHP 8.1
php8-0 - Build against PHP 8.0
php7-4 - Build against PHP 7.4
diff --git a/sdk_container/src/third_party/portage-stable/profiles/desc/postgres_targets.desc b/sdk_container/src/third_party/portage-stable/profiles/desc/postgres_targets.desc
index 2aeb36f337..f87ee7f047 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/desc/postgres_targets.desc
+++ b/sdk_container/src/third_party/portage-stable/profiles/desc/postgres_targets.desc
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# This file contains descriptions of POSTGRES_TARGETS USE_EXPAND flags.
@@ -8,3 +8,4 @@ postgres11 - Build against PostgreSQL 11
postgres12 - Build against PostgreSQL 12
postgres13 - Build against PostgreSQL 13
postgres14 - Build against PostgreSQL 14
+postgres15 - Build against PostgreSQL 15
diff --git a/sdk_container/src/third_party/portage-stable/profiles/embedded/make.defaults b/sdk_container/src/third_party/portage-stable/profiles/embedded/make.defaults
index 20d5960e9c..050826ef69 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/embedded/make.defaults
+++ b/sdk_container/src/third_party/portage-stable/profiles/embedded/make.defaults
@@ -70,7 +70,7 @@ CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
# GOBIN needs to be cleaned as random values in GOBIN can affect the
# building of some packages:
# https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0
-ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY CARGO_HOME XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH"
+ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY CARGO_HOME XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_STATE_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH"
# Tiziano Müller (2010-01-24)
# We usually don't want python to (re)write .py[co] files during phase runs
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/llvm/eapi b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/eapi
new file mode 100644
index 0000000000..7ed6ff82de
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/eapi
@@ -0,0 +1 @@
+5
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/clang/make.defaults b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/make.defaults
similarity index 100%
rename from sdk_container/src/third_party/portage-stable/profiles/features/clang/make.defaults
rename to sdk_container/src/third_party/portage-stable/profiles/features/llvm/make.defaults
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/clang/package.accept_keywords b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/package.accept_keywords
similarity index 100%
rename from sdk_container/src/third_party/portage-stable/profiles/features/clang/package.accept_keywords
rename to sdk_container/src/third_party/portage-stable/profiles/features/llvm/package.accept_keywords
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/clang/package.use b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/package.use
similarity index 81%
rename from sdk_container/src/third_party/portage-stable/profiles/features/clang/package.use
rename to sdk_container/src/third_party/portage-stable/profiles/features/llvm/package.use
index 4b720c60bf..267fafefe7 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/features/clang/package.use
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/package.use
@@ -3,6 +3,7 @@ sys-devel/llvm -binutils-plugin
# use all defaults
sys-devel/clang default-compiler-rt default-lld default-libcxx llvm-libunwind
+sys-devel/clang-common default-compiler-rt default-lld default-libcxx llvm-libunwind
sys-libs/compiler-rt clang
# disable sanitizers for now
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/clang/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/package.use.mask
similarity index 100%
rename from sdk_container/src/third_party/portage-stable/profiles/features/clang/package.use.mask
rename to sdk_container/src/third_party/portage-stable/profiles/features/llvm/package.use.mask
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/clang/packages b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/packages
similarity index 100%
rename from sdk_container/src/third_party/portage-stable/profiles/features/clang/packages
rename to sdk_container/src/third_party/portage-stable/profiles/features/llvm/packages
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/clang/packages.build b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/packages.build
similarity index 100%
rename from sdk_container/src/third_party/portage-stable/profiles/features/clang/packages.build
rename to sdk_container/src/third_party/portage-stable/profiles/features/llvm/packages.build
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/clang/use.force b/sdk_container/src/third_party/portage-stable/profiles/features/llvm/use.force
similarity index 100%
rename from sdk_container/src/third_party/portage-stable/profiles/features/clang/use.force
rename to sdk_container/src/third_party/portage-stable/profiles/features/llvm/use.force
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.mask b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.mask
index 58ba9fbef3..151471cc60 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.mask
@@ -1,8 +1,31 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James (2022-10-17)
+# Needs porting to musl
+# https://github.com/rr-debugger/rr/issues/2236
+dev-util/rr
+
+# Sam James (2022-10-04)
+# Packages with dubious sys-libs/glibc dependencies (non-binary) but
+# masking for now to allow musl profiles to graduate from exp->dev.
+dev-db/pgbouncer
+dev-libs/cgreen
+media-sound/xwax
+net-analyzer/gsad
+net-analyzer/gvm
+net-analyzer/gvmd
+net-analyzer/gvm-libs
+net-analyzer/openvas-scanner
+net-analyzer/ospd-openvas
+net-misc/grive
+net-print/pnm2ppa
+net-wireless/neard
+sys-apps/noexec
+
# Petr Vaněk (2022-09-23)
# Musl does not implement rresvport function, bugs #713810 and #713376.
+app-admin/clustershell
app-shells/pdsh
net-analyzer/ipcad
@@ -11,59 +34,27 @@ net-analyzer/ipcad
sys-apps/uutils
# Sam James (2022-09-12)
-# The libxcrypt migration is optional for musl.
+# libxcrypt migration masks.
+# 1. The libxcrypt migration is optional for musl, so unmask -virtual/libcrypt:0/1.
+# 2. virtual/libcrypt-2 doesn't migrate anything on musl,
+# we need virtual/libcrypt-2-r1 for the libxcrypt migration there, so
+# avoid a useless rebuild, and ensure it happens at the right time instead.
-virtual/libcrypt:0/1
-
-# Sam James (2022-09-12)
-# virtual/libcrypt-2 doesn't migrate anything on musl,
-# we need virtual/libcrypt-2-r1 for the libxcrypt migration there, so
-# avoid a useless rebuild, and ensure it happens at the right time instead.
=virtual/libcrypt-2
-# Andrew Ammerlaan (2022-09-06)
-# Binary package linked against glibc
-games-action/minecraft-launcher
-
-# Vladimir Pavljuchenkov (2022-08-21)
-# Binary package linked against glibc, bug #832607.
-net-p2p/resilio-sync
-
# Mike Gilbert (2022-08-01)
# Fails to build.
app-emulation/open-vm-tools
-# William Hubbs (2022-07-30)
-# Binary package linked against glibc, bug #861893.
-app-admin/awscli-bin
-
-# David Seifert (2022-07-29)
-# Binary package linked against glibc
-media-sound/baudline
-
-# David Seifert (2022-07-29)
-# Binary package linked against glibc
-sys-block/megacli
-
# Marek Szuba (2022-07-28)
# Relies on unimplemented functions outb_p and inb_p,
# support for which has never made it into musl. Bug #712972.
sys-libs/libsmbios
-# Stefan Strogin (2022-06-29)
-# Binary package linked against glibc
-net-im/element-desktop-bin
-
-# Florian Schmaus (2022-06-05)
-# Binary package linked against glibc, bug #832932
-sys-block/hpssacli
-
-# Sam James (2022-04-23)
-# Binary package linked against glibc, bug #832615
-net-print/cnijfilter2
-
# Sam James (2022-04-23)
# Compatibility packages for binary/pre-built software shouldn't
# be needed on musl (and these fail to build anyway).
+sys-apps/byld
sys-libs/libtermcap-compat
sys-libs/libstdc++-v3
@@ -72,179 +63,177 @@ sys-libs/libstdc++-v3
# bug #713542
net-misc/casync
-# Martin Dummer (2022-03-26)
-# Binary package linked to glibc. Bug #832558
-net-misc/teamviewer
-
-# Mike Pagano (2022-03-21)
-# Binary package linked to glibc
-dev-util/idea-community
-
-# Pacho Ramos (2022-03-13)
-# Binary package linked to glibc
-sys-power/dptfxtract
-
# Bernd Waibel (2022-03-14)
# Doesn't build with musl, bug #832742
+app-eselect/eselect-opencascade
+media-gfx/freecad
+media-gfx/prusaslicer
sci-libs/opencascade
-# Adel KARA SLIMANE (2022-03-09)
-# Binary packages linked to glibc
-app-editors/vscode
-app-editors/vscodium
-
-# João Santos (2022-02-22)
-# Binary package linked to glibc
-app-text/master-pdf-editor
-
-# Sam James (2022-02-20)
-# Binary package linked to glibc
-app-admin/bitwarden-desktop-bin
-
-# Adel Kara Slimane (2022-02-17)
-# Binary package linked to glibc
-media-libs/amdgpu-pro-vulkan
-media-video/amdgpu-pro-amf
-
-# Ionen Wolkens (2022-02-17)
-# Binary package linked to glibc
-net-im/discord-bin
-
-# Conrad Kostecki (2022-02-12)
-# Binary package linked to glibc
-x11-misc/xflux
-
-# Stephan Hartmann (2022-02-10)
-# Binary package linked to glibc
-www-apps/chromedriver-bin
-
# Stephan Hartmann (2022-02-10)
# Doesn't build on musl, bug #833028
www-client/chromium
-# Stephan Hartmann (2022-02-10)
-# Binary package linked to glibc
-www-plugins/chrome-binary-plugins
-
-# Stephan Hartmann (2022-02-10)
-# Binary packages linked to glibc
-www-client/opera
-www-client/opera-beta
-www-client/opera-developer
-
-# Stephan Hartmann (2022-02-10)
-# Binary packages linked to glibc
-www-client/google-chrome
-www-client/google-chrome-beta
-www-client/google-chrome-unstable
-
-# Stephan Hartmann (2022-02-10)
-# Binary packages linked to glibc
-www-client/microsoft-edge
-www-client/microsoft-edge-beta
-www-client/microsoft-edge-dev
-
-# Paolo Pedroni (2022-02-09)
-# Binary package linked to glibc
-sci-mathematics/gimps
-
# Paolo Pedroni (2022-02-09)
# It doesn't build on musl
# bug #832551
net-misc/netkit-telnetd
-
-# Henning Schild (2022-02-09)
-# Binary package linked to glibc
-net-im/telegram-desktop-bin
-
-# Conrad Kostecki (2022-02-08)
-# Binary package linked to glibc
-sys-apps/ipmicfg
+net-misc/sitecopy
# Sam James (2022-02-06)
# Latest version doesn't build on musl
# bug #831363
=sys-libs/efivar-38
-
-# Stephan Hartmann (2022-02-05)
-# Binary package linked to glibc
-net-im/teams
-
-# Conrad Kostecki (2022-02-03)
-# Binary package linked to glibc
-net-misc/ipmiview
-
-# Conrad Kostecki (2022-02-03)
-# Binary package linked to glibc
-media-sound/teamspeak-server
-
-# Conrad Kostecki (2022-02-03)
-# Binary package linked to glibc
-games-server/steamcmd
-
-# Conrad Kostecki (2022-02-03)
-# Binary package linked to glibc
-games-server/bedrock-server
-
-# Conrad Kostecki (2022-02-03)
-# Binary package linked to glibc
-dev-libs/luise
-
-# Conrad Kostecki (2022-02-03)
-# Binary package linked to glibc
-app-misc/kryoflux-dtc
-
-# Conrad Kostecki (2022-02-03)
-# Binary package linked to glibc
-app-benchmarks/geekbench
-
-# Robert Siebeck (2022-02-02)
-# Binary package linked to glibc, bug #832483
-net-im/signal-desktop-bin
-
-# Ben Kohler (2022-02-02)
-# Binary backage linked to glibc
-net-misc/dropbox
-
-# Sergey Popov (2022-02-02)
-# Binary package linked to glibc, bug #832581
-net-misc/yandex-disk
-
-# David Seifert (2022-02-02)
-# Binary package linked to glibc
-net-im/skypeforlinux
-
-# Viorel Munteanu (2022-02-01)
-# Binary package linked to glibc
-net-im/mattermost-desktop-bin
-
-# Ulrich Müller (2022-01-25)
-# Binary packages linked to glibc
-media-gfx/brscan4
-net-im/zoom
-
-# Andreas K. Hüttel (2022-01-22)
-# Binary packages linked to glibc
-app-backup/tsm
-sci-electronics/labone
-
-# Marco Genasci (2022-01-06)
-# dev-db/oracle-instantclient package linked against glibc,
-# and the other packages depends on it.
-dev-db/oracle-instantclient
-dev-db/ocp
-dev-db/sqlcl-bin
+app-crypt/pesign
+sys-kernel/kpatch
# Andrew Ammerlaan (2022-01-05)
-# Binary package linked to glibc
+# Binary package linked to glibc (rolling mask, use for all such binpkgs)
+app-admin/awscli-bin
+app-admin/bitwarden-desktop-bin
+app-admin/puppet-agent
+app-admin/puppetserver
+app-arch/rar
+app-backup/tsm
+app-benchmarks/geekbench
+app-crypt/rainbowcrack
+app-editors/vscode
+app-editors/vscodium
+app-emulation/crossover-bin
+app-misc/kryoflux-dtc
+app-office/libreoffice-bin
+app-office/libreoffice-bin-debug
+app-text/master-pdf-editor
app-text/zotero-bin
+dev-db/ocp
+dev-db/oracle-instantclient
+dev-db/sqlcl-bin
+dev-games/ps2-packer
+dev-java/openjdk-bin
+dev-java/openjdk-jre-bin
+dev-libs/luise
+dev-perl/Lab-Zhinst
+dev-php/PEAR-MDB2_Driver_oci8
+dev-python/pyzotero
+dev-util/idea-community
+games-action/a-story-about-my-uncle
+games-action/badland
+games-action/brutal-legend-gog
+games-action/brutal-legend-hb
+games-action/descent3
+games-action/descent3-demo
+games-action/minecraft-launcher
+games-action/psychonauts2-hb
+games-action/shadowgrounds-bin
+games-action/shadowgrounds-survivor-bin
+games-action/trine
+games-action/trine-enchanted-edition
+games-action/trine2
+games-arcade/barbarian-bin
+games-arcade/jardinains
+games-emulation/zinc
+games-fps/etqw-bin
+games-fps/etqw-data
+games-fps/etqw-demo
+games-fps/glxquake-bin
+games-fps/legends
+games-fps/soldieroffortune
+games-fps/transfusion-bin
+games-fps/tribes2
+games-fps/ut2003
+games-fps/ut2003-bonuspack-cm
+games-fps/ut2003-bonuspack-de
+games-fps/ut2003-bonuspack-epic
+games-fps/ut2003-data
+games-fps/ut2003-demo
+games-fps/ut2004
+games-fps/ut2004-bonuspack-cbp1
+games-fps/ut2004-bonuspack-cbp2
+games-fps/ut2004-bonuspack-ece
+games-fps/ut2004-bonuspack-mega
+games-fps/ut2004-data
+games-fps/ut2004-demo
+games-puzzle/world-of-goo-demo
+games-puzzle/world-of-goo-gog
+games-puzzle/world-of-goo-hb
+games-server/bedrock-server
+games-server/etqw-ded
+games-server/mtavc
+games-server/steamcmd
+games-server/ut2004-ded
+games-simulation/slime-rancher
+games-strategy/darwinia
+games-strategy/darwinia-demo
+games-strategy/defcon-demo
+games-strategy/knights-demo
+games-strategy/majesty-demo
+gnome-extra/nautilus-dropbox
+kde-apps/dolphin-plugins-dropbox
+mate-extra/caja-dropbox
+media-gfx/brscan4
+media-libs/amdgpu-pro-vulkan
+media-sound/baudline
+media-sound/teamspeak-server
+media-video/amdgpu-pro-amf
+media-video/dvbackup
+media-video/makemkv
media-video/popcorntime-bin
+net-im/discord-bin
+net-im/element-desktop-bin
+net-im/gitter-bin
+net-im/mattermost-desktop-bin
net-im/rocketchat-desktop-bin
-net-im/whatsapp-desktop-bin
+net-im/skypeforlinux
+net-im/skype-dbus-mock
+net-im/slack
+net-im/teams
+net-im/telegram-desktop-bin
net-im/wazzapp-bin
+net-im/whatsapp-desktop-bin
+net-im/zoom
+net-misc/chrome-remote-desktop
+net-misc/dropbox
+net-misc/dropbox-cli
+net-misc/ipmiview
+net-misc/teamviewer
+net-misc/yandex-disk
+net-nntp/sabnzbd
+net-p2p/resilio-sync
+net-print/cnijfilter2
+net-print/hplip-plugin
+sci-chemistry/cara-bin
+sci-electronics/eagle
+sci-electronics/labone
+sci-mathematics/gimps
sci-misc/jupyterlab-desktop-bin
sci-misc/netlogo-bin
-sci-electronics/eagle
+sys-apps/ipmicfg
+sys-apps/tas
+sys-block/hpssacli
+sys-block/megacli
+sys-power/dptfxtract
+www-apps/chromedriver-bin
+www-apps/grafana-bin
+www-apps/jellyfin
+www-apps/kibana-bin
+www-apps/prowlarr
+www-apps/radarr
+www-apps/readarr
+www-client/chromium-bin
+www-client/google-chrome
+www-client/google-chrome-beta
+www-client/google-chrome-unstable
+www-client/microsoft-edge
+www-client/microsoft-edge-beta
+www-client/microsoft-edge-dev
+www-client/opera
+www-client/opera-beta
+www-client/opera-developer
+www-client/vivaldi
+www-client/vivaldi-snapshot
+www-plugins/chrome-binary-plugins
+x11-misc/xflux
+x11-misc/xflux-gui
# Ulrich Müller (2022-01-04, 2022-07-31)
# Emacs 23 does not support x86_64-gentoo-linux-musl systems
@@ -255,10 +244,6 @@ app-editors/emacs:24
app-editors/emacs:25
app-editors/emacs:26
-# Marek Szuba (2022-01-01)
-# Binary-only package linked against glibc.
-app-crypt/rainbowcrack
-
# Conrad Kostecki (2021-12-15)
# Level Zero needs RTLD_DEEPBIND, which does not exist on musl.
dev-libs/level-zero
@@ -274,7 +259,12 @@ dev-libs/level-zero
# Use of uninitialized value $Text::WrapI18N::charmap in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.34/Text/WrapI18N.pm line 155.
# Can't exec "/usr/bin/locale": No such file or directory at /usr/lib/perl5/vendor_perl/5.34/Text/WrapI18N.pm line 134.
# ```
+app-doc/kicad-doc
+app-i18n/man-pages-l10n
app-text/po4a
+dev-vcs/git-annex
+games-strategy/colobot
+www-apps/ikiwiki
# Hank Leininger (2021-07-14)
# Uses glibc-specific rexec(3) function, bug #715898
@@ -282,8 +272,15 @@ net-misc/netkit-rsh
# David Seifert (2021-02-08)
# nvidia-drivers only works against glibc.
+dev-libs/cudnn
+dev-libs/cudnn-frontend
+dev-python/pycuda
+dev-util/nvidia-cuda-sdk
+dev-util/nvidia-cuda-toolkit
+media-video/nvidia-video-codec
dev-libs/optix
x11-drivers/nvidia-drivers
+x11-misc/primus
# Ulrich Müller (2020-03-31)
# Not ported to musl, bug #715642.
@@ -293,10 +290,12 @@ app-editors/jasspa-microemacs
# Sergei Trofimovich (2020-03-21)
# musl has no support for nss subsystem.
+sys-apps/unscd
sys-auth/libnss-nis
+sys-auth/sssd
# Sergei Trofimovich (2020-03-21)
-# Needs a port no musl. Uses glibc-specific termio and __getppid.
+# Needs a port to musl. Uses glibc-specific termio and __getppid.
app-emulation/ski
# Sergei Trofimovich (2020-03-21)
@@ -309,11 +308,21 @@ sys-libs/glibc
-sys-libs/musl
-sys-libs/libucontext
-# As of 2021-08-08, >=sys-fs/udev-249-r2 is patched in Gentoo
-# to work on musl, so no need to mask udev.
-# systemd itself fails to build without glibc
+# systemd doesn't work on musl and upstream aren't interested
+# in supporting it.
+app-admin/mkosi
+app-admin/systemdgenie
+dev-python/python-systemd
+gnome-extra/office-runner
+gnome-extra/gnome-logs
+sys-apps/dbus-broker
+sys-apps/gentoo-systemd-integration
sys-apps/systemd
+sys-apps/systemd-readahead
sys-boot/systemd-boot
+sys-power/switcheroo-control
+sys-process/systemd-cron
+>=www-misc/profile-sync-daemon-6
# rust-bin requires a glibc system
dev-lang/rust-bin
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.force b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.force
index 71a3432ba1..e74bebd7fe 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.force
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.force
@@ -1,6 +1,10 @@
# Copyright 1999-2022 Gentoo Authors.
# Distributed under the terms of the GNU General Public License v2
+# Sam James (2022-10-04)
+# net-misc/netkit-rsh is masked on musl and USE=-crypt depends on it
+sys-cluster/torque crypt
+
# Esteve Varela Colominas (2022-02-19)
# The musl allocator works well with telegram
net-im/telegram-desktop -jemalloc
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.mask
index e33e6d34a9..cfe51a434c 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.mask
@@ -1,26 +1,53 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Bernd Waibel (2022-10-04)
+# Mask loguru until fixed upstream #873601
+sci-libs/vtk logging
+
+# Sam James (2022-10-04)
+# sys-libs/libtermcap-compat is masked on musl
+dev-scheme/scm readline
+
+# Sam James (2022-10-04)
+# sys-auth/sssd is masked on musl
+app-admin/sudo sssd
+
+# Sam James (2022-10-04)
+# sys-libs/libsmbios is masked on musl
+app-laptop/pbbuttonsd macbook
+sys-apps/fwupd dell
+
+# Sam James (2022-10-04)
+# Needs masked net-misc/netkit-telnetd
+net-irc/ngircd test
+
+# Sam James (2022-10-04)
+# Rolling mask for all USE flags which pull in a masked binary package
+# (linked against glibc). Use for all such packages.
+kde-apps/kdenetwork-meta dropbox
+media-video/ffmpeg amf
+net-fs/openafs tsm
+net-analyzer/nagios-plugin-check_raid megaraid-sas
+sys-apps/hwloc gl
+www-client/qutebrowser widevine
+
+# Sam James (2022-10-03)
+# Needs systemd which is masked on musl
+net-analyzer/wireshark sdjournal
+sys-apps/ipmitool openbmc
+sys-auth/pambase homed
+
# Alfred Persson Forsberg (2022-07-27)
# Firefox does not build with these flags enabled on musl libc.
# See bug #829033
www-client/firefox clang pgo
-# Ionen Wolkens (2022-03-15)
# musl package does not currently provide gencat binary, which is needed for
# nls support, see bug #712828
x11-wm/fluxbox nls
-# Marco Genasci (2022-01-06)
-# Pulls dev-db/oracle-instantclient which doesn't work on musl
-app-metrics/collectd collectd_plugins_oracle
-dev-lang/php oci8-instant-client
-dev-qt/qtsql oci8
-
# Ulrich Müller (2022-01-04)
# musl iconv doesn't know about shift-jis which is needed for Japanese
# documentation (bug #830436)
@@ -36,8 +63,22 @@ net-misc/iputils rarpd
# Sam James (2021-11-20)
# Pulls in po4a which doesn't seem to work on musl (wants /usr/bin/locale)
+app-arch/dpkg nls
+app-emulation/guestfs-tools doc
+app-emulation/libguestfs doc
+app-text/bibletime doc
+dev-util/debhelper l10n_de l10n_es l10n_fr
+dev-util/schroot nls
+media-video/mkvtoolnix nls
+sci-electronics/kicad-meta doc
+sys-apps/fakeroot nls
sys-apps/man-db nls
+sys-apps/man-pages l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu
+sys-apps/man-pages l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro
+sys-apps/man-pages l10n_sr l10n_sv l10n_uk l10n_vi
+sys-apps/man-pages l10n_ja l10n_ru l10n_zh-CN
sys-apps/sysvinit nls
+sys-auth/sssd man
# Sam James (2021-11-07)
# Disable some sanitizers for LLVM, see bug #753935
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.stable.mask
new file mode 100644
index 0000000000..cb96619931
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.stable.mask
@@ -0,0 +1,6 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Sam James (2022-10-04)
+# libxcrypt migration isn't yet stable on musl.
+sys-auth/pambase yescrypt
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/musl/use.mask b/sdk_container/src/third_party/portage-stable/profiles/features/musl/use.mask
index b3aee89dcf..9f14eb4801 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/features/musl/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/musl/use.mask
@@ -5,9 +5,34 @@
-elibc_musl
elibc_glibc
-# Marco Genasci (2022-01-06)
-# Pulls dev-db/oracle-instantclient which doesn't work on musl
+# Sam James (2022-10-04)
+# sci-libs/opencascade is masked on musl
+occ
+opencascade
+
+# Sam James (2022-10-04)
+# Mask USE flags which pull in a binary package linked against glibc (rolling
+# mask, use for all such packages)
+collectd_plugins_oracle
+lcd_devices_luise
oracle
+oci8
+oci8-instant-client
+
+# Sam James (2022-10-03)
+# x11-drivers/nvidia-drivers is a binary package linked against glibc
+# and is masked on musl. (We give nvidia its own block given they're
+# all related).
+cuda
+cudnn
+collectd_plugins_gpu_nvidia
+nvenc
+nvdec
+nvidia
+nvml
+optix
+video_cards_nvidia
# sys-apps/systemd is masked
systemd
+uwsgi_plugins_systemd_logger
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.mask b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.mask
index 9e34df4079..5811b0b8e4 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.mask
@@ -50,6 +50,7 @@ dev-python/spur
dev-python/sshtunnel
dev-python/tempest
dev-python/trustme
+>=dev-python/trio-0.22.0
dev-python/twine
dev-python/watchfiles
dev-ros/roswtf
@@ -71,6 +72,7 @@ media-libs/libavif
media-video/rav1e
>=net-irc/polari-3.37
net-libs/quiche
+net-misc/electrum-ltc
net-misc/gsutil
net-news/newsboat
net-p2p/deluge
@@ -78,4 +80,5 @@ ros-meta/ros_comm
sci-geosciences/gnome-maps
>=sys-apps/bat-0.18.1
virtual/rust
+www-apps/radicale
>=x11-themes/adwaita-icon-theme-3.36
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/use.force b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/use.force
new file mode 100644
index 0000000000..5fd5e390ab
--- /dev/null
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/use.force
@@ -0,0 +1,6 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Michał Górny (2022-10-09)
+# Disable tests requiring Rust.
+-test-rust
diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/use.mask b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/use.mask
index 94c96a9501..a265b328ac 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/use.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/use.mask
@@ -3,6 +3,10 @@
rust
+# Michał Górny (2022-10-09)
+# Disable tests requiring Rust.
+test-rust
+
# Sam James (2022-08-26)
# >=media-gfx/libimagequant-4 requires Rust.
imagequant
diff --git a/sdk_container/src/third_party/portage-stable/profiles/license_groups b/sdk_container/src/third_party/portage-stable/profiles/license_groups
index 9a620c661f..12f4be7c01 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/license_groups
+++ b/sdk_container/src/third_party/portage-stable/profiles/license_groups
@@ -32,7 +32,7 @@ OSI-APPROVED 0BSD AFL-3.0 AGPL-3 AGPL-3+ Apache-1.1 Apache-2.0 APL-1.0 APSL-2 Ar
# Licenses in this list should NOT appear directly or indirectly in
# @FSF-APPROVED or @OSI-APPROVED.
# Note: Licenses for fonts should be included in @MISC-FREE-DOCS.
-MISC-FREE AIFFWriter.m Allegro alternate AMPAS BEER-WARE boehm-gc BSD-1 BSD-2-with-patent BSD-with-attribution BSD-with-disclosure buddy bufexplorer.vim BZIP2 CAOSL CDDL-1.1 CDDL-Schily CMake CPL-0.5 CRACKLIB Crypt-IDEA curl DES docbook dom4j DUMB-0.9.3 ElementTree Emacs ErlPL-1.1 FastCGI feh File-MMagic Flashpix FLEX flexmock FLTK freetts FVWM gd gsm HTML-Tidy iASL icu IDPL imagemagick Info-ZIP inner-net Interbase-1.0 ipadic Ispell JDOM JOVE Khronos-CLHPP LambdaMOO LIBGLOSS libmng libpng libpng2 libtiff LLGPL-2.1 LPPL-1.3 lsof matplotlib Mini-XML minpack MIT-with-advertising mm mpich2 NCSA-AMD NCSA-HDF netcat NEWLIB ngrep Old-MIT openafs-krb5-a Openwall otter par PCRE perforce photopc PHP-2.02 pngcrush pngnq Princeton psutils rc rdisc regexp-UofT repoze RSA RtMidi rwpng sash scanlogd sdlsasteroids Sendmail Sendmail-Open-Source SMAIL Snd SSLeay symlinks Sympow-BSD tablelist tcltk tcp_wrappers_license TeX TeX-other-free TextMate-bundle the-Click-license Time-Format Time-modules tm-align torque-2.5 totd Toyoda trio UCAR-Unidata URT VTK w3m wm2 x2x xbatt xboing XC Xdebug xtrs ZSH
+MISC-FREE AIFFWriter.m Allegro alternate AMPAS BEER-WARE boehm-gc BSD-1 BSD-2-with-patent BSD-with-attribution BSD-with-disclosure buddy bufexplorer.vim BZIP2 CAOSL CDDL-1.1 CDDL-Schily CMake coldspringharbor CPL-0.5 CRACKLIB Crypt-IDEA curl DES docbook dom4j DUMB-0.9.3 ElementTree Emacs ErlPL-1.1 FastCGI feh File-MMagic Flashpix FLEX flexmock FLTK freetts FVWM gd gsm HTML-Tidy iASL icu IDPL imagemagick Info-ZIP inner-net Interbase-1.0 ipadic Ispell JDOM JOVE Khronos-CLHPP LambdaMOO LIBGLOSS libmng libpng libpng2 libtiff LLGPL-2.1 LPPL-1.3 lsof matplotlib Mini-XML minpack MIT-with-advertising mm mpich2 NCSA-AMD NCSA-HDF netcat NEWLIB ngrep Old-MIT openafs-krb5-a Openwall otter par PCRE perforce photopc PHP-2.02 pngcrush pngnq Princeton psutils rc rdisc regexp-UofT repoze RSA RtMidi rwpng sash scanlogd sdlsasteroids Sendmail Sendmail-Open-Source SMAIL Snd SSLeay symlinks Sympow-BSD tablelist tcltk tcp_wrappers_license TeX TeX-other-free TextMate-bundle the-Click-license Time-Format Time-modules tm-align torque-2.5 totd Toyoda trio UCAR-Unidata URT VTK w3m wm2 x2x xbatt xboing XC Xdebug xtrs ZSH
# Metaset for all free software
FREE-SOFTWARE @FSF-APPROVED @OSI-APPROVED @MISC-FREE
diff --git a/sdk_container/src/third_party/portage-stable/profiles/package.deprecated b/sdk_container/src/third_party/portage-stable/profiles/package.deprecated
index 192c51f6b8..9720b64431 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/package.deprecated
+++ b/sdk_container/src/third_party/portage-stable/profiles/package.deprecated
@@ -17,6 +17,37 @@
#--- END OF EXAMPLES ---
+# Michał Górny (2022-10-17)
+# Nosetests are no longer maintained (since 2015!), are completely
+# broken with Python 3.11, and we were already patching it to make it
+# work with prior Python versions. If your package still needs it
+# (sic!), then either port it to use a maintained test framework (pytest
+# preferably) or last rite it.
+#
+# Case is also unmaintained (since 2018). Nose-random has had last
+# commit in 2016 and was not even released to pypi!
+dev-python/nose
+dev-python/nose-random
+
+# Michał Górny (2022-10-14)
+# The toml package is unmaintained (last release in 2020) and does not
+# implement TOML 1.0. The recommended alternatives include the built-in
+# tomllib module, dev-python/tomli, dev-python/tomli-w
+# and dev-python/tomlkit. Please consult Guide for porting tips:
+# https://projects.gentoo.org/python/guide/porting.html#replacing-the-toml-package
+dev-python/toml
+
+# Petr Vaněk (2022-10-06)
+# Obsolete virtual.
+# Only one provider is left (net-libs/c-client), please change dependency to
+# that instead.
+virtual/imap-c-client
+
+# Matt Turner (2022-10-02)
+# Dummy packages, now merged into app-accessibility/at-spi2-core.
+app-accessibility/at-spi2-atk
+dev-libs/atk
+
# Michał Górny (2022-06-19)
# dev-python/tox is a wrapper to run test suite in a virtual
# environment, possibly for multiple Python versions. It cannot really
@@ -50,10 +81,12 @@ dev-libs/libcroco
dev-libs/libIDL
dev-libs/libunique:1
gnome-base/gconf
+gnome-base/libglade
gnome-base/libgnomecanvas
gnome-extra/gconf-editor
x11-libs/gtksourceview:2.0
x11-libs/libwnck:1
+x11-libs/vte:0
x11-themes/gnome-icon-theme-extras
x11-themes/gnome-icon-theme-symbolic
x11-themes/gtk-chtheme
diff --git a/sdk_container/src/third_party/portage-stable/profiles/package.mask b/sdk_container/src/third_party/portage-stable/profiles/package.mask
index f8262658f4..098915579b 100644
--- a/sdk_container/src/third_party/portage-stable/profiles/package.mask
+++ b/sdk_container/src/third_party/portage-stable/profiles/package.mask
@@ -33,11 +33,229 @@
#--- END OF EXAMPLES ---
-# Stephan Hartmann (2022-09-26)
+# Andrew Ammerlaan (2022-10-17)
+# Hostile takeover ongoing, integrity of the live version
+# cannot be guaranteed. Use the release version only if you
+# change the meta server setting.
+# Use games-action/multimc-bin instead to be completely safe.
+# https://bugs.gentoo.org/877495
+games-action/polymc
+
+# Michał Górny (2022-10-17)
+# Unmaintained since 2018. Requires dev-python/nose. No revdeps left.
+# Removal on 2022-11-16. Bug #877375.
+dev-python/case
+
+# Michał Górny (2022-10-17)
+# dev-python/nose plugin. No revdeps left.
+# Removal on 2022-11-16. Bug #877369.
+dev-python/nose_warnings_filters
+
+# John Helmert III (2022-10-16)
+# (2022-10-14)
+# Last upstream release in 2013. Last upstream commit in 2019. No maintainer in
+# Gentoo. No reverse dependencies. EAPI=6.
+# Depends on unmaintained packages:
+# - x11-libs/vte:0
+# Bug #811540.
+# Removal on 2022-11-14
+x11-terms/lilyterm
+
+# Matt Turner (2022-10-14)
+# Unmaintained upstream with last commit in 2013. No reverse dependencies.
+# Depends on unmaintained packages:
+# - x11-libs/gtk+:2
+# - x11-libs/vte:0
+# Bugs #769131, #875704.
+# Removal on 2022-11-14
+x11-misc/gtkdialog
+
+# Matt Turner (2022-10-14)
+# Unmaintained upstream. Last release in 2008. Only reverse dependency is
+# gnome-mud, which is masked for removal.
+# Bugs #349301, #713152, #802723, #808435, #870730, #877079.
+# Removal on 2022-11-14
+net-libs/gnet
+
+# Matt Turner (2022-10-14)
+# Needs upstream work to modernize codebase. Depends on lots of unmaintained
+# packages:
+# - app-text/rarian
+# - gnome-base/gconf
+# - gnome-base/libglade
+# - net-libs/gnet:2
+# - x11-libs/gtk+:2
+# - x11-libs/vte:0
+# Bugs #670904, #873859
+# Removal on 2022-11-14
+games-mud/gnome-mud
+
+# Sam James (2022-10-13)
+# Depends on vulnerable version of Rust. See bug #877005.
+# Will be unmasked once dependency is updated.
+