** Description changed:

- libnl3 3.12.0-2 fails to build from source on arm64 in stonking with:
+ The build of libnl3 fails on arm64 with linux-libc-dev 7.3 UAPI headers:
+   /usr/include/aarch64-linux-gnu/asm/sigcontext.h:81:9: error: unknown type 
name '__u128'
  
- /usr/include/aarch64-linux-gnu/asm/sigcontext.h:81:9: error: unknown
- type name '__u128'; did you mean '__u32'?
- 
- Root Cause:
- In linux-libc-dev 7.3 on arm64, asm/sigcontext.h (included via <signal.h> in 
tests/test-cache-mngr.c) uses __u128 for vector registers vregs[32]. Because 
libnl3 passes -I./include/linux-private before system include paths, its 
bundled copy of linux/types.h shadows the system header. The bundled copy lacks 
the definition of __u128.
+ Cause:
+ libnl3 passes -I./include/linux-private, shadowing system <linux/types.h>. 
The bundled copy does not define __s128 and __u128.
  
  Fix:
- Refresh include/linux-private/linux/types.h by defining __s128 and __u128 
under #ifdef __SIZEOF_INT128__ to match the system linux/types.h. (The header 
cannot simply be deleted as it is tracked in Makefile.am).
+ Define __s128 and __u128 under __SIZEOF_INT128__ in 
include/linux-private/linux/types.h to match upstream kernel headers.
+ Upstream PR: https://github.com/thom311/libnl/pull/460
  
  --- [ Original Report ]
  libnl3 3.12.0-2 fails to build from source in the stonking test rebuild 
(test-rebuild-20260923-stonking).
  
  Failing architectures: arm64
  
  Error:
  /usr/include/aarch64-linux-gnu/asm/sigcontext.h:81:9: error: unknown type 
name '__u128'; did you mean '__u32'?
  Likely regression in linux-libc-dev 7.3.0-8.8 UAPI headers (same failure as 
ebtables).
  
  Build logs:
    arm64: 
https://launchpad.net/ubuntu/+archive/test-rebuild-20260923-stonking/+build/33687360/+files/buildlog_ubuntu-stonking-arm64.libnl3_3.12.0-2_BUILDING.txt.gz
  
  Report: https://people.canonical.com/~ginggs/ftbfs-report/test-
  rebuild-20260923-stonking-stonking.html#debcrafters-packages-team

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169812

Title:
  libnl3 3.12.0-2 FTBFS in stonking

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnl3/+bug/2169812/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to