Your message dated Wed, 04 Jan 2017 12:33:37 +0000
with message-id <[email protected]>
and subject line Bug#831081: fixed in repsnapper 2.4a0-2
has caused the Debian Bug report #831081,
regarding repsnapper: FTBFS with GCC 6: 
./libraries/amf/amftools-code/include/STL_File.h:92:104: error: call of 
overloaded 'abs(double)' is ambiguous
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
831081: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831081
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: repsnapper
Version: 2.4a0-1
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I. 
> -I./libraries/amf/amftools-code/include/ 
> -I./libraries/amf/amftools-code/include/muparser 
> -I/usr/lib/x86_64-linux-gnu/libzip/include  -Wdate-time -D_FORTIFY_SOURCE=2  
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> libraries/amf/amftools-code/src/libamf_la-STL_File.lo `test -f 
> 'libraries/amf/amftools-code/src/STL_File.cpp' || echo 
> './'`libraries/amf/amftools-code/src/STL_File.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. 
> -I./libraries/amf/amftools-code/include/ 
> -I./libraries/amf/amftools-code/include/muparser 
> -I/usr/lib/x86_64-linux-gnu/libzip/include -Wdate-time -D_FORTIFY_SOURCE=2 -g 
> -O2 -fstack-protector-strong -Wformat -Werror=format-security -c 
> libraries/amf/amftools-code/src/STL_File.cpp  -fPIC -DPIC -o 
> libraries/amf/amftools-code/src/.libs/libamf_la-STL_File.o
> In file included from libraries/amf/amftools-code/src/STL_File.cpp:10:0:
> ./libraries/amf/amftools-code/include/STL_File.h: In static member function 
> 'static bool aWeldVertex::IsSoftLessThan(const aWeldVertex&, const 
> aWeldVertex&)':
> ./libraries/amf/amftools-code/include/STL_File.h:92:104: error: call of 
> overloaded 'abs(double)' is ambiguous
>   static inline bool IsSoftLessThan(const aWeldVertex& v1, const aWeldVertex& 
> v2){if(abs(v1.v.z - v2.v.z) <= WeldThresh){ if(abs(v1.v.y - v2.v.y) <= 
> WeldThresh){ return v1.v.x < v2.v.x-WeldThresh;}else return (v1.v.y < 
> v2.v.y-WeldThresh);} else return (v1.v.z < v2.v.z-WeldThresh); } //Is less 
> then (generates a "hash" for sorting vertices by z for set
>                                                                               
>                           ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/ext/string_conversions.h:41,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from ./libraries/amf/amftools-code/include/STL_File.h:14,
>                  from libraries/amf/amftools-code/src/STL_File.cpp:10:
> /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
>  extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
>             ^~~
> In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from ./libraries/amf/amftools-code/include/STL_File.h:14,
>                  from libraries/amf/amftools-code/src/STL_File.cpp:10:
> /usr/include/c++/6/cstdlib:185:3: note: candidate: __int128 std::abs(__int128)
>    abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
>    ^~~
> /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int 
> std::abs(long long int)
>    abs(long long __x) { return __builtin_llabs (__x); }
>    ^~~
> /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
>    abs(long __i) { return __builtin_labs(__i); }
>    ^~~
> In file included from libraries/amf/amftools-code/src/STL_File.cpp:10:0:
> ./libraries/amf/amftools-code/include/STL_File.h:92:144: error: call of 
> overloaded 'abs(double)' is ambiguous
>   static inline bool IsSoftLessThan(const aWeldVertex& v1, const aWeldVertex& 
> v2){if(abs(v1.v.z - v2.v.z) <= WeldThresh){ if(abs(v1.v.y - v2.v.y) <= 
> WeldThresh){ return v1.v.x < v2.v.x-WeldThresh;}else return (v1.v.y < 
> v2.v.y-WeldThresh);} else return (v1.v.z < v2.v.z-WeldThresh); } //Is less 
> then (generates a "hash" for sorting vertices by z for set
>                                                                               
>                                                                   ^
> In file included from /usr/include/c++/6/cstdlib:75:0,
>                  from /usr/include/c++/6/ext/string_conversions.h:41,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from ./libraries/amf/amftools-code/include/STL_File.h:14,
>                  from libraries/amf/amftools-code/src/STL_File.cpp:10:
> /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
>  extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
>             ^~~
> In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from ./libraries/amf/amftools-code/include/STL_File.h:14,
>                  from libraries/amf/amftools-code/src/STL_File.cpp:10:
> /usr/include/c++/6/cstdlib:185:3: note: candidate: __int128 std::abs(__int128)
>    abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
>    ^~~
> /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int 
> std::abs(long long int)
>    abs(long long __x) { return __builtin_llabs (__x); }
>    ^~~
> /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
>    abs(long __i) { return __builtin_labs(__i); }
>    ^~~
> libraries/amf/amftools-code/src/STL_File.cpp: In member function 'bool 
> CSTL_File::Load(std::__cxx11::string)':
> libraries/amf/amftools-code/src/STL_File.cpp:66:37: warning: ignoring return 
> value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with 
> attribute warn_unused_result [-Wunused-result]
>   fread(&facenum, sizeof(int), 1, fp);
>                                      ^
> libraries/amf/amftools-code/src/STL_File.cpp:70:35: warning: ignoring return 
> value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with 
> attribute warn_unused_result [-Wunused-result]
>   fread(tmpbuf,sizeof(tmpbuf),1,fp);
>                                    ^
> libraries/amf/amftools-code/src/STL_File.cpp: In member function 'bool 
> CSTL_File::LoadBinary(std::__cxx11::string)':
> libraries/amf/amftools-code/src/STL_File.cpp:105:37: warning: ignoring return 
> value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with 
> attribute warn_unused_result [-Wunused-result]
>   fread(&facenum, sizeof(int), 1, fp);
>                                      ^
> libraries/amf/amftools-code/src/STL_File.cpp:115:33: warning: ignoring return 
> value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with 
> attribute warn_unused_result [-Wunused-result]
>    fread(&N,3*sizeof(float),1,fp);
>                                  ^
> libraries/amf/amftools-code/src/STL_File.cpp:116:33: warning: ignoring return 
> value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with 
> attribute warn_unused_result [-Wunused-result]
>    fread(&P,3*sizeof(float),3,fp);
>                                  ^
> libraries/amf/amftools-code/src/STL_File.cpp:117:34: warning: ignoring return 
> value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with 
> attribute warn_unused_result [-Wunused-result]
>    fread(&attr,sizeof(short),1,fp);
>                                   ^
> make[4]: *** [libraries/amf/amftools-code/src/libamf_la-STL_File.lo] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/repsnapper_2.4a0-1_unstable_gcc6.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.

--- End Message ---
--- Begin Message ---
Source: repsnapper
Source-Version: 2.4a0-2

We believe that the bug you reported is fixed in the latest version of
repsnapper, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ying-Chun Liu (PaulLiu) <[email protected]> (supplier of updated repsnapper 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 04 Jan 2017 19:53:22 +0800
Source: repsnapper
Binary: repsnapper
Architecture: source amd64
Version: 2.4a0-2
Distribution: unstable
Urgency: low
Maintainer: Ying-Chun Liu (PaulLiu) <[email protected]>
Changed-By: Ying-Chun Liu (PaulLiu) <[email protected]>
Description:
 repsnapper - STL to GCode Converter and print software for RepRap machines
Closes: 810907 814331 831081
Changes:
 repsnapper (2.4a0-2) unstable; urgency=low
 .
   * Include patches from the upstream git repo (Closes: #814331)
     - 0011-replace-abs-with-std-abs-for-gcc6-compatibility.patch
       (Closes: #831081)
   * Include workaround 0105-include-asm-generic.patch (Closes: #810907)
   * Bump Standards-Version to 3.9.8: nothing needs to be changed.
Checksums-Sha1:
 061ed85ce8ebe9abadb7cf020a6293d507ce8e50 2011 repsnapper_2.4a0-2.dsc
 689235c2e1af8312cdad4f49d09c16073a8ae883 12112 repsnapper_2.4a0-2.debian.tar.xz
 1a4b0e38c6e013f3e177cbab98b1c1871b520b07 8013866 
repsnapper-dbgsym_2.4a0-2_amd64.deb
 9ec64b64721a5a8d8d927aea01a4218eab829eb6 12426 
repsnapper_2.4a0-2_amd64.buildinfo
 6e307e5551953dabe8aa802de3e651e2fcc0c417 726772 repsnapper_2.4a0-2_amd64.deb
Checksums-Sha256:
 5047c0ba8f07853d91267c8219a0e93789a5c9a1d54bf21ab9bbcc15dfad9bbd 2011 
repsnapper_2.4a0-2.dsc
 e25557dc5fd7a4391687f1f9005c9befb0740fe575a166ddf8facf3ad263d147 12112 
repsnapper_2.4a0-2.debian.tar.xz
 652d8f3f0656977d355bc2626b365c31772abfb99ab387bc0406d37dda9ea725 8013866 
repsnapper-dbgsym_2.4a0-2_amd64.deb
 953e5aad9b45ca44a2e0d1ef56dd328fc4d79bba83c9600c9e392bf74f8a3fda 12426 
repsnapper_2.4a0-2_amd64.buildinfo
 d1fd2f249a849c6085990b9edf84505701bf936c26063f94499a049ce4c70f8c 726772 
repsnapper_2.4a0-2_amd64.deb
Files:
 83b98b2d03a5bbad238bc5360694181d 2011 utils optional repsnapper_2.4a0-2.dsc
 2ca9012c625478b17d6683a8b72a4cd6 12112 utils optional 
repsnapper_2.4a0-2.debian.tar.xz
 988187f880da6bf0055a660095bf8146 8013866 debug extra 
repsnapper-dbgsym_2.4a0-2_amd64.deb
 f09a92aa77364d98f7fd8f85e8b8947b 12426 utils optional 
repsnapper_2.4a0-2_amd64.buildinfo
 a32c43de82e7524de064278d32572c36 726772 utils optional 
repsnapper_2.4a0-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEo2h49GQQhoFgDLZIRBc/oT0FiIgFAlhs5hoTHHBhdWxsaXVA
ZGViaWFuLm9yZwAKCRBEFz+hPQWIiIGAD/9thM8iIoPsMy+rpagpxQU+NzUiNSIf
htPUj1Sfhcb2S31PceGD0STlaNd+BkurDv96zJe+TgSsbHH0XkScQ6r29vYcwxTG
pGV6CovrmWmZ3rzlsfHpZBy1md2b2rgd39YUKez/ut2sDNfBuV9AsR0IwTA79Q2p
X1wKKHBlzxIoNgzwmMtgs0mo7yooQtlWvlBxCyTBQeDWTVx4Pz9NiZ/oazMD3XWa
i3T3uAqXCPh1EYDBeUrW1DkpaXK64DojWmWH02C1D6f3D+NXUQDRFYh51Yw39vCq
ZksCJm3swUDs4qIvkTxkGLIB9cBQvs+5+ja7X0tXQC6sDVLgroOOi1psOaubczHS
P5Z9eTV//rM4kuHT317AE3NJDSnhK/VDJBKy4JGYgXypI1TlgmSDvhXQ8ZUwuTRr
+t7MIF9LfTThbom1j+t94bTaoHwyD1/HbyAIrMARW16eqFrcxYLRBk0jmkanjgKB
0KqlVxf/gPy/a9EyMCtigdBBJdrZVmPS5y0AKPFOUjubNkXoEENYZQY4/dgzoSEo
wqAygRX4jHP33jUi3d4alj1/sIUKqV8WaNZXCP4BY1KBXX0teNPgX1eGqgoRYG78
s8dlLBWMFhjTyDASdbBDsEWREaj4ii5ZjOq460pfeOtJMV+Qy1/t8ixD22l8Iebq
uF+aob059XXnsw==
=0J0t
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to