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

Bug 926624

Summary: dev-ruby/rmagick-5.3.0 fails tests: Magick::ImageMagickError: delegate library support not built-in (XML)
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal CC: matoro_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 923974    
Attachments: build.log and emerge --info

Description matoro archtester 2024-03-10 04:17:49 UTC
Pretty sure this needs [xml] added to imagemagick dep.  Sample from amd64

Failures:

  1) Magick::Image#color_profile works
     Failure/Error: profile = described_class.read(IMAGE_WITH_PROFILE).first.color_profile
     
     Magick::ImageMagickError:
       delegate library support not built-in `/var/tmp/portage/dev-ruby/rmagick-5.3.0/work/ruby31/rmagick-RMagick_5-3-0/doc/ex/images/image_with_profile.jpg' (XML) @ error/profile.c/ValidateXMPProfile/1943
     # ./spec/rmagick/image/color_profile_spec.rb:4:in `read'
     # ./spec/rmagick/image/color_profile_spec.rb:4:in `block (2 levels) in <top (required)>'

  2) Magick::Image#profile! works
     Failure/Error: profile = described_class.read(IMAGE_WITH_PROFILE).first.color_profile
     
     Magick::ImageMagickError:
       delegate library support not built-in `/var/tmp/portage/dev-ruby/rmagick-5.3.0/work/ruby31/rmagick-RMagick_5-3-0/doc/ex/images/image_with_profile.jpg' (XML) @ error/profile.c/ValidateXMPProfile/1943
     # ./spec/rmagick/image/profile_bang_spec.rb:4:in `read'
     # ./spec/rmagick/image/profile_bang_spec.rb:4:in `block (2 levels) in <top (required)>'

  3) Magick::Image#profile! delete exif when nil given as profile
     Failure/Error: image = described_class.read(IMAGE_WITH_PROFILE).first
     
     Magick::ImageMagickError:
       delegate library support not built-in `/var/tmp/portage/dev-ruby/rmagick-5.3.0/work/ruby31/rmagick-RMagick_5-3-0/doc/ex/images/image_with_profile.jpg' (XML) @ error/profile.c/ValidateXMPProfile/1943
     # ./spec/rmagick/image/profile_bang_spec.rb:22:in `read'
     # ./spec/rmagick/image/profile_bang_spec.rb:22:in `block (2 levels) in <top (required)>'

Finished in 16.53 seconds (files took 0.32578 seconds to load)
738 examples, 3 failures, 1 pending

Reproducible: Always
Comment 1 matoro archtester 2024-03-10 04:18:14 UTC
Created attachment 887201 [details]
build.log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-05-03 05:11:50 UTC
The bug has been closed via the following commit(s):

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

commit daf7c790e532c76a2e4caab66f46c6d7eaa76580
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-05-03 05:09:16 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-05-03 05:11:38 +0000

    dev-ruby/rmagick: add missing test USE flag for imagemagick
    
    Closes: https://bugs.gentoo.org/926624
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rmagick/rmagick-5.3.0.ebuild | 2 +-
 dev-ruby/rmagick/rmagick-5.5.0.ebuild | 2 +-
 dev-ruby/rmagick/rmagick-6.0.0.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)