Thanks -- I have submitted them for upstream review/feedback https://github.com/singularityware/singularity/pull/1195
On Mon, 04 Dec 2017, James Cowgill wrote: > Source: singularity-container > Version: 2.4-1 > Severity: serious > Tags: sid buster patch > Hi, > singularity-container FTBFS on mips* with the error: > > In file included from mnt.c:41:0: > > ../../../../../src/util/setns.h:46:4: error: #error Please determine the > > syscall number for setns on your architecture > > # error Please determine the syscall number for setns on your architecture > > ^~~~~ > This error happens because the setns.h header requires a __NR_setns > define for each architecture. However, this define is never used in the > case where glibc provides a setns function (as is the case for all > architectures in buster). > The attached "setns-syscall-nr.patch" patch fixes this by moving the > __NR_setns ifdefs into setns.c so it is only used in the case where > setns is not provided by libc. > After doing this, the package FTBFS again in a different way: > > util/signal.c:39:5: error: 'SIGSTKFLT' undeclared here (not in a function); > > did you mean 'SIGSTKSZ'? > > SIGSTKFLT, > > ^~~~~~~~~ > > SIGSTKSZ > The SIGSTKFLT signal is not defined on mips (and a few other > architectures). This is fixed by the "maybe-sigstkflt.patch" patch which > only adds this signal to the all_signals list if it is defined. -- Yaroslav O. Halchenko Center for Open Neuroscience http://centerforopenneuroscience.org Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik