From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dennis Mungai Subject: bug#23055: wget within guix fails to resolve FQDNs when used as an input (native or otherwise) Date: Fri, 18 Mar 2016 21:04:46 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c036044172f4f052e5695fa Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agymh-0004kh-H9 for bug-guix@gnu.org; Fri, 18 Mar 2016 14:06:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agymg-0003KG-7m for bug-guix@gnu.org; Fri, 18 Mar 2016 14:06:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agymg-0003K9-4A for bug-guix@gnu.org; Fri, 18 Mar 2016 14:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1agymf-0007ax-SC for bug-guix@gnu.org; Fri, 18 Mar 2016 14:06:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agylV-0004cN-Bg for bug-guix@gnu.org; Fri, 18 Mar 2016 14:04:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agylT-0002pL-SN for bug-guix@gnu.org; Fri, 18 Mar 2016 14:04:49 -0400 Received: from mail-yw0-x231.google.com ([2607:f8b0:4002:c05::231]:35598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agylT-0002pD-N3 for bug-guix@gnu.org; Fri, 18 Mar 2016 14:04:47 -0400 Received: by mail-yw0-x231.google.com with SMTP id g127so148760366ywf.2 for ; Fri, 18 Mar 2016 11:04:47 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 23055@debbugs.gnu.org --94eb2c036044172f4f052e5695fa Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello there, I'm porting Arrayfire to GNU Guix, see https://github.com/Brainiarc7/guix-bioinformatics/blob/master/gn/packages/a= rrayfire.scm One of the inputs declared is wget, needed as a fall-back when fetching BoostCompute should the Cmake checksums fail. See the build log below: -- Boost version: 1.60.0 -- BoostCompute... -- getting https://github.com/boostorg/compute/archive/v0.5.tar.gz -- validating /tmp/nix-build-arrayfire-3.3.1.drv-0/build/third_party/compute-0.5.tar.gz CMake Warning at CMakeModules/build_boost_compute.cmake:47 (MESSAGE): /tmp/nix-build-arrayfire-3.3.1.drv-0/build/third_party/compute-0.5.tar.gz= : Invalid check sum d41d8cd98f00b204e9800998ecf8427e. Expected was 69a52598ac539d3b7f6005a3dd2b6f58 Call Stack (most recent call first): src/backend/opencl/CMakeLists.txt:91 (INCLUDE) -- Trying wget https://github.com/boostorg/compute/archive/v0.5.tar.gz --2016-03-18 17:38:55-- https://github.com/boostorg/compute/archive/v0.5.tar.gz Resolving github.com (github.com)... failed: Name or service not known. wget: unable to resolve host address =E2=80=98github.com=E2=80=99 CMake Error at CMakeModules/build_boost_compute.cmake:53 (MESSAGE): /tmp/nix-build-arrayfire-3.3.1.drv-0/build/third_party/compute-0.5.tar.gz= : Invalid check sum d41d8cd98f00b204e9800998ecf8427e. Expected was 69a52598ac539d3b7f6005a3dd2b6f58 Call Stack (most recent call first): src/backend/opencl/CMakeLists.txt:91 (INCLUDE) -- Configuring incomplete, errors occurred! See also "/tmp/nix-build-arrayfire-3.3.1.drv-0/build/CMakeFiles/CMakeOutput.log". phase `configure' failed after 2.8 seconds builder for `/gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv' failed with exit code 1 @ build-failed /gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv - 1 builder for `/gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv' failed As you can see in the first part, fetching BoostCompute fails because the specified MD5 hash fails, and as a result, the build system falls back to fetching the same with wget (see second snippet). The second part fails because wget fails to resolve the FQDN entry github.com. However, when invoking wget directly, both the local instalation and the Guix installation, the FQDN can be resolved correctly and the associated file fetched successfully: /gnu/store/w50mfvfzyjzpcbyw3lll7hm4j457jhb0-wget-1.17.1/bin/wget https://github.com/boostorg/compute/archive/v0.5.tar.gz Would this qualify as a bug filed against wget in Guix, or does the problem lie elsewhere? Regards, Dennis. --94eb2c036044172f4f052e5695fa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
One of the inputs declared is wget, nee= ded as a fall-back when fetching BoostCompute should the Cmake checksums fa= il.

See the build log below:

-- Boost version: 1.60.0-- BoostCompute...
--=C2=A0=C2=A0 getting https://github.com/boostorg/compute= /archive/v0.5.tar.gz
--=C2=A0=C2=A0 validating /tmp/nix-build-arrayf= ire-3.3.1.drv-0/build/third_party/compute-0.5.tar.gz
CMake Warning at CM= akeModules/build_boost_compute.cmake:47 (MESSAGE):
=C2=A0 /tmp/nix-build= -arrayfire-3.3.1.drv-0/build/third_party/compute-0.5.tar.gz:
=C2=A0 Inva= lid check sum d41d8cd98f00b204e9800998ecf8427e.=C2=A0 Expected was
=C2= =A0 69a52598ac539d3b7f6005a3dd2b6f58
Call Stack (most recent call first)= :
=C2=A0 src/backend/opencl/CMakeLists.txt:91 (INCLUDE)


-- Tr= ying wget https://github.com/boostorg/compute/archive/v0.5.tar.gz
--2016-03= -18 17:38:55--=C2=A0 https://github.com/boostorg/compute/archive/v0.5.tar.gzResolving github.com (github.com)... failed: Name or service not known.
wget:= unable to resolve host address =E2=80=98gith= ub.com=E2=80=99
CMake Error at CMakeModules/build_boost_compute.cmak= e:53 (MESSAGE):
=C2=A0 /tmp/nix-build-arrayfire-3.3.1.drv-0/build/third_= party/compute-0.5.tar.gz:
=C2=A0 Invalid check sum d41d8cd98f00b204e9800= 998ecf8427e.=C2=A0 Expected was
=C2=A0 69a52598ac539d3b7f6005a3dd2b6f58<= br>Call Stack (most recent call first):
=C2=A0 src/backend/opencl/CMakeL= ists.txt:91 (INCLUDE)


-- Configuring incomplete, errors occurred= !
See also "/tmp/nix-build-arrayfire-3.3.1.drv-0/build/CMakeFiles/C= MakeOutput.log".
phase `configure' failed after 2.8 seconds
= builder for `/gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.dr= v' failed with exit code 1
@ build-failed /gnu/store/4ik93fkxrjy6aci= hzz5mzjcjkwc5va38-arrayfire-3.3.1.drv - 1 builder for `/gnu/store/4ik93fkxr= jy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv' failed with exit code 1guix build: error: build failed: build of `/gnu/store/4ik93fkxrjy6acihzz5m= zjcjkwc5va38-arrayfire-3.3.1.drv' failed

As you can see in= the first part, fetching BoostCompute fails because the specified MD5 hash= fails, and as a result, the build system falls back to fetching the same w= ith wget (see second snippet).

The second part fails because w= get fails to resolve the FQDN entry github.co= m.

However, when invoking wget directly, both the local in= stalation and the Guix installation, the FQDN can be resolved correctly and= the associated file fetched successfully:

/gnu/store/w50mfvfzyjzpcb= yw3lll7hm4j457jhb0-wget-1.17.1/bin/wget https://github.com/boostorg/compute/archiv= e/v0.5.tar.gz

Would this qualify as a bug filed against wg= et in Guix, or does the problem lie elsewhere?

Regards,
Dennis.

--94eb2c036044172f4f052e5695fa--