Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831328 - app-crypt/pesign-113 - authvar_context.c: error: efi_guid_t undeclared (first use in this function)
Summary: app-crypt/pesign-113 - authvar_context.c: error: efi_guid_t undeclared (first...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-16 19:53 UTC by Toralf Förster
Modified: 2022-02-15 00:03 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.05 KB, text/plain)
2022-01-16 19:53 UTC, Toralf Förster
Details
app-crypt:pesign-113:20220116-194532.log (app-crypt:pesign-113:20220116-194532.log,94.48 KB, text/plain)
2022-01-16 19:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.44 KB, text/plain)
2022-01-16 19:53 UTC, Toralf Förster
Details
environment (environment,74.07 KB, text/plain)
2022-01-16 19:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.49 KB, application/x-bzip)
2022-01-16 19:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.44 KB, application/x-bzip)
2022-01-16 19:53 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 2022-01-16 19:53:32 UTC
varfile.h:31:9: error: unknown type name ‘efi_guid_t’
   31 |         efi_guid_t guid, uint16_t *name, uint32_t attributes,
      |         ^~~~~~~~~~
authvar_context.c: In function ‘generate_descriptor’:
authvar_context.c:99:67: error: ‘efi_guid_t’ undeclared (first use in this function); did you mean ‘efi_guid_cmp’?
   99 |   buf_len = strlen(ctx->name)*sizeof(efi_char16_t) + sizeof(efi_guid_t) +
      |                                                             ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220113-070005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 11.0.13_p8 [openjdk-bin-11]
2)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit 657cbf9bd44d50a6b4815d060517f9bbb455102e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 16 18:21:50 2022 +0000

    2022-01-16 18:21:48 UTC

emerge -qpvO app-crypt/pesign
[ebuild  N    ] app-crypt/pesign-113
Comment 1 Toralf Förster gentoo-dev 2022-01-16 19:53:34 UTC
Created attachment 762367 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-16 19:53:35 UTC
Created attachment 762368 [details]
app-crypt:pesign-113:20220116-194532.log
Comment 3 Toralf Förster gentoo-dev 2022-01-16 19:53:37 UTC
Created attachment 762369 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-01-16 19:53:38 UTC
Created attachment 762370 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-01-16 19:53:40 UTC
Created attachment 762371 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-16 19:53:41 UTC
Created attachment 762372 [details]
temp.tar.bz2
Comment 7 cJ 2022-02-14 17:50:58 UTC
v114 is out ; this issue is corrected in it.

I still had to patch Make.defaults to remove their -Werror, which of course is causing trouble with newer/different compilers.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-14 19:38:00 UTC
(In reply to cJ from comment #7)
> v114 is out ; this issue is corrected in it.
> 
> I still had to patch Make.defaults to remove their -Werror, which of course
> is causing trouble with newer/different compilers.

On it, and just noticed the -Werror pain. :(
Comment 9 Larry the Git Cow gentoo-dev 2022-02-14 19:48:02 UTC
The bug has been closed via the following commit(s):

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

commit d30b3fdc1483a09a774d10e7096720d1007eea62
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-14 19:47:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-14 19:47:53 +0000

    app-crypt/pesign: add 114
    
    Closes: https://bugs.gentoo.org/831328
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/pesign/Manifest                          |   1 +
 .../pesign/files/pesign-114-format-string.patch    | 111 +++++++++++++++++++++
 app-crypt/pesign/files/pesign-114-no-werror.patch  |  13 +++
 .../files/pesign-114-wanalyzer-diagnostic.patch    |  17 ++++
 app-crypt/pesign/pesign-114.ebuild                 |  58 +++++++++++
 5 files changed, 200 insertions(+)