-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Building package glib
fails
#20070
Comments
You have to follow some steps to bootstrap glib and gojbect-introspection (GI). See https://gitlab.gnome.org/GNOME/glib/-/blob/2.80.0/docs/reference/glib/building.md?ref_type=tags
I can try to add a bootstrap flag in glib or GI build script but I do not know how to check if glib is being bootstrapped. Otherwise, user has to pass the bootstrap flag manually. |
@Biswa96 I understand, thank you! I get how termux uses the already built But it would be really helpful to have these steps automated for cases where dependencies need rebuilding too. How about using I have started at PR that achieves the former in #20081. This makes the build pass. But to rebuild Maybe something could be added in the |
I am not sure if |
Problem description
The build for package
glib
fails with the error:This seems to be introduced since 4ccbae1 in line:
termux-packages/packages/glib/build.sh
Lines 73 to 74 in 4ccbae1
On inspection, I found that the build system didn't download
gobject-introspection
for building even if it is defined in theTERMUX_PKG_BUILD_DEPENDS
forglib
:termux-packages/packages/glib/build.sh
Line 10 in bb4bdf2
Thus the file is missing.
What steps will reproduce the bug?
Build the package
glib
onmaster
with command:Because
gobject-introspection
was not downloaded, I tried building it right beforeglib
. But that resulted in an infinite pause:But well,
gobject-introspection
depends onglib
so maybe that caused the loop:termux-packages/packages/gobject-introspection/build.sh
Line 8 in e6edae3
What is the expected behavior?
I am unable to replicate the successful builds as in termux workflow builds.
System information
N/A
The text was updated successfully, but these errors were encountered: