Perl 5.12 upgrade fails
Derek Lamb
derek at boulder.swri.edu
Mon May 6 15:16:06 PDT 2013
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