awesomized / libmemcached

Resurrection of libmemcached
https://awesomized.github.io/libmemcached/
BSD 3-Clause "New" or "Revised" License
45 stars 26 forks source link

fix doc build with old sphinx #102

Closed remicollet closed 3 years ago

remicollet commented 3 years ago

Only encountered on quite old RHEL 7 (python-sphinx 1.1.3)

Exception occurred:
  File "/usr/lib/python2.7/site-packages/sphinx/util/__init__.py", line 85, in get_matching_docs
    suffixpattern = '*' + suffix
TypeError: cannot concatenate 'str' and 'list' objects
remicollet commented 3 years ago

Additional notice, on EL-7 also have to disable BUILD_DOCS_MANGZ as it use -k gzip option which doesn't exit on old gzip version 1.5

remicollet commented 3 years ago

Thanks to this patch, I was able to build libmemcached on Fedora 31 to 33 and RHEL 7 and 8