Package Details: wget-git 1.21.2.r4.g65e6d5b3-1

Git Clone URL: https://aur.archlinux.org/wget-git.git (read-only, click to copy)
Package Base: wget-git
Description: A network utility to retrieve files from the Web
Upstream URL: http://www.gnu.org/software/wget/wget.html
Keywords: download http metalink network wget
Licenses: GPL3
Conflicts: wget
Provides: wget
Submitter: darnir
Maintainer: darnir
Last Packager: darnir
Votes: 4
Popularity: 0.000000
First Submitted: 2013-04-24 19:19 (UTC)
Last Updated: 2021-11-15 18:45 (UTC)

Required by (671)

Sources (2)

Pinned Comments

darnir commented on 2021-11-15 18:43 (UTC)

This is a VCS tracking packaging. It doesn't need to be updated to track newer commits made to the upstream trunk.

If you update / install the package, it should always build against the latest upstream.

All packages in base-devel are expected to be installed. They will NOT be added to the makedepends.

Due to changes upstream from Wget's control, it's build process now depends on Wget :(. I've fixed the package here. That means, if Wget is not already installed from [extra], then the built version will not contain internationalization support / translations. Force a rebuild of the package after wget is already installed to get them automatically.

Latest Comments

iegubkin commented on 2022-01-22 02:53 (UTC) (edited on 2022-01-22 02:59 (UTC) by iegubkin)

@darnir Thank you for looking into this issue I'm having building wget-git. Since you thought it might have something to do with the particular setup of the machines I am building on, I thought building in a clean chroot might be the way to test your hunch. Following the wiki, I set about to build in a clean chroot the classic way. Interestingly, the build (makechrootpkg -c -r $CHROOT) failed, it appears, with the same error.

Making check in testenv
make[2]: Entering directory '/build/wget-git/src/wget/testenv'
make  check-TESTS
make[3]: Entering directory '/build/wget-git/src/wget/testenv'
make[4]: Entering directory '/build/wget-git/src/wget/testenv'
PASS: Test-416.py
PASS: Test-auth-basic-fail.py
PASS: Test-auth-basic.py
PASS: Test-504.py
PASS: Test-auth-basic-netrc.py
PASS: Test-auth-basic-netrc-user-given.py
PASS: Test-auth-basic-netrc-pass-given.py
PASS: Test-auth-basic-no-netrc-fail.py
PASS: Test-auth-no-challenge.py
PASS: Test-auth-both.py
PASS: Test-auth-digest.py
PASS: Test-auth-no-challenge-url.py
PASS: Test-auth-retcode.py
PASS: Test-auth-with-content-disposition.py
PASS: Test-condget.py
PASS: Test-c-full.py
PASS: Test-Content-disposition-2.py
PASS: Test-cookie-401.py
PASS: Test-Content-disposition.py
PASS: Test--convert-links--content-on-error.py
PASS: Test-cookie-domain-mismatch.py
PASS: Test-cookie.py
PASS: Test-cookie-expires.py
PASS: Test-Head.py
PASS: Test--https-crl.py
PASS: Test--https.py
PASS: Test-hsts.py
PASS: Test-O.py
PASS: Test-missing-scheme-retval.py
PASS: Test-pinnedpubkey-der-https.py
PASS: Test-pinnedpubkey-hash-no-check-fail-https.py
PASS: Test-pinnedpubkey-der-no-check-https.py
PASS: Test-pinnedpubkey-hash-https.py
PASS: Test-pinnedpubkey-pem-fail-https.py
PASS: Test-Post.py
PASS: Test-pinnedpubkey-pem-https.py
PASS: Test-recursive-basic.py
PASS: Test-recursive-redirect.py
PASS: Test-recursive-include.py
PASS: Test-redirect.py
PASS: Test-redirect-crash.py
PASS: Test--rejected-log.py
PASS: Test--spider-r.py
PASS: Test-reserved-chars.py
FAIL: Test-no_proxy-env.py
============================================================================
Testsuite summary for wget 1.21.2.19-35a63-dirty
============================================================================
# TOTAL: 45
# PASS:  44
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See testenv/test-suite.log
Please report to bug-wget@gnu.org
============================================================================
make[4]: *** [Makefile:1919: test-suite.log] Error 1
make[4]: Leaving directory '/build/wget-git/src/wget/testenv'
make[3]: *** [Makefile:2027: check-TESTS] Error 2
make[3]: Leaving directory '/build/wget-git/src/wget/testenv'
make[2]: *** [Makefile:2092: check-am] Error 2
make[2]: Leaving directory '/build/wget-git/src/wget/testenv'
make[1]: *** [Makefile:1732: check-recursive] Error 1
make[1]: Leaving directory '/build/wget-git/src/wget'
make: *** [Makefile:2031: check] Error 2
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/iegubkin/chroot/iegubkin/build

/home/iegubkin/chroot/iegubkin/build/wget-git/src/wget/testenv/test-suite.log

========================================================
   wget 1.21.2.19-35a63-dirty: testenv/test-suite.log
========================================================

# TOTAL: 45
# PASS:  44
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: Test-no_proxy-env
=======================

Setting --no-config (noconfig) to 1
DEBUG output created by Wget 1.21.2.19-35a63-dirty on linux-gnu.

Reading HSTS entries from /build/wget-git/src/wget/testenv/Test-no_proxy-env.py-test/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'http://working1.localhost:46515/File1' (ANSI_X3.4-1968) -> 'http://working1.localhost:46515/File1' (UTF-8)
Converted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)
--2022-01-21 21:29:43--  http://working1.localhost:46515/File1
Resolving working1.localhost (working1.localhost)... 127.0.0.1, ::1
Caching working1.localhost => 127.0.0.1 ::1
Connecting to working1.localhost (working1.localhost)|127.0.0.1|:46515... connected.
Created socket 3.
Releasing 0x00005598deccab50 (new refcount 1).

