Opened 12 years ago

Closed 11 years ago

#2831 closed defect (fixed)

BUG: R-2.0.1

Reported by: strategygeek@… Owned by: konis@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:


The error seems straightforward, but AFAIK version 0.9.7 of open ssl is the only version currently available from DarwinPorts. I'm willing to hack this by hand, but some recommendations on the best way to do this in the DarwinPorts environment would be welcomed. The relevant output from the terminal follows. Thanks for your help.

---> Building R with target all Error: Target returned: shell command "cd "/Users/strategygeek/darwinports/dports/ math/R/work/R-2.0.1" && make all" returned error 2 Command output: gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include -I/opt/local/ include -DHAVE_CONFIG_H -fno-common -g -O2 -c nanohttp.c -o nanohttp.lo gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include -I/opt/local/include -DHAVE_CONFIG_H -fno-common -g -O2 -c sock.c -o sock.lo gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include -I/opt/local/include -DHAVE_CONFIG_H -fno-common -g -O2 -c sockconn.c -o sockconn.lo gcc -bundle -flat_namespace -undefined suppress -L/opt/local/lib -o Rsock.lo internet.lo nanoftp.lo nanohttp.lo sock.lo sockconn.lo ld: warning -prebind has no effect with -bundle making Lapack.d from Lapack.c gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include -I/opt/local/include -DHAVE_CONFIG_H -fno-common -g -O2 -c Lapack.c -o Lapack.lo gcc -bundle -flat_namespace -undefined suppress -L/opt/local/lib -o Lapack.lo -framework vecLib -L/opt/local/lib -L/opt/local/lib/gcc-lib/powerpc-apple-darwin7.8.0/3.3.3 -L/ opt/local/lib/gcc-lib/powerpc-apple-darwin7.8.0/3.3.3/../../.. -lfrtbegin -lg2c -lSystem -lreadline -lcc_dynamic -lncurses -lm ld: warning -prebind has no effect with -bundle making g_alab_her.d from g_alab_her.c making g_cntrlify.d from g_cntrlify.c making g_fontdb.d from g_fontdb.c making g_her_glyph.d from g_her_glyph.c gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include -I/opt/local/include -DHAVE_CONFIG_H -fno-common -g -O2 -c g_alab_her.c -o g_alab_her.lo gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include -I/opt/local/include -DHAVE_CONFIG_H -fno-common -g -O2 -c g_cntrlify.c -o g_cntrlify.lo gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include -I/opt/local/include -DHAVE_CONFIG_H -fno-common -g -O2 -c g_fontdb.c -o g_fontdb.lo gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include -I/opt/local/include -DHAVE_CONFIG_H -fno-common -g -O2 -c g_her_glyph.c -o g_her_glyph.lo gcc -bundle -flat_namespace -undefined suppress -L/opt/local/lib -o g_alab_her.lo g_cntrlify.lo g_fontdb.lo g_her_glyph.lo -lreadline -lcc_dynamic -lncurses -lm ld: warning -prebind has no effect with -bundle mkdir -p -- ../../library building system startup profile mkdir -p -- ../../../library/base/R building package 'base' mkdir -p -- ../../../library/base/demo mkdir -p -- ../../../library/base/man dyld: /Users/strategygeek/darwinports/dports/math/R/work/R-2.0.1/bin/exec/R version mismatch for library: /opt/local/lib/libssl.0.9.7.dylib (compatibility version of user: 0.9.7 greater than library's version: 0.9.0) make[3]: * [all] Error 133 make[2]: * [R] Error 1 make[1]: * [R] Error 1 make: * [R] Error 1

Attachments (1)

Portfile (1.5 KB) - added by konis@… 12 years ago.
R portfile with work around for openssl version mismatch.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by snu@…

  • Owner changed from darwinports-bugs@… to kjell.konis@…
  • Summary changed from R build fails due to ssl version mismatch to BUG: R-2.0.1

comment:2 Changed 12 years ago by toby@…

openssl needs its compatibility version fixed.

Changed 12 years ago by konis@…

R portfile with work around for openssl version mismatch.

comment:3 Changed 11 years ago by toby@…

Is this still relevant now that 2.1.1 has been committed?

comment:4 Changed 11 years ago by konis@…

The real problem here was that openssl had the wrong compatibility version. I haven't checked specifically but I'm pretty sure I have successfully built and installed the R port with openssl installed - this was how to trigger the bug. I'm going to be updating the R port to 2.2.0 when it gets released (beginning of October) and I'll check to make sure that this bug is fixed then.

comment:5 Changed 11 years ago by mww@…

  • Resolution set to fixed
  • Status changed from new to closed

R is meanwhile at version 2.2.0 - if this bug though still persists, please re-open this bug!

Note: See TracTickets for help on using tickets.