Thanks @blacktav: I managed to compile pokerth with no further errors :) I deleted my git folder and make a fresh git pull of the repo; then I made a makepkg -sic and the package was finally fine ;)
You've been very kind, thank you again!
Git Clone URL: | https://aur.archlinux.org/pokerth.git (read-only, click to copy) |
---|---|
Package Base: | pokerth |
Description: | Client to online Poker game written in C++/Qt |
Upstream URL: | http://www.pokerth.net/ |
Licenses: | GPL, custom |
Submitter: | blacktav |
Maintainer: | blacktav |
Last Packager: | blacktav |
Votes: | 25 |
Popularity: | 0.22 |
First Submitted: | 2018-01-08 23:25 (UTC) |
Last Updated: | 2025-05-05 08:49 (UTC) |
Thanks @blacktav: I managed to compile pokerth with no further errors :) I deleted my git folder and make a fresh git pull of the repo; then I made a makepkg -sic and the package was finally fine ;)
You've been very kind, thank you again!
tilt: I tried to replicate your problem with a fresh build and could not. I think the error message you gave indicates a linker problem - were there error messages before the collect2:error in the build? Did your latest build download the tarball again and build from scratch? How are you building the package: manually or with a tool like pikaur? Perhaps there is a dependancy missing. Disk space ought to be fine and space would usually be consumed on /home I think
Just did a full-system upgrade: no luck, same error :( Maybe am I running out of space? Under / I have 1.5gb of free space and under /home 6gb.
@tilt Is the rest of your system up-to-date? The source package is quite old and has not changed in ages so problems tend to be integration with other packages - the most recent being a change to boost
Hi, facing some problems compiling this package :(
collect2: error: ld returned 1 exit status make[1]: *** [Makefile.pokerth_game:583: pokerth] Error 1
make: *** [Makefile:132: sub-pokerth_game-pro-make_first-ordered] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Any advice? Thanks in advance :)
bumped release after new boost demanded a rebuild; kudos OmidMnz
Pinned Comments
blacktav commented on 2025-03-31 19:11 (UTC) (edited on 2025-03-31 19:15 (UTC) by blacktav)
Because so many issues have developed of late due to the age of the original 1.1.2 release which is now triggering deprecations in associated code (boost, QT amongst others) it is becoming increasingly difficult for PokerTH to age gracefully.
The recommended solution by the PokerTH team is to use a jailed version of the original source code and locked versions of dependencies such as boost & QT: such as that made available for flatpak.
If you prefer to use flatpak (rather than limping along with this AUR release):
1 install flatpak with pacman or whatever
https://archlinux.org/packages/extra/x86_64/flatpak/
2 then head over to https://flathub.org/apps/net.pokerth.PokerTH
to find out how to deploy and run a "stable" version of pokerth