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

Alternative build process #494

Open
kisira opened this issue Jun 1, 2023 · 6 comments
Open

Alternative build process #494

kisira opened this issue Jun 1, 2023 · 6 comments

Comments

@kisira
Copy link

kisira commented Jun 1, 2023

Is there an alternative to using clean-chroot-manager. It keeps giving inexplicable errors. If there is an alternative way to build archzfs and its packages please publish the procedure.

@stevleibelt
Copy link

@kisira

Would you be so nice and describe what you are doing in detail, maybe with some cli command you've executed and an example 'inexplicable error'?

Best regards and thanks in advance

@kisira
Copy link
Author

kisira commented Jun 1, 2023

I was following the instructions to build archzfs using the instructions linked from the GitHub repo. I am currently running an Arch installation booting ZFS.

I would rather build archzfs because sometimes managing the system with pacman might require it especially if we don't update it all the time.

We have been trying to build archzfs for a couple of weeks now. At first it seemed like a dependency issue, but now it's not even that. I raised an issue with the ccm team, but the solution they implemented did not to help. The errors now have no context, it's always just a generic message that doesn't provide or suggest a straightforward resolution.

I was hoping that there was some way to circumvent using the ccm tool and build archzfs more manually. Or an alternative build system that is more reliable.

For example in response to this command:

sudo ./build.sh utils std lts update make

After some building, I get the response:

Command returned: 1

==== ERROR: A problem occurred building the package

I have also tried all the other ways of building the package with the ccm tool. None have succeeded. This error doesn't even complain about dependencies.

@AkechiShiro
Copy link

AkechiShiro commented Jun 1, 2023

I'm also curious about another way, using perhaps directly makechrootpkg @kisira I tried to use it as well and ran into a different error and I couldn't solve it, mine was about a permission denied in the chroot for accessing to a makepkg.conf file.

@minextu
Copy link
Member

minextu commented Jun 8, 2023

Switching away from clean-chroot-manager would take some refactoring. I don't have the time to do it unfortunately, but it has been a bit annoying to use in combination with docker for the build server

@travishegner
Copy link

travishegner commented Jul 25, 2023

Hello, I have written a simple script to build the packages with podman, utilizing the PKGBUILDs found in the AUR.

https://github.com/travishegner/buildzfs

Perhaps this could be a useful starting point to switch to a container based build process. Also, this could be useful for people to not be blocked on upgrades when the CI system is failing to deploy.

@kisira
Copy link
Author

kisira commented Jul 26, 2023

Thanks man, I will try it out

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

No branches or pull requests

5 participants