Dear Maintainers,
After downloading the wget 1.21.3 from
https://ftp.gnu.org/gnu/wget/wget-latest.tar.lz and unpacking, I ran
"./configure" and "make" without issue. But when I ran "make check" I got
the following output:
GEN public-submodule-commit
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-recursive
Making check in lib
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-am
make[3]: Nothing to be done for `check-am'.
Making check in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make libunittest.a
make[3]: `libunittest.a' is up to date.
Making check in doc
make[2]: Nothing to be done for `check'.
Making check in po
make[2]: Nothing to be done for `check'.
Making check in gnulib_po
make[2]: Nothing to be done for `check'.
Making check in util
make[2]: Nothing to be done for `check'.
Making check in fuzz
/Applications/Xcode.app/Contents/Developer/usr/bin/make wget_cookie_fuzzer
wget_css_fuzzer wget_ftpls_fuzzer wget_html_fuzzer wget_netrc_fuzzer
wget_options_fuzzer wget_progress_fuzzer wget_read_hunk_fuzzer
wget_robots_fuzzer wget_url_fuzzer wget_ntlm_fuzzer
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../src
libunittest.a
make[4]: `libunittest.a' is up to date.
CCLD wget_cookie_fuzzer
CCLD wget_css_fuzzer
CCLD wget_ftpls_fuzzer
CCLD wget_html_fuzzer
CCLD wget_netrc_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_search_netrc in libunittest.a(libunittest_a-netrc.o)
_parse_netrc_fp in libunittest.a(libunittest_a-netrc.o)
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_LLVMFuzzerTestOneInput in wget_netrc_fuzzer.o
_search_netrc in libunittest.a(libunittest_a-netrc.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
_accept_url in libunittest.a(libunittest_a-utils.o)
_subdir_p in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[3]: *** [wget_netrc_fuzzer] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
This is on an M1 Ultra MacBook Pro, running macOS 12.4 and XCode 13.4.1.
The symbols not found are cited as missing with architecture 'arm64', I
suspect that 'aarch64' is the correct architecture to use here?
If I run "make check -i" I get the following output showing some tests
passing but others running into the same linker issue.
% make check -i
GEN public-submodule-commit
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-recursive
Making check in lib
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-am
make[3]: Nothing to be done for `check-am'.
Making check in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make libunittest.a
make[3]: `libunittest.a' is up to date.
Making check in doc
make[2]: Nothing to be done for `check'.
Making check in po
make[2]: Nothing to be done for `check'.
Making check in gnulib_po
make[2]: Nothing to be done for `check'.
Making check in util
make[2]: Nothing to be done for `check'.
Making check in fuzz
/Applications/Xcode.app/Contents/Developer/usr/bin/make wget_cookie_fuzzer
wget_css_fuzzer wget_ftpls_fuzzer wget_html_fuzzer wget_netrc_fuzzer
wget_options_fuzzer wget_progress_fuzzer wget_read_hunk_fuzzer
wget_robots_fuzzer wget_url_fuzzer wget_ntlm_fuzzer
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../src
libunittest.a
make[4]: `libunittest.a' is up to date.
CCLD wget_cookie_fuzzer
CCLD wget_css_fuzzer
CCLD wget_ftpls_fuzzer
CCLD wget_html_fuzzer
CCLD wget_netrc_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_search_netrc in libunittest.a(libunittest_a-netrc.o)
_parse_netrc_fp in libunittest.a(libunittest_a-netrc.o)
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_LLVMFuzzerTestOneInput in wget_netrc_fuzzer.o
_search_netrc in libunittest.a(libunittest_a-netrc.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
_accept_url in libunittest.a(libunittest_a-utils.o)
_subdir_p in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[3]: [wget_netrc_fuzzer] Error 1 (ignored)
CCLD wget_options_fuzzer
CCLD wget_progress_fuzzer
CCLD wget_read_hunk_fuzzer
CCLD wget_robots_fuzzer
CCLD wget_url_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_url_parse in libunittest.a(libunittest_a-url.o)
_mkalldirs in libunittest.a(libunittest_a-url.o)
_url_file_name in libunittest.a(libunittest_a-url.o)
_append_uri_pathel in libunittest.a(libunittest_a-url.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[3]: [wget_url_fuzzer] Error 1 (ignored)
CCLD wget_ntlm_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_ntlm_input in libunittest.a(libunittest_a-http-ntlm.o)
_ntlm_output in libunittest.a(libunittest_a-http-ntlm.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
_accept_url in libunittest.a(libunittest_a-utils.o)
_subdir_p in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[3]: [wget_ntlm_fuzzer] Error 1 (ignored)
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../src
libunittest.a
make[4]: `libunittest.a' is up to date.
CCLD wget_cookie_fuzzer
CCLD wget_css_fuzzer
CCLD wget_ftpls_fuzzer
CCLD wget_html_fuzzer
CCLD wget_netrc_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_search_netrc in libunittest.a(libunittest_a-netrc.o)
_parse_netrc_fp in libunittest.a(libunittest_a-netrc.o)
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_LLVMFuzzerTestOneInput in wget_netrc_fuzzer.o
_search_netrc in libunittest.a(libunittest_a-netrc.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
_accept_url in libunittest.a(libunittest_a-utils.o)
_subdir_p in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[3]: [wget_netrc_fuzzer] Error 1 (ignored)
CCLD wget_options_fuzzer
CCLD wget_progress_fuzzer
CCLD wget_read_hunk_fuzzer
CCLD wget_robots_fuzzer
CCLD wget_url_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_url_parse in libunittest.a(libunittest_a-url.o)
_mkalldirs in libunittest.a(libunittest_a-url.o)
_url_file_name in libunittest.a(libunittest_a-url.o)
_append_uri_pathel in libunittest.a(libunittest_a-url.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[3]: [wget_url_fuzzer] Error 1 (ignored)
CCLD wget_ntlm_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_ntlm_input in libunittest.a(libunittest_a-http-ntlm.o)
_ntlm_output in libunittest.a(libunittest_a-http-ntlm.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
_accept_url in libunittest.a(libunittest_a-utils.o)
_subdir_p in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[3]: [wget_ntlm_fuzzer] Error 1 (ignored)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../src
libunittest.a
make[5]: `libunittest.a' is up to date.
CCLD wget_cookie_fuzzer
*SKIP*: wget_cookie_fuzzer
CCLD wget_css_fuzzer
PASS: wget_css_fuzzer
CCLD wget_ftpls_fuzzer
*SKIP*: wget_ftpls_fuzzer
CCLD wget_html_fuzzer
*SKIP*: wget_html_fuzzer
CCLD wget_netrc_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_search_netrc in libunittest.a(libunittest_a-netrc.o)
_parse_netrc_fp in libunittest.a(libunittest_a-netrc.o)
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_LLVMFuzzerTestOneInput in wget_netrc_fuzzer.o
_search_netrc in libunittest.a(libunittest_a-netrc.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
_accept_url in libunittest.a(libunittest_a-utils.o)
_subdir_p in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[4]: [wget_netrc_fuzzer] Error 1 (ignored)
FAIL: wget_netrc_fuzzer
CCLD wget_options_fuzzer
*SKIP*: wget_options_fuzzer
CCLD wget_progress_fuzzer
*SKIP*: wget_progress_fuzzer
CCLD wget_read_hunk_fuzzer
*SKIP*: wget_read_hunk_fuzzer
CCLD wget_robots_fuzzer
*SKIP*: wget_robots_fuzzer
CCLD wget_url_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_url_parse in libunittest.a(libunittest_a-url.o)
_mkalldirs in libunittest.a(libunittest_a-url.o)
_url_file_name in libunittest.a(libunittest_a-url.o)
_append_uri_pathel in libunittest.a(libunittest_a-url.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[4]: [wget_url_fuzzer] Error 1 (ignored)
FAIL: wget_url_fuzzer
CCLD wget_ntlm_fuzzer
Undefined symbols for architecture arm64:
"_exec_name", referenced from:
_memfatal in libunittest.a(libunittest_a-utils.o)
_log_init in libunittest.a(libunittest_a-log.o)
"_opt", referenced from:
_ntlm_input in libunittest.a(libunittest_a-http-ntlm.o)
_ntlm_output in libunittest.a(libunittest_a-http-ntlm.o)
_fork_to_background in libunittest.a(libunittest_a-utils.o)
_remove_link in libunittest.a(libunittest_a-utils.o)
_acceptable in libunittest.a(libunittest_a-utils.o)
_accept_url in libunittest.a(libunittest_a-utils.o)
_subdir_p in libunittest.a(libunittest_a-utils.o)
...
(maybe you meant: _rpl_re_syntax_options, _quote_quoting_options ,
_clone_quoting_options )
ld: symbol(s) not found for architecture arm64
clang: *error: **linker command failed with exit code 1 (use -v to see
invocation)*
make[4]: [wget_ntlm_fuzzer] Error 1 (ignored)
FAIL: wget_ntlm_fuzzer
============================================================================
Testsuite summary for wget 1.21.3
============================================================================
*# TOTAL: 11*
# PASS: 1
*# SKIP: 7*
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
============================================================================
See fuzz/test-suite.log
Please report to bug-wget@gnu.org
============================================================================
make[4]: [test-suite.log] Error 1 (ignored)
Making check in tests
/Applications/Xcode.app/Contents/Developer/usr/bin/make unit-tests
cd ../src && /Applications/Xcode.app/Contents/Developer/usr/bin/make
libunittest.a
make[4]: `libunittest.a' is up to date.
CCLD unit-tests
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
cd ../src && /Applications/Xcode.app/Contents/Developer/usr/bin/make
libunittest.a
make[4]: `libunittest.a' is up to date.
CCLD unit-tests
cd ../src && /Applications/Xcode.app/Contents/Developer/usr/bin/make
libunittest.a
make[5]: `libunittest.a' is up to date.
CCLD unit-tests
PASS: unit-tests
FAIL: Test-auth-basic.px
FAIL: Test-auth-no-challenge.px
FAIL: Test-auth-no-challenge-url.px
FAIL: Test-auth-with-content-disposition.px
FAIL: Test-auth-retcode.px
FAIL: Test-c-full.px
FAIL: Test-c-partial.px
FAIL: Test-c.px
FAIL: Test-c-shorter.px
FAIL: Test-cookies.px
FAIL: Test-cookies-401.px
FAIL: Test-E-k-K.px
FAIL: Test-E-k.px
PASS: Test-ftp.px
PASS: Test-ftp-dir.px
PASS: Test-ftp-pasv-fail.px
PASS: Test-ftp-bad-list.px
PASS: Test-ftp-recursive.px
FAIL: Test-ftp-iri.px
FAIL: Test-ftp-iri-fallback.px
FAIL: Test-ftp-iri-recursive.px
FAIL: Test-ftp-iri-disabled.px
PASS: Test-ftp-list-Multinet.px
PASS: Test-ftp-list-Unknown.px
PASS: Test-ftp-list-Unknown-a.px
PASS: Test-ftp-list-Unknown-hidden.px
PASS: Test-ftp-list-Unknown-list-a-fails.px
PASS: Test-ftp-list-UNIX-hidden.px
PASS: Test-ftp--start-pos.px
FAIL: Test-HTTP-Content-Disposition-1.px
FAIL: Test-HTTP-Content-Disposition-2.px
FAIL: Test-HTTP-Content-Disposition.px
PASS: Test-i-ftp.px
FAIL: Test-i-http.px
FAIL: Test-idn-headers.px
FAIL: Test-idn-meta.px
FAIL: Test-idn-cmd.px
FAIL: Test-idn-cmd-utf8.px
FAIL: Test-idn-robots.px
FAIL: Test-idn-robots-utf8.px
FAIL: Test-iri.px
FAIL: Test-iri-percent.px
FAIL: Test-iri-disabled.px
FAIL: Test-iri-forced-remote.px
FAIL: Test-iri-list.px
FAIL: Test-k.px
FAIL: Test-meta-robots.px
FAIL: Test-N-current.px
FAIL: Test-N-HTTP-Content-Disposition.px
FAIL: Test-N--no-content-disposition.px
FAIL: Test-N--no-content-disposition-trivial.px
FAIL: Test-N-no-info.px
FAIL: Test--no-content-disposition.px
FAIL: Test--no-content-disposition-trivial.px
FAIL: Test-N-old.px
FAIL: Test-nonexisting-quiet.px
FAIL: Test-noop.px
FAIL: Test-np.px
FAIL: Test-N.px
FAIL: Test-N-smaller.px
FAIL: Test-O-HTTP-Content-Disposition.px
FAIL: Test-O-nc.px
FAIL: Test-O--no-content-disposition.px
FAIL: Test-O--no-content-disposition-trivial.px
FAIL: Test-O-nonexisting.px
FAIL: Test-O.px
FAIL: Test--post-file.px
FAIL: Test-proxied-https-auth.px
FAIL: Test-proxied-https-auth-keepalive.px
FAIL: Test-proxy-auth-basic.px
FAIL: Test-restrict-ascii.px
FAIL: Test-Restrict-Lowercase.px
FAIL: Test-Restrict-Uppercase.px
FAIL: Test-stdouterr.px
FAIL: Test--spider-fail.px
FAIL: Test--spider.px
FAIL: Test--spider-r-HTTP-Content-Disposition.px
FAIL: Test--spider-r--no-content-disposition.px
FAIL: Test--spider-r--no-content-disposition-trivial.px
FAIL: Test--spider-r.px
FAIL: Test--start-pos.px
FAIL: Test--start-pos--continue.px
FAIL: Test--httpsonly-r.px
FAIL: Test-204.px
PASS: Test-ftp-pasv-not-supported.px
FAIL: Test-https-pfs.px
FAIL: Test-https-tlsv1.px
FAIL: Test-https-tlsv1x.px
FAIL: Test-https-selfsigned.px
FAIL: Test-https-weboftrust.px
FAIL: Test-https-clientcert.px
FAIL: Test-https-crl.px
FAIL: Test-https-badcerts.px
============================================================================
Testsuite summary for wget 1.21.3
============================================================================
*# TOTAL: 94*
# PASS: 15
# SKIP: 0
# XFAIL: 0
# FAIL: 79
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-wget@gnu.org
============================================================================
make[4]: [test-suite.log] Error 1 (ignored)
Making check in testenv
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
PASS: Test-504.py
PASS: Test-416.py
PASS: Test-auth-basic-fail.py
PASS: Test-auth-basic.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-both.py
PASS: Test-auth-digest.py
PASS: Test-auth-no-challenge.py
PASS: Test-auth-no-challenge-url.py
PASS: Test-auth-retcode.py
PASS: Test-auth-with-content-disposition.py
PASS: Test-c-full.py
PASS: Test-condget.py
PASS: Test-Content-disposition-2.py
PASS: Test-Content-disposition.py
PASS: Test--convert-links--content-on-error.py
PASS: Test-cookie-401.py
PASS: Test-cookie-domain-mismatch.py
PASS: Test-cookie-expires.py
PASS: Test-cookie.py
PASS: Test-Head.py
PASS: Test-hsts.py
PASS: Test--https.py
PASS: Test--https-crl.py
PASS: Test-missing-scheme-retval.py
PASS: Test-O.py
PASS: Test-pinnedpubkey-der-https.py
PASS: Test-pinnedpubkey-der-no-check-https.py
PASS: Test-pinnedpubkey-hash-https.py
PASS: Test-pinnedpubkey-hash-no-check-fail-https.py
PASS: Test-pinnedpubkey-pem-fail-https.py
PASS: Test-pinnedpubkey-pem-https.py
PASS: Test-Post.py
PASS: Test-recursive-basic.py
PASS: Test-recursive-include.py
PASS: Test-recursive-redirect.py
PASS: Test-redirect.py
PASS: Test-redirect-crash.py
PASS: Test--rejected-log.py
PASS: Test-reserved-chars.py
PASS: Test--spider-r.py
*SKIP*: Test-no_proxy-env.py
============================================================================
Testsuite summary for wget 1.21.3
============================================================================
*# TOTAL: 45*
# PASS: 44
*# SKIP: 1*
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[2]: Nothing to be done for `check-am'.
Here is a relevant(?) portion of my config.status:
S["host_os"]="darwin21.5.0"
S["host_vendor"]="apple"
S["host_cpu"]="aarch64"
S["host"]="aarch64-apple-darwin21.5.0"
S["build_os"]="darwin21.5.0"
S["build_vendor"]="apple"
S["build_cpu"]="aarch64"
S["build"]="aarch64-apple-darwin21.5.0"
Cheers,
David E. Weekly (@dweekly)