<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="">I have been attempting to follow the full set of migration instructions, after upgrading to 10.11, but I have run into issue with perl stuff.<div class="">i have a bunch of perl libraries that were all installed as dependents of other ports. &nbsp;Before I uninstalled my ports I had</div><div class=""><br class=""></div><div class=""><div class="">&nbsp; perl5 @5.22.1_0+perl5_16 (active) platform='darwin 14' archs='noarch'</div><div class="">&nbsp; perl5.12 @5.12.5_0+universal platform='darwin 14' archs='i386 x86_64'</div><div class="">&nbsp; perl5.16 @5.16.3_1+universal (active) platform='darwin 14' archs='i386 x86_64'</div><div class="">&nbsp; perl5.22 @5.22.1_0+universal (active) platform='darwin 14' archs='i386 x86_64’</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">But, when I try to run restore_ports.tcl I get a bunch of errors related to perl libraries. &nbsp;The end of the attempt looked like this:</div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">---&gt; &nbsp;Computing dependencies for p5.16-tree-dag_node</div><div class="">---&gt; &nbsp;Dependencies to be installed: p5.16-file-slurp-tiny p5.16-pathtools p5.16-test-pod p5.16-pod-simple p5.16-pod-escapes p5.16-test-simple</div><div class="">---&gt; &nbsp;Configuring p5.16-file-slurp-tiny</div><div class="">Error: org.macports.configure for port p5.16-file-slurp-tiny returned: configure failure: command execution failed</div><div class="">Error: Failed to install p5.16-file-slurp-tiny</div><div class="">Please see the log file for port p5.16-file-slurp-tiny for details:</div><div class="">&nbsp; &nbsp; /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</div><div class="">Error: The following dependencies were not installed: p5.16-file-slurp-tiny p5.16-pathtools p5.16-test-pod p5.16-pod-simple p5.16-pod-escapes p5.16-test-simple</div><div class="">---&gt; &nbsp;Computing dependencies for p5.16-uri</div><div class="">---&gt; &nbsp;Dependencies to be installed: p5.16-mime-base64</div><div class="">Error: Requested variants "" do not match those the build was started with: "+universal".</div><div class="">Error: Please use the same variants again, or run 'port clean p5.16-mime-base64' first to remove the existing partially completed build.</div><div class="">Error: Failed to install p5.16-mime-base64</div><div class="">Please see the log file for port p5.16-mime-base64 for details:</div><div class="">&nbsp; &nbsp; /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</div><div class="">Error: The following dependencies were not installed: p5.16-mime-base64</div><div class="">can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version": permission denied</div><div class="">&nbsp; &nbsp; while executing</div><div class="">"file mkdir $workpath/.home"</div><div class="">&nbsp; &nbsp; (procedure "open_statefile" line 29)</div><div class="">&nbsp; &nbsp; invoked from within</div><div class="">"open_statefile"</div><div class="">&nbsp; &nbsp; (procedure "check_variants" line 29)</div><div class="">&nbsp; &nbsp; invoked from within</div><div class="">"check_variants activate"</div><div class="">&nbsp; &nbsp; invoked from within</div><div class="">"$workername eval check_variants $target"</div><div class="">&nbsp; &nbsp; (procedure "mportexec" line 7)</div><div class="">&nbsp; &nbsp; invoked from within</div><div class="">"mportexec $workername $install_target"</div><div class="">Unable to execute target 'install' for port 'p5.16-version': can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version": permission denied</div><div class="">&nbsp; &nbsp; while executing</div><div class="">"install_ports $operationList"</div><div class="">&nbsp; &nbsp; (file "./restore_ports.tcl" line 287)</div></blockquote></div></div><div class=""><br class=""></div><div class="">It seems that there is an issue about having both perl 5.16 and 5.22 active? &nbsp;I have tried to manually install each, but can’t seem to get both to be active, even though I had them both active before. &nbsp;</div><div class=""><br class=""></div><div class="">I also tried this without making any progress:</div><div class=""><blockquote type="cite" class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">sudo port deactivate perl5.16 +universal</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Deactivating perl5.16 @5.16.3_1+universal</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Unable to deactivate perl5.16 @5.16.3_1+universal, the following ports depend on it:</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; <span class="Apple-tab-span" style="white-space:pre">        </span>net-snmp @5.7.3_1+ssl</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Error: org.macports.deactivate for port perl5.16 returned: Please uninstall the ports that depend on perl5.16 first.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Please see the log file for port perl5.16 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_registry_portfiles_perl5.16-5.16.3_1_1cffbdcc6ccb33bf8a69420c60d75162483a2dfc65a0f3c0b064fad1411ae7a6-9816/perl5.16/main.log</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Warning: Failed to execute portfile from registry for perl5.16 @5.16.3_1+universal</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Deactivating perl5.16 @5.16.3_1+universal</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; Unable to deactivate perl5.16 @5.16.3_1+universal, the following ports depend on it:</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">---&gt;&nbsp; <span class="Apple-tab-span" style="white-space:pre">        </span>net-snmp @5.7.3_1+ssl</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Error: port deactivate failed: Please uninstall the ports that depend on perl5.16 first.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">adershowitzMBP15:Fink Ports etc adershowitz$ 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; 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></blockquote></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Is there some easy way to work around this? &nbsp;Would it be a good idea to remove all my perl libraries from requested.txt then rerun the script? &nbsp;Would it then correctly figure out what else has to be installed? &nbsp;</div><div class="">I do see that requested.txt has this as well &nbsp; ossp-uuid @1.6.2_4+perl5_16 (active) platform='darwin 14' archs=‘x86_64’&nbsp;</div><div class="">So, for some reason it has the 5_16 variant (again, this was installed as a dependent, so I’m not sure what installed it that way). &nbsp;</div><div class=""><div class=""><div class="">And it looks like net-snmp depends on perl 5.16.</div></div><div class=""><br class=""></div><div class="">So, how can I get things cleaned up around this perl issue? &nbsp;It looks like most other ports installed fine, before getting to perl and perl libraries.</div><div class="">
<div class=""><br class="khtml-block-placeholder"></div><div class="">--Adam</div><div class=""><br class="khtml-block-placeholder"></div><div class=""><br class="khtml-block-placeholder"></div>

</div>
<br class=""></div></body></html>