#18784: create rpy2 ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: rpy2 ------------------------------+--------------------------------------------- Attached is the Portfile as far as I could get: It needs some fixes. -- Ticket URL: <http://trac.macports.org/ticket/18784> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18784: create rpy2 ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.7.0 Keywords: | Port: rpy2 ------------------------------+--------------------------------------------- Changes (by blb@…): * cc: snc@… (removed) * cc: blb@… (added) Comment: The problem I ran into with rpy2 was that the libtool from R may be wrong in how it's using -dylib_file... -- Ticket URL: <http://trac.macports.org/ticket/18784#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18784: create rpy2 ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: rpy2 ------------------------------+--------------------------------------------- Comment(by blb@…): With the patch from #20222, I'm able to get this latest Portfile for rpy2 on python 2.6 working fine. -- Ticket URL: <http://trac.macports.org/ticket/18784#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18784: create rpy2 ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: rpy2 ------------------------------+--------------------------------------------- Comment(by snc@…): I just gave it another spin at building and got back `command 'ccache' failed`. Does R/Python work with ccache enabled in macports? -- Ticket URL: <http://trac.macports.org/ticket/18784#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18784: create rpy2 ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: rpy2 ------------------------------+--------------------------------------------- Comment(by snc@…): {{{ ccache /usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -I/opt/local/lib/R/include -Irpy/rinterface -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c rpy/rinterface/r_utils.c -o build/temp.macosx-10.5-i386-2.6/rpy/rinterface/r_utils.o ccache /usr/bin/gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DR_INTERFACE_PTRS=1 -DCSTACK_DEFNS=1 -DRIF_HAS_RSIGHAND=1 -I/opt/local/lib/R/include -Irpy/rinterface -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c rpy/rinterface/rinterface.c -o build/temp.macosx-10.5-i386-2.6/rpy/rinterface/rinterface.o In file included from rpy/rinterface/rinterface.c:70: /opt/local/lib/R/include/R_ext/Rdynload.h:26: warning: function declaration isn't a prototype rpy/rinterface/rinterface.c:104: warning: 'interrupt_R' defined but not used rpy/rinterface/rinterface.c:2676: warning: 'externalMethods' defined but not used ccache /usr/bin/gcc-4.0 -L/opt/local/lib -bundle -undefined dynamic_lookup build/temp.macosx-10.5-i386-2.6/rpy/rinterface/array.o build/temp.macosx-10.5-i386-2.6/rpy/rinterface/r_utils.o build/temp.macosx-10.5-i386-2.6/rpy/rinterface/rinterface.o -L/opt/local/lib/R/lib -L/opt/local/lib/R/modules -L/opt/local/lib/R/lib -L/opt/local/lib/R/modules -lR -o build/lib.macosx-10.5-i386-2.6/rpy2/rinterface/rinterface.so -L/opt/local/lib/R/lib -lR -dylib_file libRblas.dylib:/opt/local/lib/R/lib/libRblas.dylib -L/opt/local/lib/R/lib -lRlapack -L/opt/local/lib/R/lib -lRblas ld: library not found for -lR -dylib_file libRblas.dylib:/opt/local/lib/R/lib/libRblas.dylib collect2: ld returned 1 exit status error: command 'ccache' failed with exit status 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/18784#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18784: create rpy2 ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: rpy2 ------------------------------+--------------------------------------------- Comment(by blb@…): Replying to [comment:5 snc@…]:
I just gave it another spin at building and got back `command 'ccache' failed`.
Does R/Python work with ccache enabled in macports?
Sounds like it may not, try {{{ configure.ccache no }}} -- Ticket URL: <http://trac.macports.org/ticket/18784#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18784: create rpy2 ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: rpy2 ------------------------------+--------------------------------------------- Comment(by snc@…): Replying to [comment:7 snc@…]: I tried [comment:6 running it again] after changing the configure and doing a clean: Still no dice. I wonder if python26 needs to be recompiled without ccache. -- Ticket URL: <http://trac.macports.org/ticket/18784#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18784: create rpy2 -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: rpy2 | -------------------------------+-------------------------------------------- Changes (by snc@…): * status: new => closed * resolution: => fixed Comment: Created in r55961. -- Ticket URL: <http://trac.macports.org/ticket/18784#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts