Opened 11 years ago
Closed 9 years ago
#40073 closed defect (fixed)
R @3.0.1 build failure
Reported by: | hthakkar@… | Owned by: | kjellpk (Kjell Konis) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | brandon.zacharie@…, bigandevil@… | |
Port: | R |
Description (last modified by larryv (Lawrence Velázquez))
sudo port upgrade outdated ---> Computing dependencies for R ---> Building R Error: org.macports.build for port R returned: command execution failed Please see the log file for port R for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/main.log Error: Unable to upgrade port: 1
Attachments (5)
Change History (21)
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|
comment:3 Changed 11 years ago by larryv (Lawrence Velázquez)
This is not a clean log.
:debug:main Executing org.macports.main (R) :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 (R) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (R) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (R) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (R) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (R) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (R) :debug:main Privilege de-escalation not attempted as not running as root.
Please run exactly these commands…
% sudo port clean R % sudo port selfupdate % sudo port install R
…then attach the main.log upon failure.
comment:5 Changed 11 years ago by mf2k (Frank Schima)
That's not the right log. It appears to show the successful installation of libgcc.
comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Sometimes when dependencies need to be installed or upgraded the wrong port's log gets written to the file (#37093). Clean and try again and hopefully it'll write it correctly this time.
comment:7 Changed 11 years ago by hthakkar@…
Still the same thing re-did the commands again. Get the same message and the log entereies.
Replying to hthakkar@…:
sudo port upgrade outdated ---> Computing dependencies for R ---> Building R Error: org.macports.build for port R returned: command execution failed Please see the log file for port R for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/main.log Error: Unable to upgrade port: 1
comment:8 follow-up: 9 Changed 11 years ago by hthakkar@…
Still the same thing in spite of doing the
sudo port clean R sudo port selfupdate sudo port install R
comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to hthakkar@…:
Still the same thing in spite of doing the
sudo port clean R sudo port selfupdate sudo port install R
May we please have the main.log file that was created as a result of running those commands?
comment:11 Changed 11 years ago by brandon.zacharie@…
I'm having the same issue here. I've attached my log file in case that helps. FYI, I have R running perfectly on one machine. I installed some weeks ago. I did a port upgrade
last night with no issue. The log is from another machine that was fresh with no attempt to install R prior to last night. The difference between the two that stood out to me is that the first machine was using macport 2.1.x and the new machine 2.2.x at the time I tried to install R.
comment:13 Changed 11 years ago by mornel@…
Same problem here... but I've installed the older revision (106554) and it worked!
comment:14 Changed 10 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to kjell.konis@… |
---|---|
Summary: | port R reports break in Dependency while installing qemu → R @3.0.1 build failure |
First error in the log is
:info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:123:0, :info:build from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12, :info:build from qdCocoa.h:39, :info:build from qdCocoa.m:24: :info:build /System/Library/Frameworks/Foundation.framework/Headers/NSTask.h:69:24: error: expected identifier or '(' before '^' token
Is this still a problem with 3.1.2?
comment:15 follow-up: 16 Changed 10 years ago by kjellpk (Kjell Konis)
I think this problem was due to compiling the one objective C file in the R sources with mp gcc rather than the Apple provided compiler. Anyway, the R port now uses mp gcc (gfortran actually) to compile the fortran sources and the Apple provided compilers to compile everything else so I don't think this should be an issue any longer.
comment:16 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
You’ve provided literally no information. Please clean and try again and, if it fails, attach the main.log mentioned in the error message.