---request begin---
GET /File1 HTTP/1.1
Host: working1.localhost:46515
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 127.0.0.1 - - [21/Jan/2022 21:29:43] "GET /File1 HTTP/1.1" 200 -

---response begin---
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.10.1
Date: Sat, 22 Jan 2022 02:29:43 GMT
content-type: text/plain
content-length: 24

---response end---
200 OK
Registered socket 3 for persistent reuse.
Length: 24 [text/plain]
Saving to: 'File1'

     0K                                                       100% 1.38M=0s

2022-01-21 21:29:43 (1.38 MB/s) - 'File1' saved [24/24]

URI encoding = 'ANSI_X3.4-1968'
converted 'http://working1.localhost:46515/File2' (ANSI_X3.4-1968) -> 'http://working1.localhost:46515/File2' (UTF-8)
Converted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)
--2022-01-21 21:29:43--  http://working1.localhost:46515/File2
Reusing existing connection to working1.localhost:46515.
Reusing fd 3.

---request begin---
GET /File2 HTTP/1.1
Host: working1.localhost:46515
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 127.0.0.1 - - [21/Jan/2022 21:29:43] "GET /File2 HTTP/1.1" 200 -

---response begin---
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.10.1
Date: Sat, 22 Jan 2022 02:29:43 GMT
content-type: text/plain
content-length: 20

---response end---
200 OK
Length: 20 [text/plain]
Saving to: 'File2'

     0K                                                       100% 1.10M=0s

2022-01-21 21:29:43 (1.10 MB/s) - 'File2' saved [20/20]

FINISHED --2022-01-21 21:29:43--
Total wall clock time: 0.03s
Downloaded: 2 files, 44 in 0s (1.24 MB/s)
Setting --no-config (noconfig) to 1
DEBUG output created by Wget 1.21.2.19-35a63-dirty on linux-gnu.

Reading HSTS entries from /build/wget-git/src/wget/testenv/Test-no_proxy-env.py-test/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'http://www.working1.localhost:37607/File1' (ANSI_X3.4-1968) -> 'http://www.working1.localhost:37607/File1' (UTF-8)
Converted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)
--2022-01-21 21:29:43--  http://www.working1.localhost:37607/File1
Resolving www.working1.localhost (www.working1.localhost)... 127.0.0.1, ::1
Caching www.working1.localhost => 127.0.0.1 ::1
Connecting to www.working1.localhost (www.working1.localhost)|127.0.0.1|:37607... connected.
Created socket 3.
Releasing 0x0000557a70ee2b70 (new refcount 1).

---request begin---
GET /File1 HTTP/1.1
Host: www.working1.localhost:37607
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 127.0.0.1 - - [21/Jan/2022 21:29:43] "GET /File1 HTTP/1.1" 200 -

---response begin---
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.10.1
Date: Sat, 22 Jan 2022 02:29:43 GMT
content-type: text/plain
content-length: 24

