Package: src:openttd-opengfx
Version: 7.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Remove all graphics files that can be rebuilt (from gimp xcf
# files).
make clean-gfx 
"INSTALL_DIR=debian/openttd-opengfx/usr/share/games/openttd/baseset/opengfx" 
"_V=" "PYTHON=python3"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
[GFX-DEP] Makefile.gfx
echo "" > Makefile.gfx
\
        for j in sprites/png/terrain/waterfeatures/waterfeatures.xcf2png 
sprites/png/infrastructure/locks.xcf2png sprites/png/terrain/terrain.xcf2png 
sprites/png/trees/trees.xcf2png sprites/png/industries/coalmine.xcf2png 
sprites/png/industries/goldmine/goldmine.xcf2png 
sprites/png/industries/oilwell/oilwell.xcf2png; do\
                for i in `cat $j | grep "\([pP][cCnN][xXgG]\)" | grep -v "^#" | 
cut -d\  -f1 | sed "s/\.\([pP][cCnN][xXgG]\)//"`; do\
                        echo "$i.scm: $j" >> Makefile.gfx;\
                        echo "GFX_FILES += $i.png" >> Makefile.gfx;\
                        cat scripts/gimpscript > $i.scm.new;\
                        grep $i.png $j | sed -f scripts/gimp.sed >> $i.scm.new;\
                        echo "(gimp-quit 0)" >> $i.scm.new;\
                        cmp -s $i.scm.new $i.scm || cp $i.scm.new $i.scm;\
                        rm -f $i.scm.new;\
                done;\
        done
cat sprites/png/terrain/waterfeatures/waterfeatures.xcf2png 
sprites/png/infrastructure/locks.xcf2png sprites/png/terrain/terrain.xcf2png 
sprites/png/trees/trees.xcf2png sprites/png/industries/coalmine.xcf2png 
sprites/png/industries/goldmine/goldmine.xcf2png 
sprites/png/industries/oilwell/oilwell.xcf2png | grep "\([pP][cCnN][xXgG]\)" | 
grep -v "^#" | sed "s/[ ] */ /g" | cut -d\  -f1-2 | sed "s/ /: /g" >> 
Makefile.gfx
[CLEAN-GFX]
for j in sprites/png/terrain/waterfeatures/waterfeatures.xcf2png 
sprites/png/infrastructure/locks.xcf2png sprites/png/terrain/terrain.xcf2png 
sprites/png/trees/trees.xcf2png sprites/png/industries/coalmine.xcf2png 
sprites/png/industries/goldmine/goldmine.xcf2png 
sprites/png/industries/oilwell/oilwell.xcf2png; do for i in `cat $j | grep 
"\([pP][cCnN][xXgG]\)" | cut -d\  -f1 | sed "s/\.\([pP][cCnN][xXgG]\)//"`; do 
rm -rf $i.png; done; done
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
# Then rebuild everything
make grf 
"INSTALL_DIR=debian/openttd-opengfx/usr/share/games/openttd/baseset/opengfx" 
"_V=" "PYTHON=python3"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
[GIMP] sprites/png/terrain/waterfeatures/seashore_temperate.gimp.png
/usr/bin/gimp -n -i -b - 
<sprites/png/terrain/waterfeatures/seashore_temperate.gimp.scm >/dev/null

(gimp:93926): Gtk-WARNING **: 17:29:44.798: cannot open display: 
make[2]: *** [Makefile:265: 
sprites/png/terrain/waterfeatures/seashore_temperate.gimp.png] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:42: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202412/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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 via email to