curl build failure
David Pitt (102) 743 posts |
I was trying my luck at building an RPi3 compatible version of curl on the autobuilder. (A wget build worked perfectly.) It stopped :- Autobuilder: Building package: libgcrypt20 Autobuilder: Detected 2 CPUs: set AB_CPUS to use more or fewer (eg in case build breaks) Autobuilder: Fetching source for libgcrypt20 Autobuilder: Using existing Sources.gz (testing/main) Autobuilder: Using existing Sources.gz (testing/contrib) Autobuilder: Using existing Sources.gz (stable/main) Autobuilder: Using existing Sources.gz (stable/contrib) Autobuilder: Searching for libgcrypt20 in ../Sources-testing-main.gz... Autobuilder: found Directory: libgcrypt20 in ../Sources-testing-main.gz --2017-01-10 11:37:19-- <a href="http://ftp.uk.debian.org/debian/pool/main/libg/libgcrypt20/libgcrypt20_1.7.5.orig.tar.bz2">http://ftp.uk.debian.org/debian/pool/main/libg/libgcrypt20/libgcrypt20_1.7.5.orig.tar.bz2</a> Resolving ftp.uk.debian.org (ftp.uk.debian.org)... 78.129.164.123, 2001:1b40:5600:ff80:f8ee::1 Connecting to ftp.uk.debian.org (ftp.uk.debian.org)|78.129.164.123|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2883968 (2.8M) [application/octet-stream] Saving to: ‘libgcrypt20_1.7.5.orig.tar.bz2’ 0K .......... .......... .......... .......... .......... 1% 813K 3s 2800K .......... ...... 100% 4.17M=4.9s 2017-01-10 11:37:24 (572 KB/s) - ‘libgcrypt20_1.7.5.orig.tar.bz2’ saved [2883968/2883968] --2017-01-10 11:37:24-- <a href="http://libgcrypt20_1.7.5.orig.tar.bz2.asc/">http://libgcrypt20_1.7.5.orig.tar.bz2.asc/</a> Resolving libgcrypt20_1.7.5.orig.tar.bz2.asc (libgcrypt20_1.7.5.orig.tar.bz2.asc)... failed: Name or service not known. wget: unable to resolve host address ‘libgcrypt20_1.7.5.orig.tar.bz2.asc’ FINISHED --2017-01-10 11:37:30-- Total wall clock time: 11s Downloaded: 1 files, 2.8M in 4.9s (572 KB/s) Package libgcrypt20: ***Failure*** Dependency "libgcrypt20" failed for libgnutls30 Dependency "libgnutls30" failed for curl Build for package "curl" failed This http does not look right – http://libgcrypt20_1.7.5.orig.tar.bz2.asc/ Google finds the file thus :- http://http.debian.net/debian/pool/main/libg/libgcrypt20/libgcrypt20_1.7.5.orig.tar.bz2.asc The internals of the autobuilder continue to baffle, if I could find where the call was coming from I could have attempted a fix but …. Help!! |
Chris Gransden (337) 1207 posts |
The problem was in fetch-program which is now fixed. There are still a couple more problems that need fixing before it will build. In the mean time you can download an RPi 3 compatible version from here. |
David Pitt (102) 743 posts |
Noting the recent libgnutils30 commit to the autobuilder I tried my luck with a further curl build. --2017-01-30 09:58:31-- <a href="http://gnutls28_3.5.8.orig.tar.xz.asc/">http://gnutls28_3.5.8.orig.tar.xz.asc/</a> Resolving gnutls28_3.5.8.orig.tar.xz.asc (gnutls28_3.5.8.orig.tar.xz.asc)... failed: Name or service not known. wget: unable to resolve host address ‘gnutls28_3.5.8.orig.tar.xz.asc’ FINISHED --2017-01-30 09:58:37-- Total wall clock time: 7.1s Downloaded: 1 files, 6.9M in 1.8s (3.94 MB/s) Package libgnutls30: ***Failure*** Dependency "libgnutls30" failed for curl Build for package "curl" failed pittdj@iUbuntu:/media/pittdj/GCCSDK/build$ There is something familiar about that. I applied this to fetch-program. orig=$((grep \.orig\.tar\.xz$ files || grep \.tar\.xz files) | cut -d ' ' -f 4) curl then built. (I guess the second grep should be grep \.tar\.xz$.) |