On Mon, 28 Apr 2014 20:55:18 -0400, Jack Howarth 
<howarth.at.f...@gmail.com> wrote:
> The r-base214 packaging seems to have test suite issues when built 
> against Xcode 5.1 on darwin12…
>
> Testing examples for package ‘utils’
> /sw/src/fink.build/r-base214-2.14.2-9/R-2.14.2/bin/BATCH: line 60: 
> 34097 Trace/BPT trap: 5       ${R_HOME}/bin/R -f ${in} ${opts} 
> ${R_BATCH_OPTIONS} > ${out} 2>&1
>  Error: testing 'utils' failed
> Execution halted

The failure appears to be due to an unresolved __pcre_valid_utf (or 
similarly  named) symbol in libR.dylib. The R library is trying to use 
a private  symbol in libpcre by guessing what it's called (and what its 
parameters  are) in various different libpcre versions, but our most 
recent libpcre dropped  that symbol altogether. Obviously a fragile 
situation to rely on  undocumented non-public content. 

One useful change we can make is to patch out the "-undefined  
dynamic_lookup" from the configure script. That flag causes undefined  
symbols to be ignored by the linker, leaving them to cause problems at  
runtime. By removing the flag, the linking itself fails right away  
rather than leaving a possibly mis-built library. 

> There are quite a few differences between the r-base214 and r-base215 
> info files so I am not sure what is the exact cause of the build 
> issue. However, since upstream no longer lists the 2.14.x series as 
> supported on their home page, we should just drop that package like 
> we did with r-base213. 

Looks like R now (as of 215) contains the actual internal pcre code it 
wants (copied from pcre's sources),  so it becomes insensitive to 
changes in libpcre's internals. compare  src/main/util.c around line 
2159, and see the new valid_utf.h file added  to support it. 

dan

  --
Daniel Macks
dma...@netspace.org



------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to