The failure occurs because the bundled include/linux-
private/linux/types.h shadows the system header and lacks __u128, which
is required by asm/sigcontext.h in linux-libc-dev 7.3.
The header cannot be dropped because it is referenced in Makefile.am.
I refreshed include/linux-private/linux/types.h to define __u128
matching system headers and attached the debdiff for stonking
(3.12.0-2ubuntu1).
The package builds and test suites pass cleanly.
** Description changed:
- libnl3 3.12.0-2 fails to build from source in the stonking test rebuild
- (test-rebuild-20260923-stonking).
+ libnl3 3.12.0-2 fails to build from source on arm64 in stonking with:
+
+ /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.
+
+ 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).
+
+ --- [ 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
** Changed in: libnl3 (Ubuntu)
Status: New => Confirmed
** Patch added: "libnl3 3.12.0-2ubuntu1 debdiff for stonking"
https://bugs.launchpad.net/ubuntu/+source/libnl3/+bug/2169812/+attachment/6006914/+files/libnl3_3.12.0-2ubuntu1_stonking.debdiff
--
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