2.3.0 won't debuild

Bug #1442591 reported by Karol Krenski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wargus
Invalid
Undecided
Unassigned

Bug Description

I managed to build stratagus 2.3.0. Then installed from the deb. The binary is /usr/games/stratagus. It works with Aleona's Tales data, started from wargus_2.3.0.orig directory. However, wargus fails to build:

g201:wargus_2.3.0.orig$ debuild
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: pakiet źródłowy wargus
dpkg-buildpackage: wersja pakietu źródłowego 2.3.0-1
dpkg-buildpackage: źródła zmienione przez cybermind <email address hidden>
 dpkg-source --before-build wargus_2.3.0.orig
dpkg-buildpackage: architektura gościa amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b wargus_2.3.0.orig
dpkg-source: info: używania formatu źródeł "3.0 (quilt)"
dpkg-source: info: budowanie wargus, używając istniejącego ./wargus_2.3.0.orig.tar.gz
dpkg-source: info: budowanie wargus w wargus_2.3.0-1.debian.tar.gz
dpkg-source: info: budowanie wargus w wargus_2.3.0-1.dsc
 debian/rules build
dh build
   dh_testdir
   debian/rules override_dh_auto_configure
make[1]: Wejście do katalogu `/home/pub/wargus_2.3.0.orig'
dh_auto_configure -- -DCMAKE_INCLUDE_PATH="/usr/lib/x86_64-linux-gnu/"
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for module 'maemo-version'
-- package 'maemo-version' not found
CMake Error at cmake/modules/FindStratagus.cmake:24 (message):
  Could not find stratagus
Call Stack (most recent call first):
  CMakeLists.txt:105 (find_package)

-- Configuring incomplete, errors occurred!
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INCLUDE_PATH=/usr/lib/x86_64-linux-gnu/ returned exit code 1
make[1]: *** [override_dh_auto_configure] Błąd 2
make[1]: Opuszczenie katalogu `/home/pub/wargus_2.3.0.orig'
make: *** [build] Błąd 2
dpkg-buildpackage: błąd: debian/rules build zwrócił status błędu 2
debuild: fatal error at line 1361:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Revision history for this message
Karol Krenski (mimoohowy) wrote :

dpkg-buildpackage -b -rfakeroot
fails with the same error

Revision history for this message
Pali (pali) wrote :

Hello, you first need to build stratagus source package and install both stratagus and stratagus-dev packages which comes from that build. And then you can try to build wargus package.

Changed in wargus:
status: New → Invalid
Revision history for this message
Karol Krenski (mimoohowy) wrote :

Yes, it sort of resolved the issue, however:

1. Please provide the information about the startagus-dev dependency in wargus/README file, which I followed.

2. After building the debs and then installing them succesfuly I end up with:
solidarny:wargus$ pwd
/usr/share/games/stratagus/wargus
solidarny:wargus$ stratagus
[string "scripts/stratagus.lua"]:106: attempt to concatenate field 'music_extension' (a nil value)
stack traceback:
 [string "scripts/stratagus.lua"]:106: in main chunk

Revision history for this message
cybermind (iddqd-mail) wrote :

2. Have you installed Wargus properly? you should have music_extension in your wc2-config.lua file

Revision history for this message
Karol Krenski (mimoohowy) wrote :

I used the same procedure (simply debuild in stratagus/ and wargus/ sources and then installing under ubuntu) on a second machine and it works. I will try to inspect what may have been the problem on the first one. Keep on the good work on the game, because we like to meet with old friends and play some multiplayer matches. Regards!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.