make: *** x86_64-pc-linux-gnu/libstdc++-v3/doc: No such file or directory. Stop. Reproducible: Always Steps to Reproduce: 1. USE="doc" emerge -v gcc:13 Actual Results: make: *** x86_64-pc-linux-gnu/libstdc++-v3/doc: No such file or directory. Stop.
Created attachment 863871 [details] build.log for gcc-13.1.1_p20230610
Last known working version is gcc-13.1.1_p20230603
(Please don't CC arch teams, they're used for keywording and stabilisation, not general bugs.)
This issue is caused by a bug in toolchain.eclass introduced by the "cleanup < GCC 8 debris" commit about a week ago (https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/toolchain.eclass?id=a606b978be638005c9b832a733d087dbc97ae6d0). This commit replaces cd "${CTARGET}"/libstdc++-v3/doc emake doc-man-doxygen with cd "${CTARGET}"/libstdc++-v3/doc emake -C "${CTARGET}"/libstdc++-v3/doc doc-man-doxygen Of course, using both cd and the -C option doesn't work. As a workaround, it suffices to comment out the cd line in toolchain.eclass.
Thanks, I was suspecting it was related. I'll fix now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7cd3be059f221c6333980f155c1bafca9769ed0 commit c7cd3be059f221c6333980f155c1bafca9769ed0 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-17 16:51:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-17 16:51:56 +0000 toolchain.eclass: fix USE=doc build Thanks to Dirk Sondermann for pointing out the precise issue. Closes: https://bugs.gentoo.org/908550 Fixes: a606b978be638005c9b832a733d087dbc97ae6d0 Signed-off-by: Sam James <sam@gentoo.org> eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)