[MacPorts] #35320: perl5.8 build failed (was: is impossible to install the ghc port)

MacPorts noreply at macports.org
Thu Jul 26 05:21:06 PDT 2012


#35320: perl5.8 build failed
-----------------------------------+----------------------------------------
 Reporter:  fmgolmedo@…            |       Owner:  ricci@…           
     Type:  defect                 |      Status:  new               
 Priority:  Normal                 |   Milestone:                    
Component:  ports                  |     Version:  2.1.1             
 Keywords:  mountainlion           |        Port:  perl5.8           
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

  * keywords:  ghc, perl5.8 => mountainlion
  * owner:  macports-tickets@… => ricci@…
  * port:  ghc => perl5.8


Old description:

> I upgraded my Mac OS X to version Mountain Lion. Then I installed "XCode
> 4.4" and "Command Line Tools". Then I ran the command
>
> sudo port upgrade outdated
>
> and all went well. Finally I wanted to add ghc via macport
>
> sudo port install ghc
>
> and then I found the dialogue suguiente
>
> Warning: Your developer_dir setting in macports.conf points to a non-
> existing directory. Since this is Known to cause problems, please correct
> the setting or comment it and let auto-discover macports the correct
> path.
> ---> Computing dependencies for ghc
> ---> To be installed Dependencies: perl5.8
> ---> Building perl5.8
> Error: perl5.8 port for org.macports.build returned: command execution
> failed
> Error: Failed to install perl5.8
> Please see the log file for perl5.8 port for details:
>
> Error: The following dependencies Were not installed: perl5.8
> To report a bug, follow the instructions in the guide:
>      http://guide.macports.org/ # project.tickets
> Error: Processing of port ghc failed
>
> I think the reason the problem is that ghc depends on perl5.8 and that
> this version of perl is no longer available.
>
> Can you fix this problem or tell me a solution?

New description:

 I upgraded my Mac OS X to version Mountain Lion. Then I installed "XCode
 4.4" and "Command Line Tools". Then I ran the command

 {{{
 sudo port upgrade outdated
 }}}

 and all went well. Finally I wanted to add ghc via macport

 {{{
 sudo port install ghc
 }}}

 and then I found the dialogue suguiente

 {{{
 Warning: Your developer_dir setting in macports.conf points to a non-
 existing directory. Since this is Known to cause problems, please correct
 the setting or comment it and let auto-discover macports the correct path.
 ---> Computing dependencies for ghc
 ---> To be installed Dependencies: perl5.8
 ---> Building perl5.8
 Error: perl5.8 port for org.macports.build returned: command execution
 failed
 Error: Failed to install perl5.8
 Please see the log file for perl5.8 port for details:

 Error: The following dependencies Were not installed: perl5.8
 To report a bug, follow the instructions in the guide:
      http://guide.macports.org/ # project.tickets
 Error: Processing of port ghc failed
 }}}

 I think the reason the problem is that ghc depends on perl5.8 and that
 this version of perl is no longer available.

 Can you fix this problem or tell me a solution?

--

Comment:

 Please remember to use WikiFormatting.

 Yes, ghc requires perl5.8, but that version is most certainly still
 available and should still work. Please attach the main.log file from the
 failed perl5.8 build so we can see what went wrong. However before you do
 so I can already see that you had not cleaned before trying the perl5.8
 build, so its results cannot be trusted. Please "sudo port clean perl5.8",
 then try again, then attach its main.log if it fails again.

-- 
Ticket URL: <https://trac.macports.org/ticket/35320#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list