[Bug 1843743] Re: klibc ftbfs in eoan
Launchpad Bug Tracker
1843743 at bugs.launchpad.net
Tue Oct 22 04:01:37 UTC 2019
This bug was fixed in the package klibc - 2.0.6-1ubuntu2
---------------
klibc (2.0.6-1ubuntu2) eoan; urgency=medium
* Fix FTBFS on eoan and later with new linux and gcc (LP: #1843743)
- cf-protection.patch: Disable cf-protection for syscalls stub.
- mman-include.patch: Adjust for changes to linux headers in 5.3.
-- Adam Conrad <adconrad at ubuntu.com> Mon, 21 Oct 2019 15:39:37 -0600
** Changed in: klibc (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to klibc in Ubuntu.
https://bugs.launchpad.net/bugs/1843743
Title:
klibc ftbfs in eoan
Status in klibc package in Ubuntu:
Fix Released
Status in klibc source package in Eoan:
Fix Committed
Bug description:
[ SRU Justification / Impact ]
klibc is FTBFS in eoan. As we have a history of SRUing klibc to add new features, we should probably make sure it's buildable.
[ Test Case ]
If it builds, we win. Should also test that a machine with the new klibc installed still boots.
[ Regression Potential ]
One patch is just adding a missing include, and the other is altering the build of a stub only used to determine which syscalls are availble, a part of the build that will cause the rest of the build to fail if it's generated incorrectly. Regression potential should be very low.
[ Original Bug Report ]
https://launchpadlibrarian.net/441262209/buildlog_ubuntu-eoan-amd64.klibc_2.0.6-1ubuntu1_BUILDING.txt.gz
gcc -Wp,-MD,usr/klibc/.sigsuspend.o.d -nostdinc -iwithprefix include -I/<<PKGBUILDDIR>>/usr/include/arch/x86_64 -Iusr/include/arch/x86_64 -I/<<PKGBUILDDIR>>/usr/include/bits64 -Iusr/include/bits64 -I/<<PKGBUILDDIR>>/usr/klibc/../include -Iusr/klibc/../include -I/<<PKGBUILDDIR>>/usr/include -Iusr/include -I/<<PKGBUILDDIR>>/linux/include -Ilinux/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=64 -fno-stack-protector -fwrapv -fno-PIE -ggdb -m64 -Os -fomit-frame-pointer -mno-sse -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fno-asynchronous-unwind-tables -W -Wall -Wno-sign-compare -Wno-unused-parameter -c -o usr/klibc/sigsuspend.o usr/klibc/sigsuspend.c
usr/klibc/sigsuspend.c:8:10: fatal error: klibc/havesyscall.h: No such file or directory
8 | #include <klibc/havesyscall.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/<<PKGBUILDDIR>>/scripts/Kbuild.klibc:252: usr/klibc/sigsuspend.o] Error 1
make[3]: *** [/<<PKGBUILDDIR>>/./Kbuild:9: all] Error 2
make[2]: *** [Makefile:118: klibc] Error 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1843743/+subscriptions
More information about the foundations-bugs
mailing list