Package Details: foot-terminfo 1.7.1-2

Git Clone URL: (read-only, click to copy)
Package Base: foot
Description: Terminfo files for the foot terminal emulator
Upstream URL:
Keywords: terminal wayland
Licenses: MIT
Submitter: danekl
Maintainer: danekl
Last Packager: danekl
Votes: 13
Popularity: 1.97
First Submitted: 2020-03-06 20:32
Last Updated: 2021-03-28 12:42

Latest Comments

tinywrkb commented on 2020-12-21 13:20

@danekl Thanks again for the prompt reply and fix.

danekl commented on 2020-12-21 12:59

@tinywrkb hopefully fixed now. Will take a look at aurutils for future releases.

tinywrkb commented on 2020-12-21 12:25

@danekl It fails again to build in a chroot.

Traceback (most recent call last):
  File "/build/foot/src/foot/./scripts/", line 194, in <module>
  File "/build/foot/src/foot/./scripts/", line 40, in main
OSError: [Errno 25] Inappropriate ioctl for device

You really need to start testing if your releases are being built correctly in a chroot. This is how Arch Linux package maintainers are building packages and you probably want to see the app being published on the official repos without adding work to Arch Linux maintainers.

I recommend trying aurutils for automating packaging in a chroot.

I'm not bothering with this further, I just dropped foot, it's not my default terminal emulator, I added it to my packages as an alternative, and I'm not gonna set an LXD container just to build it.

tinywrkb commented on 2020-12-18 16:56

@daneki It now builds successfully in a chroot. Thanks!

danekl commented on 2020-12-18 15:17

@tinywrkb should be fixed now

danekl commented on 2020-12-18 14:33

@tinywrkb: you are correct. This will be fixed very soon, when I've ported foot's PKGBUILD to use instead of pulling in fcft as a meson subproject.

tinywrkb commented on 2020-12-18 14:05

The check() function is failing in a chroot build.

The output from the failed tests:

2/2 fcft / fcft       FAIL           0.02s (exit status 6)

--- command ---
13:55:50 /build/foot/src/foot/build/subprojects/fcft/test-fcft
--- stdout ---
Running suite(s): fcft
0%: Checks: 6, Failures: 6, Errors: 0
test.c:14:S:core:test_capabilities:0: Assertion 'font != NULL' failed: font == 0
test.c:14:S:core:test_from_name:0: Assertion 'font != NULL' failed: font == 0
test.c:14:S:core:test_glyph_rasterize:0: Assertion 'font != NULL' failed: font == 0
test.c:14:S:core:test_size_adjust:0: Assertion 'font != NULL' failed: font == 0
test.c:14:S:core:test_precompose:0: Assertion 'font != NULL' failed: font == 0
test.c:14:S:core:test_set_scaling_filter:0: Assertion 'font != NULL' failed: font == 0

Looking at the test code, it's all about loading fonts, so you need some font package that has the proper font families for the tests. Adding dejavu to the checkdepends array fix this issue.

diff --git a/PKGBUILD b/PKGBUILD
index c1043b5..a5431f7 100644
@@ -1,13 +1,13 @@
 # Maintainer: Daniel Eklöf <daniel at ekloef dot se>
 pkgname=('foot' 'foot-terminfo')
 pkgver=1.5.4  # Don’t forget to update
 arch=('x86_64' 'aarch64')
 depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'freetype2')
 makedepends=('meson' 'ninja' 'scdoc' 'python' 'ncurses' 'wayland-protocols')
+checkdepends=('check' 'dejavu')