Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753887 - net-libs/http-parser-2.9.4 - test_g: test.c:4224: main: Assertion `sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + sizeof(void *)' failed
Summary: net-libs/http-parser-2.9.4 - test_g: test.c:4224: main: Assertion `sizeof(htt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL: https://github.com/nodejs/http-parser...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-11-10 17:50 UTC by ernsteiswuerfel
Modified: 2020-11-10 19:20 UTC (History)
1 user (show)

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


Attachments
build.log (http-parser-2.9.4:20201110-173623.log,3.46 KB, text/plain)
2020-11-10 17:50 UTC, ernsteiswuerfel
Details
emerge --info (file_753887.txt,5.99 KB, text/plain)
2020-11-10 17:50 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-11-10 17:50:22 UTC
Created attachment 670769 [details]
build.log

[...]
>>> Test phase: net-libs/http-parser-2.9.4
 * .ppc: running multilib-minimal_abi_src_test
make -j16 -l18 'CFLAGS_DEBUG=-Os -mcpu=7450 -pipe' 'CFLAGS_FAST=-Os -mcpu=7450 -pipe' test 
powerpc-unknown-linux-gnu-gcc  -I. -DHTTP_PARSER_STRICT=1  -Os -mcpu=7450 -pipe -c http_parser.c -o http_parser_g.o
powerpc-unknown-linux-gnu-gcc  -I. -DHTTP_PARSER_STRICT=1  -Os -mcpu=7450 -pipe -c test.c -o test_g.o
powerpc-unknown-linux-gnu-gcc  -I. -DHTTP_PARSER_STRICT=0  -Os -mcpu=7450 -pipe -c http_parser.c
powerpc-unknown-linux-gnu-gcc  -I. -DHTTP_PARSER_STRICT=0  -Os -mcpu=7450 -pipe -c test.c -o test.o
powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu http_parser_g.o test_g.o -o test_g
powerpc-unknown-linux-gnu-gcc -Os -mcpu=7450 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu http_parser.o test.o -o test_fast
./test_g
test_g: test.c:4224: main: Assertion `sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + sizeof(void *)' failed.
make: *** [Makefile:76: test] Aborted (core dumped)
Comment 1 ernsteiswuerfel archtester 2020-11-10 17:50:55 UTC
Created attachment 670772 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-10 17:55:47 UTC
Same on arm: https://github.com/nodejs/http-parser/issues/507
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-11-10 18:21:31 UTC
Upstream has a fix on the master branch.. but they broke i386.  So much for testing your changes.
Comment 4 Larry the Git Cow gentoo-dev 2020-11-10 19:20:12 UTC
The bug has been closed via the following commit(s):

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

commit 98da5a43c657ad65526b9f58ca990809cb9c49b8
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-11-10 18:15:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-11-10 19:20:07 +0000

    net-libs/http-parser: Backport non-x86 test fix
    
    Closes: https://bugs.gentoo.org/753887
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../files/http-parser-2.9.4-non-x86-test.patch       | 20 ++++++++++++++++++++
 net-libs/http-parser/http-parser-2.9.4.ebuild        |  4 ++++
 2 files changed, 24 insertions(+)