[Slackbuilds-users] py3cairo SlackBuild failure
Bojan Popovic
bocke at slackware-srbija.org
Mon Aug 16 10:42:23 UTC 2021
Hi.
I already disowned this package on the slackbuild-users mailing list two
months ago (along with some others). If they still list me as maintainer
that's an error.
I'm putting the slackbuild-users in "cc" so they can correct this.
Bojan.
On 16.8.21. 03:00, Netfoot wrote:
> root at zaphod:~/SlackBuild/py3cairo# ls -l
> total 268
> -rw-r--r-- 1 1016 users 342 Jul 1 2016 README
> -rwxr-xr-x 1 1016 users 3188 Nov 26 2016 py3cairo.SlackBuild*
> -rw-r--r-- 1 1016 users 307 Jul 1 2016 py3cairo.info
> <http://py3cairo.info>
> -rw-r--r-- 1 1016 users 846 Jul 1 2016
> pycairo-1.10.0-waf_python_3_4-1.patch
> -rw-r--r-- 1 1016 users 597 Jul 1 2016
> pycairo-1.10.0-waf_unpack-1.patch
> -rw-r--r-- 1 root root 246556 Apr 18 2011 pycairo-1.10.0.tar.bz2
> -rw-r--r-- 1 1016 users 920 Nov 14 2016 slack-desc
> root at zaphod:~/SlackBuild/py3cairo# ./py3cairo.SlackBuild
> pycairo-1.10.0/AUTHORS
> pycairo-1.10.0/COPYING
> pycairo-1.10.0/COPYING.LESSER
> pycairo-1.10.0/INSTALL
> pycairo-1.10.0/NEWS
> pycairo-1.10.0/README
> pycairo-1.10.0/doc/Makefile
> pycairo-1.10.0/doc/README
> pycairo-1.10.0/doc/_build/html/.buildinfo
> pycairo-1.10.0/doc/_build/html/_static/basic.css
> pycairo-1.10.0/doc/_build/html/_static/default.css
> pycairo-1.10.0/doc/_build/html/_static/doctools.js
> pycairo-1.10.0/doc/_build/html/_static/jquery.js
> pycairo-1.10.0/doc/_build/html/_static/pygments.css
> pycairo-1.10.0/doc/_build/html/_static/searchtools.js
> pycairo-1.10.0/doc/_build/html/_static/sidebar.js
> pycairo-1.10.0/doc/_build/html/_static/underscore.js
> pycairo-1.10.0/doc/_build/html/faq.html
> pycairo-1.10.0/doc/_build/html/genindex.html
> pycairo-1.10.0/doc/_build/html/index.html
> pycairo-1.10.0/doc/_build/html/objects.inv
> pycairo-1.10.0/doc/_build/html/overview.html
> pycairo-1.10.0/doc/_build/html/py-modindex.html
> pycairo-1.10.0/doc/_build/html/pycairo_c_api.html
> pycairo-1.10.0/doc/_build/html/reference/constants.html
> pycairo-1.10.0/doc/_build/html/reference/context.html
> pycairo-1.10.0/doc/_build/html/reference/exceptions.html
> pycairo-1.10.0/doc/_build/html/reference/index.html
> pycairo-1.10.0/doc/_build/html/reference/matrix.html
> pycairo-1.10.0/doc/_build/html/reference/paths.html
> pycairo-1.10.0/doc/_build/html/reference/patterns.html
> pycairo-1.10.0/doc/_build/html/reference/surfaces.html
> pycairo-1.10.0/doc/_build/html/reference/text.html
> pycairo-1.10.0/doc/_build/html/search.html
> pycairo-1.10.0/doc/_build/html/searchindex.js
> pycairo-1.10.0/doc/conf.py
> pycairo-1.10.0/doc/faq.rst
> pycairo-1.10.0/doc/index.rst
> pycairo-1.10.0/doc/make.bat
> pycairo-1.10.0/doc/overview.rst
> pycairo-1.10.0/doc/pycairo_c_api.rst
> pycairo-1.10.0/doc/reference/constants.rst
> pycairo-1.10.0/doc/reference/context.rst
> pycairo-1.10.0/doc/reference/exceptions.rst
> pycairo-1.10.0/doc/reference/index.rst
> pycairo-1.10.0/doc/reference/matrix.rst
> pycairo-1.10.0/doc/reference/paths.rst
> pycairo-1.10.0/doc/reference/patterns.rst
> pycairo-1.10.0/doc/reference/surfaces.rst
> pycairo-1.10.0/doc/reference/text.rst
> pycairo-1.10.0/examples/cairo_snippets/snippets/__init__.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/arc.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/arc_negative.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/clip.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/curve_rectangle.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/curve_to.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/ellipse.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/fill_and_stroke.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/fill_and_stroke2.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/glyph_path.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/gradient.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/gradient_mask.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/group.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/path.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/set_line_cap.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/set_line_join.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/show_glyphs.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/text.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/text_align_center.py
> pycairo-1.10.0/examples/cairo_snippets/snippets/text_extents.py
> pycairo-1.10.0/examples/cairo_snippets/snippets_gtk.py
> pycairo-1.10.0/examples/cairo_snippets/snippets_pdf.py
> pycairo-1.10.0/examples/cairo_snippets/snippets_png.py
> pycairo-1.10.0/examples/cairo_snippets/snippets_ps.py
> pycairo-1.10.0/examples/cairo_snippets/snippets_svg.py
> pycairo-1.10.0/examples/gradient.py
> pycairo-1.10.0/examples/gtk/cairo-demo.py
> pycairo-1.10.0/examples/gtk/cairo-knockout.py
> pycairo-1.10.0/examples/gtk/hangman.py
> pycairo-1.10.0/examples/gtk/lsystem.py
> pycairo-1.10.0/examples/gtk/png_view.py
> pycairo-1.10.0/examples/gtk/text.py
> pycairo-1.10.0/examples/hering.py
> pycairo-1.10.0/examples/spiral.py
> pycairo-1.10.0/examples/warpedtext.py
> pycairo-1.10.0/py3cairo-uninstalled.pc.in
> <http://py3cairo-uninstalled.pc.in>
> pycairo-1.10.0/py3cairo.pc.in <http://py3cairo.pc.in>
> pycairo-1.10.0/src/__init__.py
> pycairo-1.10.0/src/cairomodule.c
> pycairo-1.10.0/src/context.c
> pycairo-1.10.0/src/font.c
> pycairo-1.10.0/src/matrix.c
> pycairo-1.10.0/src/path.c
> pycairo-1.10.0/src/pattern.c
> pycairo-1.10.0/src/private.h
> pycairo-1.10.0/src/py3cairo.h
> pycairo-1.10.0/src/surface.c
> pycairo-1.10.0/src/wscript
> pycairo-1.10.0/test/README
> pycairo-1.10.0/test/api_test.py
> pycairo-1.10.0/test/examples_test.py
> pycairo-1.10.0/test/isurface_create_for_data1.py
> pycairo-1.10.0/test/isurface_create_for_data2.py
> pycairo-1.10.0/test/isurface_create_from_png.py
> pycairo-1.10.0/test/isurface_get_data.py
> pycairo-1.10.0/test/pygame-test1.py
> pycairo-1.10.0/test/pygame-test2.py
> pycairo-1.10.0/test/surface_create_for_stream.py
> pycairo-1.10.0/test/surface_write_to_png.py
> pycairo-1.10.0/waf
> pycairo-1.10.0/wscript
> patching file waf
> Hunk #1 succeeded at 153 with fuzz 2.
> /tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6
> /tmp/SBo/pycairo-1.10.0
> patching file waflib/Tools/python.py
> /tmp/SBo/pycairo-1.10.0
> ./options()
> Setting top to : /tmp/SBo/pycairo-1.10.0
> Setting out to :
> /tmp/SBo/pycairo-1.10.0/build_directory
> ./configure()
> Checking for 'gcc' (c compiler) : ok
> Checking for program python : /usr/bin/python3
> python executable '/usr/bin/python3' different from sys.executable
> '/usr/bin/python'
> Checking for python version : (3, 6, 7, 'final', 0)
> Traceback (most recent call last):
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Scripting.py",
> line 93, in waf_entry_point
> run_commands()
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Scripting.py",
> line 145, in run_commands
> run_command(cmd_name)
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Scripting.py",
> line 138, in run_command
> ctx.execute()
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Configure.py",
> line 124, in execute
> super(ConfigurationContext,self).execute()
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Context.py",
> line 87, in execute
> self.recurse([os.path.dirname(g_module.root_path)])
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Context.py",
> line 127, in recurse
> user_function(self)
> File "/tmp/SBo/pycairo-1.10.0/wscript", line 29, in configure
> ctx.check_python_headers()
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Configure.py",
> line 217, in fun
> return f(*k,**kw)
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/python.py",
> line 146, in check_python_headers
> result=conf.check(lib=name,uselib='PYEMBED',libpath=path,mandatory=False,msg='Checking
> for library %s in LIBDIR'%name)
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Configure.py",
> line 217, in fun
> return f(*k,**kw)
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/c_config.py",
> line 357, in check
> ret=self.run_c_code(*k,**kw)
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Configure.py",
> line 217, in fun
> return f(*k,**kw)
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/c_config.py",
> line 435, in run_c_code
> bld.compile()
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Build.py",
> line 190, in compile
> self.store()
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Utils.py",
> line 300, in f
> ret=fun(*k,**kw)
> File
> "/tmp/SBo/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Build.py",
> line 164, in store
> cPickle.dump(data,f)
> AttributeError: Can't pickle local object
> 'Context.__init__.<locals>.node_class'
> Checking for library python3.6 in LIBDIR :
> root at zaphod:~/SlackBuild/py3cairo#
> root at zaphod:~/SlackBuild/py3cairo#
> root at zaphod:~/SlackBuild/py3cairo# shasum /usr/bin/python3 /usr/bin/python
> 329091685ac594b7736b92595fbac8cef1b1bb79 /usr/bin/python3
> 329091685ac594b7736b92595fbac8cef1b1bb79 /usr/bin/python
> root at zaphod:~/SlackBuild/py3cairo#
>
> What am I doing wrong?
>
> ---
> Angus McLeod
> Barbados
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20210816/764a79b8/attachment-0001.htm>
More information about the SlackBuilds-users
mailing list