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

Bug 736304

Summary: app-arch/libarchive-3.4.3 fails bsdcpio_test test_option_t
Product: Gentoo Linux Reporter: Alexey <alexey+gentoo>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal CC: alexey+gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
test-suite.log
bsdcpio_test.2020-08-07T01.40.11-000/
emerge --info

Description Alexey 2020-08-07 21:04:38 UTC
Created attachment 653674 [details]
build.log

test_option_t

/mnt/portagetmp/portage/app-arch/libarchive-3.4.3/work/libarchive-3.4.3/cpio/test/test_option_t.c:97: p + 42 != date
      size strlen(date) = 17
      Dump of p + 42
0000 d1 8f d0 bd d0 b2 20 20 31 20 20 31_39_37_30_20_......  1  1970 
0010_66_                                             f
      Dump of date
0000 d1 8f d0 bd d0 b2 20 20 31 20 20 31_20_66_69_6c_......  1  1 fil
0010_65_                                             e
Comment 1 Alexey 2020-08-07 21:05:06 UTC
Created attachment 653676 [details]
test-suite.log
Comment 2 Alexey 2020-08-07 21:06:28 UTC
Created attachment 653678 [details]
bsdcpio_test.2020-08-07T01.40.11-000/
Comment 3 Alexey 2020-08-07 21:07:04 UTC
Created attachment 653680 [details]
emerge --info
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-10 11:20:25 UTC
Could you try again with 3.5.1?
Comment 5 Alexey 2021-01-11 14:26:50 UTC
Still broken with same error on 3.5.1
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-11 15:04:13 UTC
Ok, FWICS your LANG value is the problem.  I'm going to see if we can reliably use LANG=C.UTF-8 in the ebuild.
Comment 7 Larry the Git Cow gentoo-dev 2021-01-11 15:23:06 UTC
The bug has been closed via the following commit(s):

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

commit 43adadcc0ac6b73ba617899fe3512e3610f6b940
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-01-11 15:21:39 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-01-11 15:21:39 +0000

    app-arch/libarchive: Run tests with C locale
    
    Closes: https://bugs.gentoo.org/736304
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-arch/libarchive/libarchive-3.5.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)