---response end---
200 OK
Registered socket 3 for persistent reuse.
Length: 24 [text/plain]
Saving to: 'File1'

     0K                                                       100% 1.20M=0s

2022-01-21 21:29:43 (1.20 MB/s) - 'File1' saved [24/24]

URI encoding = 'ANSI_X3.4-1968'
converted 'http://www.working1.localhost:37607/File2' (ANSI_X3.4-1968) -> 'http://www.working1.localhost:37607/File2' (UTF-8)
Converted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)
--2022-01-21 21:29:43--  http://www.working1.localhost:37607/File2
Reusing existing connection to www.working1.localhost:37607.
Reusing fd 3.

---request begin---
GET /File2 HTTP/1.1
Host: www.working1.localhost:37607
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 127.0.0.1 - - [21/Jan/2022 21:29:43] "GET /File2 HTTP/1.1" 200 -

---response begin---
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.10.1
Date: Sat, 22 Jan 2022 02:29:43 GMT
content-type: text/plain
content-length: 20

---response end---
200 OK
Length: 20 [text/plain]
Saving to: 'File2'

     0K                                                       100% 1.16M=0s

2022-01-21 21:29:43 (1.16 MB/s) - 'File2' saved [20/20]

FINISHED --2022-01-21 21:29:43--
Total wall clock time: 0.03s
Downloaded: 2 files, 44 in 0s (1.18 MB/s)
Setting --no-config (noconfig) to 1
DEBUG output created by Wget 1.21.2.19-35a63-dirty on linux-gnu.

Reading HSTS entries from /build/wget-git/src/wget/testenv/Test-no_proxy-env.py-test/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'http://working2.localhost:35093/File1' (ANSI_X3.4-1968) -> 'http://working2.localhost:35093/File1' (UTF-8)
URI encoding = 'ANSI_X3.4-1968'
Converted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)
--2022-01-21 21:29:44--  http://working2.localhost:35093/File1
Resolving nonexisting.localhost (nonexisting.localhost)... 127.0.0.1, ::1
Caching nonexisting.localhost => 127.0.0.1 ::1
Connecting to nonexisting.localhost (nonexisting.localhost)|127.0.0.1|:8080... connected.
Created socket 3.
Releasing 0x0000555def528c80 (new refcount 1).

---request begin---
GET http://working2.localhost:35093/File1 HTTP/1.1
Host: working2.localhost:35093
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive
Proxy-Connection: Keep-Alive

---request end---
Proxy request sent, awaiting response... 
---response begin---
HTTP/1.1 404 Not Found
Server: nginx/1.21.4
Date: Sat, 22 Jan 2022 02:29:44 GMT
Content-Type: text/html
Content-Length: 153
Connection: keep-alive

---response end---
404 Not Found
Registered socket 3 for persistent reuse.
Skipping 153 bytes of body: [<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.21.4</center>
</body>
</html>
] done.
2022-01-21 21:29:44 ERROR 404: Not Found.

URI encoding = 'ANSI_X3.4-1968'
converted 'http://working2.localhost:35093/File2' (ANSI_X3.4-1968) -> 'http://working2.localhost:35093/File2' (UTF-8)
URI encoding = 'ANSI_X3.4-1968'
Converted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)
--2022-01-21 21:29:44--  http://working2.localhost:35093/File2
Reusing existing connection to nonexisting.localhost:8080.
Reusing fd 3.

---request begin---
GET http://working2.localhost:35093/File2 HTTP/1.1
Host: working2.localhost:35093
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive
Proxy-Connection: Keep-Alive

---request end---
Proxy request sent, awaiting response... 
---response begin---
HTTP/1.1 404 Not Found
Server: nginx/1.21.4
Date: Sat, 22 Jan 2022 02:29:44 GMT
Content-Type: text/html
Content-Length: 153
Connection: keep-alive

---response end---
404 Not Found
Skipping 153 bytes of body: [<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.21.4</center>
</body>
</html>
] done.
2022-01-21 21:29:44 ERROR 404: Not Found.

