pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: FETCH_USING=custom help
Hi,
> Hi,
>
> On my pkgsrc-current tree and Makefile of wip/termit with
> FETCH_USING=curl works fine.
> If you have no reason to stay in 2010Q4 branch,
> switching to pkgsrc-current is smart.
>
> Or please modify _FETCH_BEFORE_ARGS.curl= line in
> pkgsrc/mk/fetch/fetch.mk.
>
> Thank you.
I would rather stick to the stable pkgsrc branches for some reasons,
but I updated curl to current, which I assume should be sufficient, but
still curl doesn't work for me. It might be possible that I really
needed full pkgsrc-current branch, but I doubt it. Anyway I enclose the
failure screens from both FETCH_USING=curl:
###################################################
nb51 /u/p/w/termit$ sudo make
Password:
=> Bootstrap dependency curl-[0-9]*: found curl-7.21.4
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
=> Fetching termit-2.7.1.tar.bz2
=> Total size: 39706 bytes
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (78) Failed to connect to 2001:708:10:9::20:2: No route to host
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
curl: (78) Failed to connect to 2001:4f8:3:7:230:48ff:fec6:9aaa: No route to
host
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 259 100 259 0 0 505 0 --:--:-- --:--:-- --:--:-- 857
fetch: Size of the file termit-2.7.1.tar.bz2 doesn't match.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
curl: (78) Failed to connect to 2001:6c8:2:600::132: No route to host
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:--
0fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
checksum: Checksum SHA1 mismatch for termit-2.7.1.tar.bz2
ERROR: Make sure the Makefile and checksum file
(/usr/pkgsrc/wip/termit/distinfo)
ERROR: are up to date. If you want to override this check, type
ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/wip/termit
#####################################################
and FETCH_USING=custom; FETCH_CMD=curl; FETCH_BEFORE_ARGS=--insecure:
#####################################################
nb51 /u/p/w/termit$ sudo make
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
=> Fetching termit-2.7.1.tar.bz2
=> Total size: 39706 bytes
curl: (6) Couldn't resolve host 'termit-2.7.1.tar.bz2'
<html><body>You are being <a
href="http://cloud.github.com/downloads/nonstop/termit/termit-2.7.1.tar.bz2">redirected</a>.</body></html>fetch:
File termit-2.7.1.tar.bz2 does not exist.
curl: (6) Couldn't resolve host 'termit-2.7.1.tar.bz2'
curl: (78) Failed to connect to 2001:708:10:9::20:2: No route to host
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
curl: (6) Couldn't resolve host 'termit-2.7.1.tar.bz2'
curl: (78) Failed to connect to 2001:4f8:3:7:230:48ff:fec6:9aaa: No route to
host
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
curl: (6) Couldn't resolve host 'termit-2.7.1.tar.bz2'
<html><head><title>404 Not Found</title></head>
<body><h1>404 Not Found</h1>
pub/NetBSD/packages/distfiles/termit-2.7.1.tar.bz2: <pre>This item has not been
found</pre>
<hr><address><a href="http://ftp.netbsd.org/">ftp.netbsd.org</a></address>
</body></html>
fetch: File termit-2.7.1.tar.bz2 does not exist.
curl: (6) Couldn't resolve host 'termit-2.7.1.tar.bz2'
curl: (78) Failed to connect to 2001:6c8:2:600::132: No route to host
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/wip/termit
#######################################################
and to be complete here is the original FETCH_CMD=wget;
FETCH_BEFORE_ARGS=--no-check-certificat:
####################################################
nb51 /u/p/w/termit$ sudo make
Password:
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
=> Fetching termit-2.7.1.tar.bz2
=> Total size: 39706 bytes
--2011-03-28 20:13:48-- http://termit-2.7.1.tar.bz2/
Resolving termit-2.7.1.tar.bz2 (termit-2.7.1.tar.bz2)... failed: No address
associated with hostname.
wget: unable to resolve host address `termit-2.7.1.tar.bz2'
--2011-03-28 20:13:48--
https://github.com/downloads/nonstop/termit/termit-2.7.1.tar.bz2
Resolving github.com (github.com)... 207.97.227.239
Connecting to github.com (github.com)|207.97.227.239|:443... connected.
WARNING: cannot verify github.com's certificate, issued by
`/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com,
Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure
Certification Authority/serialNumber=07969287':
Self-signed certificate encountered.
WARNING: certificate common name `*.github.com' doesn't match requested host
name `github.com'.
HTTP request sent, awaiting response... 302 Found
Location: http://cloud.github.com/downloads/nonstop/termit/termit-2.7.1.tar.bz2
[following]
--2011-03-28 20:13:49--
http://cloud.github.com/downloads/nonstop/termit/termit-2.7.1.tar.bz2
Resolving cloud.github.com (cloud.github.com)... 216.137.61.86, 216.137.61.126,
216.137.61.135, ...
Connecting to cloud.github.com (cloud.github.com)|216.137.61.86|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 39706 (39K) [.bz2]
Saving to: `termit-2.7.1.tar.bz2'
100%[===================================================================================>]
39,706 --.-K/s in 0.03s
2011-03-28 20:13:49 (1.29 MB/s) - `termit-2.7.1.tar.bz2' saved [39706/39706]
FINISHED --2011-03-28 20:13:49--
Downloaded: 1 files, 39K in 0.03s (1.29 MB/s)
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
--2011-03-28 20:13:49-- http://termit-2.7.1.tar.bz2/
Resolving termit-2.7.1.tar.bz2 (termit-2.7.1.tar.bz2)... failed: No address
associated with hostname.
wget: unable to resolve host address `termit-2.7.1.tar.bz2'
--2011-03-28 20:13:49--
ftp://ftp.fi.netbsd.org/pub/NetBSD/packages/distfiles/termit-2.7.1.tar.bz2
=> `termit-2.7.1.tar.bz2.1'
Resolving ftp.fi.netbsd.org (ftp.fi.netbsd.org)... 2001:708:10:9::20:2,
193.166.3.2
Connecting to ftp.fi.netbsd.org (ftp.fi.netbsd.org)|2001:708:10:9::20:2|:21...
failed: No route to host.
Connecting to ftp.fi.netbsd.org (ftp.fi.netbsd.org)|193.166.3.2|:21...
connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/NetBSD/packages/distfiles ... done.
==> SIZE termit-2.7.1.tar.bz2 ... done.
==> PASV ... done. ==> RETR termit-2.7.1.tar.bz2 ...
No such file `termit-2.7.1.tar.bz2'.
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
--2011-03-28 20:13:50-- http://termit-2.7.1.tar.bz2/
Resolving termit-2.7.1.tar.bz2 (termit-2.7.1.tar.bz2)... failed: No address
associated with hostname.
wget: unable to resolve host address `termit-2.7.1.tar.bz2'
--2011-03-28 20:13:50--
ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/termit-2.7.1.tar.bz2
=> `termit-2.7.1.tar.bz2.1'
Resolving ftp.netbsd.org (ftp.netbsd.org)... 2001:4f8:3:7:230:48ff:fec6:9aaa,
204.152.190.15
Connecting to ftp.netbsd.org
(ftp.netbsd.org)|2001:4f8:3:7:230:48ff:fec6:9aaa|:21... failed: No route to
host.
Connecting to ftp.netbsd.org (ftp.netbsd.org)|204.152.190.15|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/NetBSD/packages/distfiles ... done.
==> SIZE termit-2.7.1.tar.bz2 ... done.
==> PASV ... done. ==> RETR termit-2.7.1.tar.bz2 ...
No such file `termit-2.7.1.tar.bz2'.
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
--2011-03-28 20:13:53-- http://termit-2.7.1.tar.bz2/
Resolving termit-2.7.1.tar.bz2 (termit-2.7.1.tar.bz2)... failed: No address
associated with hostname.
wget: unable to resolve host address `termit-2.7.1.tar.bz2'
--2011-03-28 20:13:53--
http://ftp.netbsd.org/pub/NetBSD/packages/distfiles/termit-2.7.1.tar.bz2
Resolving ftp.netbsd.org (ftp.netbsd.org)... 2001:4f8:3:7:230:48ff:fec6:9aaa,
204.152.190.15
Connecting to ftp.netbsd.org
(ftp.netbsd.org)|2001:4f8:3:7:230:48ff:fec6:9aaa|:80... failed: No route to
host.
Connecting to ftp.netbsd.org (ftp.netbsd.org)|204.152.190.15|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-03-28 20:13:53 ERROR 404: Not Found.
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
--2011-03-28 20:13:53-- http://termit-2.7.1.tar.bz2/
Resolving termit-2.7.1.tar.bz2 (termit-2.7.1.tar.bz2)... failed: No address
associated with hostname.
wget: unable to resolve host address `termit-2.7.1.tar.bz2'
--2011-03-28 20:13:53--
ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/termit-2.7.1.tar.bz2
=> `termit-2.7.1.tar.bz2.1'
Resolving ftp.freebsd.org (ftp.freebsd.org)... 2001:4f8:0:2::e,
2001:6c8:2:600::132, 87.51.34.132, ...
Connecting to ftp.freebsd.org (ftp.freebsd.org)|2001:4f8:0:2::e|:21... failed:
No route to host.
Connecting to ftp.freebsd.org (ftp.freebsd.org)|2001:6c8:2:600::132|:21...
failed: No route to host.
Connecting to ftp.freebsd.org (ftp.freebsd.org)|87.51.34.132|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/FreeBSD/distfiles ... done.
==> SIZE termit-2.7.1.tar.bz2 ... done.
==> PASV ... done. ==> RETR termit-2.7.1.tar.bz2 ...
No such file `termit-2.7.1.tar.bz2'.
fetch: Unable to fetch expected file termit-2.7.1.tar.bz2
=> Checksum SHA1 OK for termit-2.7.1.tar.bz2
=> Checksum RMD160 OK for termit-2.7.1.tar.bz2
===> Installing dependencies for termit-2.7.1
=> Build dependency cmake>=2.8.1nb1: found cmake-2.8.3
=> Build dependency gmake>=3.81: found gmake-3.82nb1
=> Build dependency x11-links>=0.61: found x11-links-0.61
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.6
=> Full dependency vte>=0.24.3nb2: found vte-0.26.2
=> Full dependency lua>=5.1.4nb1: found lua-5.1.4nb2
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.15
===> Overriding tools for termit-2.7.1
===> Extracting for termit-2.7.1
===> Patching for termit-2.7.1
===> Creating toolchain wrappers for termit-2.7.1
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc
dst=/usr/pkgsrc/wip/termit/work/.buildlink/lib/pkgconfig/fixesext.pc;
/bin/mkdir -p /usr/pkgsrc/wip/termit/work/.buildlink/lib/pkgconfig; if test -f
${src}; then /bin/ln -sf ${src} ${dst}; fi
src=/usr/X11R7/lib/pkgconfig/compositeproto.pc
dst=/usr/pkgsrc/wip/termit/work/.buildlink/lib/pkgconfig/compositeext.pc;
/bin/mkdir -p /usr/pkgsrc/wip/termit/work/.buildlink/lib/pkgconfig; if test -f
${src}; then /bin/ln -sf ${src} ${dst}; fi
===> Configuring for termit-2.7.1
=> Fixing absolute paths.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt.
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/pkgsrc/wip/termit/work/.wrapper/bin/cc
-- Check for working C compiler: /usr/pkgsrc/wip/termit/work/.wrapper/bin/cc --
works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/pkgsrc/wip/termit/work/.wrapper/bin/c++
-- Check for working CXX compiler: /usr/pkgsrc/wip/termit/work/.wrapper/bin/c++
-- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for one of the modules 'libvte>=0.17.1;vte>=0.17.1'
-- Found Lua51: /usr/pkg/lib/liblua.so;/lib/libm.so
termit 2.7.1
Prefix dir:.......... /usr/pkg
Locales dir:......... /usr/pkg/share/locale
Debug:............... FALSE
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/pkgsrc/wip/termit/work/termit-2.7.1
=> Rewrite cmake Dependencies files
===> Building for termit-2.7.1
Scanning dependencies of target pot
Scanning dependencies of target termit
[ 5%] [ 11%] Built target pot
[ 17%] Building C object src/CMakeFiles/termit.dir/termit.c.o
Building C object src/CMakeFiles/termit.dir/termit_core_api.c.o
/usr/pkgsrc/wip/termit/work/termit-2.7.1/src/termit.c: In function
'termit_get_tab_by_index':
/usr/pkgsrc/wip/termit/work/termit-2.7.1/src/termit.c:37: warning: format '%zd'
expects type 'signed size_t', but argument 5 has type 'guint'
/usr/pkgsrc/wip/termit/work/termit-2.7.1/src/termit.c: In function
'termit_lua_menu_item_from_string':
/usr/pkgsrc/wip/termit/work/termit-2.7.1/src/termit.c:129: warning: assignment
discards qualifiers from pointer target type
[ 23%] Building C object src/CMakeFiles/termit.dir/callbacks.c.o
[ 29%] Building C object src/CMakeFiles/termit.dir/sessions.c.o
Scanning dependencies of target gmo
[ 29%] Language: fr
[ 29%] Language: hu
[ 29%] Language: ko
[ 29%] Language: ru
[ 29%] Language: zh_TW
[ 64%] Built target gmo
[ 70%] [ 76%] Building C object src/CMakeFiles/termit.dir/keybindings.c.o
Building C object src/CMakeFiles/termit.dir/lua_conf.c.o
[ 82%] Building C object src/CMakeFiles/termit.dir/lua_api.c.o
[ 88%] Building C object src/CMakeFiles/termit.dir/configs.c.o
[ 94%] Building C object src/CMakeFiles/termit.dir/termit_style.c.o
[100%] Building C object src/CMakeFiles/termit.dir/termit_preferences.c.o
Linking C executable termit
[100%] Built target termit
=> Unwrapping files-to-be-installed.
###################################################
Maybe you can compare with your successful curl fetch and see what I
may have wrong?
Thank you,
JS
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and publish
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
Home |
Main Index |
Thread Index |
Old Index