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

Fix building for ppc64le and arm(v7) in kicbase #12399

Closed
spowelljr opened this issue Sep 2, 2021 · 8 comments · Fixed by #13124
Closed

Fix building for ppc64le and arm(v7) in kicbase #12399

spowelljr opened this issue Sep 2, 2021 · 8 comments · Fixed by #13124
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence.
Milestone

Comments

@spowelljr
Copy link
Member

Building for ppc64le in kicbase was failing so we removed it (#12398) so we could release, ppc64le should be revisited and added back.

@spowelljr spowelljr added kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. labels Sep 2, 2021
@sharifelgamal
Copy link
Collaborator

the error itself:

15:06:41 #160 57.33 Reading state information...
15:06:41 #160 57.96 E: Unable to locate package catatonit
15:06:41 #160 57.96 E: Unable to locate package cri-tools
15:06:41 #160 57.96 E: Unable to locate package podman-plugins

@sharifelgamal
Copy link
Collaborator

for armv7:

17:48:54  > [linux/arm/v7 stage-1  9/38] RUN sh -c "echo 'deb https://download.docker.com/linux/ubuntu focal stable' > /etc/apt/sources.list.d/docker.list" &&     curl -L https://download.docker.com/linux/ubuntu/gpg -o docker.key &&     apt-key add - < docker.key &&     clean-install docker-ce docker-ce-cli containerd.io:
17:48:54 #115 36.93 Reading state information...
17:48:54 #115 37.31 Package docker-ce is not available, but is referred to by another package.
17:48:54 #115 37.31 This may mean that the package is missing, has been obsoleted, or
17:48:54 #115 37.31 is only available from another source
17:48:54 #115 37.31 
17:48:54 #115 37.89 E: Package 'docker-ce' has no installation candidate
17:48:54 #115 37.89 E: Unable to locate package docker-ce-cli
17:48:54 #115 37.89 E: Unable to locate package containerd.io
17:48:54 #115 37.89 E: Couldn't find any package by glob 'containerd.io'
17:48:54 #115 37.89 E: Couldn't find any package by regex 'containerd.io'

@afbjorklund
Copy link
Collaborator

@afbjorklund
Copy link
Collaborator

For Docker, I think you have to resort to the tarballs rather than the packages ? But upstream claims to support both:

https://docs.docker.com/engine/install/ubuntu/

echo \
  "deb [arch=armhf signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

@afbjorklund afbjorklund changed the title Fix building for ppc64le in kicbase Fix building for ppc64le and arm(v7) in kicbase Sep 3, 2021
@sharifelgamal sharifelgamal added this to the 1.24.0 milestone Sep 8, 2021
@afbjorklund
Copy link
Collaborator

afbjorklund commented Sep 8, 2021

@sharifelgamal : this is a bug in the docker packaging for arm32, you need to use the 18.04 packages also on 20.04 :

docker/for-linux#1035

So $(lsb_release -cs) can't be used, it needs to be "bionic" on armhf and "focal" on all the rest of the architectures (4)

https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/

https://download.docker.com/linux/ubuntu/dists/focal/pool/stable/

@afbjorklund
Copy link
Collaborator

afbjorklund commented Sep 8, 2021

@sharifelgamal : looks like cri-o is looking for some help, when it comes to supporting ppc64 and I guess also the .deb

cri-o/cri-o#2467

is it ok/enough to consider arches supported by fedora?

@spowelljr spowelljr added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Nov 8, 2021
@spowelljr
Copy link
Member Author

According to discussion, if we can't make crio with with PowerPC, just not include if for that arch and let the user know

@medyagh
Copy link
Member

medyagh commented Dec 13, 2021

Lets skip crio on powerpc and arm32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants