You are not logged in.

#1 2021-08-31 20:27:56

daiyam
Member
Registered: 2021-08-31
Posts: 4

updpkgsums: Failed to generate new checksums

Hi,

I'm working to automate the publication of the following package: https://aur.archlinux.org/packages/mrcode-git/

When I run the command updpkgsums, I'm getting the error:

==> Retrieving sources...
==> ERROR: Failed to generate new checksums

With the command makepkg --verifysource --allsource:

==> Validating source files with sha256sums...
    MrCode ... Skipped
    mrcode.desktop ... Passed

But the command makepkg --geninteg, I only get:

==> Retrieving sources...

The resources are:

source=(
    "git+${url}"
    'mrcode.desktop'
)
sha256sums=(
    'SKIP'
    '362ef9b395929a66442f60be0e238ac69afbbda07728e4121c352fdea236af92'
)

I'm not sure what I do wrong.

Offline

#2 2021-08-31 21:51:17

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: updpkgsums: Failed to generate new checksums

What are the values in the INTEGRITY_CHECK array in makepkg.conf ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-08-31 22:20:05

daiyam
Member
Registered: 2021-08-31
Posts: 4

Re: updpkgsums: Failed to generate new checksums

INTEGRITY_CHECK=(sha256)

Offline

#4 2021-09-01 08:26:58

a821
Member
Registered: 2012-10-31
Posts: 381

Re: updpkgsums: Failed to generate new checksums

remove "set -e"

Offline

#5 2021-09-01 12:04:54

daiyam
Member
Registered: 2021-08-31
Posts: 4

Re: updpkgsums: Failed to generate new checksums

a821 wrote:

remove "set -e"

Yep! That's the solution. Thanks a lot!

Offline

#6 2021-09-03 10:04:05

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: updpkgsums: Failed to generate new checksums

Please prepend [Solved] to the title (edit first post) .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB