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.
Greetings José On Tue, Oct 3, 2017 at 11:47 AM, Andreas Radke <[email protected]> wrote: > Building with GTK-Dok enabled fails here: > > -[ 41%] Built target poppler-glib-demo > Scanning dependencies of target glib-docs > [ 41%] Generating glib-docs-build.stamp > Traceback (most recent call last): > File "/build/poppler/src/poppler-0.60.0/make-glib-api-docs", line 66, > in <module> > gtkdoc.generate(not args.skip_html) > File "/build/poppler/src/poppler-0.60.0/gtkdoc.py", line 144, in > generate > self._run_gtkdoc_mkdb() > File "/build/poppler/src/poppler-0.60.0/gtkdoc.py", line 360, in > _run_gtkdoc_mkdb > self._run_command(args, cwd=self.output_dir) > File "/build/poppler/src/poppler-0.60.0/gtkdoc.py", line 198, in > _run_command > sys.stdout.write(stdout.encode("utf-8")) > TypeError: write() argument must be str, not bytes > make[2]: *** [glib/reference/CMakeFiles/glib-docs.dir/build.make:61: > glib/reference/glib-docs-build.stamp] Error 1 > make[1]: *** [CMakeFiles/Makefile2:794: > glib/reference/CMakeFiles/glib-docs.dir/all] > Error 2 > make: *** [Makefile:141: all] Error 2 > > > Any idea what's wrong with the argument? > > > -Andy > Arch Linux > > _______________________________________________ > poppler mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/poppler > >
_______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
