Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920297

Summary: dev-libs/hiredis-1.1.0-r1 fails tests: Connection error: Connection refused
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED FIXED    
Severity: normal CC: matoro_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 899512    
Attachments: build.log and emerge --info

Description matoro archtester 2023-12-19 01:40:46 UTC
Attached log is from ppc64le but this reproduces on all platforms including amd64.

Reproducible: Always
Comment 1 matoro archtester 2023-12-19 01:42:31 UTC
Created attachment 879889 [details]
build.log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-04-19 09:37:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=becc53b8cb7709117c324281a147c2e260cd42d6

commit becc53b8cb7709117c324281a147c2e260cd42d6
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2024-04-19 08:39:10 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-04-19 09:35:46 +0000

    dev-libs/hiredis: fix tests for 1.1.0
    
    It was necessary to correct test parameters, because the -p parameter
    expects redis port number, not PID.
    
    All previously disabled tests pass, however, new "Async connect timeout"
    test was introduced in 1.1.0 version which requires non-localhost IP
    address. This test is disabled by a new patch which replaced the
    original one.
    
    Closes: https://bugs.gentoo.org/920297
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 .../files/hiredis-1.1.0-disable-network-tests.patch   | 19 +++++++++++++++++++
 dev-libs/hiredis/hiredis-1.1.0-r1.ebuild              |  6 +++---
 2 files changed, 22 insertions(+), 3 deletions(-)