NIXPKGS-42: vsftpd does not build
When building vsftpd 2.0.3 I get the following:
[q[pbuilding sysdeputil.o
Submitted on 12 January 2007 at 01:43
[3s[agcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
sysdeputil.c:161: error: expected declaration specifiers or … before capset
sysdeputil.c:161: error: expected declaration specifiers or … before header
sysdeputil.c:161: error: expected declaration specifiers or … before data
In file included from sysdeputil.c:169:
/nix/store/im276akmsrhvgh9hmbxmcwrsifmbsh2g-glibc-2.5/include/sys/sendfile.h: In function _syscall2:
/nix/store/im276akmsrhvgh9hmbxmcwrsifmbsh2g-glibc-2.5/include/sys/sendfile.h:35: error: storage class specified for parameter sendfile
sysdeputil.c:185: error: storage class specified for parameter environ
sysdeputil.c:186: error: storage class specified for parameter s_proctitle_space
sysdeputil.c:186: error: parameter s_proctitle_space is initialized
sysdeputil.c:187: error: storage class specified for parameter s_proctitle_inited
sysdeputil.c:187: error: parameter s_proctitle_inited is initialized
sysdeputil.c:188: error: storage class specified for parameter s_p_proctitle
sysdeputil.c:188: error: parameter s_p_proctitle is initialized
sysdeputil.c:200: error: storage class specified for parameter do_sendfile
sysdeputil.c:201: error: storage class specified for parameter vsf_sysutil_setproctitle_internal
sysdeputil.c:202: error: storage class specified for parameter s_proctitle_prefix_str
sysdeputil.c:204: error: storage class specified for parameter vsf_insert_uwtmp
sysdeputil.c:205: error: storage class specified for parameter vsf_remove_uwtmp
sysdeputil.c:212: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:415: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:453: error: storage class specified for parameter do_checkcap
sysdeputil.c:457: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:476: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:493: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:506: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:583: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:620: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:774: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:781: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:787: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:834: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:867: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:908: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:913: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:954: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:990: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:1106: error: storage class specified for parameter s_uwtmp_inserted
sysdeputil.c:1107: error: storage class specified for parameter s_utent
sysdeputil.c:1112: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:1151: error: expected =, ,, ;, asm or attribute before { token
sysdeputil.c:1167: error: old-style parameter declarations in prototyped function definition
sysdeputil.c:161: error: parameter name omitted
sysdeputil.c:161: error: parameter name omitted
sysdeputil.c:161: error: parameter name omitted
sysdeputil.c:1167: error: expected { at end of input
make: *** [sysdeputil.o] Error 1
[q[q[qbuilder for/nix/store/xywpsn7i4h5955qa24irvw0v129y8h1n-vsftpd-2.0.3.drv failed; keeping build directory
/tmp/nix-29644-0
builder for/nix/store/xywpsn7i4h5955qa24irvw0v129y8h1n-vsftpd-2.0.3.drv failed with exit code 1 error: build of
/nix/store/xywpsn7i4h5955qa24irvw0v129y8h1n-vsftpd-2.0.3.drv failed
Log in to post comments