Running Test Test-no_proxy-env.py
/build/wget-git/src/wget/src/wget --debug --no-config  http://working1.localhost:46515/File1 http://working1.localhost:46515/File2 
['/build/wget-git/src/wget/src/wget', '--debug', '--no-config', 'http://working1.localhost:46515/File1', 'http://working1.localhost:46515/File2']
{'HOME': '/build/wget-git/src/wget/testenv/Test-no_proxy-env.py-test', 'http_proxy': 'nonexisting.localhost:8080', 'no_proxy': 'working1.localhost,.working2.localhost'}
Test Passed.
Running Test Test-no_proxy-env.py
/build/wget-git/src/wget/src/wget --debug --no-config  http://www.working1.localhost:37607/File1 http://www.working1.localhost:37607/File2 
['/build/wget-git/src/wget/src/wget', '--debug', '--no-config', 'http://www.working1.localhost:37607/File1', 'http://www.working1.localhost:37607/File2']
{'HOME': '/build/wget-git/src/wget/testenv/Test-no_proxy-env.py-test', 'http_proxy': 'nonexisting.localhost:8080', 'no_proxy': 'working1.localhost,.working2.localhost'}
Test Passed.
Running Test Test-no_proxy-env.py
/build/wget-git/src/wget/src/wget --debug --no-config  http://working2.localhost:35093/File1 http://working2.localhost:35093/File2 
['/build/wget-git/src/wget/src/wget', '--debug', '--no-config', 'http://working2.localhost:35093/File1', 'http://working2.localhost:35093/File2']
{'HOME': '/build/wget-git/src/wget/testenv/Test-no_proxy-env.py-test', 'http_proxy': 'nonexisting.localhost:8080', 'no_proxy': 'working1.localhost,.working2.localhost'}
Error: Return codes do not match.
Expected: 4
Actual: 8.
Traceback (most recent call last):
  File "/build/wget-git/src/wget/testenv/./Test-no_proxy-env.py", line 125, in <module>
    ).begin ()
  File "/build/wget-git/src/wget/testenv/test/http_test.py", line 41, in begin
    self.do_test()
  File "/build/wget-git/src/wget/testenv/test/base_test.py", line 198, in do_test
    self.post_hook_call()
  File "/build/wget-git/src/wget/testenv/test/base_test.py", line 217, in post_hook_call
    self.hook_call(self.post_configs, 'Post Test Function')
  File "/build/wget-git/src/wget/testenv/test/base_test.py", line 207, in hook_call
    conf.find_conf(conf_name)(conf_arg)(self)
  File "/build/wget-git/src/wget/testenv/conf/expected_ret_code.py", line 27, in __call__
    raise TestFailed(failure)
exc.test_failed.TestFailed: Return codes do not match.
Expected: 4
Actual: 8
FAIL Test-no_proxy-env.py (exit status: 1)

darnir commented on 2022-01-20 22:23 (UTC)

@iegubkin: Please ask for help on bug-wget@gnu.org

However, it looks like you have a jetty server that responds to Wget's request. Your environment seems to be doing something special.

iegubkin commented on 2022-01-18 21:41 (UTC) (edited on 2022-01-19 02:01 (UTC) by iegubkin)

Tried to build on two different machines but got the same error during the build process. Am I missing something?

make[4]: Entering directory '/tmp/makepkg/wget-git/src/wget/testenv'
PASS: Test-auth-basic-fail.py
PASS: Test-416.py
PASS: Test-auth-basic-netrc-user-given.py
PASS: Test-auth-basic-netrc.py
PASS: Test-auth-basic-no-netrc-fail.py
PASS: Test-auth-basic-netrc-pass-given.py
PASS: Test-auth-basic.py
PASS: Test-auth-digest.py
PASS: Test-auth-both.py
PASS: Test-auth-no-challenge.py
PASS: Test-504.py
PASS: Test-auth-retcode.py
PASS: Test-auth-no-challenge-url.py
PASS: Test-c-full.py
PASS: Test-Content-disposition-2.py
PASS: Test-Content-disposition.py
PASS: Test-auth-with-content-disposition.py
PASS: Test--convert-links--content-on-error.py
PASS: Test-cookie-401.py
PASS: Test-cookie-domain-mismatch.py
PASS: Test-condget.py
PASS: Test-Head.py
PASS: Test-hsts.py
PASS: Test--https.py
PASS: Test-cookie-expires.py
PASS: Test-cookie.py
PASS: Test-O.py
PASS: Test-pinnedpubkey-der-https.py
PASS: Test-pinnedpubkey-der-no-check-https.py
PASS: Test--https-crl.py
PASS: Test-missing-scheme-retval.py
PASS: Test-pinnedpubkey-hash-https.py
PASS: Test-pinnedpubkey-pem-https.py
PASS: Test-Post.py
PASS: Test-recursive-include.py
PASS: Test-pinnedpubkey-pem-fail-https.py
PASS: Test-pinnedpubkey-hash-no-check-fail-https.py
PASS: Test-redirect.py
PASS: Test-redirect-crash.py
PASS: Test-recursive-basic.py
PASS: Test--rejected-log.py
PASS: Test-reserved-chars.py
PASS: Test-recursive-redirect.py
PASS: Test--spider-r.py
FAIL: Test-no_proxy-env.py
============================================================================
Testsuite summary for wget 1.21.2.19-35a63-dirty
============================================================================
# TOTAL: 45
# PASS:  44
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See testenv/test-suite.log
Please report to bug-wget@gnu.org
============================================================================
make[4]: *** [Makefile:1919: test-suite.log] Error 1
make[4]: Leaving directory '/tmp/makepkg/wget-git/src/wget/testenv'
make[3]: *** [Makefile:2027: check-TESTS] Error 2
make[3]: Leaving directory '/tmp/makepkg/wget-git/src/wget/testenv'
make[2]: *** [Makefile:2092: check-am] Error 2
make[2]: Leaving directory '/tmp/makepkg/wget-git/src/wget/testenv'
make[1]: *** [Makefile:1732: check-recursive] Error 1
make[1]: Leaving directory '/tmp/makepkg/wget-git/src/wget'
make: *** [Makefile:2031: check] Error 2
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: wget-git

testenv/test-suite.log

========================================================
   wget 1.21.2.19-35a63-dirty: testenv/test-suite.log
========================================================

# TOTAL: 45
# PASS:  44
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: Test-no_proxy-env
=======================

Setting --no-config (noconfig) to 1
DEBUG output created by Wget 1.21.2.19-35a63-dirty on linux-gnu.

Reading HSTS entries from /tmp/makepkg/wget-git/src/wget/testenv/Test-no_proxy-env.py-test/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'http://working1.localhost:43659/File1' (ANSI_X3.4-1968) -> 'http://working1.localhost:43659/File1' (UTF-8)
Converted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)
--2022-01-18 16:40:23--  http://working1.localhost:43659/File1
Resolving working1.localhost (working1.localhost)... 127.0.0.1
Caching working1.localhost => 127.0.0.1
Connecting to working1.localhost (working1.localhost)|127.0.0.1|:43659... connected.
Created socket 3.
Releasing 0x000056076af4e8b0 (new refcount 1).

---request begin---
GET /File1 HTTP/1.1
Host: working1.localhost:43659
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 127.0.0.1 - - [18/Jan/2022 16:40:23] "GET /File1 HTTP/1.1" 200 -

---response begin---
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.10.1
Date: Tue, 18 Jan 2022 21:40:23 GMT
content-type: text/plain
content-length: 24

---response end---
200 OK
Registered socket 3 for persistent reuse.
Length: 24 [text/plain]
Saving to: 'File1'

     0K                                                       100% 1.53M=0s

2022-01-18 16:40:23 (1.53 MB/s) - 'File1' saved [24/24]

URI encoding = 'ANSI_X3.4-1968'
converted 'http://working1.localhost:43659/File2' (ANSI_X3.4-1968) -> 'http://working1.localhost:43659/File2' (UTF-8)
Converted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)
--2022-01-18 16:40:23--  http://working1.localhost:43659/File2
Reusing existing connection to working1.localhost:43659.
Reusing fd 3.

---request begin---
GET /File2 HTTP/1.1
Host: working1.localhost:43659
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 127.0.0.1 - - [18/Jan/2022 16:40:23] "GET /File2 HTTP/1.1" 200 -

---response begin---
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.10.1
Date: Tue, 18 Jan 2022 21:40:23 GMT
content-type: text/plain
content-length: 20

---response end---
200 OK
Length: 20 [text/plain]
Saving to: 'File2'

     0K                                                       100% 1.43M=0s

2022-01-18 16:40:23 (1.43 MB/s) - 'File2' saved [20/20]

FINISHED --2022-01-18 16:40:23--
Total wall clock time: 0.02s
Downloaded: 2 files, 44 in 0s (1.48 MB/s)
Setting --no-config (noconfig) to 1
DEBUG output created by Wget 1.21.2.19-35a63-dirty on linux-gnu.

