Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928734

Summary: sys-block/libfabric-1.11.2-r2: fails to compile on CLANG-MUSL: 'arpa/inet.h' file not found
Product: Gentoo Linux Reporter: NHO <jy6x2b32pie9>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED INVALID    
Severity: normal CC: jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/ofiwg/libfabric/issues/9986
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build log

Description NHO 2024-04-06 14:01:06 UTC
Created attachment 889588 [details]
build log

MAKEOPTS="-j1 --shuffle=4108033355" ebuild libfabric-1.11.2-r2.ebuild compile

./prov/hook/include -I./prov/hook/hook_debug/include -Wall -O2 -DNDEBUG -O2 -pipe -c prov/sockets/src/sock_eq.c  -fPIC -DPIC -o prov/sockets/src/.libs/src_libfabric_la-sock_eq.o
prov/sockets/src/sock_atomic.c:51:10: fatal error: 'arpa/inet.h' file not found
   51 | #include <arpa/inet.h>
      |          ^~~~~~~~~~~~~

Upstream issue: https://github.com/ofiwg/libfabric/issues/9986
Comment 1 NHO 2024-04-23 11:08:48 UTC
Okay, that was weird. Musl was from stage 3, didn't include arpa/inet.h, after updating from binpkgs it's there.
I do not understand, but it's a me problem??? Weird.