Bug 2386126

Summary: libobjc2: FTBFS - fatal error: 'stdlib.h' file not found
Product: [Fedora] Fedora Reporter: Richard Shaw <hobbes1069>
Component: libobjc2Assignee: Davide Cavalca <davide>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: davide
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard Shaw 2025-08-02 22:33:04 UTC
I need to update robin-map to 1.4.0, which was released in March for the CMake 4.0 issue.

In file included from /builddir/build/BUILD/libobjc2-2.2.1-build/libobjc2-2.2.1/arc.mm:10:
In file included from /usr/include/tsl/robin_map.h:34:
In file included from /usr/include/tsl/robin_hash.h:27:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/algorithm:63:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/bits/stl_algo.h:71:
/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/cstdlib:83:15: fatal error: 'stdlib.h' file not found
   83 | #include_next <stdlib.h>
      |               ^~~~~~~~~~
1 error generated

Full logs:
https://download.copr.fedorainfracloud.org/results/hobbes1069/OIIO/fedora-rawhide-x86_64/09366280-libobjc2/builder-live.log.gz

Reproducible: Always

Comment 1 Richard Shaw 2025-08-04 19:03:20 UTC
I didn't look closely at first, this seems to be more of a FTBFS issue.