gobject-introspection: fix cross-compilation#166199
Closed
Conversation
Currently pkgsCross.aarch64-multiplatform.gobject-introspection does not build due to breakage in (a) generating the docs and (b) generating the introspection data. There really isn't proper support in gobject-introspection for cross-compiles with -Dintrospection=true, just a collection of hacks in meson_options.txt that are rumored to be useful somehow. I have not been able to find any reports of people actually getting this to work. Let's disable the docs and introspection data for cross-compiles, since a build without docs or introspection is still very useful, and definitely more useful than no build at all.
Member
|
And, gobject-introspection is not really designed to be used in cross compilations, in short, even if it build, we can not build packages that depends on it. Then what's the point of fixing it in the first place? |
Author
We can. I am about to submit the patch that makes gtk3 cross-compile. Stay tuned. It's worth it. |
Member
Some previous work on cross compiling gtk3 is at #148618, hope it helps. |
13 tasks
Author
|
Author
9 tasks
Member
|
See #88222 for prior art |
Member
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently pkgsCross.aarch64-multiplatform.gobject-introspection does
not build due to breakage in (a) generating the docs and (b)
generating the introspection data.
There really isn't proper support in gobject-introspection for
cross-compiles with -Dintrospection=true, just a collection of hacks
in meson_options.txt that are rumored to be useful somehow. I ave
not been able to find any reports of people actually getting this to
work.
Let's disable the docs nd introspection data for cross-compiles,
since a build without docs or introspection is still very useful, and
definitely more useful than no build at all.
Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notesCurrently pkgsCross.aarch64-multiplatform.gobject-introspection does
not build due to breakage in (a) generating the docs and (b)
generating the introspection data.
There really isn't proper support in gobject-introspection for
cross-compiles with -Dintrospection=true, just a collection of hacks
in meson_options.txt that are rumored to be useful somehow. I have
not been able to find any reports of people actually getting this to
work.
Let's disable the docs and introspection data for cross-compiles,
since a build without docs or introspection is still very useful, and
definitely more useful than no build at all.