commit: f38cc077c1d26004a130b6f92de3351402514ec9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 14 04:33:16 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jan 14 04:51:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38cc077
toolchain.eclass: fix toolchain_death_notice * Actually include config.logs again * Really compress (add 'a' to auto-compress based on suffix) Bug: https://bugs.gentoo.org/948045 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index d85994855704..86302f3bcb4a 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -3159,9 +3159,9 @@ toolchain_death_notice() { pushd "${WORKDIR}" >/dev/null (echo '' | $(tc-getCC ${CTARGET}) ${CFLAGS} -v -E - 2>&1) > "${dir}"/gccinfo.log [[ -e "${T}"/build.log ]] && cp "${T}"/build.log "${dir}" - tar -arf "${WORKDIR}"/gcc-build-logs.tar.xz \ - "${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log $(find -name "${dir}"/config.log) - rm "${dir}"/gccinfo.log "${dir}"/build.log + tar -carf "${WORKDIR}"/gcc-build-logs.tar.xz \ + "${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log $(find -name "${dir#${WORKDIR}/}"/config.log) + rm "${dir#${WORKDIR}/}"/gccinfo.log "${dir#${WORKDIR}/}"/build.log eerror eerror "Please include ${WORKDIR}/gcc-build-logs.tar.xz in your bug report." eerror