Package Details: ttf-iosevka-comfy 1.4.0-2

Git Clone URL: https://aur.archlinux.org/ttf-iosevka-comfy.git (read-only, click to copy)
Package Base: ttf-iosevka-comfy
Description: Custom build of Iosevka with different style and metrics than the default.
Upstream URL: https://git.sr.ht/~protesilaos/iosevka-comfy
Licenses: OFL
Submitter: felipebalbi
Maintainer: felipebalbi
Last Packager: felipebalbi
Votes: 1
Popularity: 0.042684
First Submitted: 2023-03-06 06:28 (UTC)
Last Updated: 2023-12-31 19:07 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

fade commented on 2024-01-01 19:58 (UTC) (edited on 2024-01-01 20:19 (UTC) by fade)

I got curious, so I came to the same conclusion over last night and this morning. I downloaded the source artifact from Sourcehut four times, every single file was a different length... kind of an astonishing result. Anyhow, here's the proof:

-rw-r--r-- 1 fade fade 523468800 Jan  1 14:22 iosevka-comfy-1.4.0.tar.gz
-rw-r--r-- 1 fade fade 527204352 Dec 31 14:31 ttf-iosevka-comfy-1.4.0.tar.gz
-rw-r--r-- 1 fade fade 526139392 Jan  1 14:13 ttf-iosevka-comfy-1.4.0.tar.gz.1
-rw-r--r-- 1 fade fade 535920640 Dec 31 14:09 ttf-iosevka-comfy-1.4.0.tar.gz.bad

the patch pulling from github worked, twice. Thanks!

==> Making package: ttf-iosevka-comfy 1.4.0-2 (Mon 01 Jan 2024 03:17:03 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ttf-iosevka-comfy-1.4.0.tar.gz
==> Validating source files with b2sums...
    ttf-iosevka-comfy-1.4.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting ttf-iosevka-comfy-1.4.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: ttf-iosevka-comfy 1.4.0-2 (Mon 01 Jan 2024 03:17:19 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "ttf-iosevka-comfy"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ttf-iosevka-comfy 1.4.0-2 (Mon 01 Jan 2024 03:18:16 PM)
==> Cleaning up...

felipebalbi commented on 2023-12-31 19:09 (UTC)

Looks like sourcehut sometimes gives badly formed tarballs:

iosevka-comfy-1.4.0/iosevka-comfy-wide-motion/ttf/iosevka-comfy-wide-motion-italic.ttf: truncated gzip input: No such file or directory
bsdtar: Error exit delayed from previous errors.

I'll switch to pulling the tarball from github. Here's the diff:

diff --git a/.SRCINFO b/.SRCINFO
index 2b489460e9cb..18d17a0e9bfb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,11 @@
 pkgbase = ttf-iosevka-comfy
        pkgdesc = Custom build of Iosevka with different style and metrics than the default.
        pkgver = 1.4.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://git.sr.ht/~protesilaos/iosevka-comfy
        arch = any
        license = OFL
-       source = ttf-iosevka-comfy-1.4.0.tar.gz::https://git.sr.ht/~protesilaos/iosevka-comfy/archive/1.4.0.tar.gz
+       source = ttf-iosevka-comfy-1.4.0.tar.gz::https://github.com/protesilaos/iosevka-comfy/archive/refs/tags/1.4.0.tar.gz
        b2sums = abf174a9fab83201088cd07aca7660685b37ce865fabb8a5929449dff7df423c86fe13e1d00ea074e9e9f8724e444221486bc01c2f3d2fa0a6d8488690e47540

 pkgname = ttf-iosevka-comfy
diff --git a/PKGBUILD b/PKGBUILD
index cbc9868207ed..12e4189dcd9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@ _pkgmajor=1
 _pkgminor=4
 _pkgpatch=0
 pkgver=${_pkgmajor}.${_pkgminor}.${_pkgpatch}
-pkgrel=1
+pkgrel=2
 pkgdesc="Custom build of Iosevka with different style and metrics than the default."
 arch=('any')
 url="https://git.sr.ht/~protesilaos/iosevka-comfy"
 license=('OFL')
-source=("${pkgname}-${pkgver}.tar.gz::https://git.sr.ht/~protesilaos/iosevka-comfy/archive/${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/protesilaos/iosevka-comfy/archive/refs/tags/${pkgver}.tar.gz")
 b2sums=('abf174a9fab83201088cd07aca7660685b37ce865fabb8a5929449dff7df423c86fe13e1d00ea074e9e9f8724e444221486bc01c2f3d2fa0a6d8488690e47540')

 package() {

Worked fine on my machine, tried a few times:

makepkg -fri
==> Making package: ttf-iosevka-comfy 1.4.0-2 (Sun 31 Dec 2023 11:06:28 AM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ttf-iosevka-comfy-1.4.0.tar.gz
==> Validating source files with b2sums...
    ttf-iosevka-comfy-1.4.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting ttf-iosevka-comfy-1.4.0.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "ttf-iosevka-comfy"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ttf-iosevka-comfy 1.4.0-2 (Sun 31 Dec 2023 11:06:49 AM PST)
==> Installing package ttf-iosevka-comfy with pacman -U...
[sudo] password for balbi: 
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) ttf-iosevka-comfy-1.4.0-2

Total Installed Size:  1220.07 MiB
Net Upgrade Size:         0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                  [########################################################################################] 100%
(1/1) checking package integrity                                                                                                                [########################################################################################] 100%
(1/1) loading package files                                                                                                                     [########################################################################################] 100%
(1/1) checking for file conflicts                                                                                                               [########################################################################################] 100%
(1/1) checking available disk space                                                                                                             [########################################################################################] 100%
:: Processing package changes...
(1/1) upgrading ttf-iosevka-comfy                                                                                                               [########################################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating fontconfig cache...
(3/3) Updating 32-bit fontconfig cache...

Could one of you confirm?

fade commented on 2023-12-31 18:56 (UTC) (edited on 2023-12-31 18:58 (UTC) by fade)

The package build is failing the source validation check. I have downloaded the source several times, so I think there is a problem with the checksum...

==> Making package: ttf-iosevka-comfy 1.4.0-1 (Sun 31 Dec 2023 01:53:54 PM)
==> Retrieving sources...
  -> Found ttf-iosevka-comfy-1.4.0.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    ttf-iosevka-comfy-1.4.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Ataraxy commented on 2023-12-09 06:42 (UTC)

I tried twice, and got the following:

==> Validating source files with b2sums...
    ttf-iosevka-comfy-1.4.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'ttf-iosevka-comfy-1.4.0-1':
error: packages failed to build: ttf-iosevka-comfy-1.4.0-1