New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #2831 (closed defect: fixed)

Opened 9 years ago

Last modified 8 years ago

BUG: R-2.0.1

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

Description

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 com.apple.build 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 internet.so 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.so 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 vfonts.so 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

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

Change History

comment:1 Changed 9 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 9 years ago by toby@…

openssl needs its compatibility version fixed.

Changed 9 years ago by konis@…

R portfile with work around for openssl version mismatch.

comment:3 Changed 9 years ago by toby@…

Is this still relevant now that 2.1.1 has been committed?

comment:4 Changed 9 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 8 years ago by mww@…

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

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.