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

Max Turgeon M@x@Turgeon @end|ng |rom um@n|tob@@c@
Mon Aug 26 17:21:49 CEST 2019


I'm glad to hear it worked. As for CRAN, I would assume they take care of permissions on their end somehow, I can't say for sure. But a certain number of packages use configure scripts (e.g. RcppArmadillo and RcppParallel), so if anything special is required, I would look at their respective Github repositories.


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


________________________________
From: Sebastian Ankargren <sebastian.ankargren using statistik.uu.se>
Sent: August 26, 2019 10:07:07 AM
To: Max Turgeon; r-package-devel using r-project.org
Subject: Re: 'configure' exists but is not executable

Dear Max,

That fixes the issue completely on Travis � thanks. However, it worries me a little that I might need something similar for the build on CRAN? Or should I simply just assume that this is an issue specific to Travis?

/Sebastian

On 26 Aug 2019, at 16:09, Max Turgeon <Max.Turgeon using umanitoba.ca<mailto:Max.Turgeon using umanitoba.ca>> wrote:

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<https://urlproxy.sunet.se/canit/urlproxy.php?_q=aHR0cDovL21heHR1cmdlb24uY2E%3D&_s=c2ViYXN0aWFuLmFua2FyZ3JlbkBzdGF0aXN0aWsudXUuc2U%3D&_c=2483e576&_r=dXUtc2U%3D>

________________________________
From: R-package-devel <r-package-devel-bounces using r-project.org<mailto:r-package-devel-bounces using r-project.org>> on behalf of Sebastian Ankargren <sebastian.ankargren using statistik.uu.se<mailto:sebastian.ankargren using statistik.uu.se>>
Sent: August 26, 2019 8:47:02 AM
To: r-package-devel using r-project.org<mailto: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<mailto: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