[Freewx-maint] Bug#828926: wxwidgets3.0: FTBFS with gcc-6 and glibc 2.23

Daniel Schepler dschepler at gmail.com
Wed Jun 29 02:43:31 UTC 2016

Source: wxwidgets3.0
Version: 3.0.2+dfsg-1.4
Severity: important

>From my pbuilder build log, using a chroot preferring gcc-defaults and
glibc from experimental:

../src/stc/scintilla/src/Editor.cxx: In member function 'long int
Editor::FindText(uptr_t, sptr_t)':
../src/stc/scintilla/src/Editor.cxx:5708:7: warning: 'template<class>
class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  std::auto_ptr<CaseFolder> pcf(CaseFolderForEncoding());
In file included from /usr/include/c++/6/memory:81:0,
                 from ../src/stc/scintilla/src/Editor.cxx:18:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
../src/stc/scintilla/src/Editor.cxx: In function 'bool Close(Point, Point)':
../src/stc/scintilla/src/Editor.cxx:5844:23: error: call of overloaded
'abs(XYPOSITION)' is ambiguous
  if (abs(pt1.x - pt2.x) > 3)
In file included from /usr/include/c++/6/cstdlib:75:0,
                 from /usr/include/c++/6/stdlib.h:36,
                 from ../src/stc/scintilla/src/Editor.cxx:8:
/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/stdlib.h:36:0,
                 from ../src/stc/scintilla/src/Editor.cxx:8:
/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); }
../src/stc/scintilla/src/Editor.cxx:5846:23: error: call of overloaded
'abs(XYPOSITION)' is ambiguous
  if (abs(pt1.y - pt2.y) > 3)
Makefile:16880: recipe for target 'wxscintilla_Editor.o' failed
make[1]: *** [wxscintilla_Editor.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/wxwidgets3.0-3.0.2+dfsg/objs_gtk_sh'
debian/rules:288: recipe for target 'build-gtk-shared-stamp' failed
make: *** [build-gtk-shared-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Daniel Schepler

More information about the Freewx-maint mailing list