@pajlada I've installed pkgconf and it solved the problem. Please add 'pkgconf' to makedepends in PKGBUILD.
Thank you for the quick response! Both issues are resolved.
| Git Clone URL: | https://aur.archlinux.org/chatterino2-git.git (read-only, click to copy) |
|---|---|
| Package Base: | chatterino2-git |
| Description: | Second installment of the Twitch chat client series "Chatterino", dev/git version |
| Upstream URL: | https://chatterino.com |
| Keywords: | chatterino chatterino2 twitch |
| Licenses: | MIT |
| Conflicts: | chatterino |
| Provides: | chatterino |
| Submitter: | Ckat |
| Maintainer: | Ckat (Danis, pajlada, chatterino2-ci) |
| Last Packager: | pajlada |
| Votes: | 44 |
| Popularity: | 0.70 |
| First Submitted: | 2017-10-13 21:38 (UTC) |
| Last Updated: | 2026-03-28 12:45 (UTC) |
@pajlada I've installed pkgconf and it solved the problem. Please add 'pkgconf' to makedepends in PKGBUILD.
Thank you for the quick response! Both issues are resolved.
@EinBaum Regarding the openssl issue - can you verify that pkg-config is installed? pacman -Q pkgconf
@EinBaum
I have pushed a fix using mkdir -p in the build stage - thank you!
Build error that occurs if you are re-installing the same package without cleaning:
==> Starting build()...
mkdir: cannot create directory ‘build’: File exists
==> ERROR: A failure occurred in build().
Aborting...
Can be resolved by changing mkdir to mkdir -p in PKGBUILD.
I have the following build error:
which: no ccache in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
Project MESSAGE: Building with websocketpp submodule (Prefix: /home/einbaum/.cache/aurman/chatterino2-git/src/chatterino2/lib)
Project WARNING: Libsecret not found.
Project MESSAGE: Libsecret support: off
Project MESSAGE: Using default installation prefix (/usr/local). Change PREFIX in qmake command
Project MESSAGE: Building Chatterino2 RELEASE
Project MESSAGE: Injected git values: 22d6aa8dc313baa5c8495238da0650c7aa7caed8 (v2.2.2-215-g22d6aa8d) 22d6aa8dc
Project ERROR: openssl development package not found
==> ERROR: A failure occurred in build().
Aborting...
But I have openssl installed:
einbaum ~ $ pacman -Q openssl
openssl 1.1.1.i-2
@pajilada Excellent!
@txtsd I've gone ahead and applied your changes over the last 4 commits, the only thing I did differently was the way we install the binary itself.
ccache, for some reason, changes the output folder of the binary from $BUILD_DIR/bin/chatterino to $BUILD_DIR/chatterino I don't know how to control this, so to be able to support ccache and non-ccache builds I just check both files and use the one that exists.
Thank you very much @txtsd - will take a look at it this weekend!
Here's how it should be: https://0x0.st/iFdM.txt
I also fixed the issue of the executable not being in a bin directory.
Here's the correct way to deal with submodules: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_submodules
Pinned Comments
Ckat commented on 2020-02-28 17:56 (UTC) (edited on 2021-09-05 10:41 (UTC) by Ckat)
if you get some error launching chatterino about libboost or other system libs, try recompiling (just install the package again and it'll recompile from latest source) before complaining.
also, -git packages cannot go out of date, unless they stop compiling. pkgver is updated every build, you the user are responsable to regularly rebuild it if you want the latest git version built.
TLDR; please stop flagging it out of date unless it doesnt build anymore.