Skip to contentSkip to conversation

package/libmemcached: disable documentation

PATCH New Romain Naour 2 participants 2 messages May 11, 2015 – Jul 14, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libmemcached: disable documentation

libmemcached fail to build the documentation/man due to an python sphinx error.

---
This is probably an error throw by my Fedora 21 host.

---
 .../libmemcached/0004-disable-doc-and-man.patch    | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 package/libmemcached/0004-disable-doc-and-man.patch
package/libmemcached/0004-disable-doc-and-man.patch new file +37 -0
new file mode 100644
index 0000000..9605095
@@ -0,0 +1,37 @@
+From 6c01bd3562cc18fbafdf950bbeb73a399c1adcdd Mon Sep 17 00:00:00 2001
+From: Romain Naour <[email protected]>
+Date: Tue, 12 May 2015 00:00:02 +0200
+Subject: [PATCH] disable doc and man
+
+WARNING: master file /home/naourr/git/buildroot/test/libmemcached-bfin/build/libmemcached-1.0.18/docs/index.rst not found
+
+Exception occurred:
+  File "/usr/lib/python2.7/site-packages/sphinx/environment.py", line 1213, in get_doctree
+    f = open(doctree_filename, 'rb')
+IOError: [Errno 2] No such file or directory: '/home/naourr/buildroot-test/test/libmemcached-bfin/build/libmemcached-1.0.18/man/.doctrees/hashkit_create.doctree'
+The full traceback has been saved in /tmp/sphinx-err-JCIsnB.log, if you want to report the issue to the developers.
+Please also report this if it was a user error, so that a better error message can be provided next time.
+Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
+or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
+
+Signed-off-by: Romain Naour <[email protected]>
+---
+ Makefile.am | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 7f44102..cb7d058 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -55,8 +55,6 @@ endif
+ include libmemcachedutil-1.0/include.am
+ 
+ include clients/include.am
+-include docs/include.am
+-include man/include.am
+ 
+ if BUILD_LIBMEMCACHED_PROTOCOL
+ include example/include.am
+-- 
+1.9.3
+
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 package/libmemcached: disable documentation

Dear Romain Naour,

Quoted 10 lines · Romain Naour

libmemcached fail to build the documentation/man due to an python sphinx error.

---
This is probably an error throw by my Fedora 21 host.

---
 .../libmemcached/0004-disable-doc-and-man.patch    | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 package/libmemcached/0004-disable-doc-and-man.patch

I don't really like the patch because it's clearly not upstreamable, but:

1/ The existing other 3 patches we have are also non-upstreamable

2/ Upstream uses the Bazaar version control system, which is probably
the most efficient thing you can do to make sure nobody will be interested in contributing to your project :-)

So, let's not care about this patch not being in an upstreamable state.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com