Reading HSTS entries from /tmp/makepkg/wget-git/src/wget/testenv/Test-no_proxy-env.py-test/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'http://www.working1.localhost:44689/File1' (ANSI_X3.4-1968) -> 'http://www.working1.localhost:44689/File1' (UTF-8)
Converted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)
--2022-01-18 16:40:23--  http://www.working1.localhost:44689/File1
Resolving www.working1.localhost (www.working1.localhost)... 127.0.0.1
Caching www.working1.localhost => 127.0.0.1
Connecting to www.working1.localhost (www.working1.localhost)|127.0.0.1|:44689... connected.
Created socket 3.
Releasing 0x0000563306be25a0 (new refcount 1).

---request begin---
GET /File1 HTTP/1.1
Host: www.working1.localhost:44689
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 127.0.0.1 - - [18/Jan/2022 16:40:23] "GET /File1 HTTP/1.1" 200 -

---response begin---
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.10.1
Date: Tue, 18 Jan 2022 21:40:23 GMT
content-type: text/plain
content-length: 24

---response end---
200 OK
Registered socket 3 for persistent reuse.
Length: 24 [text/plain]
Saving to: 'File1'

     0K                                                       100% 1.49M=0s

2022-01-18 16:40:23 (1.49 MB/s) - 'File1' saved [24/24]

URI encoding = 'ANSI_X3.4-1968'
converted 'http://www.working1.localhost:44689/File2' (ANSI_X3.4-1968) -> 'http://www.working1.localhost:44689/File2' (UTF-8)
Converted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)
--2022-01-18 16:40:23--  http://www.working1.localhost:44689/File2
Reusing existing connection to www.working1.localhost:44689.
Reusing fd 3.

---request begin---
GET /File2 HTTP/1.1
Host: www.working1.localhost:44689
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 127.0.0.1 - - [18/Jan/2022 16:40:23] "GET /File2 HTTP/1.1" 200 -

---response begin---
HTTP/1.1 200 OK
Server: BaseHTTP/0.6 Python/3.10.1
Date: Tue, 18 Jan 2022 21:40:23 GMT
content-type: text/plain
content-length: 20

---response end---
200 OK
Length: 20 [text/plain]
Saving to: 'File2'

     0K                                                       100% 1.35M=0s

2022-01-18 16:40:23 (1.35 MB/s) - 'File2' saved [20/20]

FINISHED --2022-01-18 16:40:23--
Total wall clock time: 0.02s
Downloaded: 2 files, 44 in 0s (1.42 MB/s)
Setting --no-config (noconfig) to 1
DEBUG output created by Wget 1.21.2.19-35a63-dirty on linux-gnu.

Reading HSTS entries from /tmp/makepkg/wget-git/src/wget/testenv/Test-no_proxy-env.py-test/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'http://working2.localhost:44551/File1' (ANSI_X3.4-1968) -> 'http://working2.localhost:44551/File1' (UTF-8)
URI encoding = 'ANSI_X3.4-1968'
Converted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)
--2022-01-18 16:40:23--  http://working2.localhost:44551/File1
Resolving nonexisting.localhost (nonexisting.localhost)... 127.0.0.1
Caching nonexisting.localhost => 127.0.0.1
Connecting to nonexisting.localhost (nonexisting.localhost)|127.0.0.1|:8080... connected.
Created socket 3.
Releasing 0x00005564584666b0 (new refcount 1).

---request begin---
GET http://working2.localhost:44551/File1 HTTP/1.1
Host: working2.localhost:44551
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive
Proxy-Connection: Keep-Alive

---request end---
Proxy request sent, awaiting response... 
---response begin---
HTTP/1.1 404 Not Found
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1
Content-Length: 322
Server: Jetty(9.4.20.v20190813)

---response end---
404 Not Found
Registered socket 3 for persistent reuse.
URI content encoding = 'iso-8859-1'
Skipping 322 bytes of body: [<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /File1. Reason:
<pre>    Not Found</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.20.v20190813</a><hr/>

</body>
</html>
] done.
2022-01-18 16:40:23 ERROR 404: Not Found.

URI encoding = 'ANSI_X3.4-1968'
converted 'http://working2.localhost:44551/File2' (ANSI_X3.4-1968) -> 'http://working2.localhost:44551/File2' (UTF-8)
URI encoding = 'ANSI_X3.4-1968'
Converted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)
--2022-01-18 16:40:23--  http://working2.localhost:44551/File2
Reusing existing connection to nonexisting.localhost:8080.
Reusing fd 3.

