Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737326 - dev-perl/File-LibMagic-1.150.0 fails tests
Summary: dev-perl/File-LibMagic-1.150.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-16 06:44 UTC by Agostino Sarubbo
Modified: 2021-05-30 15:42 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,17.04 KB, text/plain)
2020-08-16 06:44 UTC, Agostino Sarubbo
Details
tiny-1.15.pdf (tiny-1.15.pdf,7.37 KB, application/pdf)
2020-08-21 12:16 UTC, Michael Orlitzky
Details
tiny-1.22.pdf (tiny-1.22.pdf,9 bytes, application/pdf)
2020-08-21 12:16 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-16 06:44:25 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-perl/File-LibMagic-1.150.0 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-16 06:44:27 UTC
Created attachment 654874 [details]
build.log

build log and emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2020-08-21 12:15:24 UTC
It's hard to be mad about this test failure because it caught a problem in libmagic:

  #   Failed test 'description'
  #   at t/oo-api.t line 183.
  #          got: PDF document, version 1.4 (password protected)
  #     expected: any one of ...
  #              PDF document, version 1.4
  # Looks like you failed 1 test of 5.

That PDF is *not* password protected, so the test rightly fails.

I'll attach a copy of tiny.pdf from File-LibMagic-1.15 and the newer 1.22. Can you run "file" on them both? Neither are encrypted, but the results may help narrow down the problem.
Comment 3 Michael Orlitzky gentoo-dev 2020-08-21 12:16:27 UTC
Created attachment 655886 [details]
tiny-1.15.pdf
Comment 4 Michael Orlitzky gentoo-dev 2020-08-21 12:16:52 UTC
Created attachment 655888 [details]
tiny-1.22.pdf
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2021-05-30 15:42:11 UTC
This seems to be fixed by now, either in 1.230.0 or in libmagic.