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

Re: FTBFS on kfreebsd-*



On Wed, 20 Aug 2014, Jörg Frings-Fürst wrote:

> Hello,
>
> I have a question about this bug[1].
>
> There are no changes at sysdeputil.c between vsftpd/3.0.2-14 and
> vsftpd/3.0.2-15.
>
> Have one a hint where I must search this problem?
>
> Many thanks...
>
> CU
> Jörg
>
>
> #### build error ####
> 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)
> #### end of build error ####

Perhaps, libcap-dev is no longer installed in the build environment?
It seems that is the provider of the cap_t; there is no such concept in
the base freebsd system.

-Ben Kaduk

Reply to: