Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851915 - sys-apps/iucode_tool-2.3.1-r1 - iucode_tool.c: error: SSIZE_MAX undeclared (first use in this function)
Summary: sys-apps/iucode_tool-2.3.1-r1 - iucode_tool.c: error: SSIZE_MAX undeclared (f...
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: 2022-06-14 13:04 UTC by Toralf Förster
Modified: 2022-08-15 17:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2022-06-14 13:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,206.26 KB, text/plain)
2022-06-14 13:04 UTC, Toralf Förster
Details
environment (environment,23.37 KB, text/plain)
2022-06-14 13:04 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,36.80 KB, application/x-bzip)
2022-06-14 13:04 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.14 KB, application/x-bzip)
2022-06-14 13:04 UTC, Toralf Förster
Details
sys-apps:iucode_tool-2.3.1-r1:20220614-101852.log (sys-apps:iucode_tool-2.3.1-r1:20220614-101852.log,8.50 KB, text/plain)
2022-06-14 13:04 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.59 KB, application/x-bzip)
2022-06-14 13:04 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-06-14 13:04:07 UTC
make[1]: Entering directory '/var/tmp/portage/sys-apps/iucode_tool-2.3.1-r1/work/iucode-tool-2.3.1'
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -c -o intel_microcode.o intel_microcode.c
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -c -o iucode_tool.o iucode_tool.c
iucode_tool.c: In function 'load_intel_microcode_bin':
iucode_tool.c:1088:45: error: 'SSIZE_MAX' undeclared (first use in this function); did you mean 'SIZE_MAX'?
 1088 |                           (mcb_space_left < SSIZE_MAX) ? mcb_space_left : SSIZE_MAX);
      |                                             ^~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
Python 3.9.13
Available Rust versions:
  [1]   rust-bin-1.61.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

php cli:

  HEAD of ::gentoo
commit 915a0f90772b114cbf0e032ad21f7202c58674c6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 14 09:18:23 2022 +0000

    2022-06-14 09:18:23 UTC

emerge -qpvO sys-apps/iucode_tool
[ebuild  N    ] sys-apps/iucode_tool-2.3.1-r1
Comment 1 Toralf Förster gentoo-dev 2022-06-14 13:04:08 UTC
Created attachment 784937 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-14 13:04:10 UTC
Created attachment 784940 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-06-14 13:04:11 UTC
Created attachment 784943 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-14 13:04:12 UTC
Created attachment 784946 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-14 13:04:13 UTC
Created attachment 784949 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-14 13:04:14 UTC
Created attachment 784952 [details]
sys-apps:iucode_tool-2.3.1-r1:20220614-101852.log
Comment 7 Toralf Förster gentoo-dev 2022-06-14 13:04:15 UTC
Created attachment 784955 [details]
temp.tar.bz2
Comment 8 Jory A. Pratt gentoo-dev 2022-06-14 14:42:10 UTC
Missing limits.h patch is in the musl overlay.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-14 14:51:49 UTC
(In reply to Jory A. Pratt from comment #8)
> Missing limits.h patch is in the musl overlay.

Feel free to add it?
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-15 17:57:02 UTC
commit d24c7eb3dc2c532b84e7330bc7bec1d57b54ba48
Author: Sam James <sam@gentoo.org>
Date:   Tue Aug 9 20:36:05 2022 +0100

    sys-apps/iucode_tool: fix build on musl

    Signed-off-by: Sam James <sam@gentoo.org>

commit 48df3d7a922f1eb000edbceb17bd2e722c6aa42a
Author: Sam James <sam@gentoo.org>
Date:   Tue Aug 9 20:04:17 2022 +0100

    sys-apps/iucode_tool: add argp-standalone dep for musl

    Signed-off-by: Sam James <sam@gentoo.org>