Source: vsftpd Version: 2.3.5-1 Severity: important Tags: patch User: debian-alpha@lists.debian.org Usertags: alpha X-Debbugs-CC: debian-alpha@lists.debian.org Justification: Fails to build from source (but built in the past)
vsftpd FTBFS on Alpha. From the build log: gcc -c sysdeputil.c -g -O2 -Wformat -Wformat-security -Werror=format-security -W -Wshadow -idirafter dummyinc sysdeputil.c: In function 'vsf_sysutil_getpid_nocache': sysdeputil.c:1371:18: error: '__NR_getpid' undeclared (first use in this function) This occurs because the syscall is getxpid, not getpid, on Alpha Linux. The fix is: --- vsftpd-2.3.5.orig/sysdeputil.c 2012-01-17 20:48:20.000000000 +1300 +++ vsftpd-2.3.5/sysdeputil.c 2012-01-17 21:17:38.000000000 +1300 @@ -86,6 +86,9 @@ #include <linux/unistd.h> #include <errno.h> #include <syscall.h> + #if defined(__alpha__) + #define __NR_getpid __NR_getxpid + #endif #endif #if defined(__linux__) && !defined(__ia64__) && !defined(__s390__) Cheers Michael -- To UNSUBSCRIBE, email to debian-alpha-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f1533f2.6090...@orcon.net.nz