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

p7zip is not available on arm/v6 #68

Closed
ttionya opened this issue Jul 11, 2022 · 4 comments
Closed

p7zip is not available on arm/v6 #68

ttionya opened this issue Jul 11, 2022 · 4 comments
Labels
Third party Needs an update from the third party library

Comments

@ttionya
Copy link
Owner

ttionya commented Jul 11, 2022

Rclone 1.59.0 is built on Alpine 3.16, the tool's dependency p7zip cannot be found on the Alpine 3.16 arm/v6 platform.

I have created an issue jinfeihan57/p7zip#187 under the p7zip project and waiting for it to be fixed. In the meantime I will evaluate the possibility of using alternative tools.

See the GitHub Actions log for errors.

#17 0.339 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/armhf/APKINDEX.tar.gz
#17 1.256 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/armhf/APKINDEX.tar.gz
#17 2.542 ERROR: unable to select packages:
#17 2.654   p7zip (no such package):
#17 2.654     required by: world[p7zip]
@ttionya ttionya added the Third party Needs an update from the third party library label Jul 11, 2022
@ttionya
Copy link
Owner Author

ttionya commented Jul 12, 2022

@ttionya
Copy link
Owner Author

ttionya commented Jul 17, 2022

Starting with p7zip 17.04, it is built on p7zip's fork jinfeihan57/p7zip, while the previous version (16.02) was built based on p7zip on sourceforge.

But p7zip 17.04 couldn't pass the test on the armhf platform, so the maintainer removed armhf platform support. You can see pipeline at https://gitlab.alpinelinux.org/alpine/aports/-/jobs/767452. And Alpine 3.16 was released after the removal of armhf platform, so it doesn't have the p7zip package.

I could build a separate image for arm/v6 via the specific Dockerfile, but its tag would not be consistent with that of other platforms, so I did not use this method for ease of use.

Now I use multistage build, arm/v6 based on alpine:3.15, and install the rclone package, but it's only version 1.57.0, other platforms are the latest 1.59.0.

@ttionya
Copy link
Owner Author

ttionya commented Jul 17, 2022

This issue will not be closed until p7zip can be used normally on all platforms.

@ttionya ttionya changed the title arm/v6 build failed p7zip is not available on arm/v6 Jul 17, 2022
@ttionya
Copy link
Owner Author

ttionya commented Dec 25, 2022

I found a new 7z package in alpine:3.17 called 7zip. it is only available in alpine:3.17.

Now that rclone is built on alpine:3.17, maybe we can replace p7zip with 7zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Third party Needs an update from the third party library
Projects
None yet
Development

No branches or pull requests

1 participant