Active port install isssue

Scott Haneda talklists at newgeo.com
Fri Jul 3 22:29:01 PDT 2009


Yeah, I do not get this:
$sudo port -d install p5-mail-spf

Installs clean...

$sudo port -d install p5-mail-spf-query

--->  Activating p5-mail-spf-query @1.999.1_0
Error: Target org.macports.activate returned: Image error: /opt/local/ 
bin/spfquery is being used by the active p5-mail-spf port.  Please  
deactivate this port first, or use 'port -f activate p5-mail-spf- 
query' to force the activation.
Warning: the following items did not execute (for p5-mail-spf-query):  
org.macports.activate
Error: Status 1 encountered during processing.

/opt/local/bin/spfquery is not being used by p5-mail-spf, unless I  
misunderstand what port contents is showing me.  I had a 99% flawless  
install of ASSP and all it's chunks, but this one hitch, and I am  
going to have to add a -f to the install process?

$port contents p5-mail-spf
Port p5-mail-spf contains:
   /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Mail/ 
SPF/.packlist
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Base.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Exception.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/MacroString.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/A.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/All.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/Exists.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/Include.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/IP4.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/IP6.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/MX.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech/PTR.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mech.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mod/Exp.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mod/Redirect.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Mod.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Record.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Request.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Result.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/SenderIPAddrMech.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Server.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Term.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Util.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/v1/Record.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/v2/Record.pm
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF.pm
   /opt/local/sbin/spfd
   /opt/local/share/man/man3/Mail::SPF.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Base.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::MacroString.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::A.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::All.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::Exists.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::Include.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::IP4.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::IP6.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::MX.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mech::PTR.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mod.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mod::Exp.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Mod::Redirect.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Record.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Request.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Result.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::SenderIPAddrMech.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Server.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Term.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::Util.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::v1::Record.3pm.gz
   /opt/local/share/man/man3/Mail::SPF::v2::Record.3pm.gz

$port contents p5-mail-spf-query
Port p5-mail-spf-query contains:
   /opt/local/bin/spfd
   /opt/local/bin/spfquery
   /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Mail/SPF/ 
Query/.packlist
   /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/SPF/Query.pm
   /opt/local/share/man/man1/spfd.1pm.gz
   /opt/local/share/man/man1/spfquery.1pm.gz
   /opt/local/share/man/man3/Mail::SPF::Query.3pm.gz


On Jul 3, 2009, at 3:12 PM, Scott Haneda wrote:

> Clean install of my never-ending ASSP portfile project...
>
> Error: Target org.macports.activate returned: Image error: /opt/ 
> local/bin/spfquery is being used by the active p5-mail-spf port.   
> Please deactivate this port first, or use 'port -f activate p5-mail- 
> spf-query' to force the activation.
> Warning: the following items did not execute (for p5-mail-spf- 
> query): org.macports.activate
> Error: The following dependencies failed to build: p5-mail-spf-query  
> p5-mail-srs p5-net p5-authen-sasl p5-gssapi p5-crypt-des p5-digest  
> p5-net-ip-match-regexp p5-net-senderbase p5-net-syslog p5-perl-ldap  
> p5-convert-asn1 p5-xml-parser p5-xml-sax-writer p5-text-iconv p5-xml- 
> filter-buffertext p5-sys-syslog p5-tie-dbi p5-dbi p5-time-hires
> Error: Status 1 encountered during processing.
>
> I am not sure I understand this one. I know how to work around it,  
> but I am looking for how to make the problem not be a problem for a  
> user who is installing.
>
> Here is the list of depends:
> depends_lib \
>                    port:p5-compress-zlib \
>                    port:p5-digest-md5 \
>                    port:p5-digest-sha1 \
>                    port:p5-email-mime-modifier \
>                    port:p5-email-send \
>                    port:p5-email-valid \
>                    port:p5-file-readbackwards \
>                    port:p5-io-socket-ssl \
>                    port:p5-libwww-perl \
>                    port:p5-mail-spf \
>                    port:p5-mail-spf-query \
>                    port:p5-mail-srs \
>                    port:p5-net \
>                    port:p5-net-cidr-lite \
>                    port:p5-net-dns \
>                    port:p5-net-ip-match-regexp \
>                    port:p5-net-senderbase \
>                    port:p5-net-syslog \
>                    port:p5-perl-ldap \
>                    port:p5-sys-syslog \
>                    port:p5-tie-dbi \
>                    port:p5-time-hires

-- 
Scott * If you contact me off list replace talklists@ with scott@ *



More information about the macports-dev mailing list