Luca, On 14 July 2012 at 11:48, Luca Falavigna wrote: | tags 679180 + patch | thanks | | | Passing "perl = TRUE" parameter to sub function seems enough to fix the problem:
Thank you __so much__ for digging through this! R comes with three regexp engines (three, as the count goes: old pre-POSIX, POSIX [ and both those from libc as I recall] plus pcre). Obviously the default is broken and switching to pcre helps. I am just a little worried that maybe we get a side effect on other systems. Shall we maybe protect this by an architecture test? What does this say on these arm* machines? R> Sys.info() sysname release version "Linux" "3.0.0-17-generic" "#30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012" nodename machine login "max" "x86_64" "unknown" user effective_user "edd" "edd" R> Sys.info()["machine"] machine "x86_64" On the other hand, the use inside the install should be fine ... Dirk | > mconf <- readLines(file.path(R.home(), | + paste0("etc", Sys.getenv("R_ARCH")), | + "Makeconf")) | > SHLIB_EXT <- sub(".*= ", "", grep("^SHLIB_EXT", mconf, value = TRUE), perl = TRUE) | > SHLIB_LIBADD <- sub(".*= ", "", grep("^SHLIB_LIBADD", mconf, value = TRUE), perl = TRUE) | > SHLIB_EXT | [1] ".so" | > SHLIB_LIBADD | [1] "" | | I'm attaching a patch, which hopefully should be OK as workaround for this bug. | xuntyped binary data, 679180.patch [Click mouse-2 t3483.633873483.633873483.63387o save to a file] -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org