Skip to content

configure script fails quietly when calling "wget http...". Worked when changing to "wget https..." #2326

@pvo93

Description

@pvo93

This is an issue template made by the developers of ArchR. You MUST follow these instructions.

Questions related to how to use ArchR or requests for new features should be posted in the Discussions forum (https://github.com/GreenleafLab/ArchR/discussions).

Before you submit this Bug Report please update ArchR to the latest stable version and make sure that this issue has not already been fixed in the latest release. ArchR is still in active development and we will fix problems as they arise. To update ArchR:

devtools::install_github("GreenleafLab/ArchR", ref="master", repos = BiocManager::repositories())

If your issue persists, then please submit this bug report.

PLEASE FILL OUT THE RELEVANT INFORMATION AND DELETE THE UNUSED PORTIONS OF THIS ISSUE TEMPLATE.

Attach your log file
N/A

Describe the bug
This is a personal GitHub account, but I work for the Mayo Clinic. I install and maintain the R packages in our high performance, shared Google Cloud Project research computing environment. Our GCP administrators will not whitelist http url's, only https. When I attempt to install ArchR, I get the following.

Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L, :
storing paths of more than 100 bytes is not portable:
‘ArchR/.github/ISSUE_TEMPLATE/bug-error-report---no-usage-questions---feature-requests--use-discussions--.md’
Warning: file 'ArchR/configure' did not have execute permissions: corrected
Warning: invalid uid value replaced by that for user 'nobody'
Warning: invalid gid value replaced by that for user 'nobody'

Installing package into ‘/biotools/biotools/rpackages/R-4.5.1-2025-07-08’
(as ‘lib’ is unspecified)

  • installing source package ‘ArchR’ ...
    ** this is package ‘ArchR’ version ‘1.0.3’
    ** using staged installation
    ERROR: configuration failed for package ‘ArchR’
  • removing ‘/biotools/biotools/rpackages/R-4.5.1-2025-07-08/ArchR’
  • restoring previous ‘/biotools/biotools/rpackages/R-4.5.1-2025-07-08/ArchR’
    Warning messages:
    1: install_github() was deprecated in devtools 2.5.0.
    ℹ Please use pak::pak("user/repo") instead.
    This warning is displayed once per session.
    Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.
    2: In i.p(...) :
    installation of package ‘/tmp/RtmpaHzqL0/file349331519840b/ArchR_1.0.3.tar.gz’ had non-zero exit status

To Reproduce
This is the output of running the ArchR configure script manually on our system.

[ext_wa02042_mayo_edu@hn2 ArchR-1.0.3-bak]$ grep http configure
IP=$(curl --silent https://ipinfo.io/ip)
curl --silent -X POST https://plausible.io/api/event
--data '{"name":"pageview","url":"https://corceslab.com/archr-configure","domain":"corceslab.com"}' > /dev/null
[ext_wa02042_mayo_edu@hn2 ArchR-1.0.3-bak]$ cd ..
[ext_wa02042_mayo_edu@hn2 src]$ cd ArchR
[ext_wa02042_mayo_edu@hn2 ArchR]$ ./confire
-bash: ./confire: No such file or directory
[ext_wa02042_mayo_edu@hn2 ArchR]$ ./configure

<title>WSS Policy Denied</title>

Access to this url is not allowed by Web Security Services. The url has been identified as an unauthorized category.



[ext_wa02042_mayo_edu@hn2 ArchR]$ [ext_wa02042_mayo_edu@hn2 ArchR]$ [ext_wa02042_mayo_edu@hn2 ArchR]$ [ext_wa02042_mayo_edu@hn2 ArchR]$ [ext_wa02042_mayo_edu@hn2 ArchR]$ [ext_wa02042_mayo_edu@hn2 ArchR]$ ./configure <title>WSS Policy Denied</title>

Access to this url is not allowed by Web Security Services. The url has been identified as an unauthorized category.



Expected behavior
I got around the problem by changing the following line of code:

This is the configure script.

IP=$(curl --silent https://ipinfo.io/ip)

IP=170.85.54.176

curl --silent -X POST https://plausible.io/api/event
-H "X-Forwarded-For: $IP"
-H 'Content-Type: application/json'
--data '{"name":"pageview","url":"https://corceslab.com/archr-configure","domain":"corceslab.com"}'

The problem is the hardcoded IP address on the second line. 170.85.54.176 points to a http domain, then script fails quietly without propagating any error message back to the R session. I made the following change to the configure script and it works.

IP=$(curl --silent https://ipinfo.io/ip)

This is extremely difficult to track down and debug. Please revert the configure script to the version that doesn't hard the IP address.

ext_wa02042_mayo_edu@hn2 ArchR]$ diff configure ../ArchR-1.0.3-bak/configure
1,2c1
< # IP=$(curl --silent https://ipinfo.io/ip)
< IP=170.85.54.176

IP=$(curl --silent https://ipinfo.io/ip)
7,8c6
< --data '{"name":"pageview","url":"https://corceslab.com/archr-configure","domain":"corceslab.com"}'
<


--data '{"name":"pageview","url":"https://corceslab.com/archr-configure","domain":"corceslab.com"}' > /dev/null
[ext_wa02042_mayo_edu@hn2 ArchR]$ cat ../ArchR-1.0.3-bak/configure
IP=$(curl --silent https://ipinfo.io/ip)

curl --silent -X POST https://plausible.io/api/event
-H "X-Forwarded-For: $IP"
-H 'Content-Type: application/json'
--data '{"name":"pageview","url":"https://corceslab.com/archr-configure","domain":"corceslab.com"}' > /dev/null

Thank you for your prompt attention to this matter so we don't run into this problem again the next time we update ArchR

Thanks,
Patrick Votruba
Senior/Analyst Programmer
votruba.patrick@mayo.edu

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions