commit: ec17c2247ef42dd371114156debeeef178ba8927
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 13 14:58:34 2026 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Mar 13 14:58:34 2026 +0000
URL: https://gitweb.gentoo.org/proj/binhost.git/commit/?id=ec17c224
tintin/*: Build debug info
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
builders/tintin/gnome-v3-23/portage/make.conf | 10 ++++++++--
builders/tintin/kde-v3-23/portage/make.conf | 10 ++++++++--
builders/tintin/openrc-v3-23/portage/make.conf | 10 ++++++++--
builders/tintin/server-v3-23/portage/make.conf | 10 ++++++++--
4 files changed, 32 insertions(+), 8 deletions(-)
diff --git a/builders/tintin/gnome-v3-23/portage/make.conf
b/builders/tintin/gnome-v3-23/portage/make.conf
index bee0521..bf57090 100644
--- a/builders/tintin/gnome-v3-23/portage/make.conf
+++ b/builders/tintin/gnome-v3-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-v3 ${LTOFLAGS}"
+COMMON_FLAGS="-O2 -pipe -march=x86-64-v3 -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,6 +30,12 @@ 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"
diff --git a/builders/tintin/kde-v3-23/portage/make.conf
b/builders/tintin/kde-v3-23/portage/make.conf
index c189939..696dad2 100644
--- a/builders/tintin/kde-v3-23/portage/make.conf
+++ b/builders/tintin/kde-v3-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-v3 ${LTOFLAGS}"
+COMMON_FLAGS="-O2 -pipe -march=x86-64-v3 -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,6 +30,12 @@ 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"
diff --git a/builders/tintin/openrc-v3-23/portage/make.conf
b/builders/tintin/openrc-v3-23/portage/make.conf
index c189939..696dad2 100644
--- a/builders/tintin/openrc-v3-23/portage/make.conf
+++ b/builders/tintin/openrc-v3-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-v3 ${LTOFLAGS}"
+COMMON_FLAGS="-O2 -pipe -march=x86-64-v3 -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,6 +30,12 @@ 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"
diff --git a/builders/tintin/server-v3-23/portage/make.conf
b/builders/tintin/server-v3-23/portage/make.conf
index c189939..696dad2 100644
--- a/builders/tintin/server-v3-23/portage/make.conf
+++ b/builders/tintin/server-v3-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-v3 ${LTOFLAGS}"
+COMMON_FLAGS="-O2 -pipe -march=x86-64-v3 -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,6 +30,12 @@ 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"