util.c: In function ‘hex_decode’: util.c:57:33: error: ‘UCHAR_MAX’ undeclared (first use in this function) 57 | if (r != 1 || n != 2 || c > UCHAR_MAX) { | ^~~~~~~~~ util.c:25:1: note: ‘UCHAR_MAX’ is defined in header ‘<limits.h>’; did you forget to ‘#include <limits.h>’? ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-libressl-20201024-104338 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.47.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-8] 2) IcedTea JDK 3.16.0 [icedtea-bin-8] *) AdoptOpenJDK 8.272_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 [3] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Oct 29 03:05:34 AM UTC 2020 /var/db/repos/libressl Sun Oct 18 04:35:14 PM UTC 2020 emerge -qpvO sys-auth/pam_u2f [ebuild N ] sys-auth/pam_u2f-1.1.0 USE="libressl -debug"
Created attachment 669074 [details] emerge-info.txt
Created attachment 669077 [details] emerge-history.txt
Created attachment 669080 [details] environment
Created attachment 669083 [details] etc.portage.tbz2
Created attachment 669086 [details] logs.tbz2
Created attachment 669089 [details] sys-auth:pam_u2f-1.1.0:20201029-041047.log
Created attachment 669092 [details] temp.tbz2
Created attachment 670100 [details, diff] Patch to include limits.h to the files that require it.
I can't reproduce but there's an upstream patch. So I'll just backport that.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=540d9e57de2084bce17d23ae67c0b27307a67b6b commit 540d9e57de2084bce17d23ae67c0b27307a67b6b Author: Göktürk Yüksek <gokturk@gentoo.org> AuthorDate: 2021-03-06 05:13:26 +0000 Commit: Göktürk Yüksek <gokturk@gentoo.org> CommitDate: 2021-03-06 06:03:59 +0000 sys-auth/pam_u2f: backport a patch to fix a build failure There is a missing limits.h include but there are no new releases that includes the fix. Backport it. Closes: https://bugs.gentoo.org/751742 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org> .../files/pam_u2f-1.1.0-include-limits_h.patch | 41 ++++++++++++++++++++++ sys-auth/pam_u2f/pam_u2f-1.1.0.ebuild | 7 ++-- 2 files changed, 46 insertions(+), 2 deletions(-)