Package Details: gnu-poke-git r5339.bf7d302e-1

Git Clone URL: https://aur.archlinux.org/gnu-poke-git.git (read-only, click to copy)
Package Base: gnu-poke-git
Description: The GNU extensible binary editor
Upstream URL: http://www.jemarch.net/poke.html
Licenses: GPL3
Conflicts: poke
Provides: poke
Submitter: tleydxdy
Maintainer: necklace
Last Packager: necklace
Votes: 3
Popularity: 0.000000
First Submitted: 2020-03-30 08:34 (UTC)
Last Updated: 2023-02-07 13:22 (UTC)

Latest Comments

necklace commented on 2023-03-20 15:08 (UTC)

@vgivanovic, apologies I didn't see your comment until now

It does either hint at you missing some ssl certificates (I'm assuming you have the ca-certificates package installed?), or, alternatively maybe your IP has been banned by ageinghacker.net (or their spamfilter, if they have one)

Now, I did myself get an error saying that jitter no longer was the same repository, this can happen if git history is rewritten, so if ca-certificates doesn't resolve it (which I doubt, you probably have it installed), then try to rm -rf the .cache/yay/gnu-poke-git/jitter folder and make it download it again. That should solve it.

vgivanovic commented on 2023-03-05 08:06 (UTC) (edited on 2023-03-05 08:28 (UTC) by vgivanovic)

I cannot install GNU poke. When I use 'yay -S gnu-poke-git' or when I download AUR's Git clone URL, I eventually get to trying to clone 'jitter'. This always fails.

Cloning into bare repository '/home/vladimir/.cache/yay/gnu-poke-git/jitter'...
fatal: unable to access 'https://git.ageinghacker.net/jitter/': Could not resolve host: git.ageinghacker.net
==> ERROR: Failure while downloading jitter git repo
    Aborting...
 -> error making: gnu-poke-git
yay -S gnu-poke-git  181.16s user 5.08s system 202% cpu 1:31.89 total

Trying ableson.ageinghacker.net (alias for git.ageinghacker.net) fails in the same way. If I try using 82.221.139.216, the IP address for ableson.ageinghacker.net, I get fatal: unable to access 'https://82.221.139.216/jitter.git/': SSL: no alternative certificate subject name matches target host name '82.221.139.216'.

The instructions on Luca Saiu's web page for cloning GNU jitter directly

git clone https://git.ageinghacker.net/jitter
(unsurprisingly) fail in the same way as trying to install the AUR package for GNU poke.

I've haven't had other GIT cloning issues recently.

Suggestions?

Arvedui commented on 2021-03-16 12:29 (UTC)

Seems to be a concurrency problem. I disabled parallel builds and it seems to build reliably now.

Arvedui commented on 2021-03-08 15:18 (UTC)

Sorry for the late response, can reproduce but don't know what causes it yet. will look into it soon.

DarkShadow44 commented on 2021-02-26 23:04 (UTC)

Doesn't compile for me:

make[2]: Leaving directory '/tmp/ramdisk/gnu-poke-git/src/gnu-poke-git/build/libpoke'
mv: cannot stat 'pvm-vm.h': No such file or directory
make[1]: *** [Makefile:2909: pvm-vm1.c] Error 1
make[1]: *** Waiting for unfinished jobs....
mv: cannot stat 'pvm-vm.h': No such file or directory
make[1]: *** [Makefile:2909: pvm-vm2.c] Error 1

Arvedui commented on 2020-11-18 14:33 (UTC)

Yea, just disown it it. I would be happy to take over :)

tleydxdy commented on 2020-11-18 14:12 (UTC)

actually I haven't been using this for a while now. It should be better anyone that actually uses this wants to adopt it. Should I just drop it then?

Will apply the patches tho

Arvedui commented on 2020-11-18 14:02 (UTC) (edited on 2020-11-18 14:31 (UTC) by Arvedui)

Hi, thanks for creating this package. I noticed a few issues in your PKGBUILD though

  1. A package containing compiled stuff should not have an arch of any
  2. The runtime dependencies gettext and json-c are missing
  3. The check time dependency dejagnu
  4. The git repository has submodules which are no tracked by makepkg
  5. configure and friends should be executed in prepare, not build
  6. CFLAGS and LDFLAGS are not passed to configure

Here is a patch that fixes all those problems, fell free to just apply that.

diff --git a/PKGBUILD b/PKGBUILD
index 1c298fc..777aaf4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,50 @@
 # Maintainer: Yunxiang Li <shironeko@waifu.club>

 pkgname=gnu-poke-git
-pkgver=r3085.bb2998d4
+pkgver=r3747.48148bc2
 pkgrel=1
 pkgdesc="Interactive, extensible editor for binary data."
-arch=('any')
+arch=(i686 x86_64 armv6h armv7h aarch64)
 url="http://www.jemarch.net/poke.html"
 license=('GPL3')
-depends=('gc' 'readline')
-makedepends=('help2man' )
-checkdepends=()
+depends=('gc' 'readline' 'gettext' 'json-c')
+makedepends=('help2man' 'git')
+checkdepends=('dejagnu')
 optdepends=()
 provides=('poke')
-source=("${pkgname}::git+https://git.savannah.gnu.org/git/poke.git")
-sha256sums=('SKIP')
+source=("
+    ${pkgname}::git+https://git.savannah.gnu.org/git/poke.git"
+    gnulib::git://git.sv.gnu.org/gnulib
+    jitter::git+http://git.ageinghacker.net/jitter
+    )
+sha256sums=(
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    )

 pkgver() {
-    cd "$pkgname"
+    cd "${pkgname}"
     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

-build() {
+prepare() {
     cd "${pkgname}"
+    git submodule init gnulib
+    git config submodule.gnulib.url "${srcdir}/gnulib"
+    git submodule init jitter
+    git config submodule.jitter.url "${srcdir}/jitter"
+    git submodule update

     ./bootstrap --skip-po
     mkdir build && cd build
-    ../configure --prefix=/usr
+    ../configure --prefix=/usr CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+
+}
+
+build() {
+    cd "${pkgname}/build"
+
     make
 }