<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I did a selfupdate. &nbsp;I uninstalled per5, perl5.16 and perl5.22</div><div class="">Next, I installed perl5 +perl5_16</div><div class="">Next I installed perl5.16 +universal</div><div class=""><br class=""></div><div class="">Then I did 5.22 and had the problem again:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp;sudo port install perl5.22 +universal</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Computing dependencies for perl5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Fetching archive for perl5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Attempting to fetch perl5.22-5.22.1_0+universal.darwin_15.i386-x86_64.tbz2 from <a href="http://packages.macports.org/perl5.22" class="">http://packages.macports.org/perl5.22</a></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Attempting to fetch perl5.22-5.22.1_0+universal.darwin_15.i386-x86_64.tbz2 from <a href="http://lil.fr.packages.macports.org/perl5.22" class="">http://lil.fr.packages.macports.org/perl5.22</a></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Attempting to fetch perl5.22-5.22.1_0+universal.darwin_15.i386-x86_64.tbz2 from <a href="http://nue.de.packages.macports.org/macports/packages/perl5.22" class="">http://nue.de.packages.macports.org/macports/packages/perl5.22</a></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Fetching distfiles for perl5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Verifying checksums for perl5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Extracting perl5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Applying patches to perl5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Configuring perl5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Building perl5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Staging perl5.22 into destroot</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Installing perl5.22 @5.22.1_0+universal</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Activating perl5.22 @5.22.1_0+universal</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Error: org.macports.activate for port perl5.22 returned: Image error: /opt/local/bin/c2ph-5.22 is being used by the active perl5.16 port.&nbsp; Please deactivate this port first, or use 'port -f activate perl5.22' to force the activation.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Please see the log file for port perl5.22 for details:</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; &nbsp; /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.22/main.log</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">To report a bug, follow the instructions in the guide:</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; &nbsp; <a href="http://guide.macports.org/#project.tickets" class="">http://guide.macports.org/#project.tickets</a></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Error: Processing of port perl5.22 failed</div></div><div class=""><br class=""></div><div class="">I did the check that you asked and I see a whole bunch of stuff:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">port contents perl5.16 | grep 5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/a2p-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/c2ph-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/config_data-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/corelist-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/cpan-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/cpan2dist-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/cpanp-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/cpanp-run-perl-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/enc2xs-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/find2perl-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/h2ph-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/h2xs-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/instmodsh-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/json_pp-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/libnetcfg-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/perlbug-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/perldoc-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/perlivp-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/perlthanks-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/piconv-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/pl2pm-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/pod2html-5.22</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">&nbsp; /opt/local/bin/pod2latex-5.22</div></div><div class="">…</div><div class=""><br class=""></div><div class="">I can send the full list if that would help. &nbsp;It includes a pile of stuff in share/man as well.</div><div class=""><br class=""></div><div class="">Is the problem with perl5 +perl5_16 ? &nbsp;Since that is version 5.22.1? &nbsp;</div><div class="">Should I not have installed that? &nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 16, 2015, at 10:30 AM, Mojca Miklavec &lt;<a href="mailto:mojca.miklavec.lists@gmail.com" class="">mojca.miklavec.lists@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear Adam,<br class=""><br class="">Your setup contains some mixture of universal and non-universal ports<br class="">that seems to be interfering.<br class=""><br class="">Add to that the fact that if you would install some ports from scratch<br class="">now, you would get the +perl5_22 variant, while you probably installed<br class="">+perl5_16 in the past. And an upgrade would not automatically switch<br class="">to the other variant. Plus some ports have not been migrated to 5.22<br class="">yet:<br class=""> &nbsp;&nbsp;&nbsp;<a href="http://trac.macports.org/ticket/48365" class="">http://trac.macports.org/ticket/48365</a><br class=""><br class="">I suspect that you get the error because two ports are trying to<br class="">install the same dependency, but one of them is requesting the<br class="">universal variant.<br class=""><br class="">However there is one horribly strange error:<br class=""> &nbsp;&nbsp;&nbsp;/opt/local/bin/c2ph-5.22 is being used by the active perl5.16 port<br class="">Something seems wrong here. In my opinion you should force uninstall<br class="">both perl5.16 and perl5.22 and try to install them again. I have no<br class="">clue how you could end up in that situation though (and would<br class="">potentially like to know).<br class=""><br class="">Once you reinstall both perl ports, please check<br class=""> &nbsp;&nbsp;&nbsp;port contents perl5.22 | grep 5.16<br class=""> &nbsp;&nbsp;&nbsp;port contents perl5.16 | grep 5.22<br class="">and make sure that you don't get any hits. Also, make sure that you<br class="">are using the very latest "selfupdate" (14 hours ago Perl was a tiny<br class="">bit broken).<br class=""><br class="">Having both Perl 5.16 and 5.22 active should not be a problem.<br class=""><br class="">Personally I would remove Perl ports and all ports with +perl5_xx<br class="">variants from the list of activated ports and install them manually<br class="">after migration is done.<br class=""><br class="">Mojca<br class=""><br class=""><br class="">On 16 December 2015 at 15:52, Adam Dershowitz wrote:<br class=""><blockquote type="cite" class="">I have been attempting to follow the full set of migration instructions,<br class="">after upgrading to 10.11, but I have run into issue with perl stuff.<br class="">i have a bunch of perl libraries that were all installed as dependents of<br class="">other ports. &nbsp;Before I uninstalled my ports I had<br class=""><br class=""> &nbsp;perl5 @5.22.1_0+perl5_16 (active) platform='darwin 14' archs='noarch'<br class=""> &nbsp;perl5.12 @5.12.5_0+universal platform='darwin 14' archs='i386 x86_64'<br class=""> &nbsp;perl5.16 @5.16.3_1+universal (active) platform='darwin 14' archs='i386<br class="">x86_64'<br class=""> &nbsp;perl5.22 @5.22.1_0+universal (active) platform='darwin 14' archs='i386<br class="">x86_64’<br class=""><br class=""><br class="">But, when I try to run restore_ports.tcl I get a bunch of errors related to<br class="">perl libraries. &nbsp;The end of the attempt looked like this:<br class=""><br class="">---&gt; &nbsp;Computing dependencies for p5.16-tree-dag_node<br class="">---&gt; &nbsp;Dependencies to be installed: p5.16-file-slurp-tiny p5.16-pathtools<br class="">p5.16-test-pod p5.16-pod-simple p5.16-pod-escapes p5.16-test-simple<br class="">---&gt; &nbsp;Configuring p5.16-file-slurp-tiny<br class="">Error: org.macports.configure for port p5.16-file-slurp-tiny returned:<br class="">configure failure: command execution failed<br class="">Error: Failed to install p5.16-file-slurp-tiny<br class="">Please see the log file for port p5.16-file-slurp-tiny for details:<br class=""><br class="">/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-file-slurp-tiny/p5.16-file-slurp-tiny/main.log<br class="">Error: The following dependencies were not installed: p5.16-file-slurp-tiny<br class="">p5.16-pathtools p5.16-test-pod p5.16-pod-simple p5.16-pod-escapes<br class="">p5.16-test-simple<br class="">---&gt; &nbsp;Computing dependencies for p5.16-uri<br class="">---&gt; &nbsp;Dependencies to be installed: p5.16-mime-base64<br class="">Error: Requested variants "" do not match those the build was started with:<br class="">"+universal".<br class="">Error: Please use the same variants again, or run 'port clean<br class="">p5.16-mime-base64' first to remove the existing partially completed build.<br class="">Error: Failed to install p5.16-mime-base64<br class="">Please see the log file for port p5.16-mime-base64 for details:<br class=""><br class="">/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-mime-base64/p5.16-mime-base64/main.log<br class="">Error: The following dependencies were not installed: p5.16-mime-base64<br class="">can't create directory<br class="">"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version":<br class="">permission denied<br class=""> &nbsp;&nbsp;&nbsp;while executing<br class="">"file mkdir $workpath/.home"<br class=""> &nbsp;&nbsp;&nbsp;(procedure "open_statefile" line 29)<br class=""> &nbsp;&nbsp;&nbsp;invoked from within<br class="">"open_statefile"<br class=""> &nbsp;&nbsp;&nbsp;(procedure "check_variants" line 29)<br class=""> &nbsp;&nbsp;&nbsp;invoked from within<br class="">"check_variants activate"<br class=""> &nbsp;&nbsp;&nbsp;invoked from within<br class="">"$workername eval check_variants $target"<br class=""> &nbsp;&nbsp;&nbsp;(procedure "mportexec" line 7)<br class=""> &nbsp;&nbsp;&nbsp;invoked from within<br class="">"mportexec $workername $install_target"<br class="">Unable to execute target 'install' for port 'p5.16-version': can't create<br class="">directory<br class="">"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version":<br class="">permission denied<br class=""> &nbsp;&nbsp;&nbsp;while executing<br class="">"install_ports $operationList"<br class=""> &nbsp;&nbsp;&nbsp;(file "./restore_ports.tcl" line 287)<br class=""><br class=""><br class="">It seems that there is an issue about having both perl 5.16 and 5.22 active?<br class="">I have tried to manually install each, but can’t seem to get both to be<br class="">active, even though I had them both active before.<br class=""><br class="">I also tried this without making any progress:<br class=""><br class="">sudo port deactivate perl5.16 +universal<br class="">---&gt; &nbsp;Deactivating perl5.16 @5.16.3_1+universal<br class="">---&gt; &nbsp;Unable to deactivate perl5.16 @5.16.3_1+universal, the following ports<br class="">depend on it:<br class="">---&gt; &nbsp;net-snmp @5.7.3_1+ssl<br class="">Error: org.macports.deactivate for port perl5.16 returned: Please uninstall<br class="">the ports that depend on perl5.16 first.<br class="">Please see the log file for port perl5.16 for details:<br class=""><br class="">/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_perl5.16-5.16.3_1_1cffbdcc6ccb33bf8a69420c60d75162483a2dfc65a0f3c0b064fad1411ae7a6-9816/perl5.16/main.log<br class="">Warning: Failed to execute portfile from registry for perl5.16<br class="">@5.16.3_1+universal<br class="">---&gt; &nbsp;Deactivating perl5.16 @5.16.3_1+universal<br class="">---&gt; &nbsp;Unable to deactivate perl5.16 @5.16.3_1+universal, the following ports<br class="">depend on it:<br class="">---&gt; &nbsp;net-snmp @5.7.3_1+ssl<br class="">Error: port deactivate failed: Please uninstall the ports that depend on<br class="">perl5.16 first.<br class="">adershowitzMBP15:Fink Ports etc adershowitz$ sudo port install perl5.22<br class="">+universal<br class="">---&gt; &nbsp;Computing dependencies for perl5.22<br class="">---&gt; &nbsp;Activating perl5.22 @5.22.1_0+universal<br class="">Error: org.macports.activate for port perl5.22 returned: Image error:<br class="">/opt/local/bin/c2ph-5.22 is being used by the active perl5.16 port. &nbsp;Please<br class="">deactivate this port first, or use 'port -f activate perl5.22' to force the<br class="">activation.<br class="">Please see the log file for port perl5.22 for details:<br class=""><br class="">/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.22/main.log<br class="">To report a bug, follow the instructions in the guide:<br class=""> &nbsp;&nbsp;&nbsp;<a href="http://guide.macports.org/#project.tickets" class="">http://guide.macports.org/#project.tickets</a><br class="">Error: Processing of port perl5.22 failed<br class=""><br class="">Is there some easy way to work around this? &nbsp;Would it be a good idea to<br class="">remove all my perl libraries from requested.txt then rerun the script?<br class="">Would it then correctly figure out what else has to be installed?<br class="">I do see that requested.txt has this as well &nbsp;&nbsp;ossp-uuid @1.6.2_4+perl5_16<br class="">(active) platform='darwin 14' archs=‘x86_64’<br class="">So, for some reason it has the 5_16 variant (again, this was installed as a<br class="">dependent, so I’m not sure what installed it that way).<br class="">And it looks like net-snmp depends on perl 5.16.<br class=""><br class="">So, how can I get things cleaned up around this perl issue? &nbsp;It looks like<br class="">most other ports installed fine, before getting to perl and perl libraries.<br class=""><br class="">--Adam<br class=""></blockquote></div></div></blockquote></div><br class=""></body></html>