Skip to content

Conversation

@jpeach
Copy link
Contributor

@jpeach jpeach commented Aug 22, 2023

The error message quoting for the Sphinx check failure was removed in c2d4999, but is actually needed.

If you omit the quoting, the error turns into this:

checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages
checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
checking for ... /usr/local/bin/python3 -m sphinx
checking for sphinx version >= 1.7.5... No module named 'sphinx'
./configure: line 441: test: check: integer expression expected
configure: error: Sphinx
./configure: line 312: return: check: numeric argument required
./configure: line 322: exit: check: numeric argument required

@jpeach jpeach requested a review from randall August 22, 2023 02:02
The error message quoting for the Sphinx check failure was removed in
c2d4999, but is actually needed.

If you omit the quoting, the error turns into this:

    checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages
    checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
    checking for ... /usr/local/bin/python3 -m sphinx
    checking for sphinx version >= 1.7.5... No module named 'sphinx'
    ./configure: line 441: test: check: integer expression expected
    configure: error: Sphinx
    ./configure: line 312: return: check: numeric argument required
    ./configure: line 322: exit: check: numeric argument required

Signed-off-by: James Peach <jpeach@apache.org>
@jpeach jpeach changed the title Fix m4 quoting on Sphinx check error message. Fix m4 quoting on configure error messages. Aug 22, 2023
@jpeach jpeach merged commit 4592f8d into apache:master Aug 28, 2023
@jpeach jpeach deleted the sphinx-check-err branch August 28, 2023 01:02
@zwoop zwoop added this to the 10.0.0 milestone Feb 29, 2024
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jun 3, 2024
The error message quoting for the Sphinx check failure was removed in
c2d4999, but is actually needed.

If you omit the quoting, the error turns into this:

    checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages
    checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
    checking for ... /usr/local/bin/python3 -m sphinx
    checking for sphinx version >= 1.7.5... No module named 'sphinx'
    ./configure: line 441: test: check: integer expression expected
    configure: error: Sphinx
    ./configure: line 312: return: check: numeric argument required
    ./configure: line 322: exit: check: numeric argument required

Signed-off-by: James Peach <jpeach@apache.org>
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jun 3, 2024
* commit '01409a61bab49c81cf422cdb29a94dcd07bf3c37': (31 commits)
  cmake: add more executables (apache#10284)
  Fix a crash due to bad disks (apache#10287)
  ts_lua_transform: input_reader may be used uninitialized (apache#10297)
  CID 1508887 fix parent_select plugin stat Time of check. (apache#10260)
  Make remap API compatibility checks consistent. (apache#10253)
  remove deprecated 'NATIVE' AIO mode (apache#10269)
  Fix connect failure count (apache#10294)
  Add version range up to CMake 3.27 (apache#10259)
  untangle fds_limit global (apache#10288)
  replace net_config_poll_timeout with EThread::default_wait_interval_ms (apache#10289)
  suppress coverity false positive on race condition (apache#10278)
  initialize variable (apache#10277)
  Check the inet_pton return value for IP reputations (apache#10267)
  Fix missing virtual destructor. (apache#10293)
  tools/jtest: use @SWOC_LIBS@ (apache#10292)
  Fix m4 quoting on configure error messages. (apache#10258)
  build_h3_tools: explicitly chmod the destination directory (apache#10274)
  Fix CID 1508979: unchecked return value (apache#10281)
  Fix CID 1508970: Uninitialized scalar variable (apache#10282)
  Fix CID 1508992, 1508976, 1508972: uninitialized scalar variables (apache#10275)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants