Changes between Initial Version and Version 1 of Ticket #22764, comment 10

04/06/17 23:52:12 (3 years ago)


  • Ticket #22764, comment 10

    initial v1  
    1 With the branch here, I am having problems building `matplotlib` and `fpylll`. For `fpylll`, the log file consists entirely of
    2 {{{
    3 Traceback (most recent call last):
    4   File "", line 131, in <module>
    5     long_description=open('README.rst').read(),
    6   File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/sage-8.0.beta0/local/lib/python3.5/encodings/", line 26, in decode
    7     return codecs.ascii_decode(input, self.errors)[0]
    8 UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2249: ordinal not in range(128)
    9 Error: could not determine package name
    10 }}}
    11 The `matplotlib` log starts with
    12 {{{
    13 NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the Matplotlib GUI.
    14 Not building any matplotlib graphical backends.
    15 Traceback (most recent call last):
    16   File "", line 34, in <module>
    17     config.write(configfile)
    18   File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/sage-8.0.beta0/local/lib/python3.5/", line 916, in write
    19     self._sections[section].items(), d)
    20   File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/sage-8.0.beta0/local/lib/python3.5/", line 920, in _write_section
    21     fp.write("[{}]\n".format(section_name))
    22 TypeError: a bytes-like object is required, not 'str'
    23 Warning: This package has a badly-behaved which outputs
    24 more than the package name for ' --name'; using the last
    25 line as the package name: matplotlib
    26 Installing package matplotlib using pip
    27 Waiting for shared lock to run pip install --ignore-installed --verbose --no-deps --no-index --isolated . ... ok
    28 Ignoring indexes:
    29 Processing /Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/sage-8.0.beta0/local/var/tmp/sage/build/matplotlib-1.5.1.p0/src
    30   Running (path:/var/folders/cp/n8wtqs490tq5psknff1hv9qr0000gn/T/pip-9u0y0hgx-build/ egg_info for package from file:///Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/sage-8.0.beta0/local/var/tmp/sage/build/matplotlib-1.5.1.p0/src
    31     Running command python egg_info
    32 }}}
    33 and then proceeds to try to build. Then later it has this:
    34 {{{
    35     gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__macosx_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/sage-8.0.beta0/local/lib/python3.5/site-packages/numpy/core/include -I/Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/sage-8.0.beta0/local/lib/python3.5/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I/usr/X11/include -I/opt/X11/include -I. -Iextern/agg24-svn/include -I/Users/palmieri/Desktop/Sage_stuff/sage_builds/TESTING/sage-8.0.beta0/local/include/python3.5m -c src/_macosx.m -o build/temp.macosx-10.9-x86_64-3.5/src/_macosx.o
    36     gcc: error: src/_macosx.m: Objective-C compiler not installed on this system
    37     error: command 'gcc' failed with exit status 1
    38 }}}
    39 I don't know if these are tied to the branch here or not, since I haven't been able to build python3 without the changes here.
     1Edit: moved the comment to #22756.