You are not logged in.

#1 2022-04-25 18:58:40

korimitsu
Member
Registered: 2016-08-14
Posts: 50

lib32-gd fails to build

Logs

$ git clone [url]https://aur.archlinux.org/lib32-gd.git[/url]
Cloning into 'lib32-gd'...
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 25 (delta 0), reused 25 (delta 0), pack-reused 0
Receiving objects: 100% (25/25), 11.30 KiB | 11.30 MiB/s, done.

$ cd lib32-gd/

$ makepkg -si
==> Making package: lib32-gd 2.3.3-1
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading gd-2.3.3.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   131  100   131    0     0    446      0 --:--:-- --:--:-- --:--:--   447
100 2824k    0 2824k    0     0  2674k      0 --:--:--  0:00:01 --:--:-- 6353k
  -> Downloading bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   757  100   757    0     0   2172      0 --:--:-- --:--:-- --:--:--  2175
==> Validating source files with sha256sums...
    gd-2.3.3.tar.gz ... Passed
    bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!

Offline

#2 2022-04-25 19:25:19

mpan
Member
Registered: 2012-08-01
Posts: 826
Website

Re: lib32-gd fails to build

I assumed that you did not pass the [url] part to `git clone …` and that’s just an editing error.

The checksum for the patch is wrong. It should be “1e7bdb17e76ad6b1384222b449b9011ee131d3e1f105f9b30495a9c34b2cd5eb”. That may be omission by the maintainer or, because GitHub generates those on the fly, their output format might’ve changed.


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#3 2022-04-25 20:10:18

korimitsu
Member
Registered: 2016-08-14
Posts: 50

Re: lib32-gd fails to build

So how do you recommend to fix it? Edit PKGBUILD?

Offline

#4 2022-04-25 20:21:51

loqs
Member
Registered: 2014-03-06
Posts: 14,705

Re: lib32-gd fails to build

korimitsu wrote:

So how do you recommend to fix it? Edit PKGBUILD?

Yes,  edit the PKGBUILD or see Makepkg#Generate_new_checksums.

Offline

Board footer

Powered by FluxBB