When re-emerging boost-1.72.0-r1 with USE=doc, I get an error in post_inst phase: * Verifying compiled files in /usr/lib64/python2.7/site-packages * Verifying compiled files in /usr/lib64/python3.6/site-packages * Verifying compiled files in /usr/lib/python3.7/site-packages * Verifying compiled files in /usr/lib/python3.8/site-packages * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * /usr/include/python2.7/object.h:115:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: https://www.boost.org/ /usr/lib/portage/python3.7/ecompress: line 43: /bin/sed: Argument list too long * ERROR: dev-libs/boost-1.72.0-r1::gentoo failed: * (no error message) Building without doc USE flag succeeds. Reproducible: Always build log and emerge --info output as attachments
Created attachment 643934 [details] boost-1.72.0-r1:20200608-103647.log.bz2 build log, compressed due to size
Created attachment 643936 [details] emerge-info-boost-1.72.0-r1.txt output of emerge --info boost after installing it without doc USE flag.
Seeing the exact same behavior on dev-libs/boost-1.73.0 when emerging with USE=doc Last time I successfully compiled boost-1.73.0 with USE=doc it was with sys-apps/portage-2.3.99-r2... Am now on sys-apps/portage-2.3.101-r2
This is a regression triggered bug the change from bug 721516.
Created attachment 645968 [details, diff] portage-2.3.102-ecompress-sed-limit-fix.patch Here is a patch for portage that should fix the problem
Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/ecb33883de7dd5e9460c715e8a7e1f41 https://github.com/gentoo/portage/pull/563
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=2f21153a85d43ea466a3289a833f35f1049314cf commit 2f21153a85d43ea466a3289a833f35f1049314cf Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2020-06-24 00:25:07 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-06-24 00:33:00 +0000 ecompress: fix "Argument list too long" for sed (bug 727522) Use sed -f to feed commands to sed via stdin, in order to avoid the "Argument list too long" error reported in bug 727522. Fixes: 5508bf7a6db5 ("ecompress: ignore docompress -x files in precompressed QA check (bug 721516)") Bug: https://bugs.gentoo.org/727522 Signed-off-by: Zac Medico <zmedico@gentoo.org> bin/ecompress | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f495669aa852966ea87fd3ad2c72ede102ce86a commit 6f495669aa852966ea87fd3ad2c72ede102ce86a Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-06-24 03:24:22 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-06-24 05:56:54 +0000 sys-apps/portage: Bump to version 2.3.103 #709746 set non-blocking for build_logger stdin in EbuildPhase _elog method #727522 ecompress: fix "Argument list too long" for sed Bug: https://bugs.gentoo.org/721152 Bug: https://bugs.gentoo.org/709746 Bug: https://bugs.gentoo.org/727522 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/Manifest | 2 +- sys-apps/portage/portage-2.3.103.ebuild | 263 ++++++++++++++++++++++++++++++++ 2 files changed, 264 insertions(+), 1 deletion(-)