[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#924329: xastir: FTBFS (magick/image-private.h: No such file or directory)



Package: src:xastir
Version: 2.1.0-3
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
   dh_auto_configure -a
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes

[... snipped ...]

map_gdal.c:276:30: warning: variable 'map_x_max' set but not used [-Wunused-but-set-variable]
     unsigned long map_x_min, map_x_max; // xastir units
                              ^~~~~~~~~
map_gdal.c: In function 'Draw_OGR_Points':
map_gdal.c:1219:16: warning: variable 'xpoint' set but not used [-Wunused-but-set-variable]
         XPoint xpoint;
                ^~~~~~
map_gdal.c: In function 'setup_coord_translation':
map_gdal.c:2372:21: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
         const char *temp;
                     ^~~~
map_gdal.c: In function 'draw_ogr_map':
map_gdal.c:4835:17: warning: variable 'num' set but not used [-Wunused-but-set-variable]
             int num = 0;
                 ^~~
map_gdal.c:2896:32: warning: variable 'ViewZ' set but not used [-Wunused-but-set-variable]
     double ViewX[2], ViewY[2], ViewZ[2];
                                ^~~~~
map_gdal.c: In function 'draw_gdal_map':
map_gdal.c:469:5: warning: ignoring return value of 'GDALRasterIO', declared with attribute warn_unused_result [-Wunused-result]
     GDALRasterIO( hBand, GF_Read, 0, 0, nXSize, 1,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   pafScanline, nXSize, 1, GDT_Float32,
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   0, 0 );
                   ~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\"  -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-Mbnjgu/graphicsmagick-1.4~hg15916=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_geo.o map_geo.c
In file included from /usr/include/GraphicsMagick/magick/analyze.h:18,
                 from /usr/include/GraphicsMagick/magick/api.h:55,
                 from map_geo.c:137:
/usr/include/GraphicsMagick/magick/image.h:1108:10: fatal error: magick/image-private.h: No such file or directory
 #include "magick/image-private.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:653: map_geo.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:670: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:751: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:433: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:6: 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/xastir.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.


Reply to: