<div dir="ltr"><div><div><div><div>Hi Dan<br><br></div>Charles and Jean are having an issue with the nut-website buildrules.<br></div>would you have a bit of time to check to help them?<br><br></div>thx and cheers,<br></div>Arno<br><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-24 14:59 GMT+01:00 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="">On Nov 23, 2014, at 3:19 PM, Jean Perriault (GM TAF) <<a href="mailto:jpweb.taf@gmail.com" target="_blank">jpweb.taf@gmail.com</a>> wrote:<br></span><div><span class=""><br><blockquote type="cite"><div style="word-wrap:break-word"><div>After a fresh ‘nut' (version 2.7.2.5) clone on Yosemite,</div><div></div></div></blockquote><div><br></div></span><div>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.</div><br>[...]<span class=""><br><blockquote type="cite"><div style="word-wrap:break-word"><div>>>>>>> Then make command looks ok, until:</div><div><br></div><div><div>Making all in docs</div><div>Making all in man</div><div>/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</div><div>a2x: WARNING: --destination-dir option is only applicable to HTML based outputs</div></div><div><br></div><div>>>>>>> At this stage, the process is kind of hanging, it takes 1 hour to generate the man pages.</div><div></div></div></blockquote><div style="word-wrap:break-word"><div><br></div></div></span><div>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).</div><div><br></div><div>Also, a2x accepts an XSLTPROC_OPTS environment variable that you can set to "--nonet". I suppose we could add that to the makefiles.</div><span class=""><br><blockquote type="cite"><div style="word-wrap:break-word"><div>Regarding 'nut-website’, after fresh clone on Yosemite:</div><div><br></div><div>>>>>>> ./autogen.sh automatically clone nut and nut-dll in nut-website.</div><div>>>>>>> can I use my own clones here?</div><div></div></div></blockquote></span><div style="word-wrap:break-word"><div><br></div><div>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).</div></div><span class=""><br><blockquote type="cite"><div style="word-wrap:break-word"><div>>>>>>> then make command. I have this one dozen of times:</div><div><br></div><div>sort: stray character in field spec: invalid field specification `4.1,4.5rV</div><div><br></div><div>>>>>>> and it ends with:</div><div><br></div><div><div>/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</div><div>make: *** No rule to make target `-eindex.html', needed by `ups-html.txt'. Stop.</div></div></div></blockquote></span><div style="word-wrap:break-word"><div><br></div><div>I see that on OS X as well.</div><div><br></div></div></div><div>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.</div><span class="HOEnZb"><font color="#888888"><br><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div></span><br>
</div>
<br></font></span></div><br>_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@lists.alioth.debian.org">Nut-upsdev@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Eaton Data Center Automation - Opensource Leader<br>NUT (Network UPS Tools) Project Leader - <a href="http://www.networkupstools.org" target="_blank">http://www.networkupstools.org</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.fr" target="_blank">http://arnaud.quette.fr</a><br><br></div></div>
</div></div></div></div></div></div></div></div></div>