Re: Building Lilypond documentation
Here's my (very simple) Vagrant setup. Am I perhaps missing some dependencies? https://gist.github.com/svenax/8222686 -- Sven Axelsson ++[>++>+++>++>++ ><-]>.+..>+.>+.<<-.>>+.>.<<. +++.>-.<<++.>>.<++.>>>++..>>.<. ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
Sven Axelsson: > It appears as if texi2html needs word-writeable folders to work. Thus I > took the simple route of running make doc (and make test) under sudo. Is > that how others does it too? Nope, git clone, pull, ./autogen.sh, make all, make doc all as the same user, no problems like the one you state. Regards, /Karl Hammar --- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57 ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
On 2 January 2014 17:10, James wrote: > On 02/01/14 15:51, David Kastrup wrote: > >> Sven Axelsson writes: >> >> It appears as if texi2html needs word-writeable folders to work. >>> >> No, it just needs writeable folders to work. >> >> Thus I took the simple route of running make doc (and make test) under >>> sudo. Is that how others does it too? >>> >> No, never. I think that if you do >> >> make >> sudo make install >> >> that _some_ directory is only created during make install, and thus >> getting rid of it again is a more-than-once nuisance. >> > And considering I make doc about 3-4 times a day most days with no > problems and I am not AFAIK using 'sudo', which was why I was interested in > what exactly is being done here step by step. > > Are you for instance doing/have done something as 'root' and then trying > to run the make process as joe-user? > > If I take a quick peek in my LILYPOND_GIT all my dirs are owner/group > 'jlowe jlowe' than root, or any other user. > > This is how I'm doing it. I have set up a virtual machine using Vagrant and my source directory is on the host machine, mounted using NFS. The default VirtualBox shared folder file system can't handle hard links, so that's the reason for the change. Make all works just fine without sudo. Make doc fails when texi2html wants to write in the out-www folders and the various subfolders (contributors, extending and the like). Other processes have created those folders and written to them, so the issue seems only to be with texi2html. I first thought that it may be an issue because the user that runs in the vm is not the same as the one that owns the folder on the host. But when I check the files and folders that were created, they all have the expected owner, i.e. the one that started the vm. This by the way also goes for files created by sudo on the guest. -- Sven Axelsson ++[>++>+++>++>++ ><-]>.+..>+.>+.<<-.>>+.>.<<. +++.>-.<<++.>>.<++.>>>++..>>.<. ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
On 02/01/14 15:51, David Kastrup wrote: Sven Axelsson writes: It appears as if texi2html needs word-writeable folders to work. No, it just needs writeable folders to work. Thus I took the simple route of running make doc (and make test) under sudo. Is that how others does it too? No, never. I think that if you do make sudo make install that _some_ directory is only created during make install, and thus getting rid of it again is a more-than-once nuisance. And considering I make doc about 3-4 times a day most days with no problems and I am not AFAIK using 'sudo', which was why I was interested in what exactly is being done here step by step. Are you for instance doing/have done something as 'root' and then trying to run the make process as joe-user? If I take a quick peek in my LILYPOND_GIT all my dirs are owner/group 'jlowe jlowe' than root, or any other user. James ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
Sven Axelsson writes: > It appears as if texi2html needs word-writeable folders to work. No, it just needs writeable folders to work. > Thus I took the simple route of running make doc (and make test) under > sudo. Is that how others does it too? No, never. I think that if you do make sudo make install that _some_ directory is only created during make install, and thus getting rid of it again is a more-than-once nuisance. If you figure out what it is exactly, feel free to file a bug. It may also be in connection with make make doc sudo make install I don't remember it exactly. Some xref-thing or so. -- David Kastrup ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
It appears as if texi2html needs word-writeable folders to work. Thus I took the simple route of running make doc (and make test) under sudo. Is that how others does it too? -- Sven Axelsson ++[>++>+++>++>++ ><-]>.+..>+.>+.<<-.>>+.>.<<. +++.>-.<<++.>>.<++.>>>++..>>.<. ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
On 2 January 2014 12:50, Phil Holmes wrote: > AFAICS it will be complaining about the directory below where the > logfile is found. > Thanks. Making that folder (./build/input/regression/lilypond-book/out-www) world writeable did the trick. Continuing the build now. We'll see if this is needed in more places. -- Sven Axelsson ++[>++>+++>++>++ ><-]>.+..>+.>+.<<-.>>+.>.<<. +++.>-.<<++.>>.<++.>>>++..>>.<. ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
AFAICS it will be complaining about the directory below where the logfile is found. -- Phil Holmes - Original Message - From: Sven Axelsson To: lilypond-devel@gnu.org Sent: Thursday, January 02, 2014 11:29 AM Subject: Building Lilypond documentation I've decided to get at least a little active in Lilypond development, and thought I should start with getting my development environment up and running. I get some weird errors when building the different doc targets, such as: make[4]: Entering directory `/lilydev/build/input/regression/lilypond-book' /lilydev/./input/regression/lilypond-book/GNUmakefile:24: warning: overriding commands for target `out-www/collated-files.list' /lilydev/./make/lysdoc-rules.make:6: warning: ignoring old commands for target `out-www/collated-files.list' make[4]: Circular out-www/collated-files.list <- suffix-tely.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-include-file.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-include-language-detection.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-language-detection.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-musicxml-file-options.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-musicxml-file.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-papersize-docs.tely dependency dropped. make[4]: Circular out-www/texinfo-include-file.texi <- texinfo-include-file.tely dependency dropped. make[4]: Circular out-www/texinfo-include-language-detection.texi <- texinfo-include-language-detection.tely dependency dropped. make[4]: Circular out-www/texinfo-language-detection.texi <- texinfo-language-detection.tely dependency dropped. make[4]: Circular out-www/texinfo-musicxml-file-options.texi <- texinfo-musicxml-file-options.tely dependency dropped. make[4]: Circular out-www/texinfo-musicxml-file.texi <- texinfo-musicxml-file.tely dependency dropped. make[4]: Circular out-www/texinfo-papersize-docs.texi <- texinfo-papersize-docs.tely dependency dropped. /lilydev/build/scripts/build/out/run-and-check "DEPTH=../../.. AJAX_SEARCH= TOP_SRC_DIR=/lilydev PERL_UNICODE=SD texi2html --error-limit=0 --I=/lilydev/input/regression/lilypond-book --I=./out-www --I=/lilydev/build/./out-www/xref-maps --init-file=/lilydev/Documentation/lilypond-texi2html.init --output=out-www/suffix-tely.html out-www/suffix-tely.texi" "suffix-tely.texilog.log" Please check the logfile suffix-tely.texilog.log for errors And "suffix-tely.texilog.log" contains "*** out-www/ not writable". Not sure which one of the many out-www folders that is referring to, but they are all writable as far as I can see. I am probably missing something simple here. I'd appreciate if someone can give me a hint. Thanks -- Sven Axelsson ++[>++>+++>++>++ ><<<<<-]>.+..>+.>+.<<-.>>+.>.<<. +++.>-.<<++.>>.<++.>>>++.<<<<.>>.<. -- ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
On 02/01/14 11:29, Sven Axelsson wrote: I've decided to get at least a little active in Lilypond development, and thought I should start with getting my development environment up and running. I get some weird errors when building the different doc targets, What does 'building the different doc targets' mean exactly? Does a 'make doc' work fundamentally? James ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Building Lilypond documentation
On Jan 2, 2014, at 1:29 PM, Sven Axelsson wrote: > I've decided to get at least a little active in Lilypond development, and > thought I should start with getting my development environment up and > running. I get some weird errors when building the different doc targets, > such as: > > Please check the logfile suffix-tely.texilog.log for errors > > And "suffix-tely.texilog.log" contains "*** out-www/ not writable". Not sure > which one of the many out-www folders that is referring to, but they are all > writable as far as I can see. > > I am probably missing something simple here. I'd appreciate if someone can > give me a hint. Try doing a recursive chmod (find . -name “a regular expression” | xargs chmod my-permissions-wishes) and/or running make in sudo. I do the latter whenever I build out of laziness - works for me. Cheers, MS ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel
Building Lilypond documentation
I've decided to get at least a little active in Lilypond development, and thought I should start with getting my development environment up and running. I get some weird errors when building the different doc targets, such as: make[4]: Entering directory `/lilydev/build/input/regression/lilypond-book' /lilydev/./input/regression/lilypond-book/GNUmakefile:24: warning: overriding commands for target `out-www/collated-files.list' /lilydev/./make/lysdoc-rules.make:6: warning: ignoring old commands for target `out-www/collated-files.list' make[4]: Circular out-www/collated-files.list <- suffix-tely.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-include-file.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-include-language-detection.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-language-detection.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-musicxml-file-options.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-musicxml-file.tely dependency dropped. make[4]: Circular out-www/collated-files.list <- texinfo-papersize-docs.tely dependency dropped. make[4]: Circular out-www/texinfo-include-file.texi <- texinfo-include-file.tely dependency dropped. make[4]: Circular out-www/texinfo-include-language-detection.texi <- texinfo-include-language-detection.tely dependency dropped. make[4]: Circular out-www/texinfo-language-detection.texi <- texinfo-language-detection.tely dependency dropped. make[4]: Circular out-www/texinfo-musicxml-file-options.texi <- texinfo-musicxml-file-options.tely dependency dropped. make[4]: Circular out-www/texinfo-musicxml-file.texi <- texinfo-musicxml-file.tely dependency dropped. make[4]: Circular out-www/texinfo-papersize-docs.texi <- texinfo-papersize-docs.tely dependency dropped. /lilydev/build/scripts/build/out/run-and-check "DEPTH=../../.. AJAX_SEARCH= TOP_SRC_DIR=/lilydev PERL_UNICODE=SD texi2html --error-limit=0 --I=/lilydev/input/regression/lilypond-book --I=./out-www --I=/lilydev/build/./out-www/xref-maps --init-file=/lilydev/Documentation/lilypond-texi2html.init --output=out-www/suffix-tely.html out-www/suffix-tely.texi" "suffix-tely.texilog.log" Please check the logfile suffix-tely.texilog.log for errors And "suffix-tely.texilog.log" contains "*** out-www/ not writable". Not sure which one of the many out-www folders that is referring to, but they are all writable as far as I can see. I am probably missing something simple here. I'd appreciate if someone can give me a hint. Thanks -- Sven Axelsson ++[>++>+++>++>++ ><-]>.+..>+.>+.<<-.>>+.>.<<. +++.>-.<<++.>>.<++.>>>++..>>.<. ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel