Created attachment 858167 [details] sys-apps/ucspi-tcp build.log sys-apps/ucspi-tcp-0.88 fails to build after qmail.eclass introduces `|| die` in qmail_set_cc(). ucspi-tcp has no make-makelib.sh, but a Makefile where AR and RANLIB are set by ?=. These variables could be set in the environment and only the first part in qmail_set_cc is needed. My best idea is to guard the sed command in qmail_set_cc, to only run if make-makelib.sh exists and set AR and RANLIB in the ebuild.
Created attachment 858169 [details] emerge --info
Same here. sys-apps/ucspi-tcp-0.88-r19, portage tree just fetched minutes ago.
Same here. Probably duplicate with bug 902013.
*** Bug 902013 has been marked as a duplicate of this bug. ***
Created attachment 858409 [details, diff] Patches qmail.eclass to allow qmail_set_cc wihtout make-makelib.sh There has been some discussion at https://github.com/gentoo/gentoo/pull/30205. A guard around the sed, which changes make-makelib.sh, seems to be reasonable.
ci has reproduced this issue with version 0.88-r19 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aff85369909ec04e1370741a006d65ca3827a01 commit 6aff85369909ec04e1370741a006d65ca3827a01 Author: Petr Vaněk <arkamar@atlas.cz> AuthorDate: 2023-04-03 11:14:21 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2023-04-04 09:01:43 +0000 qmail.eclass: Patch make-makelib.sh only if it is present Some packages use qmail_set_cc function but they don't contain make-makelib.sh script. However, recent addition of || die to the sed patching this file is newly triggering build failure. This commit addresses the problem by checking if the script is available. Closes: https://bugs.gentoo.org/902009 Closes: https://bugs.gentoo.org/902019 Fixes: fd4e88c55e34 ("qmail.eclass: remove EAPI 6") Closes: https://github.com/gentoo/gentoo/pull/30456 Closes: https://github.com/gentoo/gentoo/pull/30205 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Florian Schmaus <flow@gentoo.org> eclass/qmail.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)