[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#756794: vsftpd: FTBFS on kfreebsd-*



Source: vsftpd
Version: 3.0.2-15
Severity: serious
Justification: fails to build from source (but built successfully in the past)

vsftpd failed to build on kfreebsd-* with:
| gcc -c sysdeputil.c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -idirafter dummyinc
| sysdeputil.c: In function 'do_checkcap':
| sysdeputil.c:622:3: error: unknown type name 'cap_t'
|    cap_t current_caps = cap_get_proc();
|    ^
| sysdeputil.c:624:20: warning: comparison between pointer and integer
|    if (current_caps != NULL)
|                     ^
| sysdeputil.c: In function 'vsf_sysdep_adopt_capabilities':
| sysdeputil.c:635:3: error: unknown type name 'cap_value_t'
|    cap_value_t cap_value;
|    ^
| sysdeputil.c:636:3: error: unknown type name 'cap_t'
|    cap_t adopt_caps = cap_init();
|    ^
| sysdeputil.c:639:17: error: 'CAP_CHOWN' undeclared (first use in this function)
|      cap_value = CAP_CHOWN;
|                  ^
| sysdeputil.c:639:17: note: each undeclared identifier is reported only once for each function it appears in
| sysdeputil.c:640:30: error: 'CAP_EFFECTIVE' undeclared (first use in this function)
|      cap_set_flag(adopt_caps, CAP_EFFECTIVE, 1, &cap_value, CAP_SET);
|                               ^
| sysdeputil.c:640:60: error: 'CAP_SET' undeclared (first use in this function)
|      cap_set_flag(adopt_caps, CAP_EFFECTIVE, 1, &cap_value, CAP_SET);
|                                                             ^
| sysdeputil.c:641:30: error: 'CAP_PERMITTED' undeclared (first use in this function)
|      cap_set_flag(adopt_caps, CAP_PERMITTED, 1, &cap_value, CAP_SET);
|                               ^
| sysdeputil.c:645:17: error: 'CAP_NET_BIND_SERVICE' undeclared (first use in this function)
|      cap_value = CAP_NET_BIND_SERVICE;
|                  ^
| make[2]: *** [sysdeputil.o] Error 1

Build logs are available from
https://buildd.debian.org/status/package.php?p=vsftpd. Please take a
look.

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature


Reply to: