Closed Usr-X closed 12 years ago
I pushed some changes. Build has undergone some reworks.. can you try with this and tell me if everything works as expected again?
I was able to build and install libpoker-eval, libpoker-eval-dev and python-pypoker-eval but then I received an error when trying to build the poker-reflogging package. Here is the command line output:
root@user-x:/var/www/package-repository/pokermania-poker-network-d16ea94/poker-reflogging# dpkg-buildpackage -rfakeroot -uc -b dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2 dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro dpkg-buildpackage: source package poker-reflogging dpkg-buildpackage: source version 1.0.1-1 dpkg-buildpackage: source changed by Andor Goetzendorff <andor@pokermania.de> dpkg-buildpackage: host architecture amd64 dpkg-source --before-build poker-reflogging fakeroot debian/rules clean dh clean --buildsystem=python_distutils --with=python2 dh_testdir -O--buildsystem=python_distutils dh_auto_clean -O--buildsystem=python_distutils Traceback (most recent call last): File "setup.py", line 7, in <module> from setup_extensions import TestCommand File "../common/setup_extensions.py", line 31, in <module> from config import config File "../common/config.py", line 43, in <module> raise Exception('couldn\'t find default.json in this or any parent directory') Exception: couldn't find default.json in this or any parent directory dh_auto_clean: python setup.py clean -a returned exit code 1 make: *** [clean] Error 1 dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2 root@user-x:/var/www/package-repository/pokermania-poker-network-d16ea94/poker-reflogging#
omg.. totaly forgot about updating the remaining setup files.. will fix this in a minute
ok.. every build works on my machine again.
The download Tarball is not updated yet. Still same files as yesterday?
Hey tuco, the Poker-engine build attempt failed after test_pokerplayer fails. Command line output snippet follows:
test_pokerplayer
FAIL: testPokerPlayerStringRepresentation (tests.test_pokerplayer.PokerPlayerTestCase)
Traceback (most recent call last): File "tests/test_pokerplayer.py", line 158, in testPokerPlayerStringRepresentation self.failUnlessEqual(string[:-2], str(self.player)) AssertionError: 'serial = 8487, name = 2224, fold = 11395, remove_next_turn = 20629, sit_out = 5073, sit_out_next_turn = 2885, sit_requested = 23476, bot = 601, auto = 18375, auto_blind_ante = 119, wait_for = 10936, auto_muck = 20695, missed_blind = 14777, missed_big_blind_count = 8591, blind = 20488, buy_in_payed = 21963, ante = 13670, all_in = 30953, side_pot_index = 25287, seat = 20830, hand = 1125, money = 8045, rebuy = 24322, bet = 32365, dead = 10378, talked_once = 22966, user_data = 7205' != 'serial = 8487, name = 2224, fold = 11395, remove_next_turn = 20629, sit_out = 5073, sit_out_next_turn = 2885, sit_requested = 23476, bot = 601, auto = 18375, auto_blind_ante = 119, wait_for = 10936, auto_muck = 20695, auto_player_policy = simple_bot, auto_player_fold_next_turn = False, missed_blind = 14777, missed_big_blind_count = 8591, blind = 20488, buy_in_payed = 21963, ante = 13670, all_in = 30953, side_pot_index = 25287, seat = 20830, hand = 1125, money = 8045, rebuy = 24322, bet = 32365, dead = 10378, talked_once = 22966, user_data = 7205'
Ran 16 tests in 0.008s
FAILED (failures=1) make[1]: * [override_dh_auto_test] Error 1 make[1]: Leaving directory `/var/www/package-repository/pokermania-poker-network-8f7e412/poker-engine' make: * [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2
hmm.. worked for me when i pushed it.. you could disable tests to build it.. just comment out "override_dh_auto_test" in poker-engine/debian/rules.. I will look into the changes of olaf.. and try to fix it..
ok.. talked to olaf.. he will fix the failing tests.. if you want faster responses.. I'm on irc freenode #tuco_
@Usr-X you're error was caused by a missing call to autoreconf, hence the missing configure
file.
Hi,
I tried to build the poker-network package again today after the recent changes and ran into another error. The test_proxyfilter fails; so I commented out the override_dh_auto_test in poker-network/debian/rules to bypass the tests. I now get:
dh_install -O--buildsystem=python_distutils cp: cannot stat `debian/tmp/pokeradditions/conf/badwords.txt': No such file or directory dh_install: cp -a debian/tmp/pokeradditions/conf/badwords.txt debian/python-poker-additions/usr/share/poker-network/conf/ returned exit code 1 make: *\ [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Should I open another issue for this?
don't build additions.. they are a submodule and are being soldered out..
Thanks, after commenting out additions the poker-network package builds. But I get an install error after trying to install on server. I get:
Setting up python-poker-network (2.2.0-4) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2372, in
There is a problem with building the Debian package for poker-network. I downloaded the source code and was able to build and install the Debian packages with dpkg-buildpackage for poker-engine, poker-eval, poker-reflogging and pypoker-eval without an issue. However, when attempting to build the poker-network directory, I received errors.
Here is the command line output: