Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922074 - media-libs/jasper-4.1.1 fails tests on hppa: error: too few guard bits (2 < 20)
Summary: media-libs/jasper-4.1.1 fails tests on hppa: error: too few guard bits (2 < 20)
Status: RESOLVED DUPLICATE of bug 907259
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal
Assignee: Michael Vetter
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 921559
  Show dependency tree
 
Reported: 2024-01-14 05:25 UTC by matoro
Modified: 2024-01-14 14:14 UTC (History)
4 users (show)

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


Attachments
build.log and emerge --info (file_922074.txt,235.91 KB, text/plain)
2024-01-14 05:26 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-14 05:25:18 UTC
############################################################
TESTID=sgn_1 ENC=jasper DEC=jasper
FMT=pgx WIDTH=8 HEIGHT=8 PREC=12 NUMCMPTS=1 RAWSIZE=96
test information:
    image            signed_12.pgx   
    id               sgn_1           
    pae              0               
    bug              oj_dec          
    fmt              jpc             
    mode             int             
software=jasper input=/var/tmp/portage/media-libs/jasper-4.1.1/work/jasper-version-4.1.1/data/images/signed_12.pgx output=/tmp/jasper-@localhost/jpcod-829/test.jpc fmt=jpc mode=int verbose
Running JasPer encoder
/var/tmp/portage/media-libs/jasper-4.1.1/work/jasper-version-4.1.1_build/src/app/jasper  -T jpc -O cblkwidth=64 -O cblkheight=64 -O mode=int -O numrlvls=6 -O numgbits=2 -O prg=lrcp < /var/tmp/portage/media-libs/jasper-4.1.1/work/jasper-version-4.1.1/data/images/signed_12.pgx > /tmp/jasper-@localhost/jpcod-829/test.jpc
error: too few guard bits (2 < 20)
cannot encode main body
jpc_encode failed
error: cannot encode image
ERROR: ENCODER FAILURE
ERROR: ENCODER FAILURE

Reproducible: Always
Comment 1 matoro archtester 2024-01-14 05:26:05 UTC
Created attachment 882220 [details]
build.log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-14 05:52:53 UTC
looks like a dupe of bug 907259 per irc discussion

*** This bug has been marked as a duplicate of bug 907259 ***
Comment 3 Larry the Git Cow gentoo-dev 2024-01-14 14:14:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fca8b44f82cedc54cb66491692003a9d05717db

commit 8fca8b44f82cedc54cb66491692003a9d05717db
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-14 05:53:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-14 14:14:10 +0000

    media-libs/jasper: test fixes
    
    Some test fixes I noticed when looking at bug #907259 and bug #922074.
    
    * Patch out `which` usage (https://github.com/jasper-software/jasper/pull/369).
    * Depend on openjpeg for tests for the opj2_compress and opj2_decompress
      binaries.
    
    Bug: https://bugs.gentoo.org/907259
    Bug: https://bugs.gentoo.org/922074
    Closes: https://github.com/gentoo/gentoo/pull/34794
    Signed-off-by: Sam James <sam@gentoo.org>

 .../jasper/files/jasper-4.1.2-which-hunt.patch     | 34 ++++++++++++++++++++++
 media-libs/jasper/jasper-4.1.2.ebuild              | 10 +++++--
 media-libs/jasper/jasper-9999.ebuild               | 10 +++++--
 3 files changed, 50 insertions(+), 4 deletions(-)