Bug#521014: wesnoth-1.6a won't build from source with changed "--prefix=" option

Harald bugreport at gehirnspen.de
Tue Mar 24 10:44:46 UTC 2009


Package: wesnoth
Version: 1:1.6a
Severity: serious
Justification: no longer builds from source

Hello everyone,

I just tried to build wesnoth 1.6a from source to be able to have the new version parallel to the 1.4.x-series. 

$ sudo apt-get build-dep -t unstable wesnoth
$ sudo apt-get source -t unstable wesnoth

Afterwards I edited the config file
$ sudo nano wesnoth-1.6a/debian/rules
and changed the --prefix option to
--prefix=/usr/local

Then, this command stops with an error:
$ sudo apt-get -b source -t unstable wesnoth

with this messages:
*****************
[...]
make[3]: Entering directory `/home/harald/wesnoth/wesnoth-1.6a/doc/man'
mkdir -p /home/harald/wesnoth/wesnoth-1.6a/debian/tmp/usr/local/share/man/man6 ; \
        for j in wesnoth.6 wesnothd.6; do \
                /usr/bin/install -c -c -m 644 ./$j 
/home/harald/wesnoth/wesnoth-1.6a/debian/tmp/usr/local/share/man/man6/$j ; \
        done
for i in cs da de en_GB es fi fr gl hu it ja lt nl pl racv sk sr sr at latin sv tr zh_CN zh_TW; do \
                mkdir -p /home/harald/wesnoth/wesnoth-1.6a/debian/tmp/usr/local/share/man/$i/man6 ; \
                for j in wesnoth.6 wesnothd.6; do \
                        if test -f ./$i/$j; then \
                                /usr/bin/install -c -c -m 644 ./$i/$j 
/home/harald/wesnoth/wesnoth-1.6a/debian/tmp/usr/local/share/man/$i/man6/$j ; \
                        fi \
                done \
        done
make[3]: Leaving directory `/home/harald/wesnoth/wesnoth-1.6a/doc/man'
make[2]: Leaving directory `/home/harald/wesnoth/wesnoth-1.6a/doc/man'
make[1]: Leaving directory `/home/harald/wesnoth/wesnoth-1.6a/doc/man'
dh_install -s
cp: cannot stat `./debian/tmp/usr/games/wesnoth': No such file or directory
dh_install: command returned error code 256
make: *** [install-arch] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Build command 'cd wesnoth-1.6a && dpkg-buildpackage -b -uc' failed.
E: Child process failed
*****************

I think this is a bug.

Thanks a lot,
Harald


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wesnoth depends on:
ii  wesnoth-aoi                   1:1.4.7-4  "An Orcish Incursion" official cam
ii  wesnoth-core                  1:1.4.7-4  fantasy turn-based strategy game
ii  wesnoth-data                  1:1.4.7-4  data files for Wesnoth
ii  wesnoth-did                   1:1.4.7-4  "Descent Into Darkness" official c
ii  wesnoth-ei                    1:1.4.7-4  "The Eastern Invasion" official ca
ii  wesnoth-httt                  1:1.4.7-4  "Heir to the Throne" official camp
ii  wesnoth-l                     1:1.4.7-4  "Liberty" official campaign for We
ii  wesnoth-nr                    1:1.4.7-4  "Northern Rebirth" official campai
ii  wesnoth-sof                   1:1.4.7-4  "The Sceptre of Fire" official cam
ii  wesnoth-sotbe                 1:1.4.7-4  "Son of the Black-Eye" official ca
ii  wesnoth-thot                  1:1.4.7-4  "The Hammer of Thursagan" official
ii  wesnoth-trow                  1:1.4.7-4  "The Rise of Wesnoth" official cam
ii  wesnoth-tsg                   1:1.4.7-4  "The South Guard" official campaig
ii  wesnoth-ttb                   1:1.4.7-4  "A Tale of Two Brothers" official 
ii  wesnoth-utbs                  1:1.4.7-4  "Under the Burning Suns" official 

Versions of packages wesnoth recommends:
ii  wesnoth-editor                1:1.4.7-4  map editor for Wesnoth
ii  wesnoth-music                 1:1.4.7-4  music files for Wesnoth

wesnoth suggests no packages.

-- no debconf information





More information about the Pkg-games-devel mailing list