xpra icon
Bug tracker and wiki

Opened 5 weeks ago

Last modified 24 hours ago

#1985 assigned task

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 (5)

comment:1 Changed 5 weeks ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 4 weeks ago by Antoine Martin

comment:3 Changed 3 weeks 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 3 weeks ago by Antoine Martin (previous) (diff)

comment:4 Changed 2 days ago by Antoine Martin

Updates:

comment:5 Changed 24 hours 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]
Note: See TracTickets for help on using tickets.