Bug#835717: sosi2osm: FTBFS: node.cpp:54:31: error: 'max' was not declared in this scope

Lucas Nussbaum lucas at debian.org
Sun Aug 28 09:18:05 UTC 2016


Source: sosi2osm
Version: 1.0.0-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160828 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 `pkg-config --cflags lua5.1-c++ fyba` -DLINUX -DUNIX -g  -c -o node.o node.cpp
> node.cpp: In function 'long int createNode(double, double, short int)':
> node.cpp:54:31: error: 'max' was not declared in this scope
>       sizeM = max(1024, sizeM*2);
>                                ^
> <builtin>: recipe for target 'node.o' failed
> make[1]: *** [node.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/08/28/sosi2osm_1.0.0-2_unstable.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.



More information about the Pkg-grass-devel mailing list