Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805512 - app-crypt/efitools-1.9.2 - make: *** [Make.rules:123: HelloWorld-signed.efi]<snip> Segmentation fault
Summary: app-crypt/efitools-1.9.2 - make: *** [Make.rules:123: HelloWorld-signed.efi]<...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL: https://groups.io/g/sbsigntools/messa...
Whiteboard:
Keywords: PATCH, PullRequest
: 854558 878285 (view as bug list)
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-07-31 12:47 UTC by Toralf Förster
Modified: 2022-12-15 04:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.56 KB, text/plain)
2021-07-31 12:47 UTC, Toralf Förster
Details
app-crypt:efitools-1.9.2:20210731-115032.log (app-crypt:efitools-1.9.2:20210731-115032.log,229.80 KB, text/plain)
2021-07-31 12:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,64.54 KB, text/plain)
2021-07-31 12:47 UTC, Toralf Förster
Details
environment (environment,92.67 KB, text/plain)
2021-07-31 12:47 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.22 KB, application/x-bzip)
2021-07-31 12:47 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.52 KB, application/x-bzip)
2021-07-31 12:47 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-07-31 12:47:50 UTC
warning: data remaining[44032 vs 53216]: gaps between PE/COFF sections?
./sign-efi-sig-list -c PK.crt -k PK.key PK PK.esl PK.auth
make: *** [Make.rules:123: HelloWorld-signed.efi] Segmentation fault
rm KEK-blacklist.esl SetNull.so KeyTool.o ms-kek.esl DB1.crt DB1.esl PK-hash-blacklist.esl ShimReplace.o ReadVars.o DB2-blacklist.esl ms-kek-blacklist.esl SetNull.o ms-uefi-hash-blacklist.esl HelloWorld.o ms-uefi-blacklist.esl UpdateVars.o KEK-hash-blacklist.esl DB-blacklist.esl HashTool.o DB1-hash-blacklist.esl ms-uefi.esl DB2.esl Loader.o DB2.crt ms-kek-hash-blacklist.esl PK-blacklist.esl DB2-hash-blacklist.esl DB-hash-blacklist.esl DB1-blacklist.esl
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j3-20210730-192258

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  (none found)

  HEAD of ::gentoo
commit 7d8c54824b3fe0396719f9530e8a148c0292aa20
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jul 31 10:36:53 2021 +0000

    2021-07-31 10:36:52 UTC

emerge -qpvO app-crypt/efitools
[ebuild  N    ] app-crypt/efitools-1.9.2  USE="-static"
Comment 1 Toralf Förster gentoo-dev 2021-07-31 12:47:51 UTC
Created attachment 728700 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-31 12:47:53 UTC
Created attachment 728703 [details]
app-crypt:efitools-1.9.2:20210731-115032.log
Comment 3 Toralf Förster gentoo-dev 2021-07-31 12:47:54 UTC
Created attachment 728706 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-31 12:47:56 UTC
Created attachment 728709 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-31 12:47:57 UTC
Created attachment 728712 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-31 12:47:58 UTC
Created attachment 728715 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-27 11:53:09 UTC
*** Bug 854558 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-26 08:58:05 UTC
*** Bug 878285 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2022-12-15 04:36:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9631d4aa77291cf8617737566aabd0a9d6a203c3

commit 9631d4aa77291cf8617737566aabd0a9d6a203c3
Author:     Kai-Chun Ning <kaichun.ning@gmail.com>
AuthorDate: 2022-12-14 10:15:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-15 04:35:45 +0000

    app-crypt/sbsigntools: fix segmentation fault w/ openssl 3
    
    Closes: https://bugs.gentoo.org/805512
    Signed-off-by: Kai-Chun Ning <kaichun.ning@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/28662
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/sbsigntools-0.9.4-openssl3.patch         | 35 ++++++++++++++
 app-crypt/sbsigntools/sbsigntools-0.9.4-r1.ebuild  | 53 ++++++++++++++++++++++
 2 files changed, 88 insertions(+)