Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659606 - app-crypt/sbsigntool-0.9.1 : idc.c:(.text+<snip>): undefined reference to ASN1_STRING_get0_data
Summary: app-crypt/sbsigntool-0.9.1 : idc.c:(.text+<snip>): undefined reference to ASN...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-2.8.0
  Show dependency tree
 
Reported: 2018-06-29 16:17 UTC by Toralf Förster
Modified: 2019-06-02 14:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.03 KB, text/plain)
2018-06-29 16:17 UTC, Toralf Förster
Details
app-crypt:sbsigntool-0.9.1:20180629-130242.log (app-crypt:sbsigntool-0.9.1:20180629-130242.log,9.35 KB, text/plain)
2018-06-29 16:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,247.74 KB, text/plain)
2018-06-29 16:18 UTC, Toralf Förster
Details
environment (environment,88.78 KB, text/plain)
2018-06-29 16:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.84 KB, application/x-bzip)
2018-06-29 16:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.25 KB, application/x-bzip)
2018-06-29 16:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.17 KB, application/x-bzip)
2018-06-29 16:18 UTC, Toralf Förster
Details
Preliminary patch to reintroduce libressl support to sbsigntools (sbsigntool-0.9.1-openssl-1.1.0-libressl-compat.patch,5.54 KB, patch)
2018-07-07 09:38 UTC, Nicholas Fish
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-06-29 16:17:53 UTC
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.
Comment 1 Toralf Förster gentoo-dev 2018-06-29 16:17:55 UTC
Created attachment 537754 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-29 16:17:58 UTC
Created attachment 537756 [details]
app-crypt:sbsigntool-0.9.1:20180629-130242.log
Comment 3 Toralf Förster gentoo-dev 2018-06-29 16:18:01 UTC
Created attachment 537758 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-06-29 16:18:04 UTC
Created attachment 537760 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-06-29 16:18:07 UTC
Created attachment 537762 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-06-29 16:18:10 UTC
Created attachment 537764 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-06-29 16:18:13 UTC
Created attachment 537766 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-06-29 16:34:41 UTC
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(-)
Comment 9 Matthias Maier gentoo-dev 2018-06-29 16:35:35 UTC
I am happy to reintroduce libressl support when someone manages to give me a complete patch. For the time being wontfix.
Comment 10 Nicholas Fish 2018-07-07 09:38:00 UTC
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.
Comment 11 Nicholas Fish 2018-07-07 10:11:48 UTC
(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).
Comment 12 n3ph 2019-06-02 14:37:45 UTC
Found working ebuild on zugaina:

https://data.gpo.zugaina.org/ennui/app-crypt/sbsigntools/