[MacPorts] #35320: is impossible to install the ghc port
#35320: is impossible to install the ghc port -----------------------------------+---------------------------------------- Reporter: fmgolmedo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: ghc, perl5.8 | Port: ghc -----------------------------------+---------------------------------------- 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? -- Ticket URL: <https://trac.macports.org/ticket/35320> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 -----------------------------------+---------------------------------------- Comment(by fmgolmedo@…): I'll do what you say, as I understand. The schedule is as follows: $ Sudo port clean perl5.8 and then $ Sudo port install perl5.8 The dialogue that I get is: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% imac-de-francisco-miguel-garcia-olmedo:~ fmgo$ sudo port clean perl5.8 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 macports auto-discover the correct path. ---> Cleaning perl5.8 imac-de-francisco-miguel-garcia-olmedo:~ fmgo$ sudo port install perl5.8 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 macports auto-discover the correct path. ---> Fetching archive for perl5.8 ---> Attempting to fetch perl5.8-5.8.9_8.darwin_12.x86_64.tbz2 from http://packages.macports.org/perl5.8 ---> Fetching distfiles for perl5.8 ---> Verifying checksum(s) for perl5.8 ---> Extracting perl5.8 ---> Applying patches to perl5.8 ---> Configuring perl5.8 ---> Building perl5.8 Error: org.macports.build for port perl5.8 returned: command execution failed Please see the log file for port perl5.8 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/perl5.8/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port perl5.8 failed imac-de-francisco-miguel-garcia-olmedo:~ fmgo$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Unfortunately the process fails again. I have added above (I'm not sure where) the "main.log" Thank you very much for your attention -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by macsforever2000@…): Please use WikiFormatting so your posts are readable. You need to attach the main.log to this ticket so we can see what the problem is. You should at least fix the warning mentioned in the output. Why did you change that? {{{ 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. }}} -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by macports8@…): Same problem here (upgraded to ML and installed XCode 4.4): {{{ hannes-mbp:~ Hannes$ sudo port clean perl5.8 ---> Cleaning perl5.8 hannes-mbp:~ Hannes$ sudo port upgrade perl5.8 ---> Fetching archive for perl5.8 ---> Attempting to fetch perl5.8-5.8.9_8.darwin_12.x86_64.tbz2 from http://packages.macports.org/perl5.8 ---> Fetching distfiles for perl5.8 ---> Verifying checksum(s) for perl5.8 ---> Extracting perl5.8 ---> Applying patches to perl5.8 ---> Configuring perl5.8 ---> Building perl5.8 Error: org.macports.build for port perl5.8 returned: command execution failed Please see the log file for port perl5.8 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/perl5.8/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets hannes-mbp:~ Hannes$ }}} I will attach my main.log.
You should at least fix the warning mentioned in the output. Why did you change that?
I think XCode 4.4 installs into /Applications, my previous version of XCode was installed in /Developer. After the upgrade that directory was gone, leaving developer_dir in macports.conf pointing at a non-existing directory. I fixed the warning by changing developer_dir from /Developer to /Applications. -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by fmgolmedo@…): Replying to [comment:3 macsforever2000@…]:
Please use WikiFormatting so your posts are readable.
You need to attach the main.log to this ticket so we can see what the problem is.
You should at least fix the warning mentioned in the output. Why did you change that? {{{ 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. }}}
I apologize sincerely for my inexperience. I'll do what you say, as I understand. The schedule is as follows: {{{ $ sudo port clean perl5.8 }}} and then {{{ $ sudo port install perl5.8 }}} The dialogue that I get is: {{{ imac-of-my-name:~ my_user$ sudo port clean perl5.8 ---> Cleaning perl5.8 imac-of-my-name:~ my_user$ sudo port install perl5.8 ---> Fetching archive for perl5.8 ---> Attempting to fetch perl5.8-5.8.9_8.darwin_12.x86_64.tbz2 from http://packages.macports.org/perl5.8 ---> Fetching distfiles for perl5.8 ---> Verifying checksum(s) for perl5.8 ---> Extracting perl5.8 ---> Applying patches to perl5.8 ---> Configuring perl5.8 ---> Building perl5.8 Error: org.macports.build for port perl5.8 returned: command execution failed Please see the log file for port perl5.8 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/perl5.8/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port perl5.8 failed imac-of-my-name:~ my_user$ }}} Unfortunately the process fails again. I will add the main.log after several failed attempts. Thank you very much for the patience. -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by chris.ruddell@…): I also have this problem. I upgraded to ML, installed Xcode 4.4 and then command line tools, and then did a selfupdate/port upgrade outdated. I was able to upgrade everything but perl. -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by ezra.story@…): Looks like a true bug in perl5.8. I figured it might have been clang which was the issue, but switching to llvm-gcc-4.2 didn't do the trick, not did trying apple-gcc42. There's source code there doing the equivalent of &(':') which is basically illegal in C (taking the address of an lvalue). Is macports getting an "in-between" version of perl5.8? -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by jed@…): I have had the same issue attempting to install and configure PHP extensions. Apparently something in MacPorts requires perl 5.8 which isn't even a recent version. Please let me know when this has been fixed. I am not sure if adding a comment to this ticket is appropriate but definitely want support to realize this is an issue that is in all likelihood affecting many users. -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by mikesmithso@…): Any traction on this issue? -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by chris.ruddell@…): not that I've heard - I'm still waiting for a solution to upgrade perl -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by fdmembership@…): Cc Me! -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by jdlong@…): CC me... same issue on Mountain Lion -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by fmgolmedo@…): Today Apple has offered an update to Xcode, fixing some problems. Unfortunately this has not fixed our problem on Perl5.8, which remains the same. Is there any hope in the short term? Best Regards -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by cal@…): Replying to [comment:4 macports8@…]:
I think XCode 4.4 installs into /Applications, my previous version of XCode was installed in /Developer. After the upgrade that directory was gone, leaving developer_dir in macports.conf pointing at a non-existing directory. I fixed the warning by changing developer_dir from /Developer to /Applications.
Please do not point `developer_dir` to arbitrary locations. `/Applications` is not a valid value for `developer_dir`. Instead, just comment the setting which will instruct MacPorts to auto-discover the correct path. -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:26> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by eric.lebihen@…): I have been able to build perl5.8 under OSX Lion Moutain Darwin 12, by applying the following patch (see #30032) But still ghc did not build... -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:27> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by mikesmithso@…): Replying to [comment:27 eric.lebihen@…]:
I have been able to build perl5.8 under OSX Lion Moutain Darwin 12, by applying the following patch (see #30032)
But still ghc did not build...
confirmed this behavior as well. Unfortunately, after searching through the tickets for ghc-related issues, it looks like the maintainer of this port has abandoned ghc. Maybe I should revert back to Lion? Mountain Lion seems to be a train wreck..... -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:28> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35320: perl5.8 build failed ------------------------------------+--------------------------------------- Reporter: fmgolmedo@… | Owner: ricci@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: duplicate | Keywords: mountainlion Port: perl5.8 | ------------------------------------+--------------------------------------- Changes (by cal@…): * status: new => closed * resolution: => duplicate Comment: There will be an update to the ghc port to 7.4.2 soon. See #25558. Duplicate of #30032, which has a patch. -- Ticket URL: <https://trac.macports.org/ticket/35320#comment:30> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts