<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi guys,<div class="">Regarding building NUT on mac os x (yosemite), I tried Charles tweaks (ASCIIDOC_VERBOSE=-v + I’ve tried without internet connection) without success.</div><div class="">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.</div><div class="">bye, jean</div><div class=""><br class=""><div class=""><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">Le 1 déc. 2014 à 20:54, Arnaud Quette <<a href="mailto:aquette.dev@gmail.com" class="">aquette.dev@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hi Dan<br class=""><br class=""></div>Charles and Jean are having an issue with the nut-website buildrules.<br class=""></div>would you have a bit of time to check to help them?<br class=""><br class=""></div>thx and cheers,<br class=""></div>Arno<br class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">2014-11-24 14:59 GMT+01:00 Charles Lepple <span dir="ltr" class=""><<a href="mailto:clepple@gmail.com" target="_blank" class="">clepple@gmail.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><span class="">On Nov 23, 2014, at 3:19 PM, Jean Perriault (GM TAF) <<a href="mailto:jpweb.taf@gmail.com" target="_blank" class="">jpweb.taf@gmail.com</a>> wrote:<br class=""></span><div class=""><span class=""><br class=""><blockquote type="cite" class=""><div style="word-wrap:break-word" class=""><div class="">After a fresh ‘nut' (version 2.7.2.5) clone on Yosemite,</div><div class=""></div></div></blockquote><div class=""><br class=""></div></span><div class="">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 class="">[...]<span class=""><br class=""><blockquote type="cite" class=""><div style="word-wrap:break-word" class=""><div class="">>>>>>> Then make command looks ok, until:</div><div class=""><br class=""></div><div class=""><div class="">Making all in docs</div><div class="">Making all in man</div><div class="">/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 class="">a2x: WARNING: --destination-dir option is only applicable to HTML based outputs</div></div><div class=""><br class=""></div><div class="">>>>>>> At this stage, the process is kind of hanging, it takes 1 hour to generate the man pages.</div><div class=""></div></div></blockquote><div style="word-wrap:break-word" class=""><div class=""><br class=""></div></div></span><div class="">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 class=""><br class=""></div><div class="">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 class=""><blockquote type="cite" class=""><div style="word-wrap:break-word" class=""><div class="">Regarding 'nut-website’, after fresh clone on Yosemite:</div><div class=""><br class=""></div><div class="">>>>>>> ./autogen.sh automatically clone nut and nut-dll in nut-website.</div><div class="">>>>>>> can I use my own clones here?</div><div class=""></div></div></blockquote></span><div style="word-wrap:break-word" class=""><div class=""><br class=""></div><div class="">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 class=""><blockquote type="cite" class=""><div style="word-wrap:break-word" class=""><div class="">>>>>>> then make command. I have this one dozen of times:</div><div class=""><br class=""></div><div class="">sort: stray character in field spec: invalid field specification `4.1,4.5rV</div><div class=""><br class=""></div><div class="">>>>>>> and it ends with:</div><div class=""><br class=""></div><div class=""><div class="">/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 class="">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" class=""><div class=""><br class=""></div><div class="">I see that on OS X as well.</div><div class=""><br class=""></div></div></div><div class="">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" class=""><br class=""><div class="">
<span style="border-collapse: separate; 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;" class=""><div class="">-- </div><div class="">Charles Lepple</div><div class="">clepple@gmail</div><div class=""><br class=""></div></span><br class="">
</div>
<br class=""></font></span></div><br class="">_______________________________________________<br class="">
Nut-upsdev mailing list<br class="">
<a href="mailto:Nut-upsdev@lists.alioth.debian.org" class="">Nut-upsdev@lists.alioth.debian.org</a><br class="">
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev" target="_blank" class="">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><br class="">-- <br class=""><div class="gmail_signature"><div dir="ltr" class="">Eaton Data Center Automation - Opensource Leader<br class="">NUT (Network UPS Tools) Project Leader - <a href="http://www.networkupstools.org/" target="_blank" class="">http://www.networkupstools.org</a><br class="">Debian Developer - <a href="http://www.debian.org/" target="_blank" class="">http://www.debian.org</a><br class="">Free Software Developer - <a href="http://arnaud.quette.fr/" target="_blank" class="">http://arnaud.quette.fr</a><br class=""><br class=""></div></div>
</div></div></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></div></body></html>