On Wed, 17 Dec 2025 at 03:59, hongxu via lists.openembedded.org <[email protected]> wrote: > Alex, what is your option?
I kinda don't know what to say with certainty. First, https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/10363 lacks important information for the upstream. It adds a meson option but doesn't explain why. You need to explain this: ===== Due to upstream commit [1], the size of padding differs between 32 bit > arch and 64 bit arch > ... > |typedef struct { > | /* < private > */ > | gpointer pointer; > |#if GLIB_SIZEOF_VOID_P == 8 > | guint8 padding[8]; > |#elif GLIB_SIZEOF_VOID_P == 4 > | guint8 padding[12]; > |#else > | #error "Only 32 bit and 64 bit pointers supported currently" > |#endif > |} GstIdStr; > ... > > It made the generated Gst-1.0.gir be different for 32 bit and 64 bit packages, > Install Gst-1.0.gir to ${libdir} which splits 32 bit and 64 bit libraries > ===== so that gstreamer folks can see the actual issue, and not just the proposed solution. You should also reference https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/323 to confirm for them that g-i upstream is aware of the problem, and (selectively) installing to libdir (and fixing tools to look there) is how they're dealing with it. Second, on my Debian system I indeed see /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir (but everything else remains in /usr/share), so presumably they managed to make it work (some details are in the ticket Ross mentioned: https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/323#note_2118013). Yet oe-core's glib recipe still installs to /usr/share/gir-1.0. >From reading that ticket I'd say the precedent is set, g-i/glib/gnome upstream has accepted that multiarch sytems are valid, and libdir is a viable location, and it's fair to do the same in gstreamer. g-i itself is fixed to support that, and the rest of the ecosystem is mostly fixed. But we still need to devise a test for this before we start moving files around. Alternatively, if you just need to get rid of the do_rootfs error, and do not have any actual use for these .gir files, all of the above is way overkill, and you can just delete one of the files (or both) in a bbappend. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#228020): https://lists.openembedded.org/g/openembedded-core/message/228020 Mute This Topic: https://lists.openembedded.org/mt/116745751/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
