x86_64-pc-linux-gnu-gcc -Wall -Wextra --std=gnu99 -I../lib/ccan/ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o sbsign sbsign-sbsign.o sbsign-idc.o sbsign-image.o sbsign-fileio.o ../lib/ccan/libccan.a -lcrypto sbsign-idc.o: In function `IDC_get': idc.c:(.text+0x541): undefined reference to `ASN1_STRING_get0_data' sbsign-idc.o: In function `IDC_check_hash': idc.c:(.text+0x65a): undefined reference to `ASN1_STRING_get0_data' collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib_libressl_20180623-161201 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * [2] ruby25 (with Rubygems) emerge -qpv app-crypt/sbsigntool [ebuild N ] app-crypt/sbsigntool-0.9.1 USE="libressl" !!! The following installed packages are masked: - dev-qt/qttranslations-4.8.7::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Andreas Sturmlechner <asturm@gentoo.org> (26 Jun 2018) # Mask Qt4 for removal. Bug #631788 - dev-qt/qtcore-4.8.7-r4::gentoo (masked by: package.mask) - dev-qt/qtscript-4.8.7::gentoo (masked by: package.mask) - dev-qt/qtgui-4.8.7::gentoo (masked by: package.mask) - net-analyzer/ostinato-0.9::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Andreas Sturmlechner <asturm@gentoo.org> (26 Jun 2018) # Depends on dead Qt4. Bugs #644360, #644374, #656826, #655382 - app-eselect/eselect-qtgraphicssystem-1.1.1::gentoo (masked by: package.mask) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
Created attachment 537754 [details] emerge-info.txt
Created attachment 537756 [details] app-crypt:sbsigntool-0.9.1:20180629-130242.log
Created attachment 537758 [details] emerge-history.txt
Created attachment 537760 [details] environment
Created attachment 537762 [details] etc.portage.tbz2
Created attachment 537764 [details] logs.tbz2
Created attachment 537766 [details] temp.tbz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c8d47fded5dbd478625b710c983133468b11e92 commit 1c8d47fded5dbd478625b710c983133468b11e92 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-06-29 16:31:23 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-06-29 16:33:44 +0000 app-crypt/sbsigntool: drop libressl support Closes: https://bugs.gentoo.org/659606 Package-Manager: Portage-2.3.41, Repoman-2.3.9 .../{sbsigntool-0.9.1.ebuild => sbsigntool-0.9.1-r1.ebuild} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75fc92a01157d4d4c892c69d32e196d138437576 commit 75fc92a01157d4d4c892c69d32e196d138437576 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-06-29 16:33:14 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-06-29 16:33:46 +0000 app-crypt/sbsigntool: drop libressl support Bug: https://bugs.gentoo.org/659606 Package-Manager: Portage-2.3.41, Repoman-2.3.9 .../{sbsigntool-0.6-r1.ebuild => sbsigntool-0.6-r2.ebuild} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
I am happy to reintroduce libressl support when someone manages to give me a complete patch. For the time being wontfix.
Created attachment 538674 [details, diff] Preliminary patch to reintroduce libressl support to sbsigntools Attaching a preliminary patch. I will continue testing libressl; but would appreciate if someone else can validate this works against openssl.
(In reply to Nicholas Fish from comment #10) > Created attachment 538674 [details, diff] [details, diff] > Preliminary patch to reintroduce libressl support to sbsigntools I've completed my testing with this patch against libressl and can confidently say that sbsigntools builds and runs as intended. Again, I've not tested against openssl (neither >= 1.1.0 nor < 1.1.0).
Found working ebuild on zugaina: https://data.gpo.zugaina.org/ennui/app-crypt/sbsigntools/