You are not logged in.

#1 2012-05-25 15:59:35

calyce
Member
From: La Belle Gique
Registered: 2009-04-26
Posts: 10

SOLVED: makepkg fails at signing package

Hi all,

I'm trying to build a package from AUR but makepkg fails to sign the package.
I receive the following message: "==> WARNING: Failed to sign package file." and nothing else.

I have, as far as i can tell, installed all the necessary keys (pacman-key --recv-key and pacman-key --lsign). I even tried to completely reset the keyring  (remove of /etc/pacman.d/gnupg, pacman-key --init, ...) but it does not solve my problem.
I can see the key when issuing pacman-key -l.

Any idea is welcome cause I'm completely loss right now and I fear becoming nuts...

Last edited by calyce (2012-05-25 23:02:49)

Offline

#2 2012-05-25 16:14:06

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: SOLVED: makepkg fails at signing package

https://wiki.archlinux.org/index.php/De … g_Packages

That should explain everything you need to sign packages

To sign packages you need your own key, what comes with pacman is the developers' keys for the packages in the repos

Last edited by ethail (2012-05-25 16:16:27)


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#3 2012-05-25 16:23:36

calyce
Member
From: La Belle Gique
Registered: 2009-04-26
Posts: 10

Re: SOLVED: makepkg fails at signing package

Thanks for your answer.

Unfortunately, I already read this page before. I already have my own key generated and uploaded to a key server. IOW I use my own key (specified in makepkg.conf) and I can see it when issuing pacman-key -l
Is there a way to have some kind of "debug" logging from makepkg ? I could probably help me find the culprit...

Offline

#4 2012-05-25 16:36:26

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: SOLVED: makepkg fails at signing package

Makepkg does not use the keyring from pacman-key but that of the local user running makepkg. I agree that the error messaging here sucks.

Offline

#5 2012-05-25 23:06:33

calyce
Member
From: La Belle Gique
Registered: 2009-04-26
Posts: 10

Re: SOLVED: makepkg fails at signing package

Thanks falconindy, you pointed me in the right direction.
I sorted out my personal keyring and it's working now.

Offline

Board footer

Powered by FluxBB