commit: eff145b1d1e29c2ab5da93d7e84961adac45b21d
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 17 13:41:27 2026 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Feb 17 13:41:27 2026 +0000
URL: https://gitweb.gentoo.org/proj/binhost.git/commit/?id=eff145b1
milou/gnome: Test building debug info
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
builders/milou/gnome-23/portage/make.conf | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/builders/milou/gnome-23/portage/make.conf
b/builders/milou/gnome-23/portage/make.conf
index cb0e546..78dce8a 100644
--- a/builders/milou/gnome-23/portage/make.conf
+++ b/builders/milou/gnome-23/portage/make.conf
@@ -5,13 +5,13 @@
# For now, we enforce LTO warnings but only enable LTO for certain packages.
LTOFLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
-COMMON_FLAGS="-O2 -pipe -march=x86-64 -mtune=generic ${LTOFLAGS}"
+COMMON_FLAGS="-O2 -pipe -march=x86-64 -mtune=generic -g ${LTOFLAGS}"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
-LDFLAGS="${LDFLAGS} ${LTOFLAGS}"
+LDFLAGS="${LDFLAGS} -g ${LTOFLAGS}"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
@@ -30,11 +30,17 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load-average 64 --quiet
--keep-going --binpkg-r
FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox
notitles jobserver-token"
+# don't install 'duplicate' copies of debug information to the live filesystem
outside of produced packdebug tarballs
+INSTALL_MASK="${INSTALL_MASK} /usr/lib/debug/ /usr/src/debug/
-/usr/lib/debug/.tarball"
+
+# Produce separate debuginfo tarballs in /usr/lib/debug/.tarball
+FEATURES="${FEATURES} packdebug splitdebug compressdebug installsources
dedupdebug"
+
PORTAGE_BINHOST_TTL="3600"
BINPKG_FORMAT="gpkg"
BINPKG_COMPRESS="xz"
-USE="bindist cet lto pgo native-extensions"
+USE="bindist cet debuginfod lto pgo native-extensions"
ACCEPT_RESTRICT="* -bindist"