Re: How to expand environment variable in compilation command?
Thomas Leonard <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <CAG4opy_z9ceVgvX5jT_7ieC-DCPD9m4v5cEzigSoA+tMEibQTA@mail.gmail.com> |
On 9 September 2015 at 14:27, Ilja Honkonen <[email protected]> wrote: >> <runner interface='http://repo.roscidus.com/utils/bash'> >> <arg>-c</arg> >> <arg>"$$@"</arg> >> <arg>-</arg> >> </runner> >> <arg>c++</arg> >> <arg>${SRCDIR}/test.cpp</arg> > > Seems there's a certificate problem: > > Plan: > > - test: Compile 0.2 (.) > - boost: Use existing binary 1.59.0 (Darwin-x86_64) > > No dependencies need compiling... compile test itself... > [https://downloads.sourceforge.net/project/win-bash/win-bash/0.6/win-bash_0_6.zip] > WARNING:0install:Error downloading > https://downloads.sourceforge.net/project/win-bash/win-bash/0.6/win-bash_0_6.zip: > <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify > failed (_ssl.c:590)>: trying archive mirror at > http://roscidus.com/0mirror/archive/https%3A%23%23downloads.sourceforge.net%23project%23win-bash%23win-bash%230.6%23win-bash_0_6.zip > [https://downloads.sourceforge.net/project/win-bash/win-bash/0.6/win-bash_0_6.zip > 0%] WARNING:0install:Error downloading > http://roscidus.com/0mirror/archive/https%3A%23%23downloads.sourceforge.net%23project%23win-bash%23win-bash%230.6%23win-bash_0_6.zip: > HTTP Error 404: Not Found (while trying mirror) > Error downloading > https://downloads.sourceforge.net/project/win-bash/win-bash/0.6/win-bash_0_6.zip: > <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify > failed (_ssl.c:590)> According to https://github.com/0install/0install/blob/325fe3f101056f61f99322b658a6b4cd96752b5f/zeroinstall/injector/_download_child.py#L25 # Note: on MacOS X at least, it will also look in the system keychain provided that you supply *some* CAs. # (if you don't specify any trusted CAs, Python trusts everything!) # So, the "fallback" option doesn't necessarily mean that other sites won't work. Did something change here, or does OS X really not trust sourceforge.net? BTW, does "0install download --source a.xml" work with the OCaml version? If so, that would be another good reason to update 0compile to use it... > If I remove win-bash part I get: > Can't find all required implementations: > - /Users/iljah/0inst-test/bash.xml -> (problem) > No known implementations at all > > I'm on OSX and also have macports. I couldn't just give a path to runner > as 0install complained about a missing interface. > Ilja -- Dr Thomas Leonard http://roscidus.com/blog/ GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140