Arnaud Quette
2014-Dec-01 19:54 UTC
[Nut-upsdev] building NUT on Mac OS X Yosemite (website/documentation)
Hi Dan Charles and Jean are having an issue with the nut-website buildrules. would you have a bit of time to check to help them? thx and cheers, Arno 2014-11-24 14:59 GMT+01:00 Charles Lepple <clepple at gmail.com>:> On Nov 23, 2014, at 3:19 PM, Jean Perriault (GM TAF) <jpweb.taf at gmail.com> > wrote: > > After a fresh ?nut' (version 2.7.2.5) clone on Yosemite, > > > The version number is simply a placeholder, indicating that the Git tree > has changes beyond v2.7.2, and is not yet released as v2.7.3. After we > start making changes, you may want to use "git describe --tags" or the Git > commit ID. > > [...] > > >>>>>> Then make command looks ok, until: > > Making all in docs > Making all in man > /opt/local/bin/a2x --doctype manpage --format manpage --attribute > mansource="Network UPS Tools" --attribute manversion="2.7.2.5" --attribute > manmanual="NUT Manual" --destination-dir=. nut.conf.txt > a2x: WARNING: --destination-dir option is only applicable to HTML based > outputs > > >>>>>> At this stage, the process is kind of hanging, it takes 1 hour to > generate the man pages. > > > If you have internet access while building, your a2x/Docbook toolchain > might still be trying to download additional components (and it is probably > not caching them between runs). The OS X Buildbot slave sets > "ASCIIDOC_VERBOSE=-v" in the environment to print out the exact commands > being invoked (although this only seems to work for the HTML documentation, > rather than the man pages). > > Also, a2x accepts an XSLTPROC_OPTS environment variable that you can set > to "--nonet". I suppose we could add that to the makefiles. > > Regarding 'nut-website?, after fresh clone on Yosemite: > > >>>>>> ./autogen.sh automatically clone nut and nut-dll in nut-website. > >>>>>> can I use my own clones here? > > > Should be possible. Again, I appreciate the effort here, but for a basic > OS X build of NUT, we don't need to build nut-website (yet). > > >>>>>> then make command. I have this one dozen of times: > > sort: stray character in field spec: invalid field specification `4.1,4.5rV > > >>>>>> and it ends with: > > /opt/local/bin/asciidoc --backend=xhtml11 --conf-file=./web-layout.conf > --attribute icons --attribute linkcss --attribute=badges > --attribute=website --attribute=quirks --attribute=revision=2.7.2 > --attribute tree_version=2.7 --attribute localdate=`TZ=UTC date +%Y-%m-%d` > --attribute localtime=`TZ=UTC date +%H:%M:%S` --attribute=date="`TZ=UTC > date`" --attribute iconsdir=./images --attribute scriptsdir=./scripts -o > projects.html -a toc projects.txt > make: *** No rule to make target `-eindex.html', needed by > `ups-html.txt'. Stop. > > > I see that on OS X as well. > > Jean, I CC'd Dan, who wrote the build rules for nut-website. Dan, what I > would like to do is split some of the sort pipelines up into intermediate > files so we can debug this better - I tried using gsort on my local copy, > and it did not work the same as the last time I tried it. > > -- > Charles Lepple > clepple at gmail > > > > > _______________________________________________ > Nut-upsdev mailing list > Nut-upsdev at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev >-- Eaton Data Center Automation - Opensource Leader NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20141201/307cd91f/attachment.html>
Jean Perriault (GM TAF)
2014-Dec-01 20:29 UTC
[Nut-upsdev] building NUT on Mac OS X Yosemite (website/documentation)
Hi guys, Regarding building NUT on mac os x (yosemite), I tried Charles tweaks (ASCIIDOC_VERBOSE=-v + I?ve tried without internet connection) without success. Quick explanation for Charles regarding NUT WEBSITE: I would like to build it on my Mac because I?m experiencing some memory/performance issues with my VMs due to my quite old computer. bye, jean> Le 1 d?c. 2014 ? 20:54, Arnaud Quette <aquette.dev at gmail.com> a ?crit : > > Hi Dan > > Charles and Jean are having an issue with the nut-website buildrules. > would you have a bit of time to check to help them? > > thx and cheers, > Arno > > 2014-11-24 14:59 GMT+01:00 Charles Lepple <clepple at gmail.com <mailto:clepple at gmail.com>>: > On Nov 23, 2014, at 3:19 PM, Jean Perriault (GM TAF) <jpweb.taf at gmail.com <mailto:jpweb.taf at gmail.com>> wrote: > >> After a fresh ?nut' (version 2.7.2.5) clone on Yosemite, > > The version number is simply a placeholder, indicating that the Git tree has changes beyond v2.7.2, and is not yet released as v2.7.3. After we start making changes, you may want to use "git describe --tags" or the Git commit ID. > > [...] >> >>>>>> Then make command looks ok, until: >> >> Making all in docs >> Making all in man >> /opt/local/bin/a2x --doctype manpage --format manpage --attribute mansource="Network UPS Tools" --attribute manversion="2.7.2.5" --attribute manmanual="NUT Manual" --destination-dir=. nut.conf.txt >> a2x: WARNING: --destination-dir option is only applicable to HTML based outputs >> >> >>>>>> At this stage, the process is kind of hanging, it takes 1 hour to generate the man pages. > > If you have internet access while building, your a2x/Docbook toolchain might still be trying to download additional components (and it is probably not caching them between runs). The OS X Buildbot slave sets "ASCIIDOC_VERBOSE=-v" in the environment to print out the exact commands being invoked (although this only seems to work for the HTML documentation, rather than the man pages). > > Also, a2x accepts an XSLTPROC_OPTS environment variable that you can set to "--nonet". I suppose we could add that to the makefiles. > >> Regarding 'nut-website?, after fresh clone on Yosemite: >> >> >>>>>> ./autogen.sh automatically clone nut and nut-dll in nut-website. >> >>>>>> can I use my own clones here? > > > Should be possible. Again, I appreciate the effort here, but for a basic OS X build of NUT, we don't need to build nut-website (yet). > >> >>>>>> then make command. I have this one dozen of times: >> >> sort: stray character in field spec: invalid field specification `4.1,4.5rV >> >> >>>>>> and it ends with: >> >> /opt/local/bin/asciidoc --backend=xhtml11 --conf-file=./web-layout.conf --attribute icons --attribute linkcss --attribute=badges --attribute=website --attribute=quirks --attribute=revision=2.7.2 --attribute tree_version=2.7 --attribute localdate=`TZ=UTC date +%Y-%m-%d` --attribute localtime=`TZ=UTC date +%H:%M:%S` --attribute=date="`TZ=UTC date`" --attribute iconsdir=./images --attribute scriptsdir=./scripts -o projects.html -a toc projects.txt >> make: *** No rule to make target `-eindex.html', needed by `ups-html.txt'. Stop. > > > I see that on OS X as well. > > Jean, I CC'd Dan, who wrote the build rules for nut-website. Dan, what I would like to do is split some of the sort pipelines up into intermediate files so we can debug this better - I tried using gsort on my local copy, and it did not work the same as the last time I tried it. > > -- > Charles Lepple > clepple at gmail > > > > > _______________________________________________ > Nut-upsdev mailing list > Nut-upsdev at lists.alioth.debian.org <mailto:Nut-upsdev at lists.alioth.debian.org> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev> > > > > -- > Eaton Data Center Automation - Opensource Leader > NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org <http://www.networkupstools.org/> > Debian Developer - http://www.debian.org <http://www.debian.org/> > Free Software Developer - http://arnaud.quette.fr <http://arnaud.quette.fr/> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20141201/4d8d516e/attachment.html>
hyouko at gmail.com
2014-Dec-03 00:22 UTC
[Nut-upsdev] building NUT on Mac OS X Yosemite (website/documentation)
Sorry for the unresponsiveness. To the problem: I think the 'stray character' is the 'V', as it's the newer one of the options used here (the dot notation is required by the 'k' option and seems to be supported ever since the release of GNU sort). - http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=4c9fae4e97d95a9f89d1399a8aeb03051f0fec96 Newer versions of (GNU) sort should work as expected (I tested it also on a recent, ~10, FreeBSD). If we want to support older/other versions of sort we could simply remove the 'V' option (and lose its pros) from here (at the very end of the line): https://github.com/networkupstools/nut-website/blob/53044bca4c8d1d425bd9cea8693897f6a70ef291/Makefile.am#L289
Possibly Parallel Threads
- building NUT on Mac OS X Yosemite (website/documentation)
- building NUT on Mac OS X Yosemite (website/documentation)
- building NUT on Mac OS X Yosemite (website/documentation)
- building NUT on Mac OS X Yosemite (website/documentation)
- building NUT on Mac OS X Yosemite (website/documentation)