-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathignore_assert_pandoc.patch
41 lines (39 loc) · 2.08 KB
/
ignore_assert_pandoc.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
only on ppc64le pandoc returns -11
Debian.md -> Debian.html
Traceback (most recent call last):
File "/builddir/build/BUILD/xpra-4.4.4/setup.py", line 2384, in <module>
main()
File "/builddir/build/BUILD/xpra-4.4.4/setup.py", line 2380, in main
setup(**setup_options)
File "/usr/lib64/python3.11/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.11/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.11/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib64/python3.11/distutils/command/install.py", line 584, in run
self.run_command(cmd_name)
File "/usr/lib64/python3.11/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python3.11/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/builddir/build/BUILD/xpra-4.4.4/setup.py", line 1810, in run
convert_doc_dir("./docs", doc_dir)
File "/builddir/build/BUILD/xpra-4.4.4/setup.py", line 423, in convert_doc_dir
convert_doc_dir(fsrc, fdst, fmt, force)
File "/builddir/build/BUILD/xpra-4.4.4/setup.py", line 426, in convert_doc_dir
convert_doc(fsrc, fdst, fmt, force)
File "/builddir/build/BUILD/xpra-4.4.4/setup.py", line 413, in convert_doc
assert r==0, "'%s' returned %s" % (" ".join(cmd), r)
^^^^
AssertionError: 'pandoc --from markdown --to html -o /builddir/build/BUILDROOT/xpra-4.4.4-1.fc38.ppc64le/usr/share/doc/xpra/Build/Debian.html ./docs/Build/Debian.md --lua-filter ./fs/bin/links-to-html.lua' returned -11
--- ./setup.py.orig 2024-10-11 13:20:23.798168651 +0100
+++ ./setup.py 2024-10-11 13:23:23.220858810 +0100
@@ -514,7 +514,7 @@ def convert_doc(fsrc, fdst, fmt="html",
else:
cmd += ["--lua-filter", "./fs/bin/links-to-html.lua"]
r = subprocess.Popen(cmd).wait(TIMEOUT)
- assert r==0, "'%s' returned %s" % (" ".join(cmd), r)
+ #assert r==0, "'%s' returned %s" % (" ".join(cmd), r)
def convert_doc_dir(src, dst, fmt="html", force=False):
print("%-20s -> %s" % (src, dst))