You are not logged in.
When I try to install ttf-google-gonts-git, I have an issue. After the package is created, pacman reports the following issue (note that since a package on my computer requires adobe-source-code-pro-fonts (which is provided by ttf-google-fonts-git) I need to install that in order to remove ttf-google-fonts-git to keep the dependency satisfied):
Package (2) Old Version New Version Net Change
adobe-source-code-pro-fonts 2.032ro+1.052it+1.012var-1 -1.87 MiB
ttf-google-fonts-git 1:r2244.b2510dc2-1 1213.02 MiB
Total Installed Size: 1213.02 MiB
Net Upgrade Size: 1211.15 MiB
:: Proceed with installation? [Y/n] y
(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%
(2/2) checking available disk space [--------------------------------------] 100%
:: Processing package changes...
(1/1) removing adobe-source-code-pro-fonts [--------------------------------------] 100%
(1/1) installing ttf-google-fonts-git [--------------------------------------] 100%
error: could not extract /usr/share/fonts/piazzolla/Piazzolla-Black.ttf (Zstd decompression failed: Corrupted block detected)
error: problem occurred while installing ttf-google-fonts-git
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
I ran
badblocks -v /dev/sdc3
and it reported no bad blocks, so I don't believe that my hard drive is the issue. Reinstalling zstd didn't help either. I also cannot exclude Piazzolla Black from the fonts by editing the PKGBUILD file.
Is anyone else having this issue, and if not, what can I do to debug this issue?
Last edited by TheSheepGuy (2021-01-10 17:49:19)
Offline
Since it's a zstd error how about building the package without compression? https://wiki.archlinux.org/index.php/Ma … algorithms or generally rebuilding the package it might've been an issue with that specific invocation?
Offline
Since it's a zstd error how about building the package without compression? https://wiki.archlinux.org/index.php/Ma … algorithms or generally rebuilding the package it might've been an issue with that specific invocation?
Thank you! This worked, I used the example provided in the Arch Wiki, that is PKGEXT='.pkg.tar'. Still not sure why this error happened, but at least I know how to avoid it in the future.
Offline
I can not reproduce the issue. If you rebuild the package again with Zstd compression can you still reproduce the issue?
Offline
If you rebuild the package again with Zstd compression can you still reproduce the issue?
Yes, it still happens. Maybe it really is something on my end, but other AUR packages, even -git ones, also work. So I don't know.
Offline
Any warnings from makepkg when you build the package?
Offline
Any warnings from makepkg when you build the package?
No, there are no warnings when building.
==> Making package: ttf-google-fonts-git 1:r2244.b2510dc2-1 (Sun 10 Jan 2021 18:15:32 GMT)
==> Retrieving sources...
-> Updating fonts git repo...
Fetching origin
==> Validating source files with sha512sums...
fonts ... Skipped
==> Making package: ttf-google-fonts-git 1:r2244.b2510dc2-1 (Sun 10 Jan 2021 18:15:47 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating fonts git repo...
Fetching origin
==> Validating source files with sha512sums...
fonts ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of fonts git repo...
Cloning into 'fonts'...
done.
Updating files: 100% (8394/8394), done.
==> Starting prepare()...
==> Starting pkgver()...
==> Sources are ready.
Last edited by TheSheepGuy (2021-01-10 18:30:25)
Offline
You stopped at extracting the sources?
==> Sources are ready.
==> 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-google-fonts-git"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ttf-google-fonts-git 1:r2244.b2510dc2-1 (Sun 10 Jan 2021 06:19:24 PM)
Offline
You stopped at extracting the sources?
That must have been an issue with my copy-paste. Since then, the issue has also disappeared on my end, and no zstd error is reported. I do remember that makepkg didn't report any errors or anything out of the ordinary, it was only pacman trying to install the package.
Offline
(Zstd decompression failed: Corrupted block detected)
It will be worth running a RAM test too - I last saw this error on a laptop which I later found (after random segfaults and finally BTRFS filesystem corruption) had a bad SODIMM.
Last edited by jonathon (2021-01-10 21:34:46)
Offline