Closed jwijffels closed 3 years ago
It is something that should be fixed in https://github.com/jeroen/autobrew/blob/master/opencv. I'll look into this asap.
I've got this note when trying to release R package image.textlinedetector to CRAN, which uses practically the same configure script as the one from opencv
* checking top-level files ... NOTE
‘configure’: ‘env bash’ is not portable as bash need not be installed
Yes BDR changed the rules again. You're no longer allowed to use bash, and now required to use backticks instead of $()
in configure scripts. I've fixed it here: https://github.com/ropensci/opencv/commit/7ddecfb369f38c0606afb0f1352a42c1b1ef7b41
Thanks. I'll try again with that new configure script.
OK let me know if it works :D
Got the following from the automatic CRAN test system
* checking top-level files ... NOTE
possible bashism in configure line 42 ($(OS|MACH)TYPE):
case "$OSTYPE" in "darwin"*)
possible bashism in configure line 50 (should be '.', not 'source'):
source autobrew
Ah right. One sec let me fix that
I pushed another update, can you try again?
That seems to have fixed it. No more issues related to the configure script. Thanks!
I'm using the same configure script in the R package image.textlinedetector https://github.com/DIGI-VUB/image.textlinedetector to use a limited set of facilities from opencv. Got this message from CRAN.
When looking at https://github.com/ropensci/opencv/blob/master/configure#L49 It points to the following code at https://github.com/jeroen/autobrew/blob/master/opencv
Is this something that can be fixed on https://github.com/jeroen/autobrew/blob/master/opencv or something that should be fixed on https://github.com/ropensci/opencv/blob/master/configure