** Description changed: + [Impact] + + * Due to arm not defining __NR_migrate_pages + Backport upstream changes to fix this as part of an ongoing SRU. + - https://github.com/numactl/numactl/commit/e13c9a841 + + [Test Case] + + * Does it build in -proposed (and PPAs to prove it) + + [Regression Potential] + + * The change is minimal, therefore I hope that the regression risk + is rather low. + If anything then different libc/kernel behavior could make it regress, + but then IMHO that would apply to the current build in the archive as + well and not be part of this SRU. + + [Other Info] + + * Found to affect Bionic when working on SRU for bug 1817258 + * Sorry for the short SRU template, but for FTBFS bugs I'm not sure if we need more + + ---- + 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" - ^~~~~ + #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 + 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
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1711478 Title: [FTBFS] arm does not define __NR_migrate_pages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/numactl/+bug/1711478/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
