[Debian-med-packaging] Bug#808537: jellyfish: FTBFS: error: 'template<class> class std::auto_ptr' is deprecated [-Werror=deprecated-declarations]

Andreas Tille andreas at an3as.eu
Sun Dec 20 16:46:54 UTC 2015


Hi Gert,

I think you fixed the same issue in #778005 but it seems to be an
upstream fix and thus I can't simply sneak into the patches of the
packaging.  Could you gice some hint how to work around this?

Kind regards

       Andreas.

On Sun, Dec 20, 2015 at 02:06:16PM +0000, Chris West (Faux) wrote:
> Source: jellyfish
> Version: 2.2.4-1
> Severity: serious
> Justification: fails to build from source
> Tags: sid 
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org
> 
> Dear Maintainer,
> 
> The package fails to build:
> 
> g++ -DHAVE_CONFIG_H -I.  -Wall -Wnon-virtual-dtor -I. -I./include -g -O3  -D_FORTIFY_SOURCE=2 -std=c++0x -g -O3 -Werror -std=c++0x -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o sub_commands/count_main.o sub_commands/count_main.cc
> sub_commands/count_main.cc: In function ‘int count_main(int, char**)’:
> sub_commands/count_main.cc:248:8: error: ‘template<class> class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations]
>    std::auto_ptr<jellyfish::dumper_t<mer_array> > dumper;
>         ^
> In file included from /usr/include/c++/5/memory:81:0,
>                  from sub_commands/count_main.cc:28:
> /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^
> cc1plus: all warnings being treated as errors
> Makefile:1615: recipe for target 'sub_commands/count_main.o' failed
> make[3]: *** [sub_commands/count_main.o] Error 1
> make[3]: Leaving directory '/jellyfish-2.2.4'
> 
> Full build log:
> https://reproducible.debian.net/rb-pkg/unstable/amd64/jellyfish.html
> 
> -- System Information:
> Debian Release: stretch/sid
> APT prefers unstable
> APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list