rtems-docs build failure

Joel Sherrill joel at rtems.org
Sun Dec 23 17:11:51 UTC 2018


Shashvat.. what's the output of sphinx-build --version? The format has
changed at least once and broken the version probe. I see this:

$ sphinx-build --version
sphinx-build 1.8.2


Chris... xindy

==================
[joel at localhost rtems]$ xindy
xindy      xindy.run
[joel at localhost rtems]$ type xindy
xindy is /usr/local/texlive/2018/bin/x86_64-linux/xindy
[joel at localhost rtems]$ echo $PATH
/home/joel/.local/bin:/usr/local/texlive/2018/bin/x86_64-linux:/home/joel/rtems-work/tools/5/bin:/home/joel/rtems-work/rtems-testing/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/bin:/home/joel/bin
======================

Checking on one of the other machines, it has the same version of texlive
so xindy is included. On holiday so can't check the other two
installations. One of those for sure is older. I know I have sphinx-build
1.6 to 1.8 depending on the computer. But the texlive may not vary as much.

--joel

==================

On Sun, Dec 23, 2018 at 3:52 AM Shashvat Jain <shashvatjain2002 at gmail.com>
wrote:

> Hello Chris
> I would like to add my problem here .
> I am unable to properly install sphinx.
> When I run ./waf Configure , it gives the following error ,
> ______________________________________
>
> Setting top to                           : /home/shashvat/rtems-docs
> Setting out to                           : /home/shashvat/rtems-docs/
> build
> Checking version                         : 5.0.0 (master)
> Checking for program 'sphinx-build'      : /usr/bin/sphinx-build
> Checking for program 'aspell'            : /usr/bin/aspell
> Checking if Sphinx is at least 1.3       : Traceback (most recent call
> last):
>   File "/home/shashvat/rtems-docs/.waf-1.9.7-
> d27222240ebc8bcbca7fcd8f4ae914fb/waflib/Scripting.py", line 120, in
> waf_entry_point
>     run_commands()
>   File "/home/shashvat/rtems-docs/.waf-1.9.7-
> d27222240ebc8bcbca7fcd8f4ae914fb/waflib/Scripting.py", line 181, in
> run_commands
>     ctx=run_command(cmd_name)
>   File "/home/shashvat/rtems-docs/.waf-1.9.7-
> d27222240ebc8bcbca7fcd8f4ae914fb/waflib/Scripting.py", line 172, in
> run_command
>     ctx.execute()
>   File "/home/shashvat/rtems-docs/.waf-1.9.7-
> d27222240ebc8bcbca7fcd8f4ae914fb/waflib/Configure.py", line 85, in execute
>     super(ConfigurationContext,self).execute()
>   File "/home/shashvat/rtems-docs/.waf-1.9.7-
> d27222240ebc8bcbca7fcd8f4ae914fb/waflib/Context.py", line 88, in execute
>     self.recurse([os.path.dirname(g_module.root_path)])
>   File "/home/shashvat/rtems-docs/.waf-1.9.7-
> d27222240ebc8bcbca7fcd8f4ae914fb/waflib/Context.py", line 129, in recurse
>     user_function(self)
>   File "/home/shashvat/rtems-docs/wscript", line 36, in configure
>     conf.recurse(b)
>   File "/home/shashvat/rtems-docs/.waf-1.9.7-
> d27222240ebc8bcbca7fcd8f4ae914fb/waflib/Context.py", line 129, in recurse
>     user_function(self)
>   File "/home/shashvat/rtems-docs/common/waf.py", line 216, in
> cmd_configure
>     ver = check_sphinx_version(ctx, sphinx_min_version)
>   File "/home/shashvat/rtems-docs/common/waf.py", line 124, in
> check_sphinx_version
>     ctx.fatal("Sphinx version cannot be checked: %s" % version)
> UnboundLocalError: local variable 'version' referenced before assignment
> ______________________________________
>
> Please help
> I think Dr. Joel is facing a problem while
> Running ./waf Configure with --pdf option
> Enable.
>
> Thank you
> Regards
> Shashvat
>
> On Sat 22 Dec, 2018, 2:31 AM Chris Johns <chrisj at rtems.org wrote:
>
>> On 22/12/18 1:52 am, Joel Sherrill wrote:
>> > Just passing along that it still fails for me: Builds when not doing PDF
>>
>> What failed?
>>
>> > [joel at devel rtems-docs]$ ./waf configure --prefix=/tmp/docs --pdf
>> > [joel at devel rtems-docs]$ ./waf && ./waf install
>>
>> The build or the install? Please run as separate commands.
>>
>> Thanks
>> Chris
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181223/5c50456f/attachment.html>


More information about the devel mailing list