Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864795 - dev-libs/hiredis-1.0.2-r2 fails tests (MUSL): Assertion failed: reply != NULL && reply->type == expected (test.c: send_hello: 151)
Summary: dev-libs/hiredis-1.0.2-r2 fails tests (MUSL): Assertion failed: reply != NULL...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-10 14:45 UTC by Agostino Sarubbo
Modified: 2024-04-19 09:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,47.55 KB, text/plain)
2022-08-10 14:45 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-08-10 14:45:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/hiredis-1.0.2-r2 fails tests (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-10 14:45:04 UTC
Created attachment 799135 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-10 14:45:05 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Assertion failed: reply != NULL && reply->type == expected (test.c: send_hello: 151)
#41 Don't reset state after protocol error: PASSED
Comment 3 Larry the Git Cow gentoo-dev 2024-04-19 09:37:11 UTC
The bug has been closed via the following commit(s):

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

commit 2799cb060ccd96724ef5f627ce94ab74547de2b9
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2024-04-19 09:19:14 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-04-19 09:35:47 +0000

    dev-libs/hiredis: correct hiredis-test parameter
    
    The -p parameter expects redis port, not PID.
    
    Tests still fail, but those issues were fixed in version 1.1.0, which is
    about to be stabilized, therefore, I don't think we have to spend time
    fixing them. Failures are most probably related to used redis server
    version, see comments in [1].
    
    [1] https://github.com/redis/hiredis/commit/b455b33818be4dab51777433fcac0d15e0c221ec
    
    Closes: https://bugs.gentoo.org/864795
    Closes: https://bugs.gentoo.org/866944
    Closes: https://bugs.gentoo.org/880395
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 dev-libs/hiredis/hiredis-1.0.2-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)