Seems sys-apps/texinfo-6.8 is broken in our overlay:
>>> Preparing source in /var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8 ...
* Applying texinfo-6.8-undo-gnulib-nonnul.patch ... [ ok ]
* Applying stack-direction-add-loongarch.patch ...
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 34add045fd2ec3f1031dee961c4d9cc4285486a7 Mon Sep 17 00:00:00 2001
|From: Sun Haiyong <youbest@sina.com>
|Date: Tue, 31 Aug 2021 11:11:52 +0800
|Subject: [PATCH] stack-direction: Add support for loongarch CPU
|
|* m4/stack-direction.m4 (SV_STACK_DIRECTION): When the CPU is loongarch,
|set "sv_cv_stack_direction" to "-1" .
|---
| m4/stack-direction.m4 | 1 +
| 1 file changed, 1 insertion(+)
|
|diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
|index 93287254b..e6c3284ce 100644
|--- a/m4/stack-direction.m4
|+++ b/m4/stack-direction.m4
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored [ !! ]
* ERROR: sys-apps/texinfo-6.8::loongson failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/sys-apps/texinfo-6.8/files/stack-direction-add-loongarch.patch
*
* Call stack:
* ebuild.sh, line 127: Called src_prepare
* environment, line 1620: Called default
* phase-functions.sh, line 858: Called default_src_prepare
* phase-functions.sh, line 923: Called __eapi6_src_prepare
* environment, line 194: Called eapply '/var/tmp/portage/sys-apps/texinfo-6.8/files/texinfo-6.8-undo-gnulib-nonnul.patch' '/var/tmp/portage/sys-apps/texinfo-6.8/files/stack-direction-add-loongarch.patch'
* environment, line 691: Called _eapply_patch '/var/tmp/portage/sys-apps/texinfo-6.8/files/stack-direction-add-loongarch.patch'
* environment, line 629: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/sys-apps/texinfo-6.8/files/stack-direction-add-loongarch.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=sys-apps/texinfo-6.8::loongson'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/texinfo-6.8::loongson'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/texinfo-6.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/texinfo-6.8/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8'
* S: '/var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8'
I do dig into /var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8 and find stack-direction.m4 is missing:
# cd /var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8
/var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8 # ls
ABOUT-NLS ChangeLog.46 COPYING INSTALL Makefile.in Pod-Simple-Texinfo TODO
aclocal.m4 config.in djgpp INSTALL.generic man README tp
AUTHORS configure doc install-info NEWS README-hacking util
build-aux configure.ac gnulib js po system.h
ChangeLog contrib info Makefile.am po_document texindex
/var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8 # find . -name 'stack-direction.m4'
/var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8 #
Hi,
Seems
sys-apps/texinfo-6.8
is broken in our overlay:I do dig into
/var/tmp/portage/sys-apps/texinfo-6.8/work/texinfo-6.8
and findstack-direction.m4
is missing: