xpra icon
Bug tracker and wiki

Opened 5 months ago

Closed 2 weeks ago

Last modified 2 weeks ago

#1985 closed task (fixed)

2.5 moduleset updates

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.5
Component: platforms Version:
Keywords: macos Cc:

Change History (13)

comment:1 Changed 5 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 5 months ago by Antoine Martin

comment:3 Changed 5 months ago by Antoine Martin

Description: modified (diff)

PITA:

  • r20790: fix build failures in the pure-python3 envs
  • r20791: scons 3.0.1 supports python3, but apache serf still does not...
  • r20754 (+ r20788 / r20789 switch to pypi download URL): encode 1.0.6 - problem is that pypi is missing the pyx... switch back?
  • r20784 (+ r20787 path fixup): python 3.7.1, this one downloads but fails to build cleanly:
    /usr/bin/gcc -L/Users/gtk3/gtk/inst/lib -L/Users/gtk3/gtk/inst/lib -arch x86_64 -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -Wl,-headerpad_max_install_names -L/Users/gtk3/gtk/inst/lib -L/Users/gtk3/gtk/inst/lib -arch x86_64 -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -Wl,-headerpad_max_install_names -Wl,-stack_size,1000000  -framework CoreFoundation -o Programs/_testembed Programs/_testembed.o -L. -lpython3.7m -lintl -ldl  -framework CoreFoundation     
    DYLD_LIBRARY_PATH=/Volumes/Scratch/GTK3/source/Python-3.7.1 ./python.exe -E -S -m sysconfig --generate-posix-vars ;\
    	if test $? -ne 0 ; then \
    		echo "generate-posix-vars failed" ; \
    		rm -f ./pybuilddir.txt ; \
    		exit 1 ; \
    	fi
    Undefined symbols for architecture x86_64:
      "__Py_InitializeFromConfig", referenced from:
          _test_init_from_config in _testembed.o
          _test_init_dev_mode in _testembed.o
          _test_init_isolated in _testembed.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    

Worked around the problem by removing testembed from the makefile... Not sure that's wise!

Last edited 5 months ago by Antoine Martin (previous) (diff)

comment:4 Changed 4 months ago by Antoine Martin

Updates:

comment:5 Changed 4 months ago by Antoine Martin

Updates:

numpy 1.15.4 fails to build...

/usr/bin/gcc _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest.o.d _configtest
C compiler: /usr/bin/gcc -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -I/Users/gtk3/gtk/inst/include -arch x86_64 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/gtk3/gtk/inst/include/python3.7m -c'
gcc: _configtest.c
success!
removing: _configtest.c _configtest.o _configtest.o.d
Traceback (most recent call last):
  File "setup.py", line 403, in <module>
    setup_package()
  File "setup.py", line 395, in setup_package
    setup(**metadata)
  File "/Volumes/Scratch/GTK3/source/numpy-1.15.4/numpy/distutils/core.py", line 169, in setup
    return old_setup(**new_attr)
  File "/Users/gtk3/gtk/inst/lib/python3.7/site-packages/setuptools/__init__.py", line 131, in setup
    return distutils.core.setup(**attrs)
  File "/Users/gtk3/gtk/inst/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/Users/gtk3/gtk/inst/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/Users/gtk3/gtk/inst/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/Volumes/Scratch/GTK3/source/numpy-1.15.4/numpy/distutils/command/build.py", line 47, in run
    old_build.run(self)
  File "/Users/gtk3/gtk/inst/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/Users/gtk3/gtk/inst/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/Users/gtk3/gtk/inst/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/Volumes/Scratch/GTK3/source/numpy-1.15.4/numpy/distutils/command/build_src.py", line 148, in run
    self.build_sources()
  File "/Volumes/Scratch/GTK3/source/numpy-1.15.4/numpy/distutils/command/build_src.py", line 165, in build_sources
    self.build_extension_sources(ext)
  File "/Volumes/Scratch/GTK3/source/numpy-1.15.4/numpy/distutils/command/build_src.py", line 324, in build_extension_sources
    sources = self.generate_sources(sources, ext)
  File "/Volumes/Scratch/GTK3/source/numpy-1.15.4/numpy/distutils/command/build_src.py", line 377, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 428, in generate_config_h
    check_math_capabilities(config_cmd, moredefs, mathlibs)
  File "numpy/core/setup.py", line 150, in check_math_capabilities
    OPTIONAL_STDFUNCS.remove(f)
