[MacPorts] #37647: R-framework depends on llvm-gcc42 but requires gfortran
MacPorts
noreply at macports.org
Tue Jan 15 18:08:51 PST 2013
#37647: R-framework depends on llvm-gcc42 but requires gfortran
--------------------------+---------------------------
Reporter: gnwiii@… | Owner: kjell.konis@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: R-framework |
--------------------------+---------------------------
Comment (by crossd@…):
Replying to [comment:6 kjell.konis@…]:
> crossd at ... can you be more specific about the problem you encountered? I
am able to build R-framework with gcc47 and install packages with out any
problems.
Certainly. Here's my system:
$ uname -a
Darwin foo.bar.net 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25
00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
$
Without calling configure.cflags-append with -DOS_OBJECT_USE_OBJC=0,
here's what I get:
$ sudo port build R-framework +gcc47
---> Computing dependencies for R-framework
---> Fetching distfiles for R-framework
---> Verifying checksum(s) for R-framework
---> Extracting R-framework
---> Configuring R-framework
---> Building R-framework
Error: org.macports.build for port R-framework returned: command execution
failed
Please see the log file for port R-framework for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_math_R-framework/R-framework/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port R-framework failed
$ cat
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_math_R-framework/R-framework/main.log
[...snip...]
:info:build making X11.d from X11.c
:info:build making Rembedded.d from Rembedded.c
:info:build making aqua.d from aqua.c
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_math_R-
framework/R-framework/work/R-2.15.2/src/unix'
:info:build make[3]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_math_R-
framework/R-framework/work/R-2.15.2/src/unix'
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c dynload.c -o
dynload.o
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c edit.c -o edit.o
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c stubs.c -o stubs.o
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c system.c -o system.o
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c sys-unix.c -o sys-
unix.o
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c sys-std.c -o sys-
std.o
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c X11.c -o X11.o
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c Rembedded.c -o
Rembedded.o
:info:build /opt/local/bin/gcc-mp-4.7 -std=gnu99 -I. -I../../src/include
-I../../src/include -I/opt/local/include/X11 -I/opt/local/include
-DHAVE_CONFIG_H -fopenmp -fPIC -pipe -O2 -m64 -c aqua.c -o aqua.o
:info:build In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5:0,
:info:build from /usr/include/os/object.h:74,
:info:build from /usr/include/dispatch/dispatch.h:48,
:info:build from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
:info:build from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
:info:build from
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:24,
:info:build from
../../src/include/R_ext/QuartzDevice.h:101,
:info:build from aqua.c:37:
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:409:1:
error: stray '@' in program
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:409:2:
error: unknown type name 'class'
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:411:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:412:44:
error: expected declaration specifiers or '...' before 'NSString'
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:414:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:415:43:
error: expected declaration specifiers or '...' before 'NSString'
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:417:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:418:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:422:30:
error: expected declaration specifiers or '...' before 'NSString'
:info:build
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:423:31:
error: expected declaration specifiers or '...' before 'NSString'
:info:build In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:0,
:info:build from /usr/include/os/object.h:74,
:info:build from /usr/include/dispatch/dispatch.h:48,
:info:build from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
:info:build from
/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
[...snip...]
Thanks!
--
Ticket URL: <https://trac.macports.org/ticket/37647#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list