Bug 2392506 - git-2.51.0-2.fc44 FTBFS: clone via Unix socket test fails
Summary: git-2.51.0-2.fc44 FTBFS: clone via Unix socket test fails
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: git
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org//pa...
Whiteboard:
Depends On:
Blocks: F44FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-09-02 06:34 UTC by Petr Pisar
Modified: 2025-09-02 06:34 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2025-09-02 06:34:05 UTC
git-2.51.0-2.fc44 fails to build in Fedora 44 because a test fails:

checking prerequisite: SOCKS_PROXY
mkdir -p "$TRASH_DIRECTORY/prereq-test-dir-SOCKS_PROXY" &&
(
	cd "$TRASH_DIRECTORY/prereq-test-dir-SOCKS_PROXY" &&
	test_have_prereq PERL &&
	start_socks "$TRASH_DIRECTORY/%30.sock"
)
++ mkdir -p '/tmp/git-t.dmkO/trash directory.t5564-http-proxy/prereq-test-dir-SOCKS_PROXY'
++ cd '/tmp/git-t.dmkO/trash directory.t5564-http-proxy/prereq-test-dir-SOCKS_PROXY'
++ test_have_prereq PERL
++ save_IFS=$' \t\n'
++ IFS=,
++ set -- PERL
++ IFS=$' \t\n'
++ total_prereq=0
++ ok_prereq=0
++ missing_prereq=
++ for prerequisite in "$@"
++ case "$prerequisite" in
++ negative_prereq=
++ case " $lazily_tested_prereq " in
++ case " $lazily_testable_prereq " in
++ total_prereq=1
++ case "$satisfied_prereq" in
++ satisfied_this_prereq=t
++ case "$satisfied_this_prereq,$negative_prereq" in
++ ok_prereq=1
++ test 1 = 1
++ start_socks '/tmp/git-t.dmkO/trash directory.t5564-http-proxy/%30.sock'
++ mkfifo socks_output
++ echo 370602
++ /usr/bin/perl /builddir/build/BUILD/git-2.51.0-build/git-2.51.0/t/socks4-proxy.pl '/tmp/git-t.dmkO/trash directory.t5564-http-proxy/%30.sock'
++ read line
++ test ready = ready
prerequisite SOCKS_PROXY ok
expecting success of 5564.6 'clone via Unix socket': 
	test_when_finished "rm -rf clone" &&
	test_config_global http.proxy "socks4://localhost$PWD/%2530.sock" && {
		{
			GIT_TRACE_CURL=$PWD/trace git clone "$HTTPD_URL/smart/repo.git" clone 2>err &&
			grep -i "SOCKS4 request granted" trace
		} ||
		old_libcurl_error err
	}
++ test_when_finished 'rm -rf clone'
++ test 0 = 0
++ test_cleanup=$'{ rm -rf clone\n\t\t} && (exit "$eval_ret"); eval_ret=$?; :'
++ test_config_global http.proxy 'socks4://localhost/tmp/git-t.dmkO/trash directory.t5564-http-proxy/%2530.sock'
++ test_when_finished 'test_unconfig --global '\''http.proxy'\'''
++ test 0 = 0
++ test_cleanup=$'{ test_unconfig --global \'http.proxy\'\n\t\t} && (exit "$eval_ret"); eval_ret=$?; { rm -rf clone\n\t\t} && (exit "$eval_ret"); eval_ret=$?; :'
++ git config --global http.proxy 'socks4://localhost/tmp/git-t.dmkO/trash directory.t5564-http-proxy/%2530.sock'
++ GIT_TRACE_CURL='/tmp/git-t.dmkO/trash directory.t5564-http-proxy/trace'
++ git clone http://127.0.0.1:5564/smart/repo.git clone
++ grep -i 'SOCKS4 request granted' trace
++ old_libcurl_error err
++ grep -Fx 'fatal: libcurl 7.84 or later is required to support paths in proxy URLs' err
error: last command exited with $?=1
++ test_unconfig --global http.proxy
++ config_dir=
++ test --global = -C
++ git config --unset-all --global http.proxy
++ config_status=0
++ case "$config_status" in
++ return 0
++ exit 1
++ eval_ret=1
++ rm -rf clone
++ exit 1
++ eval_ret=1
++ :
not ok 6 - clone via Unix socket
#	
#		test_when_finished "rm -rf clone" &&
#		test_config_global http.proxy "socks4://localhost$PWD/%2530.sock" && {
#			{
#				GIT_TRACE_CURL=$PWD/trace git clone "$HTTPD_URL/smart/repo.git" clone 2>err &&
#				grep -i "SOCKS4 request granted" trace
#			} ||
#			old_libcurl_error err
#		}
#	
expecting success of 5564.7 'Unix socket requires socks*:': 
	! git clone -c http.proxy=localhost/path https://example.com/repo.git 2>err && {
		grep -Fx "fatal: Invalid proxy URL 'localhost/path': only SOCKS proxies support paths" err ||
		old_libcurl_error err
	}

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/21277613>. An upgrade of libcurl from 8.15.0-2.fc43 to 8.16.0~rc2-1.fc44 is suspicious.


Note You need to log in before you can comment on or make changes to this bug.