[R-pkg-devel] 'configure' exists but is not executable

Max Turgeon M@x@Turgeon @end|ng |rom um@n|tob@@c@
Mon Aug 26 16:09:36 CEST 2019


Hi Sebastian,


Have you tried adding a line in your `.travis.yml` file that changes the permissions for `configure`? Something like this:


before_install:
  - chmod +x configure


Max Turgeon
Assistant Professor
Department of Statistics
Department of Computer Science
University of Manitoba
maxturgeon.ca<http://maxturgeon.ca>


________________________________
From: R-package-devel <r-package-devel-bounces using r-project.org> on behalf of Sebastian Ankargren <sebastian.ankargren using statistik.uu.se>
Sent: August 26, 2019 8:47:02 AM
To: r-package-devel using r-project.org
Subject: [R-pkg-devel] 'configure' exists but is not executable

Dear package developers,

I have a package that is dependent upon Rcpp and RcppArmadillo and for this reason I use a configure file. On my local machine with:
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.3

�my package passes R CMD check. However, on Travis CI I get

* installing *source* package �mfbvar� ...
** using staged installation
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'

This despite the configure file being executable locally. Some of my attempts at fixing this include:
- chmod +x configure
- removing configure, committing/pushing, putting configure back and chmod +x configure before committing/pushing again to ensure the executable version is pushed
- creating a new configure from configure.ac using autoconf

All of my attempts have been unsuccessful and I�m a little bit puzzled why it doesn�t work on Travis. Does anyone have any suggestions? The failure is present both on Linux and OS X. I am not sure whether the issue is specific to Travis, but I have no other ways of testing it before submitting to CRAN.

Travis link: https://travis-ci.org/ankargren/mfbvar
Github link: https://github.com/ankargren/mfbvar

Appreciate any input you might have!

Best,

Sebastian








N�r du har kontakt med oss p� Uppsala universitet med e-post s� inneb�r det att vi behandlar dina personuppgifter. F�r att l�sa mer om hur vi g�r det kan du l�sa h�r: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel using r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list