[Bug 1711478] Re: [FTBFS] arm does not define __NR_migrate_pages
Launchpad Bug Tracker
1711478 at bugs.launchpad.net
Sat May 5 21:50:46 UTC 2018
This bug was fixed in the package numactl - 2.0.11-2.2
---------------
numactl (2.0.11-2.2) unstable; urgency=medium
* Non-maintainer upload.
* debian/patches/Allow-building-on-ARM-systems.patch:
- add __arm__ to avoid failure due to missing syscalls.
- return -1 and set errno to ENOSYS on migrate_pages function
if __NR_migrate_pages is undefined, thanks Uwe Kleine-König
and Tiago Stürmer Daitx. Closes: #796802. LP: #1711478.
* Install memhog and migspeed. Closes: #882873. Thanks Manoj Iyer.
* debian/control: Correct project Homepage link. Closes: #894825.
* Bump Standards-Version to 4.1.4:
- libnuma-dev is now Priority: optional (extra is deprecated).
* debian/patches/Add-NAME-section-to-numastat-manpage.patch: Add
"NAME" section to manpage for proper parsing by commands like apropos
and whatis.
* debian/numactl.docs: The upstream changelog is already installed
as /usr/share/doc/numactl/changelog.gz, no need to install another
copy.
-- dann frazier <dannf at debian.org> Tue, 17 Apr 2018 16:11:23 -0600
** Changed in: numactl (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1711478
Title:
[FTBFS] arm does not define __NR_migrate_pages
Status in numactl package in Ubuntu:
Fix Released
Status in numactl package in Debian:
Fix Released
Bug description:
numactl currently FTBFS since arm does not define __NR_migrate_pages.
As described in the Debian bug comments [1] the function should just
return -1 and set errno when __NR_migrate_pages is undefined. This
prevents it from failing the build.
Failure from the buildlog [2]:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c syscall.c -fPIC -DPIC -o .libs/syscall.o
syscall.c:113:2: error: #error "Add syscalls for your architecture or update kernel headers"
#error "Add syscalls for your architecture or update kernel headers"
^~~~~
syscall.c: In function ‘migrate_pages’:
syscall.c:209:17: error: ‘__NR_migrate_pages’ undeclared (first use in this function); did you mean ‘numa_migrate_pages’?
return syscall(__NR_migrate_pages, pid, maxnode, frommask, tomask);
^~~~~~~~~~~~~~~~~~
numa_migrate_pages
syscall.c:209:17: note: each undeclared identifier is reported only once for each function it appears in
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796802#15
[2] https://launchpadlibrarian.net/332625047/buildlog_ubuntu-artful-armhf.numactl_2.0.11-2.1_BUILDING.txt.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/numactl/+bug/1711478/+subscriptions
More information about the Ubuntu-sponsors
mailing list