ValueError: list.remove(x): x not in list
*** Error during phase build of python3-numpy: ########## Error running python setup.py build *** [61/141]

comment:6 Changed 4 months ago by Antoine Martin

comment:7 Changed 2 months ago by Antoine Martin

comment:8 Changed 2 months ago by Antoine Martin

Huge update in r21384:

  • numpy 1.16
  • ipaddress 1.0.22
  • idna 2.8
  • pycups 1.9.74
  • macholib 1.11
  • decorator 4.2.1
  • ldap 3.1.0
  • ldap3 2.5.2
  • pytest runner-4.2
  • pkgconfig-1.2.2
  • setuptools_scm-3.2.0
  • PyNaCl 1.3.0
  • bcrypt 3.1.6
  • numpy 1.16.0
  • py2app 0.18
  • pyasn1 0.4.5
  • gstreamer 1.14.4
  • libogg 1.3.2
  • faac 1.29.9.2
  • faad 2.8.6

And r21386:

  • pcre 8.42
  • grep 3.3
  • xar: switch to sha256
  • brotli 1.0.7
  • mpfr 4.0.1
  • curl 7.63.0

The wiki/Dependencies page now tracks all of them.

Remaining problems:

  • numpy still fails to build:
    ...
      File "numpy/core/setup.py", line 429, in generate_config_h
        check_math_capabilities(config_cmd, moredefs, mathlibs)
      File "numpy/core/setup.py", line 149, in check_math_capabilities
        OPTIONAL_STDFUNCS.remove(f)
    ValueError: list.remove(x): x not in list
    
  • setuptools scm also fails:
    writing entry points to src/setuptools_scm.egg-info/entry_points.txt
    Traceback (most recent call last):
      File "setup.py", line 117, in <module>
        setuptools.setup(**arguments)
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/setuptools/__init__.py", line 143, in setup
        return distutils.core.setup(**attrs)
      File "/Users/osx/gtk/inst/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/Users/osx/gtk/inst/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/Users/osx/gtk/inst/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/osx/gtk/inst/lib/python2.7/distutils/command/install.py", line 575, in run
        self.run_command(cmd_name)
      File "/Users/osx/gtk/inst/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/Users/osx/gtk/inst/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/setuptools/command/install_egg_info.py", line 34, in run
        self.run_command('egg_info')
      File "/Users/osx/gtk/inst/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/Users/osx/gtk/inst/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 296, in run
        self.find_sources()
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 303, in find_sources
        mm.run()
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 534, in run
        self.add_defaults()
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 573, in add_defaults
        rcfiles = list(walk_revctrl())
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/setuptools/command/sdist.py", line 20, in walk_revctrl
        for item in ep.load()(dirname):
      File "/Volumes/Scratch/GTK2/source/setuptools_scm-3.2.0/src/setuptools_scm/integration.py", line 28, in find_files
        command = ep.load()
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2346, in load
        return self.resolve()
      File "/Users/osx/gtk/inst/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2356, in resolve
        raise ImportError(str(exc))
    ImportError: 'module' object has no attribute 'FILES_COMMAND'
    
  • ffmpeg is still stuck on v4.0 (linking issue)
Last edited 2 months ago by Antoine Martin (previous) (diff)

comment:9 Changed 8 weeks ago by Antoine Martin

Updates:

comment:10 Changed 6 weeks ago by Antoine Martin

Merges from upstream:

  • r21579 freetype 2.9.1
  • r21580 gnumake, gettext patch and cmake 3.12.4
  • r21581 cairo 1.16.0, gtk+ 3.24.2, gdk-pixbuf 2.36.12, atk 2.28.1, pango 1.42.4, gobject-introspection 1.58.0, fribidi 1.0.5, glib 2.52
  • r21582 libwebp 1.0.0, libsoup 2.62.2, gnutls 3.5.18, openssl 1.1.0g
  • r21583 https url, remove redundant autogen-sh attribute, add python-six
  • r21584 download links

comment:11 Changed 3 weeks ago by Antoine Martin

comment:12 Changed 2 weeks ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

comment:13 Changed 2 weeks ago by Antoine Martin

r22010: python 2.7.16

Note: See TracTickets for help on using tickets.