<div dir="ltr">This is a python3 versus python2 compability thing. If you make sure the script runs with python2 it should work. I don't know what's better. to fix the script to run in either version of python or just make explicit dependency on python2. <div><br></div><div><br></div><div>Greetings</div><div><br></div><div>José</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 11:47 AM, Andreas Radke <span dir="ltr"><<a href="mailto:andreas.radke@mailbox.org" target="_blank">andreas.radke@mailbox.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Building with GTK-Dok enabled fails here:<br>
<br>
-[ 41%] Built target poppler-glib-demo<br>
Scanning dependencies of target glib-docs<br>
[ 41%] Generating glib-docs-build.stamp<br>
Traceback (most recent call last):<br>
File "/build/poppler/src/poppler-0.<wbr>60.0/make-glib-api-docs", line 66, in <module><br>
gtkdoc.generate(not args.skip_html)<br>
File "/build/poppler/src/poppler-0.<wbr>60.0/gtkdoc.py", line 144, in generate<br>
self._run_gtkdoc_mkdb()<br>
File "/build/poppler/src/poppler-0.<wbr>60.0/gtkdoc.py", line 360, in _run_gtkdoc_mkdb<br>
self._run_command(args, cwd=self.output_dir)<br>
File "/build/poppler/src/poppler-0.<wbr>60.0/gtkdoc.py", line 198, in _run_command<br>
sys.stdout.write(stdout.<wbr>encode("utf-8"))<br>
TypeError: write() argument must be str, not bytes<br>
make[2]: *** [glib/reference/CMakeFiles/<wbr>glib-docs.dir/build.make:61: glib/reference/glib-docs-<wbr>build.stamp] Error 1<br>
make[1]: *** [CMakeFiles/Makefile2:794: glib/reference/CMakeFiles/<wbr>glib-docs.dir/all] Error 2<br>
make: *** [Makefile:141: all] Error 2<br>
<br>
<br>
Any idea what's wrong with the argument?<br>
<br>
<br>
-Andy<br>
Arch Linux<br>
<br>______________________________<wbr>_________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/poppler" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/poppler</a><br>
<br></blockquote></div><br></div>