Bug#701431: gmt: ftbfs with eglibc-2.17

Matthias Klose doko at debian.org
Sat Feb 23 11:35:32 UTC 2013


Package: src:gmt
Version: 4.5.7-2
Severity: important
Tags: sid jessie
User: debian-glibc at lists.debian.org
Usertags: ftbfs-glibc-2.17

The package fails to build in a test rebuild on at least amd64 with
eglibc-2.17, but succeeds to build with eglibc-2.13. The
severity of this report may be raised before the jessie release.

The test rebuild was done together with GCC-4.8, so some issues
might be caused by the updated GCC as well.

  gmtdigitize.c:77:2: error: unknown type name 'gid_t'

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/gmt_4.5.7-2_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To install eglibc from experimental,

  apt-get -t experimental install libc6-dev

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

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev


[...]
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o gmt_mgg.o gmt_mgg.c
ar cvur libgmt_mgg.a gmt_mgg.o
a - gmt_mgg.o
ranlib libgmt_mgg.a
gcc -shared -Wl,-soname=libgmt_mgg.so.4 gmt_mgg.o -L../. -lgmt -L/usr/lib -lnetcdf -lm  -o libgmt_mgg.so
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o binlegs.o binlegs.c
gcc  binlegs.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o binlegs
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o gmt2bin.o gmt2bin.c
gcc  gmt2bin.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o gmt2bin
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o gmt2dat.o gmt2dat.c
gcc  gmt2dat.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o gmt2dat
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o dat2gmt.o dat2gmt.c
gcc  dat2gmt.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o dat2gmt
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o gmtinfo.o gmtinfo.c
gcc  gmtinfo.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o gmtinfo
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o gmtlegs.o gmtlegs.c
gcc  gmtlegs.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o gmtlegs
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o gmtlist.o gmtlist.c
gcc  gmtlist.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o gmtlist
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o gmtpath.o gmtpath.c
gcc  gmtpath.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o gmtpath
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o mgd77togmt.o mgd77togmt.c
gcc  mgd77togmt.o -L. -lgmt_mgg -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o mgd77togmt
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I../x_system -I/usr/include     -c -o gmttrack.o gmttrack.c
gcc  gmttrack.o -L. -lgmt_mgg -L../. -lgmtps -lgmt -lpsl -L/usr/lib -lnetcdf  -lm  -o gmttrack
make[3]: Leaving directory `/«PKGBUILDDIR»/src/mgg'
Making all in src/misc
make[3]: Entering directory `/«PKGBUILDDIR»/src/misc'
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I/usr/include     -c -o dimfilter.o dimfilter.c
gcc  dimfilter.o -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o dimfilter
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I/usr/include     -c -o gmt2kml.o gmt2kml.c
gcc  gmt2kml.o -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o gmt2kml
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I/usr/include     -c -o kml2gmt.o kml2gmt.c
gcc  kml2gmt.o -L../. -lgmt -L/usr/lib -lnetcdf  -lm  -o kml2gmt
gcc -fPIC -ansi -pedantic -O2 -I/«PKGBUILDDIR»/src -I/usr/include     -c -o gmtdigitize.o gmtdigitize.c
gmtdigitize.c: In function 'main':
gmtdigitize.c:77:2: error: unknown type name 'gid_t'
  gid_t gid = 0;
  ^
gmtdigitize.c:78:2: error: unknown type name 'uid_t'
  uid_t uid = 0;
  ^
make[3]: *** [gmtdigitize.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src/misc'
make[2]: *** [misc] Error 2
make[1]: *** [suppl] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-grass-devel mailing list