Skip to content
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

build and install cog 0.18.4 in the container #21

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

escherstair
Copy link

The official cog package for Debian bookworm is stuck to 0.16.1 and it won't be updated (see here).
For this reason I opened a PR to build the latest cog (v0.18.4) inside the container.

@escherstair
Copy link
Author

If this way of building works, we can try to see if it's worth rebuilding the latest stable wpewebkit too, as suggested here.

@microhobby microhobby self-requested a review October 8, 2024 03:10
@microhobby microhobby added the enhancement New feature or request label Oct 8, 2024
@escherstair
Copy link
Author

If I use the torizon/cog:3.4.0-20240910 container running on my Verdin iMX8M-Plus I can successfully build and install cog, with the commands suggested from Igalia developers here.
For wpewebkit I'm not able to do the same (see here) because the compilation of wpewebkit takes hours and can't get to a successful end.

For this reason, following this suggestion on Toradex Community I tried using torizon/torizon-deb-ci Action to build the deb packages of cog 0.18.4 and wpewebkit 2.46.1 before including them in a container.
For this reason I created two repos:

and I configured the Github Action to build the .deb packge
The situation is weird:

  • for cog, the same commands that works on the torizon/cog:3.4.0-20240910 container fails with the following error
    Installing build dependencies
    Hit:1 http://deb.debian.org/debian bookworm InRelease
    Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
    Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
    Reading package lists...
    Note, using directory '././' to get the build dependencies
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     builddeps:././ : Depends: libwpewebkit-2.0-dev but it is not installable
    E: Unable to correct problems, you have held broken packages.
    Error: Process completed with exit code 100.
    see the output from the github action here even if I tried installing cog manually inside the debian container used by the Action (to match as much as possible the torizon/cog container)
  • for wpewebkit, it seems to me that the build action is canceled after more than 6 hours (see here). Maybe the free github plan doesn't allow so long actions?

@microhobby can you help me finding what happens here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants