Package Details: gtypist-git 2.10.1-4

Git Clone URL: https://aur.archlinux.org/gtypist-git.git (read-only, click to copy)
Package Base: gtypist-git
Description: universal typing tutor
Upstream URL: http://www.gnu.org/software/gtypist/gtypist.html
Licenses: GPL3
Conflicts: gtypist
Provides: gtypist
Submitter: mctom
Maintainer: mctom
Last Packager: mctom
Votes: 2
Popularity: 0.92
First Submitted: 2024-08-05 19:35 (UTC)
Last Updated: 2025-03-30 14:38 (UTC)

Latest Comments

m040601 commented on 2025-03-29 12:28 (UTC) (edited on 2025-03-29 12:29 (UTC) by m040601)

... but forgot about it just like you did.

Yeah, big mistake on my part. Lesson learned, see also my comments, https://aur.archlinux.org/packages/gtypist

mctom commented on 2025-03-29 12:03 (UTC)

Okay, I removed it then. :) No worries, I appreciate your input anyway.

I was aware of the base-devel metapackage but forgot about it just like you did.

Happy typing!

m040601 commented on 2025-03-29 11:56 (UTC) (edited on 2025-03-29 11:57 (UTC) by m040601)

I'll add "which" to build dependencies soon. 

Please dont.

It should not explicityly be needed nor stated as a dependency. I made a mistaken assumption. Sorry for the trouble.

"Which" is one tool, part of the meta-package "base-devel".

$ pacman -Si base-devel

Repository      : core
Name            : base-devel
Version         : 1-2
Description     : Basic tools to build Arch Linux packages
Architecture    : any
URL             : https://www.archlinux.org
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : archlinux-keyring  autoconf  automake  binutils  bison
                  debugedit  fakeroot  file  findutils  flex  gawk  gcc
                  gettext  grep  groff  gzip  libtool  m4  make  pacman
                  patch  pkgconf  sed  sudo  texinfo  which
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 2.05 KiB
Installed Size  : 0.00 KiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Fri 06 Sep 2024 08:08:35 PM WEST
Validated By    : SHA-256 Sum  Signature

Actually Archlinux does "assume" that if you use AUR PKGBUILDS you should have this meta-package installed and all its members, https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

Prerequisites

First, ensure that the necessary tools are installed by installing
base-devel; this meta package has make and other tools needed for
compiling from source, listed as dependencies.

Note: Packages in the AUR assume that base-devel is installed in the
build environment.

So any member of that group should be implicitly assumed to exist. And not needed to be stated explicitly as dependency.

mctom commented on 2025-03-29 11:44 (UTC)

@m040601, I believe the issue is resolved. Thanks again for your report.

mctom commented on 2025-03-29 11:28 (UTC)

Hello @m040601,

Thanks for the report. I'm not the most qualified person to maintain a package, so your explanation of the problem is appreciated. I'll add "which" to build dependencies soon. Even though I heard your comment about "which" being considered deprecated, if the git source uses it, I feel there's not much we can do about it other than add it as a dependency.

m040601 commented on 2025-03-29 11:18 (UTC)

grep -n -C 3 which autogen.sh

85-
86-# Copy gettext.h from gettext install
87-
88:gettext_exe=`which gettext`
89-gettext_bin=`dirname $gettext_exe`
90-gettext_home=`dirname $gettext_bin`
91-gettexth=$gettext_home/share/gettext/gettext.h

m040601 commented on 2025-03-29 10:47 (UTC) (edited on 2025-03-29 11:22 (UTC) by m040601)

This PKGBUILD is missing one dependency, the tool "which" needed by "autogen.sh"

Repository      : core
Name            : which
Version         : 2.23-1
Description     : A utility to show the full path of commands
Architecture    : x86_64
URL             : https://savannah.gnu.org/projects/which/
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : None
Depends On      : bash  glibc
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 15.98 KiB
Installed Size  : 30.49 KiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Mon 24 Feb 2025 09:14:17 AM WET
Validated By    : SHA-256 Sum  Signature

Whithout that this is what happens,

==> Starting build()...
Checking for required tools...
./autogen.sh: line 88: which: command not found

Yeah, I dont have "which" anymore on my system. It has been considered deprecated by many.

dirname: missing operand
Try 'dirname --help' for more information.
dirname: missing operand
Try 'dirname --help' for more information.
Couldn't find gettext.h
Looking for gettext.h in /usr/ ...
find: ‘/usr/share/factory/etc/audit/plugins.d’: Permission denied

**Error**: Can not find gettext.h on your system.
Get ftp://ftp.gnu.org/gnu/gettext/gettext-0.12.1.tar.gz
(or a newer version if it is available)
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gtypist-git-exit status 4

If I install "which" first then the PKGBUILD works.

pacman -Si which

Repository      : core
Name            : which
Version         : 2.23-1
Description     : A utility to show the full path of commands
Architecture    : x86_64
URL             : https://savannah.gnu.org/projects/which/
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : None
Depends On      : bash  glibc
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 15.98 KiB
Installed Size  : 30.49 KiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Mon 24 Feb 2025 09:14:17 AM WET
Validated By    : SHA-256 Sum  Signature

mctom commented on 2025-03-09 08:06 (UTC) (edited on 2025-03-09 11:02 (UTC) by mctom)

Hi @Scaramouche, Weird, none of my systems has gengetopt installed and yet this AUR package used to work. I'll investigate later today, right now it seems that GNU savannah is down.

EDIT: You were absolutely right, I bumped version and included dependency. Thanks very much for your input!

Scaramouche commented on 2025-03-08 10:00 (UTC)

Hi mctom,

there's a missing dependency on gengetopt, please add it to PKGBUILD.