Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895772 - sys-boot/mokutil-0.5.0-r1 - mokutil.h: error: conflicting types for efi_char16_t; have wchar_t {aka int}
Summary: sys-boot/mokutil-0.5.0-r1 - mokutil.h: error: conflicting types for efi_char1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 22:10 UTC by Toralf Förster
Modified: 2023-08-24 01:35 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2023-02-21 22:10 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,68.56 KB, application/x-bzip)
2023-02-21 22:10 UTC, Toralf Förster
Details
environment (environment,73.26 KB, text/plain)
2023-02-21 22:10 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,693 bytes, application/x-bzip)
2023-02-21 22:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.51 KB, application/x-bzip)
2023-02-21 22:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.89 KB, application/x-bzip)
2023-02-21 22:10 UTC, Toralf Förster
Details
sys-boot:mokutil-0.5.0-r1:20230221-152419.log (sys-boot:mokutil-0.5.0-r1:20230221-152419.log,9.22 KB, text/plain)
2023-02-21 22:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.07 KB, application/x-bzip)
2023-02-21 22:10 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 2023-02-21 22:10:02 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/efivar   -std=gnu11 -fshort-wchar -Wall -Wextra -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Werror=format-nonliteral -Werror=format-security -Wmissing-format-at
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/efivar   -std=gnu11 -fshort-wchar -Wall -Wextra -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Werror=format-nonliteral -Werror=format-security -Wmissing-format-at
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/efivar   -std=gnu11 -fshort-wchar -Wall -Wextra -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Werror=format-nonliteral -Werror=format-security -Wmissing-format-at
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/efivar   -std=gnu11 -fshort-wchar -Wall -Wextra -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Werror=format-nonliteral -Werror=format-security -Wmissing-format-at
In file included from efi_hash.h:38,
                 from efi_hash.c:36:
mokutil.h:42:17: error: conflicting types for 'efi_char16_t'; have 'wchar_t' {aka 'int'}
   42 | typedef wchar_t efi_char16_t;           /* UNICODE character */
      |                 ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20230218-020026

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1
  [2]   rust-1.67.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 0342e5e1bb87aad208402a6b44b1f659b5cc3c84
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 21 14:32:02 2023 +0000

    2023-02-21 14:32:02 UTC

emerge -qpvO sys-boot/mokutil
[ebuild  N    ] sys-boot/mokutil-0.5.0-r1
Comment 1 Toralf Förster gentoo-dev 2023-02-21 22:10:03 UTC
Created attachment 853642 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-21 22:10:04 UTC
Created attachment 853644 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-02-21 22:10:05 UTC
Created attachment 853646 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-21 22:10:06 UTC
Created attachment 853648 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-21 22:10:07 UTC
Created attachment 853650 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-21 22:10:08 UTC
Created attachment 853652 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-21 22:10:09 UTC
Created attachment 853654 [details]
sys-boot:mokutil-0.5.0-r1:20230221-152419.log
Comment 8 Toralf Förster gentoo-dev 2023-02-21 22:10:10 UTC
Created attachment 853656 [details]
temp.tar.bz2
Comment 9 Han Mertens 2023-06-30 19:00:25 UTC
Upstream has a patch for this (https://github.com/lcp/mokutil/commit/dd55c28236809fc30a7f079882914cde45560277) which isn't included yet in any release.
Comment 10 Rick Farina (Zero_Chaos) gentoo-dev 2023-08-24 01:35:25 UTC
thanks, I'm picking up upstreams patch for mokutil 0.6.0
Comment 11 Larry the Git Cow gentoo-dev 2023-08-24 01:35:33 UTC
The bug has been closed via the following commit(s):

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

commit 85df12b0fb4272ea7a45674e90c099f2f05a58d7
Author:     Rick Farina <zerochaos@gentoo.org>
AuthorDate: 2023-08-24 01:34:21 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2023-08-24 01:34:21 +0000

    sys-boot/mokutil: fix build failure
    
    Closes: https://bugs.gentoo.org/895772
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

 .../mokutil/files/mokutil-0.6.0-conflict.patch     | 38 ++++++++++++++++++++++
 sys-boot/mokutil/mokutil-0.6.0.ebuild              |  4 ++-
 2 files changed, 41 insertions(+), 1 deletion(-)