games/renpy build failure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

games/renpy build failure

Christian Weisgerber
The latest flurry of python changes appears to have triggered this
build failure of games/renpy in my latest bulk build:

------------------------------------------------------------------------
>>> Building on localhost under games/renpy
         BDEPENDS = [lang/cython;archivers/bzip2;graphics/glew;graphics/ffmpeg;lang/python/2.7;devel/pygame;games/pygame_sdl2]
         DIST = [games/renpy:renpy-7.3.5-source.tar.bz2]
         FULLPKGNAME = renpy-7.3.5
         RDEPENDS = [graphics/glew;graphics/ffmpeg;lang/python/2.7;games/pygame_sdl2;x11/gnome/zenity]
(Junk lock obtained for localhost at 1613929733.93)
>>> Running depends in games/renpy at 1613929734.01
   last junk was in net/filezilla
/usr/sbin/pkg_add -aI -Drepair ffmpeg-4.3.1p0v1 glew-2.2.0 py-cython-0.29.21p1 py-game-2.0.1p0 pygame_sdl2-7.3.5.606 python-2.7.18p0
was: /usr/sbin/pkg_add -aI -Drepair bzip2-1.0.8p0 ffmpeg-4.3.1p0v1 glew-2.2.0 py-cython-0.29.21p1 py-game-2.0.1p0 pygame_sdl2-7.3.5.606 python-2.7.18p0
/usr/sbin/pkg_add -aI -Drepair ffmpeg-4.3.1p0v1 glew-2.2.0 py-cython-0.29.21p1 py-game-2.0.1p0 pygame_sdl2-7.3.5.606 python-2.7.18p0
>>> Running show-prepare-results in games/renpy at 1613929741.27
===> games/renpy
===> renpy-7.3.5 depends on: py-game-* -> py-game-2.0.1p0
===> renpy-7.3.5 depends on: pygame_sdl2-* -> pygame_sdl2-7.3.5.606
===> renpy-7.3.5 depends on: py-cython-* -> py-cython-0.29.21p1
===> renpy-7.3.5 depends on: python->=2.7,<2.8 -> python-2.7.18p0
===> renpy-7.3.5 depends on: bzip2-* -> bzip2-1.0.8p0
===> renpy-7.3.5 depends on: ffmpeg-* -> ffmpeg-4.3.1p0v1
===> renpy-7.3.5 depends on: glew-* -> glew-2.2.0
===>  Verifying specs:  GLEW SDL2 avcodec avformat avresample avutil freetype m png pthread swresample swscale z python2.7
===>  found GLEW.9.0 SDL2.0.9 avcodec.24.0 avformat.21.0 avresample.2.0 avutil.14.0 freetype.30.0 m.10.1 png.18.0 pthread.26.1 swresample.3.0 swscale.7.0 z.5.0 python2.7.0.0
bzip2-1.0.8p0
ffmpeg-4.3.1p0v1
glew-2.2.0
py-cython-0.29.21p1
py-game-2.0.1p0
pygame_sdl2-7.3.5.606
python-2.7.18p0
(Junk lock released for localhost at 1613929742.26)
distfiles size=68211972
>>> Running patch in games/renpy at 1613929742.32
===> games/renpy
===>  Checking files for renpy-7.3.5
`/usr/ports/distfiles/renpy-7.3.5-source.tar.bz2' is up to date.
>> (SHA256) renpy-7.3.5-source.tar.bz2: OK
===>  Extracting for renpy-7.3.5
===>  Patching for renpy-7.3.5
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in games/renpy at 1613929752.27
===> games/renpy
===>  Generating configure for renpy-7.3.5
===>  Configuring for renpy-7.3.5
>>> Running build in games/renpy at 1613929752.51
===> games/renpy
===>  Building for renpy-7.3.5
_renpysteam is out of date.
Traceback (most recent call last):
  File "./setup.py", line 148, in <module>
    cython("_renpysteam", language="c++", compile_if=steam_sdk, libs=["steam_api"])
  File "/usr/obj/ports/renpy-7.3.5/renpy-7.3.5-source/module/setuplib.py", line 326, in cython
    c_fn])
  File "/usr/local/lib/python2.7/subprocess.py", line 185, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/local/lib/python2.7/subprocess.py", line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/local/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/local/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
*** Error 1 in games/renpy (/usr/ports/lang/python/python.port.mk:248 'do-build': @: ;mkdir -p /usr/obj/ports/renpy-7.3.5/lib/python2.7/site...)
*** Error 2 in games/renpy (/usr/ports/infrastructure/mk/bsd.port.mk:2931 '/usr/obj/ports/renpy-7.3.5/.build_done': @cd /usr/ports/games/ren...)
*** Error 2 in games/renpy (/usr/ports/infrastructure/mk/bsd.port.mk:2594 'build': @lock=renpy-7.3.5;  export _LOCKS_HELD=" renpy-7.3.5";   ...)
===> Exiting games/renpy with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': @: ${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1613929752.83
Error: job failed with 512 on localhost at 1613929752

--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: games/renpy build failure

Stuart Henderson
On 2021/02/21 19:21, Christian Weisgerber wrote:
> The latest flurry of python changes appears to have triggered this
> build failure of games/renpy in my latest bulk build:

I think I got "lucky" that py3-cython happened to be installed when this
was built in my test build.

The tools from py3-cython are ok to build these. It's possible there are
others, either they can be patched/symlinked so they can find cython-2, or
just change the dep to lang/cython,python3.

I'm changing my current build to comment-out the "nojunk" for setuptools
hopefully this will help shake out any remaining ones. (I already fixed
some in my test bulk).