Created attachment 645948 [details, diff] sys-apps/duc-* (duc-1.4.1-tinfo.patch) As reference, see also bug #651914 for the same kind of bug affecting another package (already fixed). Fixes: - sys-apps/duc-1.4.1-r1.ebuild (see bug #636958) - sys-apps/duc-1.4.3-r1.ebuild - sys-apps/duc-1.4.4.ebuild (version bump, see bug #706804) - sys-apps/duc-9999.ebuild (commit fc889cc903ea2d718555f5b028fcf6443e3e86ad, update copyright and bump eapi) duc-1.4.1-tinfo.patch is modified to link against the right -ltinfo(w) to prevent a segmentation fault in termattrs_sp. sys-apps/duc-1.4.1-r1.ebuild requires the duc-1.4.1-tinfo.patch too to configure without errors (aka ncurses library not found). NOTE: you may apply the attached patches with `patch -p5 <file.patch>`.
Created attachment 645950 [details, diff] diff of original duc-1.4.1-tinfo.patch duc-1.4.1-tinfo.patch diff.
Created attachment 645952 [details] sys-apps/duc-1.4.1-r1.ebuild duc-1.4.1-r1.ebuild fix.
Created attachment 645954 [details, diff] diff of original sys-apps/duc-1.4.1-r1.ebuild duc-1.4.1-r1.ebuild diff.
Created attachment 645956 [details] sys-apps/duc-1.4.4.ebuild duc-1.4.4.ebuild bump.
Created attachment 645958 [details, diff] diff of original sys-apps/duc-1.4.4.ebuild duc-1.4.4.ebuild diff.
Created attachment 645960 [details] sys-apps/duc-9999.ebuild duc-9999.ebuild update copyright and bump eapi.
Created attachment 645962 [details, diff] diff of original sys-apps/duc-9999.ebuild duc-9999.ebuild diff.
Created attachment 645964 [details] sys-apps/duc-* Manifest Manifest update.
Created attachment 645966 [details, diff] diff of original sys-apps/duc-* Manifest Manifest diff.
My 2018 patch was wrong.
Comment on attachment 645950 [details, diff] diff of original duc-1.4.1-tinfo.patch Looks good.
*** Bug 751817 has been marked as a duplicate of this bug. ***
I'd like to verify that the updated patch file posted here (https://729362.bugs.gentoo.org/attachment.cgi?id=645948) fixed the issue for me as well. I missed this ticket in my search yesterday, ended up reaching the same conclusion independently, and posted duplicate #751817. My solution was more of a hack though, since I don't know the autoconf syntax well enough to mess around with that too much. I've got a gdb backtrace and my own analysis on the duplicate ticket - I'd repost it here, but it appears you've already got the problem solved.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e5291a8cd8be7d123645eb24c5b70ccf0eec60e commit 4e5291a8cd8be7d123645eb24c5b70ccf0eec60e Author: Michael Mair-Keimberger <mmk@levelnine.at> AuthorDate: 2023-09-16 16:08:16 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2023-11-19 10:10:42 +0000 sys-apps/duc: version bump (v1.4.5) Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/706804 Closes: https://bugs.gentoo.org/729362 Signed-off-by: Ulrich Müller <ulm@gentoo.org> sys-apps/duc/Manifest | 1 + sys-apps/duc/duc-1.4.5.ebuild | 88 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+)