Bug#1013426: Cannot be built twice

Marko Lindqvist cazfi74 at gmail.com
Thu Jun 23 13:14:24 BST 2022


Package: freeciv
Version: 2.6.6-1

As debian/rules deletes dependencies/lua-5.3 directory when building
the package, later attempts to do another build from the same tree
fails.
You should not delete the directory. According to the comment, the
purpose is to make sure those sources are never used, as a fallback if
lua is not found from the system. That's better achieved by adding the
configure option --enable-sys-lua=yes (to override freeciv-2.6 default
of --enable-sys-lua=test). It will also give more sensible errors than
the missing directory, if those errors ever occur.

(This was causing me trouble when I started looking at the debian
freeciv build failure at x32 - I should have something for that soon)


 - ML



More information about the Pkg-games-devel mailing list