-
Notifications
You must be signed in to change notification settings - Fork 25
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
Some packages refuse to (re)build without rake #85
Comments
Thanks for info. Yes these two packages need Do you see the issue with other packages? |
Not yet. I got all the way to ruby-debug-ide, which failed because it declares a patched-in dependency on debase but no other package currently needs it, and it is not in the whitelist, and quarry does not add dependencies from config.pkg/*.yaml to the build queue. So, I've just appended it to the whitelist as a dirty hack, and the mass build is now progressing again. |
Yeah, I see In a short-term just add a dependency to its config.pkg with a comment why it been added + this issue number. PS here is upstream issue ruby-debug/ruby-debug-ide#92 |
Uhhh, there's already a patch in quarry :D and the package has a depends+=(ruby-debase) and a prepare() that patches it into the gemfile. But, the build queue does not realize that it should build debase, and therefore makechrootpkg fails with an This is why I am saying, if a package already declares a config.pkg dependency on a package that is a valid ruby package, it should be added to the build queue alongside packages in the whitelist. |
Oops missed that.
That is how quarry worked from the beginning. Are you saying that is not true anymore? If so then it is a bug and should be fixed. |
It... doesn't seem to be true? As I said, ruby-debase is not being built. Lines 564 to 579 in 2e4b609
And I stuck a bunch of debugging prints to see what is going on at various stages, this is what I get -- notice that debase is not mentioned anywhere. AFAICT dependencies are only added from
|
Then it is definitely a Quarry bug. The dependency list is built by if config and config['depends']
dependencies = config['depends'] + dependencies
end The dependencies are lost somewhere along the way. |
Hmm, looks like package_with_changed_dependencies is modifying the existing_packages in place, and adding that to the list of packages that need to be built (with dependencies included). This only works if the package has been built before without the added dependency from config.pkg, which is why I'm seeing this error -- I am attempting to build all packages from scratch. I discovered this when it turned out |
At least, gdk3 will not do so when bootstrapping quarry.
This might not be the only package that no longer cleanly builds after https://lists.archlinux.org/pipermail/arch-dev-public/2018-January/029120.html
...
EDIT: It helps if you don't delete the existing config.pkg/*.yaml :D
Anyway, vte3 has the same issue, let's see what else crops up.
The text was updated successfully, but these errors were encountered: