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)

main.log (52.7 KB) - added by hthakkar@… 11 years ago.
R Log file
main.2.log (76.5 KB) - added by hthakkar@… 11 years ago.
Log fiile post commands
main.3.log (299.4 KB) - added by hthakkar@… 11 years ago.
main.log second revision
main.4.log (299.4 KB) - added by hthakkar@… 11 years ago.
main.log second revision
main.3.2.log (299.4 KB) - added by brandon.zacharie@… 11 years ago.
Brandon's main log

Download all attachments as: .zip

Change History (21)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)

You’ve provided literally no information. Please clean and try again and, if it fails, attach the main.log mentioned in the error message.

Changed 11 years ago by hthakkar@…

Attachment: main.log added

R Log file

comment:2 Changed 11 years ago by hthakkar@…

Log file attached for your reference.

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.

Changed 11 years ago by hthakkar@…

Attachment: main.2.log added

Log fiile post commands

comment:4 Changed 11 years ago by hthakkar@…

Hello Larry,

Post running the commands.

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 in reply to:  description 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 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
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:9 in reply to:  8 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?

Changed 11 years ago by hthakkar@…

Attachment: main.3.log added

main.log second revision

Changed 11 years ago by hthakkar@…

Attachment: main.4.log added

main.log second revision

Changed 11 years ago by brandon.zacharie@…

Attachment: main.3.2.log added

Brandon's main log

comment:10 Changed 11 years ago by brandon.zacharie@…

Cc: brandon.zacharie@… added

Cc Me!

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:12 Changed 11 years ago by bigandevil@…

Cc: bigandevil@… added

Cc Me!

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 9 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to kjell.konis@…
Summary: port R reports break in Dependency while installing qemuR @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 Changed 9 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 in reply to:  15 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to kjell.konis@…:

I don't think this should be an issue any longer.

Presumed fixed.

Note: See TracTickets for help on using tickets.