---request begin---
GET http://working2.localhost:44551/File2 HTTP/1.1
Host: working2.localhost:44551
User-Agent: Wget/1.21.2.19-35a63-dirty
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive
Proxy-Connection: Keep-Alive

---request end---
Proxy request sent, awaiting response... 
---response begin---
HTTP/1.1 404 Not Found
Cache-Control: must-revalidate,no-cache,no-store
Content-Type: text/html;charset=iso-8859-1
Content-Length: 322
Server: Jetty(9.4.20.v20190813)

---response end---
404 Not Found
URI content encoding = 'iso-8859-1'
Skipping 322 bytes of body: [<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /File2. Reason:
<pre>    Not Found</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.20.v20190813</a><hr/>

</body>
</html>
] done.
2022-01-18 16:40:23 ERROR 404: Not Found.

Running Test Test-no_proxy-env.py
/tmp/makepkg/wget-git/src/wget/src/wget --debug --no-config  http://working1.localhost:43659/File1 http://working1.localhost:43659/File2 
['/tmp/makepkg/wget-git/src/wget/src/wget', '--debug', '--no-config', 'http://working1.localhost:43659/File1', 'http://working1.localhost:43659/File2']
{'HOME': '/tmp/makepkg/wget-git/src/wget/testenv/Test-no_proxy-env.py-test', 'http_proxy': 'nonexisting.localhost:8080', 'no_proxy': 'working1.localhost,.working2.localhost'}
Test Passed.
Running Test Test-no_proxy-env.py
/tmp/makepkg/wget-git/src/wget/src/wget --debug --no-config  http://www.working1.localhost:44689/File1 http://www.working1.localhost:44689/File2 
['/tmp/makepkg/wget-git/src/wget/src/wget', '--debug', '--no-config', 'http://www.working1.localhost:44689/File1', 'http://www.working1.localhost:44689/File2']
{'HOME': '/tmp/makepkg/wget-git/src/wget/testenv/Test-no_proxy-env.py-test', 'http_proxy': 'nonexisting.localhost:8080', 'no_proxy': 'working1.localhost,.working2.localhost'}
Test Passed.
Running Test Test-no_proxy-env.py
/tmp/makepkg/wget-git/src/wget/src/wget --debug --no-config  http://working2.localhost:44551/File1 http://working2.localhost:44551/File2 
['/tmp/makepkg/wget-git/src/wget/src/wget', '--debug', '--no-config', 'http://working2.localhost:44551/File1', 'http://working2.localhost:44551/File2']
{'HOME': '/tmp/makepkg/wget-git/src/wget/testenv/Test-no_proxy-env.py-test', 'http_proxy': 'nonexisting.localhost:8080', 'no_proxy': 'working1.localhost,.working2.localhost'}
Error: Return codes do not match.
Expected: 4
Actual: 8.
Traceback (most recent call last):
  File "/tmp/makepkg/wget-git/src/wget/testenv/./Test-no_proxy-env.py", line 125, in <module>
    ).begin ()
  File "/tmp/makepkg/wget-git/src/wget/testenv/test/http_test.py", line 41, in begin
    self.do_test()
  File "/tmp/makepkg/wget-git/src/wget/testenv/test/base_test.py", line 198, in do_test
    self.post_hook_call()
  File "/tmp/makepkg/wget-git/src/wget/testenv/test/base_test.py", line 217, in post_hook_call
    self.hook_call(self.post_configs, 'Post Test Function')
  File "/tmp/makepkg/wget-git/src/wget/testenv/test/base_test.py", line 207, in hook_call
    conf.find_conf(conf_name)(conf_arg)(self)
  File "/tmp/makepkg/wget-git/src/wget/testenv/conf/expected_ret_code.py", line 27, in __call__
    raise TestFailed(failure)
exc.test_failed.TestFailed: Return codes do not match.
Expected: 4
Actual: 8
FAIL Test-no_proxy-env.py (exit status: 1)

darnir commented on 2021-11-15 18:43 (UTC)

This is a VCS tracking packaging. It doesn't need to be updated to track newer commits made to the upstream trunk.

If you update / install the package, it should always build against the latest upstream.

All packages in base-devel are expected to be installed. They will NOT be added to the makedepends.

