-
Notifications
You must be signed in to change notification settings - Fork 17
Successful LilyPond build #7
base: master
Are you sure you want to change the base?
Conversation
ImageMagick 6.5.7-8 is no longer available.
dash (and possibly other shells) refuses to override builtins.
They use makeinfo from the system and tend to lead to fail builds on syntax errors in the doc files. We don't need the docs anyway.
They use dblatex from the system and tend to fail.
I only had a quick look, but it appears correct. I'm no expert, though. |
@PhilHolmes can you please test this branch and see if you can still build LilyPond? |
I'll give it a test. If I git pull https://github.com/jrioux/gub lily-build and have problems, how would I revert to the previous working set up? Phil Holmes ----- Original Message ----- These are the changes I needed to be able to build LilyPond with gub.
You can merge this Pull Request by running
Commit Summary |
Switching back to the master branch should be sufficient. But if you want to completely avoid any problems, just check the branch out in a completely new, separate directory (a separate clone) than what you have been using. GUB will need to build everything from scratch. |
Updates on GUB checked out OK, and GUB ran OK. Should be OK to push to master. FWIW GUB can be reset with a git reset --hard origin/master Phil Holmes ----- Original Message ----- Switching back to the master branch should be sufficient. But if you want to completely avoid any problems, just check the branch out in a completely new, separate directory (a separate clone) than what you have been using. GUB will need to build everything from scratch. — |
Thanks for testing. |
@jrioux it's a pity that this PR was forgotten... (imagemagick commit is now obsolete, BTW). I have the feeling that one of these patches, specifically the one disabling makeinfo for gcc, might solve the problem me and others encountered when trying to build with GUB in modern distros. I'm now trying to rebase your third commit in this PR on top of pull #46, but I don't have the Python skills to resolve the rebase conflicts (on one file only actually) and make sure your changes are still valid on current GUB. I wonder if you feel like hacking on GUB again. |
I must say that I'm using |
Find attached the patch I tried some days ago. Can't remember how it went.. I'm doing too many things at the same time.. I'll try again sooner or later.. |
@fedelibre Applying the patch did work for me (using LilyDev). Now my build stops here... |
@Bobo1239 I've just tried above patch (in my comment of 8th of October) on lilydev debian container (testing your PR). It fails as described on lilypond issue 5420. How did you make it work exactly? |
@fedelibre I'm not getting the error anymore even without the patch... btw: Here are the commands I've ran after logging in to the Debian container:
edit: Welp, this is strange. |
Perhaps you uninstalled texinfo package? I know that Phil did not have it installed in his VM and this may be a reason why he never had such a problem. |
Ok, the problem only occurs if you run I'm using my LilyDev PR branch and haven't uninstalled anything so texinfo was still available in my tests. |
Yeah, the patch unfortunately doesn't fix the problem. But you can work around it by not running |
It's not a workaround. You must run Also, the first run of I tried removing texinfo package but did not help. If I had time I would try again from scratch without texinfo installed from the very beginning. But I'm getting demotivated with this trial&error work in GUB... |
I was not aware of that as the GUB readme suggests that the bootstrap is optional. Also because Your observations match mine. I'll try it without the texinfo package but I'm also getting discouraged. Not to mention that there's the python issue waiting after this is fixed... |
And... it didn't work even without texinfo from the very start (I just removed the package entry in |
You may have just removed it from the existing container with Anyway, I followed the Notes on build with GUB of LilyPond documentation. |
Yeah, that's also my suspicion. But why does it work on @PhilHolmes's VM/machine? |
This is a rebased and updated version of gperciva#7 condensed into a single commit. * *.make: Use $(GUB) and $(PYTHON) instead of `bin/gub' and `python', respectively. * bin/gib: Print help message if run without arguments. * bin/gub: Remove unnecessary lambda. * gub/dependency.py: Avoid TypeError: issubclass() arg 1 must be a class. * gcc.py, guile.py: Don't build info docs. * lilypond-doc.py, lilypond-test.py: Don't run `dblatex' regression tests.
I've updated this pull request and condensed it into a single commit as part of #51. |
This pull request can be closed now. |
These are the changes I needed to be able to build LilyPond with gub.