Bug 2387002

Summary: gdk_pixbuf_new_from_file fails due to missing bubblewrap dependency
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: gdk-pixbuf2Assignee: Matthias Clasen <mclasen>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bgilbert, decathorpe, gnome-sig, mclasen, mtasaka, otto.liljalaakso, quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/rubygem-gdk_pixbuf2
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-08 21:04:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2378640    

Description Mamoru TASAKA 2025-08-07 06:57:39 UTC
Description of problem:
Package rubygem-gdk_pixbuf2 fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
4.3.0-2.fc43

Steps to Reproduce:
koji build --scratch f43 rubygem-gdk_pixbuf2-4.3.0-2.fc43.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/rubygem-gdk_pixbuf2

Comment 1 Mamoru TASAKA 2025-08-07 07:04:05 UTC
E
===============================================================================
Error: test: #on_currently_loading_frame?(TestAnimationIter): GdkPixbuf::PixbufError::CorruptImage: Could not spawn `env -i "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--tmpfs" "/tmp-home" "--setenv" "HOME" "/tmp-home" "--tmpfs" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib64" "/lib64" "--seccomp" "15" "/usr/libexec/glycin-loaders/2+/glycin-image-rs"`: No such file or directory (os error 2)
/usr/share/gems/gems/gobject-introspection-4.3.0/lib/gobject-introspection/loader.rb:715:in 'GObjectIntrospection::ConstructorInfo#invoke'
/usr/share/gems/gems/gobject-introspection-4.3.0/lib/gobject-introspection/loader.rb:715:in 'GObjectIntrospection::Loader::Invoker#invoke'
/usr/share/gems/gems/gobject-introspection-4.3.0/lib/gobject-introspection/loader.rb:366:in 'block (2 levels) in GdkPixbuf::PixbufAnimation#initialize'
/usr/share/gems/gems/gobject-introspection-4.3.0/lib/gobject-introspection/loader.rb:365:in 'Kernel#catch'
/usr/share/gems/gems/gobject-introspection-4.3.0/lib/gobject-introspection/loader.rb:365:in 'block in GdkPixbuf::PixbufAnimation#initialize'
/usr/share/gems/gems/gobject-introspection-4.3.0/lib/gobject-introspection/loader.rb:364:in 'Array#each'
/usr/share/gems/gems/gobject-introspection-4.3.0/lib/gobject-introspection/loader.rb:364:in 'GdkPixbuf::PixbufAnimation#initialize'
/builddir/build/BUILD/rubygem-gdk_pixbuf2-4.3.0-build/gdk_pixbuf2-4.3.0/usr/share/gems/gems/gdk_pixbuf2-4.3.0/test/test-animation.rb:21:in 'Class#new'
/builddir/build/BUILD/rubygem-gdk_pixbuf2-4.3.0-build/gdk_pixbuf2-4.3.0/usr/share/gems/gems/gdk_pixbuf2-4.3.0/test/test-animation.rb:21:in 'block in <class:TestAnimationIter>'
===============================================================================


So rubygem-gdk_pixbuf2 testsuite calls gdk_pixbuf_new_from_file() but with
new gdk-pixbuf2-2.43.3-4.fc43 it fails because
gdk_pixbuf_new_from_file() tries to spawn "bwrap" but the binary is missing.

So now gdk-pixbuf2 must have explicitly dependency for /usr/bin/bwrap .

Reassigning to gdk-pixbuf2

Comment 2 Mamoru TASAKA 2025-08-07 07:06:12 UTC
(The above test suite is for gdk_pixbuf_animation_new_from_file() but the logic is the same)

Comment 3 Otto Liljalaakso 2025-08-07 18:51:31 UTC
Also Zim is currently FTBFS due to this issue, see https://bugzilla.redhat.com/show_bug.cgi?id=2378640#c5

Comment 4 Elliott Sales de Andrade 2025-08-08 20:56:56 UTC
This also breaks Inkscape a little, for SVG with embedded PNGs, which it can no longer load. (Got here from https://koschei.fedoraproject.org/build/21046350 where the test is rastering an SVG with embedded PNG using Inkscape.)

Comment 5 Elliott Sales de Andrade 2025-08-08 21:04:55 UTC
@decathorpe fixed this in glycin.

*** This bug has been marked as a duplicate of bug 2387023 ***