GNU bug report logs - #56144
perl-mail-spf package installs, but does not run.

Previous Next

Package: guix;

Reported by: Eduard Budulea <e_timotei <at> yahoo.com>

Date: Wed, 22 Jun 2022 14:34:01 UTC

Severity: normal

To reply to this bug, email your comments to 56144 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#56144; Package guix. (Wed, 22 Jun 2022 14:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eduard Budulea <e_timotei <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 22 Jun 2022 14:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eduard Budulea <e_timotei <at> yahoo.com>
To: bug-guix <at> gnu.org
Subject: perl-mail-spf package installs, but does not run.
Date: Wed, 22 Jun 2022 15:12:06 +0300
Hello all,

I am trying to have a guix system that has exim with spf validation 
(sadly the exim that is packaged with guix has spf disable) and I am 
trying to run the external tool spfquery.

spfquery binary is in the perl-mail-spf package.

The package builds and deploys.

But when when I try to run it, I get:

Can't locate Error.pm in @INC (you may need to install the Error module) 
(@INC contains: 
/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/site_perl/5.34.0/x86_64-linux-thread-multi 
/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/site_perl/5.34.0 
/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/5.34.0/x86_64-linux-thread-multi 
/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/5.34.0) 
at /run/current-system/profile/bin/spfquery line 335.

BEGIN failed--compilation aborted at 
/run/current-system/profile/bin/spfquery line 335.

If I add all its dependencies to packages and populate the PERL5LIB 
environment variable with the paths to the needed libraries from 
/gnu/store then it works.

So it is basically a packaging problem.

I have tried to move the dependencies from input to input-propagated, 
but got the same result.


Any ideas?

Thanks.





Information forwarded to bug-guix <at> gnu.org:
bug#56144; Package guix. (Thu, 23 Jun 2022 12:31:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Eduard Budulea <e_timotei <at> yahoo.com>
Cc: bug-guix <at> gnu.org, 56144 <at> debbugs.gnu.org
Subject: Re: bug#56144: perl-mail-spf package installs, but does not run.
Date: Thu, 23 Jun 2022 14:24:55 +0200
[Message part 1 (text/plain, inline)]
Hi Eduard!

Eduard Budulea via Bug reports for GNU Guix 写道:
> I have tried to move the dependencies from input to 
> input-propagated,
> but got the same result.

Even if that did work, installing perl-mail-spf would then also 
install these other perl-* packages — no better than a traditional 
distro.  Avoid propagation wherever possible.

Instead, you should ‘wrap’ the spfquery executable so that 
PERL5LIB is correctly set when it's invoked, without polluting the 
user's profile.

Look at the ‘dirvish’ package for an arbitrary but seemingly sane 
example.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#56144; Package guix. (Thu, 23 Jun 2022 12:31:02 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.