Bug#891133: gnome-maps: make distclean deletes lib/maps-enum-types.[ch], but they cannot be regenerated

Andreas Beckmann anbe at debian.org
Thu Feb 22 14:43:31 UTC 2018


Source: gnome-maps
Version: 3.27.90-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

gnome-maps/experimental FTBFS twice in a row. The first build succeeds,
subsequent 'debian/rules clean' calls 'make distclean' which deletes
lib/maps-enum-types.[ch], but these two files cannot be regenerated
for the second build since lib/maps-enum-types.[ch].template are missing.

[...]
   dh_auto_build
        make -j4
make[1]: Entering directory '/build/gnome-maps-3.27.90'
Making all in lib
make[2]: Entering directory '/build/gnome-maps-3.27.90/lib'
(glib-mkenums                                   \
        --template ./maps-enum-types.h.template                 \
        maps-contact-store.h maps-contact.h mapsintl.h maps.h maps-file-tile-source.h maps-osm.h maps-osm-changeset.h maps-osm-node.h maps-osm-object.h maps-osm-relation.h maps-osm-way.h maps-osm-oauth-proxy-call.h > xgen-maps-enum-types.h && mv -f xgen-maps-enum-types.h maps-enum-types.h)
Traceback (most recent call last):
  File "/usr/bin/glib-mkenums", line 342, in <module>
    read_template_file(options.template)
  File "/usr/bin/glib-mkenums", line 272, in read_template_file
    ifile = io.open(file, encoding="utf-8", errors="replace_and_warn")
FileNotFoundError: [Errno 2] No such file or directory: './maps-enum-types.h.template'
Makefile:814: recipe for target 'maps-enum-types.h' failed
make[2]: *** [maps-enum-types.h] Error 1
make[2]: Leaving directory '/build/gnome-maps-3.27.90/lib'
Makefile:442: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/gnome-maps-3.27.90'
dh_auto_build: make -j4 returned exit code 2
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-maps_3.27.90-1_twice.log.gz
Type: application/gzip
Size: 29692 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20180222/4f9ac6f1/attachment-0001.bin>


More information about the pkg-gnome-maintainers mailing list