[Debian-med-packaging] Bug#860652: snap-aligner: FTBFS on i386: SNAPLib/SortedDataWriter.cpp:338:70: error: no matching function for call to 'max(long unsigned int, _int

Gianfranco Costamagna locutusofborg at debian.org
Wed Apr 19 09:19:31 UTC 2017


Hello Lucas


Can you please fix your script? :)
rmadison -u debian snap-aligner
snap-aligner | 1.0~beta.18+dfsg-1 | testing        | source, amd64, arm64, mips64el, ppc64el
snap-aligner | 1.0~beta.18+dfsg-1 | unstable       | source, amd64, arm64, mips64el, ppc64el
snap-aligner | 1.0~beta.18+dfsg-1 | unstable-debug | source


for sure a package that was never built on i386 should not be RC buggy for that,
unless I'm missing something obvious here!

cheers,

G.

Il Mercoledì 19 Aprile 2017 10:51, Andreas Tille <andreas at an3as.eu> ha scritto:



Hi,

some hours ago the Debian Med team was flooded with lots of bugs
regarding build on i386 - I guess this is not the only team.  I need to
admit I'm a bit astonished about this kind of bugs that are showing up
right now ... may be autobuilding on i386 started right now?

Anyway.  I try to tackle the first one which leaves me clueless.  Any
idea why max() and min() are unknown now but were not before?

Kind regards

       Andreas.

On Wed, Apr 19, 2017 at 09:12:07AM +0200, Lucas Nussbaum wrote:
> Source: snap-aligner
> Version: 1.0~beta.18+dfsg-1
> Severity: serious
> Tags: stretch sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20170418-i386 qa-ftbfs
> Justification: FTBFS in stretch on i386
> 
> Hi,
> 
> During a rebuild of all packages in stretch (in a stretch chroot, not a
> sid chroot), your package failed to build on i386.
> 
> Relevant part (hopefully):
> > g++ -std=gnu++98 -MMD -ISNAPLib -Wdate-time -D_FORTIFY_SOURCE=2  -c -o apps/SNAPCommand/stdafx.o apps/SNAPCommand/stdafx.cpp
> > SNAPLib/SortedDataWriter.cpp: In member function 'bool SortedDataFilterSupplier::mergeSort()':
> > SNAPLib/SortedDataWriter.cpp:338:70: error: no matching function for call to 'max(long unsigned int, _int64)'
> >              min(1UL << 23, max(1UL << 17, bufferSpace / blocks.size()))); // 128kB to 8MB buffer space per block
> >                                                                       ^
> > In file included from /usr/include/c++/6/algorithm:61:0,
> >                  from SNAPLib/stdafx.h:13,
> >                  from SNAPLib/SortedDataWriter.cpp:19:
> > /usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
> >      max(const _Tp& __a, const _Tp& __b, _Compare __comp)
> >      ^~~
> > /usr/include/c++/6/bits/stl_algobase.h:265:5: note:   template argument deduction/substitution failed:
> > SNAPLib/SortedDataWriter.cpp:338:70: note:   deduced conflicting types for parameter 'const _Tp' ('long unsigned int' and '_int64 {aka long long int}')
> >              min(1UL << 23, max(1UL << 17, bufferSpace / blocks.size()))); // 128kB to 8MB buffer space per block
> >                                                                       ^
> > In file included from /usr/include/c++/6/algorithm:61:0,
> >                  from SNAPLib/stdafx.h:13,
> >                  from SNAPLib/SortedDataWriter.cpp:19:
> > /usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
> >      max(const _Tp& __a, const _Tp& __b)
> >      ^~~
> > /usr/include/c++/6/bits/stl_algobase.h:219:5: note:   template argument deduction/substitution failed:
> > SNAPLib/SortedDataWriter.cpp:338:70: note:   deduced conflicting types for parameter 'const _Tp' ('long unsigned int' and '_int64 {aka long long int}')
> >              min(1UL << 23, max(1UL << 17, bufferSpace / blocks.size()))); // 128kB to 8MB buffer space per block
> >                                                                       ^
> > <builtin>: recipe for target 'SNAPLib/SortedDataWriter.o' failed
> > make[2]: *** [SNAPLib/SortedDataWriter.o] Error 1
> 
> The full build log is available from:
>    http://aws-logs.debian.net/2017/04/18/snap-aligner_1.0~beta.18+dfsg-1_testing-i386.log
> 
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
> 
> _______________________________________________
> 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Untitled
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20170419/5a6326f2/attachment-0001.ksh>


More information about the Debian-med-packaging mailing list