Please help (Was: Bug#808537: jellyfish: FTBFS: error: 'template<class> class std::auto_ptr' is deprecated [-Werror=deprecated-declarations])
Hi,
I was hoping that Gert could provide any hint how he fixed #778005 but
he seems to be offline. Any hint how to deal with his?
Kind regards
Andreas.
----- Forwarded message from Andreas Tille <andreas@an3as.eu> -----
Date: Sun, 20 Dec 2015 17:46:54 +0100
From: Andreas Tille <andreas@an3as.eu>
To: 808537@bugs.debian.org
Cc: Gert Wollny <gw.fossdev@gmail.com>
Subject: Re: Bug#808537: jellyfish: FTBFS: error: 'template<class> class std::auto_ptr' is deprecated [-Werror=deprecated-declarations]
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@lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-CC: reproducible-builds@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@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
--
http://fam-tille.de
----- End forwarded message -----
--
http://fam-tille.de
Reply to: