Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889182 - app-forensics/yara-4.2.3 fails test - FAIL: test-magic with sys-apps/file-5.44
Summary: app-forensics/yara-4.2.3 fails test - FAIL: test-magic with sys-apps/file-5.44
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: mario.haustein
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-12-31 13:11 UTC by Toralf Förster
Modified: 2023-01-03 00:32 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.30 KB, text/plain)
2022-12-31 13:11 UTC, Toralf Förster
Details
app-forensics:yara-4.2.3:20221231-125904.log (app-forensics:yara-4.2.3:20221231-125904.log,249.90 KB, text/plain)
2022-12-31 13:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,80.38 KB, text/plain)
2022-12-31 13:11 UTC, Toralf Förster
Details
environment (environment,73.37 KB, text/plain)
2022-12-31 13:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.08 KB, application/x-bzip)
2022-12-31 13:11 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.69 KB, application/x-bzip)
2022-12-31 13:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.62 KB, application/x-bzip)
2022-12-31 13:11 UTC, Toralf Förster
Details
tests.tar.bz2 (tests.tar.bz2,645.27 KB, application/x-bzip)
2022-12-31 13:11 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-31 13:11:09 UTC
PASS: test-re-split
PASS: test-pe
PASS: test-async
PASS: test-macho
PASS: test-dex
PASS: test-dotnet
FAIL: test-magic
PASS: test-api
PASS: test-exception

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4_test-20221230-070027

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.66.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 0479da6e8c3810f836cb9b6a49c97eb431314643
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 31 12:17:08 2022 +0000

    2022-12-31 12:17:07 UTC

emerge -qpvO app-forensics/yara
[ebuild  N    ] app-forensics/yara-4.2.3  USE="cuckoo dex dotnet macho magic test -profiling -python"
Comment 1 Toralf Förster gentoo-dev 2022-12-31 13:11:11 UTC
Created attachment 846166 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-31 13:11:12 UTC
Created attachment 846168 [details]
app-forensics:yara-4.2.3:20221231-125904.log
Comment 3 Toralf Förster gentoo-dev 2022-12-31 13:11:14 UTC
Created attachment 846170 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-31 13:11:15 UTC
Created attachment 846172 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-31 13:11:16 UTC
Created attachment 846174 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-31 13:11:17 UTC
Created attachment 846176 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-31 13:11:18 UTC
Created attachment 846178 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-31 13:11:20 UTC
Created attachment 846180 [details]
tests.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-31 13:14:37 UTC
To my surprise, this is not related to bug 889046.
Comment 10 mario.haustein 2022-12-31 14:40:55 UTC
A preliminarily investigation shows the test fails with sys-apps/file-5.44 but passes with sys-apps/file-5.43-r1. I'll investigate this further during the next days.
Comment 11 mario.haustein 2023-01-02 18:44:50 UTC
Reported upstream: https://github.com/VirusTotal/yara/issues/1853

The previous references https://github.com/VirusTotal/yara/issues/1714 and https://github.com/VirusTotal/yara/issues/1715 doesn't seem to be relevant in this case.
Comment 12 Larry the Git Cow gentoo-dev 2023-01-03 00:32:45 UTC
The bug has been closed via the following commit(s):

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

commit 11889b62058455ca061e0c0376a1db3716c97750
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2023-01-02 19:59:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-03 00:32:18 +0000

    app-forensics/yara: fix test with sys-apps/file-5.44
    
    Closes: https://bugs.gentoo.org/889182
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/28941
    Signed-off-by: Sam James <sam@gentoo.org>

 app-forensics/yara/files/yara-4.2.3-libmagic.patch | 65 ++++++++++++++++++++++
 app-forensics/yara/yara-4.2.3.ebuild               |  7 ++-
 2 files changed, 70 insertions(+), 2 deletions(-)