[Pkg-gambas-devel] Bug#853411: gambas3: ftbfs with GCC-7

Gianfranco Costamagna locutusofborg at debian.org
Tue Jan 31 10:15:08 UTC 2017


control: forwarded -1 http://gambaswiki.org/bugtracker/edit?object=BUG.1073

thanks

G.





Il Martedì 31 Gennaio 2017 10:38, Matthias Klose <doko at debian.org> ha scritto:
Package: src:gambas3
Version: 3.9.1-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/gambas3_3.9.1-3_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
make[5]: Entering directory '/<<PKGBUILDDIR>>/gb.db.odbc'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.odbc'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.odbc'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.odbc'
Making all in gb.db.postgresql
make[3]: Entering directory '/<<PKGBUILDDIR>>/gb.db.postgresql'
make  all-recursive
make[4]: Entering directory '/<<PKGBUILDDIR>>/gb.db.postgresql'
Making all in src
make[5]: Entering directory '/<<PKGBUILDDIR>>/gb.db.postgresql/src'
  CC       gb_db_postgresql_la-main.lo
  CCLD     gb.db.postgresql.la
make[5]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.postgresql/src'
make[5]: Entering directory '/<<PKGBUILDDIR>>/gb.db.postgresql'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.postgresql'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.postgresql'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.postgresql'
Making all in gb.db.sqlite2
make[3]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2'
make  all-recursive
make[4]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2'
Making all in src
make[5]: Entering directory '/<<PKGBUILDDIR>>/gb.db.sqlite2/src'
  CXX      gb_db_sqlite2_la-main.lo
  CXX      gb_db_sqlite2_la-dataset.lo
  CXX      gb_db_sqlite2_la-qry_dat.lo
  CXX      gb_db_sqlite2_la-sqlitedataset.lo
sqlitedataset.cpp: In function 'fType GetFieldType(const char*, unsigned int*)':
sqlitedataset.cpp:768:13: error: invalid conversion from 'char' to 'char*' [-fpermissive]
    _right = '\0';
             ^~~~
Makefile:527: recipe for target 'gb_db_sqlite2_la-sqlitedataset.lo' failed
make[5]: *** [gb_db_sqlite2_la-sqlitedataset.lo] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.sqlite2/src'
Makefile:432: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.sqlite2'
Makefile:364: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gb.db.sqlite2'
Makefile:439: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:380: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-gambas-devel mailing list