retitle 809008 "FTBFS with perl 5.22: Calling POSIX::tmpnam() is deprecated"
thanks

Le 26/12/2015 04:26, Chris Lamb a écrit :
> Source: inspircd
> Version: 2.0.20-4
> Severity: serious
> Justification: fails to build from source
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
> 
> Dear Maintainer,
> 
> inspircd fails to build from source in unstable/amd64:
> 
>   [..]
>   # delete empty data and log dir
>   rmdir 
> /home/lamby/temp/cdt.20151226032303.NJlegBmZbO/inspircd-2.0.20/debian/inspircd/usr/lib/inspircd/data
>  \
>   
> /home/lamby/temp/cdt.20151226032303.NJlegBmZbO/inspircd-2.0.20/debian/inspircd/usr/lib/inspircd/logs
>   rmdir: failed to remove 
> '/home/lamby/temp/cdt.20151226032303.NJlegBmZbO/inspircd-2.0.20/debian/inspircd/usr/lib/inspircd/data':
>  No such file or directory
>   rmdir: failed to remove 
> '/home/lamby/temp/cdt.20151226032303.NJlegBmZbO/inspircd-2.0.20/debian/inspircd/usr/lib/inspircd/logs':
>  No such file or directory
>   debian/rules:51: recipe for target 'override_dh_auto_install' failed
>   make[1]: *** [override_dh_auto_install] Error 1
>   make[1]: Leaving directory 
> '/home/lamby/temp/cdt.20151226032303.NJlegBmZbO/inspircd-2.0.20'
>   debian/rules:81: recipe for target 'binary' failed
>   make: *** [binary] Error 2
> 
>   [..]
> 
> The full build log is attached.

The real problem is:

[...]
Evaluating perl code for module m_pgsql.cpp ...

Configuration failed. The following error occured:

Calling POSIX::tmpnam() is deprecated at make/utilities.pm line 407,
<FLAGS> line 32.
[...]

Upstream use POSIX::tmpnam in this file which seems (i don't find any
other pointer than [1]) to be deprecated since perl 5.22; i 'll propose
them to use File::Temp instead and prepare a new -4 version.

[1]:
https://metacpan.org/pod/distribution/perl/ext/POSIX/lib/POSIX.pod#FUNCTIONS

-- 
Guillaume Delacour

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to