Due to changes upstream from Wget's control, it's build process now depends on Wget :(. I've fixed the package here. That means, if Wget is not already installed from [extra], then the built version will not contain internationalization support / translations. Force a rebuild of the package after wget is already installed to get them automatically.

darnir commented on 2021-11-15 18:38 (UTC)

@katt: Thanks for the report. Since it works locally (and I have the full dev environment setup), I never bothered to check in a clean chroot as I technically should.

I've now tested the PKGBUILD in a clean chroot. So it should work correctly.

katt commented on 2021-11-14 14:29 (UTC) (edited on 2021-11-14 14:36 (UTC) by katt)

Needs gperf and wget as makedepends:

==> Starting build()...
Submodule 'gnulib' (https://git.savannah.gnu.org/git/gnulib.git) registered for path 'gnulib'
Cloning into '/build/wget-git/src/wget/gnulib'...
done.
Submodule path 'gnulib': checked out '394dde1b2307bfaa102ddcc13d718782c77ff447'
./bootstrap: line 278: gperf: command not found
./bootstrap: Error: 'gperf' not found

./bootstrap: Please install the prerequisite programs
==> ERROR: A failure occurred in build().
    Aborting...
==> Starting build()...
Submodule 'gnulib' (https://git.savannah.gnu.org/git/gnulib.git) registered for path 'gnulib'
Cloning into '/build/wget-git/src/wget/gnulib'...
done.
Submodule path 'gnulib': checked out '394dde1b2307bfaa102ddcc13d718782c77ff447'
./bootstrap: Bootstrapping from checked-out wget sources...
./bootstrap: consider installing git-merge-changelog from gnulib
./bootstrap: getting gnulib files...
./bootstrap: getting translations into po/.reference for wget...
./bootstrap: line 767: wget: command not found
==> ERROR: A failure occurred in build().

But even with those in place, it fails further down the line with this:

autoreconf: running: /usr/bin/autoconf --include=m4 --force
configure.ac:964: warning: AC_CHECK_FUNCS($xattr_syscalls): you should use literals
./lib/autoconf/functions.m4:117: AC_CHECK_FUNCS is expanded from...
configure.ac:964: the top level
configure.ac:33: error: possibly undefined macro: AX_CODE_COVERAGE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
./bootstrap: autoreconf failed
==> ERROR: A failure occurred in build().

I give up.

darnir commented on 2021-09-28 18:20 (UTC)

This is a VCS tracking packaging. It doesn't need to be updated to track newer commits made to the upstream trunk.

If you update / install the package, it should always build against the latest upstream

iegubkin commented on 2021-09-28 15:24 (UTC)

Could this package be updated to get rid of the "SSL_INIT" messages polluting the console from Arch's 1.21.2-1 release?

https://git.savannah.gnu.org/cgit/wget.git/commit/?id=3ea9658c072fa1dc87aec7af45393b46904b143f

darnir commented on 2018-04-13 10:01 (UTC)

Done. Thanks for the heads up :)

Anyways, it's been a while and I don't expect anyone to try and compile with such an old version anymore.

EndlessEden commented on 2018-04-13 04:52 (UTC)

can you please remove the version dependency from "libpsl". As (libpsl=0.20.x-x) is not detected as "Greater" than 0.7.x-x; (ex; libpsl-git and core/libpsl)

darnir commented on 2014-11-23 19:02 (UTC)

No. Because flex is a part of base-devel which is expected to be installed on any Arch Linux system that wishes to build packages from the AUR. Maintainers are not required to list packages available in base-devel as a dependency.

grayich commented on 2014-11-23 18:34 (UTC)

no, thanks imho, should be added in depends )

darnir commented on 2014-11-23 10:46 (UTC)

@grayich: Do you have flex installed? Flex is required to generate css.c.

grayich commented on 2014-11-22 19:09 (UTC)

http://pastebin.com/NcqLicYL echo '#include "wget.h"' > css_.c cat css.c >> css_.c cat: css.c: No such file or directory Makefile:2235: recipe for target 'css_.c' failed make[3]: *** [css_.c] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-gray/aur-wget-git/src/wget/src' Makefile:1361: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/yaourt-tmp-gray/aur-wget-git/src/wget/src' Makefile:1372: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-gray/aur-wget-git/src/wget' Makefile:1327: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

darnir commented on 2013-04-25 04:54 (UTC)

Thanks! Added pkgver() function. Will implement all guidelines as soon as I get the time to understand it and rewrite the PKGBUILD correctly.

gtmanfred commented on 2013-04-25 04:17 (UTC)

pacman 4.1 supports git https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines