Bug#921754: gfsview: FTBFS (error adding symbols)

Santiago Vila sanvila at debian.org
Fri Feb 8 21:18:48 GMT 2019


Package: src:gfsview
Version: 20121130+dfsg-5
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --with autoreconf
   dh_update_autotools_config -a
   dh_autoreconf -a
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:9: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation

[... snipped ...]

                 from gfsgl.c:21:
/usr/include/gts.h:166:16: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'}
 GtsFile *      gts_file_new_from_string   (gchar * s);
                ^~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr//locale\" -DG_LOG_DOMAIN=\"GfsGl\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c gfsgl.c -o libgfsgl3D_la-gfsgl.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gfsview"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -DG_LOG_DOMAIN=\"GfsGl\" -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c -o libgfsgl3D_la-trackball.lo `test -f 'trackball.c' || echo './'`trackball.c
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr//locale\" -DG_LOG_DOMAIN=\"GfsGl\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c trackball.c  -fPIC -DPIC -o .libs/libgfsgl3D_la-trackball.o
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr//locale\" -DG_LOG_DOMAIN=\"GfsGl\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c trackball.c -o libgfsgl3D_la-trackball.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gfsview"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -DG_LOG_DOMAIN=\"GfsGl\" -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c -o libgfsgl3D_la-iso.lo `test -f 'iso.c' || echo './'`iso.c
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr//locale\" -DG_LOG_DOMAIN=\"GfsGl\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c iso.c  -fPIC -DPIC -o .libs/libgfsgl3D_la-iso.o
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr//locale\" -DG_LOG_DOMAIN=\"GfsGl\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c iso.c -o libgfsgl3D_la-iso.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link mpicc  -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -no-undefined -export-dynamic -Wl,-z,relro -Wl,-z,now -o libgfsgl3D.la -rpath /usr/lib/x86_64-linux-gnu libgfsgl3D_la-gfsgl.lo libgfsgl3D_la-trackball.lo libgfsgl3D_la-iso.lo -lgfs3D -lgts -lm -lgts -lm -lgthread-2.0 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lftgl -lGLU 
libtool: link: mpicc -shared  -fPIC -DPIC  .libs/libgfsgl3D_la-gfsgl.o .libs/libgfsgl3D_la-trackball.o .libs/libgfsgl3D_la-iso.o   -lgfs3D -lgts -lm -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lftgl -lGLU  -pthread -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -pthread -Wl,--export-dynamic -pthread   -pthread -Wl,-soname -Wl,libgfsgl3D.so.0 -o .libs/libgfsgl3D.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libgfsgl3D.so.0" && ln -s "libgfsgl3D.so.0.0.0" "libgfsgl3D.so.0")
libtool: link: (cd ".libs" && rm -f "libgfsgl3D.so" && ln -s "libgfsgl3D.so.0.0.0" "libgfsgl3D.so")
libtool: link: ar cru .libs/libgfsgl3D.a  libgfsgl3D_la-gfsgl.o libgfsgl3D_la-trackball.o libgfsgl3D_la-iso.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libgfsgl3D.a
libtool: link: ( cd ".libs" && rm -f "libgfsgl3D.la" && ln -s "../libgfsgl3D.la" "libgfsgl3D.la" )
make[3]: Leaving directory '/<<BUILDDIR>>/gfsview-20121130+dfsg/gl'
Making all in batch
make[3]: Entering directory '/<<BUILDDIR>>/gfsview-20121130+dfsg/batch'
mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gfsview"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -DG_LOG_DOMAIN=\"GfsView\" -I..  -Wdate-time -D_FORTIFY_SOURCE=2 -DFTT_2D=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c -o gfsview_batch2D-gfsview-batch.o `test -f 'gfsview-batch.c' || echo './'`gfsview-batch.c
/bin/bash ../libtool  --tag=CC   --mode=compile mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gfsview"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -DG_LOG_DOMAIN=\"GfsView\" -I..  -Wdate-time -D_FORTIFY_SOURCE=2 -DFTT_2D=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c -o librender2D_la-render.lo `test -f 'render.c' || echo './'`render.c
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr//locale\" -DG_LOG_DOMAIN=\"GfsView\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DFTT_2D=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c render.c  -fPIC -DPIC -o .libs/librender2D_la-render.o
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share/gfsview\" -DPACKAGE_LOCALE_DIR=\"/usr//locale\" -DG_LOG_DOMAIN=\"GfsView\" -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DFTT_2D=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -c render.c -o librender2D_la-render.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link mpicc -DFTT_2D=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500  -Wl,-z,relro -Wl,-z,now -o librender2D.la  librender2D_la-render.lo -lgl2ps -L../gl -lgfsgl2D -lOSMesa 
libtool: link: ar cru .libs/librender2D.a .libs/librender2D_la-render.o 
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/librender2D.a
libtool: link: ( cd ".libs" && rm -f "librender2D.la" && ln -s "../librender2D.la" "librender2D.la" )
/bin/bash ../libtool  --tag=CC   --mode=link mpicc -DFTT_2D=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500  -Wl,-z,relro -Wl,-z,now -o gfsview-batch2D gfsview_batch2D-gfsview-batch.o -lrender2D 
libtool: link: mpicc -DFTT_2D=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gfsview-20121130+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -D_XOPEN_SOURCE=500 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/gfsview-batch2D gfsview_batch2D-gfsview-batch.o  /<<BUILDDIR>>/gfsview-20121130+dfsg/batch/.libs/librender2D.a -lgl2ps -L../gl /<<BUILDDIR>>/gfsview-20121130+dfsg/gl/.libs/libgfsgl2D.so -lgfs2D -lgts -lm -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lftgl -lGLU -lOSMesa -pthread
/usr/bin/ld: /<<BUILDDIR>>/gfsview-20121130+dfsg/batch/.libs/librender2D.a(librender2D_la-render.o): undefined reference to symbol 'glEndList'
/usr/bin/ld: //usr/lib/x86_64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:569: gfsview-batch2D] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/gfsview-20121130+dfsg/batch'
make[2]: *** [Makefile:441: all-recursive] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/gfsview-20121130+dfsg'
make[1]: *** [Makefile:371: all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/gfsview-20121130+dfsg'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:4: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -B"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/gfsview.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the debian-science-maintainers mailing list