Skip to content

Conversation

@alatiera
Copy link
Member

No description provided.

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@alatiera alatiera changed the title test: Use .Compat.i386 from freedesktop-sdk instead wip: test: Use .Compat.i386 from freedesktop-sdk instead Jun 29, 2025
@flathubbot
Copy link
Contributor

🚧 Started test build.

@alatiera alatiera marked this pull request as draft June 29, 2025 13:14
@alatiera alatiera changed the title wip: test: Use .Compat.i386 from freedesktop-sdk instead test: Use .Compat.i386 from freedesktop-sdk instead Jun 29, 2025
@alatiera
Copy link
Member Author

Hi, I am exploring the idea of dropping the org.gnome.Platform.Compat.i386 extension and instead using directly the one provided by freedesktop-sdk. We've been running low on CI resources and the gnome extension involves maintaining and building 2 extra webkits. There are 3 apps on flathub that make use of the extension so I am exploring the possibility of migrating things over.

However I haven't used bottles in a couple of years, it seems to be working on my end but I would be greatful if you could point me at common things that might break or need testing.

@alatiera alatiera force-pushed the alatiera/fdo-i386 branch from 087f863 to 6788d53 Compare June 29, 2025 13:20
@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

Test build was cancelled.

@flathubbot
Copy link
Contributor

🚧 Started test build.


sdk-extensions:
- org.gnome.Sdk.Compat.i386
# - org.freedesktop.Sdk.Compat.i386
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While the .Extension.toolchain one works, this one fails to match the version and ends up looking for org.freedesktop.Sdk.Compat.i386//47

Copy link
Contributor

@abderrahim abderrahim Jul 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be a bug in flatpak-builder. it tries to install the wrong version of the extension, but if it's already installed (24.08) it builds and runs fine.

Sorry I didn't uncomment this line. I see the error now. I think it can be resolved by adding the extension to the Sdk manifest. I'll give it a try

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works with the following instead, but I am suspicious if it has any effect.

add-build-extensions:
  org.freedesktop.Sdk.Compat.i386:
    directory: lib/i386-linux-gnu
    version: "24.08"
    remove-after-build: true

The thing is the extension isn't needed to build at all so even less clear if it works or not, nor am I sure why we define it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like bottles is indeed not building anything for i386 anymore, last one was a78cad6

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good news, I wasn't imagining the extgension resolution failure.

Bad news, its not working with 48 at least.

Initializing build dir
error: Requested extension org.freedesktop.Sdk.Compat.i386/x86_64/48 not installed
Error: Child process exited with code 1
~/P/com.usebottles.bottles (alatiera/fdo-i386|✔) [1]$ flatpak install org.freedesktop.Sdk.Compat.i386//24.08
Looking for matches…
Skipping: org.freedesktop.Sdk.Compat.i386/x86_64/24.08 is already installed

However I think that might be cause we only added the extension point in 49. I will test with 49beta in a bit.

https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/3899

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it won't work with 48 unless we add the extension point. I proposed https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/3902 some time ago for this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This indeed works now with 49beta, cool

@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/194605/com.usebottles.bottles.flatpakref

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

Test build was cancelled.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/209295/com.usebottles.bottles.flatpakref


sdk-extensions:
- org.gnome.Sdk.Compat.i386
- org.freedesktop.Sdk.Extension.toolchain-i386
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually not needed at all, you can remove line range from 60 to here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build failed.

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build failed.

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/210567/com.usebottles.bottles.flatpakref

@flathubbot
Copy link
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Contributor

🚧 Started test build.

@alatiera
Copy link
Member Author

Alright this PR served its purpose of testing the 32bit extension point if needed again, I will leave it as is. Moved the 49 changes into #506

@alatiera alatiera closed this Sep 12, 2025
@flathubbot
Copy link
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/210846/com.usebottles.bottles.flatpakref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants