Perl module Privileges::Drop Portfile Fails to Build on Azure
Steven Smith
steve.t.smith at gmail.com
Sat Oct 12 12:30:27 UTC 2019
There must be a dependency on one of the p5-* ports that I’ve already installed locally.
Is there an efficient way of tracking down the Perl module dependency tree?
I suppose I could just do something like:
sudo port deactivate p5-*
(How do I restrict this to just the ones I’ve installed). Then start adding depends_run dependencies until it builds.
> On Oct 12, 2019, at 04:44, Steven Smith <steve.t.smith at gmail.com> wrote:
>
>
> I have a simple perl module Privileges::Drop Portfile as part of PR https://github.com/macports/macports-ports/pull/5482 that builds fine on multiple boxes locally, but fails on azure. The error is:
>
> https://paste.z0k.xyz/0b334360ab7f
> Use of uninitialized value $_[0] in substitution (s///) at /opt/local/lib/perl5/5.26/File/Basename.pm line 341.
> fileparse(): need a valid pathname at /opt/local/lib/perl5/5.26/CPAN/FirstTime.pm line 1413.
> Command failed: cd "/opt/local/var/macports/build/_Users_vsts_agent_2.158.0_work_1_s_perl_p5-privileges-drop/p5.26-privileges-drop/work/Privileges-Drop-1.03" && /opt/local/bin/perl5.26 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"
> Exit code: 255
>
> I’m at a loss to see the cause or fix. Any pointers would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191012/1d3ed57e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191012/1d3ed57e/attachment.bin>
More information about the macports-dev
mailing list