Bug#925675: enemylines7: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:44:53 GMT 2019


Package: src:enemylines7
Version: 0.6-4
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9

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-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/enemylines7_0.6-4_unstable_gcc9.log
The last lines of the build log are at the end of this report.

To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
/usr/bin/ld: ./block/cube.cc:412: undefined reference to `glGenLists'
/usr/bin/ld: ./block/cube.cc:413: undefined reference to `glNewList'
/usr/bin/ld: block/cube.o: in function `block::Cube::front_wacky()':
./block/cube.cc:33: undefined reference to `glEnd'
/usr/bin/ld: block/cube.o: in function `block::Cube::back_wacky()':
./block/cube.cc:53: undefined reference to `glEnd'
/usr/bin/ld: block/cube.o: in function `block::Cube::left_wacky()':
./block/cube.cc:74: undefined reference to `glEnd'
/usr/bin/ld: block/cube.o: in function `block::Cube::right_wacky()':
./block/cube.cc:95: undefined reference to `glEnd'
/usr/bin/ld: block/cube.o: in function `block::Cube::top_wacky()':
./block/cube.cc:115: undefined reference to `glEnd'
/usr/bin/ld: block/cube.o:./block/cube.cc:134: more undefined references to `glEnd' follow
/usr/bin/ld: block/cube.o: in function `block::Cube::gen_dl()':
./block/cube.cc:415: undefined reference to `glEndList'
/usr/bin/ld: block/cube.o: in function `block::Cube::draw_wacky(int)':
./block/cube.cc:419: undefined reference to `glCallList'
/usr/bin/ld: ./block/cube.cc:418: undefined reference to `glCallList'
/usr/bin/ld: block/cube.o: in function `block::Cube::draw(int)':
./block/cube.cc:423: undefined reference to `glCallList'
/usr/bin/ld: ./block/cube.cc:422: undefined reference to `glCallList'
/usr/bin/ld: block/cube.o: in function `block::Cube::draw_colored(int)':
./block/cube.cc:426: undefined reference to `glCallList'
/usr/bin/ld: block/material.o: in function `block::draw_select(C3_tpl<float>, float)':
./block/material.cc:16: undefined reference to `glPushMatrix'
/usr/bin/ld: ./block/material.cc:17: undefined reference to `glTranslatef'
/usr/bin/ld: ./block/material.cc:18: undefined reference to `glScalef'
/usr/bin/ld: ./block/material.cc:19: undefined reference to `glScalef'
/usr/bin/ld: ./block/material.cc:20: undefined reference to `glTranslatef'
/usr/bin/ld: ./block/material.cc:21: undefined reference to `glPolygonMode'
/usr/bin/ld: ./block/material.cc:22: undefined reference to `glLineWidth'
/usr/bin/ld: ./block/material.cc:23: undefined reference to `glColor3f'
/usr/bin/ld: ./block/material.cc:25: undefined reference to `glPolygonMode'
/usr/bin/ld: block/material.o: in function `block::draw_material(block::E_Material, int)':
./block/material.cc:44: undefined reference to `glScalef'
/usr/bin/ld: ./block/material.cc:44: undefined reference to `glTranslatef'
/usr/bin/ld: ./block/material.cc:40: undefined reference to `glColor3f'
/usr/bin/ld: ./block/material.cc:106: undefined reference to `glColor3ub'
/usr/bin/ld: ./block/material.cc:101: undefined reference to `glColor3ub'
/usr/bin/ld: ./block/material.cc:96: undefined reference to `glColor3ub'
/usr/bin/ld: ./block/material.cc:65: undefined reference to `glColor3ub'
/usr/bin/ld: ./block/material.cc:85: undefined reference to `glColor3ub'
/usr/bin/ld: block/material.o:./block/material.cc:131: more undefined references to `glColor3ub' follow
/usr/bin/ld: block/material.o: in function `block::draw_material(block::E_Material, int)':
./block/material.cc:110: undefined reference to `glShadeModel'
/usr/bin/ld: ./block/material.cc:112: undefined reference to `glColor3ub'
/usr/bin/ld: ./block/material.cc:39: undefined reference to `glScalef'
/usr/bin/ld: ./block/material.cc:39: undefined reference to `glTranslatef'
/usr/bin/ld: ./block/material.cc:136: undefined reference to `glColor3ub'
/usr/bin/ld: block/material.o: in function `block::draw_select(C3_tpl<float>, float)':
./block/material.cc:26: undefined reference to `glPopMatrix'
/usr/bin/ld: block/material.o: in function `block::draw_material(block::E_Material, int)':
./block/material.cc:114: undefined reference to `glShadeModel'
/usr/bin/ld: block/painter3.o: in function `block::Painter3::paint(block::Blockinfo3, block::Block*, bool)':
./block/painter3.cc:55: undefined reference to `glPushMatrix'
/usr/bin/ld: ./block/painter3.cc:56: undefined reference to `glTranslatef'
/usr/bin/ld: ./block/painter3.cc:57: undefined reference to `glScalef'
/usr/bin/ld: ./block/painter3.cc:59: undefined reference to `glPopMatrix'
/usr/bin/ld: block/painter6.o: in function `block::Painter6::paint(block::Blockinfo3)':
./block/painter6.cc:53: undefined reference to `glPushMatrix'
/usr/bin/ld: ./block/painter6.cc:54: undefined reference to `glTranslatef'
/usr/bin/ld: ./block/painter6.cc:55: undefined reference to `glScalef'
/usr/bin/ld: ./block/painter6.cc:57: undefined reference to `glPopMatrix'
/usr/bin/ld: ./block/painter6.cc:27: undefined reference to `glCallList'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:21: enemylines7] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j4 returned exit code 2
make: *** [debian/rules:5: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Pkg-games-devel mailing list