Opened 12 years ago
Closed 12 years ago
#35320 closed defect (duplicate)
perl5.8 build failed
Reported by: | fmgolmedo@… | Owned by: | ghosthound |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | mountainlion | Cc: | maehne (Torsten Maehne), jowens@…, whcordis@…, chris.ruddell@…, lemieud@…, mikesmithso@…, jean-philippe.humbert@…, hobbut@…, fdmembership@…, m.takahashi.public@…, mina.macports@…, normann@…, eric.lebihen@… |
Port: | perl5.8 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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?
Attachments (6)
Change History (36)
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | mountainlion added; ghc perl5.8 removed |
Owner: | changed from macports-tickets@… to ricci@… |
Port: | perl5.8 added; ghc removed |
Summary: | is impossible to install the ghc port → perl5.8 build failed |
Changed 12 years ago by fmgolmedo@…
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/perl5.8/main.log
comment:2 Changed 12 years ago 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:
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
comment:3 follow-ups: 4 5 Changed 12 years ago by mf2k (Frank Schima)
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.
comment:4 follow-up: 26 Changed 12 years ago 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.
Changed 12 years ago by macports8@…
Attachment: | main.2.log added |
---|
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/perl5.8/main.log
Changed 12 years ago by fmgolmedo@…
Attachment: | main_my_user.log added |
---|
Changed 12 years ago by fmgolmedo@…
Attachment: | main_my_user.2.log added |
---|
comment:5 Changed 12 years ago by fmgolmedo@…
Replying to 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.
comment:6 Changed 12 years ago 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.
Changed 12 years ago by chris.ruddell@…
Attachment: | main.4.log added |
---|
error log for upgrading perl5.8
comment:9 Changed 12 years ago 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?
comment:11 Changed 12 years ago 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.
comment:17 follow-up: 25 Changed 12 years ago by chris.ruddell@…
not that I've heard - I'm still waiting for a solution to upgrade perl
comment:25 Changed 12 years ago 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
comment:26 Changed 12 years ago by neverpanic (Clemens Lang)
Replying to 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.
comment:27 follow-up: 28 Changed 12 years ago 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...
comment:28 Changed 12 years ago by mikesmithso@…
Replying to 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.....
comment:30 Changed 12 years ago by neverpanic (Clemens Lang)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
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.