Created attachment 435554 [details, diff] ebuild patch to apply: Use EXEEXT and -no-undefined even on Unix. Where "Unix" here in particular stands for "Cygwin". Submitted upstream patch: https://lists.gnupg.org/pipermail/gnupg-devel/2016-May/031119.html Although this patch shouldn't change anything for "real" Unices, I'd suggest revbumping the ebuild. Thanks!
Cygwin is not Gentoo supported architecture, no reason to submit it here. Anyway, we apply these kind of patches only after upstream accepts them. And in most non critical cases also wait for upstream to release a new version.
Well, I'm about porting Gentoo Prefix to Cygwin (and vice versa). But I'm fine with poking upstream here first, meanwhile keeping https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ce4b4d168a2b091bec43d53f5d7075ebdcc3db3f
dropped from prefix overlay
Darn... Upstream applied Cygwin patch except for the -no-undefined libtool flag. https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ec6685497e43fa513ca5b7ad81b852150d115cdf
Ping. What's the status here?
Well, there's no upstream reaction on my explanation yet. So the ebuild still requires: @@ -33,6 +33,8 @@ src_prepare() { default elibtoolize + # https://lists.gnupg.org/pipermail/gnupg-devel/2017-March/032671.html + sed -e '/@no_undefined\s*=\s*$/s/$/-no-undefined/' -i src/Makefile.in || die } multilib_src_configure() { Alternative is something like: EXTRA_EMAKE="no_undefined=-no-undefined"
Created attachment 534032 [details, diff] patch for libgpg-error-1.29.ebuild: force -no-undefined libtool flag
Patch is committed upstream now, https://dev.gnupg.org/rE6e4b5ca624cb7f771c8dd1f12cbad851a5f0d782
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83bf9bb5b502afe4c094776cb06b3d2cd262aea1 commit 83bf9bb5b502afe4c094776cb06b3d2cd262aea1 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-01-06 10:21:23 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-01-06 10:21:29 +0000 dev-libs/libgpg-error-1.41: drop undefined prefix hack, upstreamed Closes: https://bugs.gentoo.org/584330 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> dev-libs/libgpg-error/libgpg-error-1.41.ebuild | 9 --------- 1 file changed, 9 deletions(-)