Perl 5.12 upgrade fails
Puneet Kishor
punk.kish at gmail.com
Mon May 6 15:27:26 PDT 2013
Thanks Derek, but sadly it seems I have entered the circle of dependency hell. Trying to deactivate libstdcxx produces the following messages
----
| ~ @ punkish (punkish)
| => sudo port deactivate libstdcxx
Password:
---> Deactivating libstdcxx @4.7.1_101
---> Unable to deactivate libstdcxx @4.7.1_101, the following ports depend on it:
---> gcc44 @4.4.7_6
---> gcc43 @4.3.6_7
Error: org.macports.deactivate for port libstdcxx returned: Please uninstall the ports that depend on libstdcxx first.
Please see the log file for port libstdcxx for details:
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_libstdcxx_4.7.1_101/libstdcxx/main.log
Warning: Failed to execute portfile from registry for libstdcxx @4.7.1_101
---> Deactivating libstdcxx @4.7.1_101
---> Unable to deactivate libstdcxx @4.7.1_101, the following ports depend on it:
---> gcc44 @4.4.7_6
---> gcc43 @4.3.6_7
Error: port deactivate failed: Please uninstall the ports that depend on libstdcxx first.
________________________________________________________________________________
| ~ @ punkish (punkish)
| =>
----
As of now, the following ports on my machine are outdated
| => port outdated
The following installed ports are outdated:
apache2 2.2.23_0 < 2.2.24_0
git-core 1.8.1.3_0 < 1.8.2.2_0
glib2 2.34.3_0 < 2.36.1_0
gnuplot 4.6.1_1 < 4.6.3_0
gobject-introspection 1.34.2_0 < 1.36.0_0
harfbuzz 0.9.12_0 < 0.9.16_0
libstdcxx 4.7.1_101 < 4.8-20130411_0
llvm-3.0 3.0_11 < 3.0_12
p5.14-extutils-f77 1.160.0_3 < 1.170.0_0
perl5.12 5.12.4_1 < 5.12.4_2
php5 5.3.21_0 < 5.3.23_0
php5-mysql 5.3.21_0 < 5.3.23_0
php5-postgresql 5.3.21_0 < 5.3.23_0
postgis 1.5.5_0 < 1.5.8_0
postgresql91 9.1.8_0 < 9.1.9_0
postgresql91-server 9.1.8_0 < 9.1.9_0
R 2.15.2_2 < 3.0.0_0
And I can't upgrade most of the above because of Perl 5.12.
On May 6, 2013, at 3:16 PM, Derek Lamb <derek at boulder.swri.edu> wrote:
> Hi Puneet,
>
> There were several reports of Perl upgrade issues last month. Search "Perl" at https://lists.macosforge.org/pipermail/macports-users/2013-April/thread.html. There are links to several tickets there. The quick answer may be to deactivate libstdcxx, upgrade perl5.12, then activate libstdcxx. I believe the perl5.12 port is universal but libstdcxx is not (or the other way around).
>
> Derek
>
> On May 6, 2013, at 4:11 PM, Puneet Kishor wrote:
>
>> Interestingly, the following works
>>
>> sudo port clean perl5.12
>> sudo port install perl5.12
>>
>> But then all other ports that depend on it stop with the message
>>
>> Error: Requested variants "+universal" do not match original selection "".
>> Please use the same variants again, perform 'port clean perl5.12' or specify the force option (-f).
>> Error: Unable to upgrade port: 1
>> To report a bug, follow the instructions in the guide:
>> http://guide.macports.org/#project.tickets
>>
>> If I do another `sudo port clean perl5.12` and then try to install the other ports, I am back to square one as they fail to upgrade perl5.12.
>>
>>
>> On May 6, 2013, at 3:00 PM, Puneet Kishor <punk.kish at gmail.com> wrote:
>>
>>> Greetings, several ports fail to upgrade because Perl 5.12 is failing to upgrade. The last half of the log file is as below. Suggestions?
>>>
>>> ----
>>> :msg:main ---> Computing dependencies for perl5.12:info:main .:debug:main perl5.12 has no conflicts
>>> :debug:main Searching for dependency: gdbm
>>> :debug:main Found Dependency: receipt exists for gdbm
>>> :msg:main
>>> :debug:main Executing org.macports.main (perl5.12)
>>> :debug:main changing euid/egid - current euid: 0 - current egid: 0
>>> :debug:main egid changed to: 501
>>> :debug:main euid changed to: 502
>>> :debug:main Skipping completed org.macports.archivefetch (perl5.12)
>>> :debug:main Privilege de-escalation not attempted as not running as root.
>>> :debug:main Skipping completed org.macports.fetch (perl5.12)
>>> :debug:main Privilege de-escalation not attempted as not running as root.
>>> :debug:main Skipping completed org.macports.checksum (perl5.12)
>>> :debug:main Privilege de-escalation not attempted as not running as root.
>>> :debug:main Skipping completed org.macports.extract (perl5.12)
>>> :debug:main Privilege de-escalation not attempted as not running as root.
>>> :debug:main Skipping completed org.macports.patch (perl5.12)
>>> :debug:main Privilege de-escalation not attempted as not running as root.
>>> :debug:main Skipping completed org.macports.configure (perl5.12)
>>> :debug:main Privilege de-escalation not attempted as not running as root.
>>> :debug:build build phase started at Mon May 6 14:55:30 PDT 2013
>>> :notice:build ---> Building perl5.12
>>> :debug:build Executing org.macports.build (perl5.12)
>>> :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
>>> :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.4" && /usr/bin/make -j8 -w all'
>>> :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.4" && /usr/bin/make -j8 -w all
>>> :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.4'
>>> :info:build make: *** No rule to make target `/opt/local/include/mach/machine.h', needed by `miniperlmain.o'. Stop.
>>> :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.4'
>>> :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/work/perl-5.12.4" && /usr/bin/make -j8 -w all
>>> :info:build Exit code: 2
>>> :error:build org.macports.build for port perl5.12 returned: command execution failed
>>> :debug:build Error code: CHILDSTATUS 47845 2
>>> :debug:build Backtrace: command execution failed
>>> while executing
>>> "system -nice 0 $fullcmdstring"
>>> ("eval" body line 1)
>>> invoked from within
>>> "eval system $notty $nice \$fullcmdstring"
>>> invoked from within
>>> "command_exec build"
>>> (procedure "portbuild::build_main" line 8)
>>> invoked from within
>>> "$procedure $targetname"
>>> :info:build Warning: targets not executed for perl5.12: org.macports.install org.macports.build org.macports.destroot
>>> :notice:build Please see the log file for port perl5.12 for details:
>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.12/perl5.12/main.log
>>> (END)
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-users
>>
>
More information about the macports-users
mailing list