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

[Qubes 4.1] make dom0-rpm support for Fedora 32 #611

Closed
emkll opened this issue Sep 11, 2020 · 4 comments · Fixed by #612
Closed

[Qubes 4.1] make dom0-rpm support for Fedora 32 #611

emkll opened this issue Sep 11, 2020 · 4 comments · Fixed by #612

Comments

@emkll
Copy link
Contributor

emkll commented Sep 11, 2020

Initially reported in #600

A locally-built securedrop-workstation-dom0-config package fails to install in dom0 with the following error:

ERROR
  Problem: conflicting requests
    - nothing provides python (abi) = 3.5 needed by securedrop-workstation-dom0-config-0.4.0-1.fc25.noarch

This is likely because the FPF-managed container used to build the rpms [1] is based on Fedora 25 (Qubes 4.0.1 dom0)

We should:

  • create a separate fedora-32 rpm builder image
  • create a separate makefile target for fedora 32 (so that we can build both 4.0.x (F25) and 4.1.x (F32) dom0 config packages)
  • consider moving the dockerfile(s) to the securedrop-workstation repository (similar to what we do for the RPM repo management)
  • Are we even using the above rpm repo management Dockerfile?

[1] https://github.com/freedomofpress/containers/blob/af86bb4b0fc7edc00d62cc56ef0e27f3311d22c7/rpmbuilder/Dockerfile#L1
[2] https://github.com/freedomofpress/securedrop-workstation/blob/main/docker/CreateRepoRPM/Dockerfile

@emkll emkll added this to Near Term - SD Workstation in SecureDrop Team Board Sep 11, 2020
@kushaldas
Copy link
Contributor

This is likely because the FPF-managed container used to build the rpms [1] is based on Fedora 25 (Qubes 4.0.1 dom0)

Yup, that is the cause here.

@emkll
Copy link
Contributor Author

emkll commented Sep 11, 2020

Confirmed that using a Fedora 32 based container image and ARG FEDORA_PKGR_VER=0.6.0.4-1.fc32 resolves using a local container build, without any further changes.

@conorsch
Copy link
Contributor

If we bump the builder image to f32, can we use that same image to build rpms for dom0 on 4.0, which is f25? I'd expect so, but we were pinning the old fedora version specifically to match what the eventual install target will be. That may be overly cautious.

Are we even using the above rpm repo management Dockerfile?

No, should have been removed as part of #349, but overlooked it. It can be removed at any time.

@kushaldas
Copy link
Contributor

If we bump the builder image to f32, can we use that same image to build rpms for dom0 on 4.0, which is f25?

Things should fail as Fedora needs packages built on the same version of the OS.

@emkll emkll moved this from Near Term - SD Workstation to In Development in SecureDrop Team Board Sep 11, 2020
SecureDrop Team Board automation moved this from In Development to Done Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants