❦ 17 août 2015 18:32 +0200, Steve Langasek <vor...@debian.org> :

> The latest version of curlftpfs is misbuilding on 64-bit architectures, due
> to a missing prototype for the getpass() function:
>
> ftpfs.c: In function 'checkpasswd':
> ftpfs.c:1691:5: warning: implicit declaration of function 'getpass' 
> [-Wimplicit-function-declaration]
>      passwd = getpass(prompt);
>      ^
> ftpfs.c:1691:12: warning: assignment makes pointer from integer without a 
> cast [enabled by default]
>      passwd = getpass(prompt);
>             ^
>
> (https://buildd.debian.org/status/fetch.php?pkg=curlftpfs&arch=s390x&ver=0.9.2-8&stamp=1400148134)
>
> This error was detected by the Ubuntu buildds, where such wrong casts are
> treated as fatal errors, but the problem is present on Debian as well.
>
> I'm not sure why this problem was not seen in version 0.9.2-7, but it's
> definitely a new issue between -7 and -8.  So either this is a regression
> in the curlftpfs source or a regression caused by a change in behavior of
> the system headers.

This is due to the use of -D_XOPEN_SOURCE=600 for the whole codebase
which was added due to #748143. However, getpass() gets deprecated in
the process. I'll try to find a solution to this.
-- 
Let the data structure the program.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature

Reply via email to