Closed kalemas closed 4 years ago
I'm seeing something similar while building the conda-forge packages: https://github.com/conda-forge/pyscss-feedstock/pull/10
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\bld\pyscss_1584879055273\_h_env\include -ID:\bld\pyscss_1584879055273\_h_env\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -ID:\bld\pyscss_1584879055273\_h_env\Library\include -ID:\bld\pyscss_1584879055273\_h_env\Library\include /Tcscss/src/hashtable.c /Fobuild\temp.win-amd64-3.8\Release\scss/src/hashtable.obj
hashtable.c
scss/src/hashtable.c(46): error C2036: 'const void *': unknown size
Traceback (most recent call last):
File "D:\bld\pyscss_1584879055273\_h_env\lib\distutils\_msvccompiler.py", line 438, in compile
self.spawn(args)
File "D:\bld\pyscss_1584879055273\_h_env\lib\distutils\_msvccompiler.py", line 557, in spawn
return super().spawn(cmd)
File "D:\bld\pyscss_1584879055273\_h_env\lib\distutils\ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "D:\bld\pyscss_1584879055273\_h_env\lib\distutils\spawn.py", line 38, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "D:\bld\pyscss_1584879055273\_h_env\lib\distutils\spawn.py", line 80, in _spawn_nt
raise DistutilsExecError(
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2
@kalemas @stuertz thanks for the bug report. Do you able to reproduce this issue with py3 too?
what do you mean with "py3"? As you can see in the linked ci build.- Builds are failing with py36, 37 and 38 on windows. Earlier versions are currently not supported with conda any more. I think it is related to more stricter code checking with VS14 compiler. See also https://stackoverflow.com/questions/37460579/error-c2036-void-unknown-size Maybe there is a new/better implementation for your hashtab available ;-)
Also seeing problems with Py2 on Mac. Was Python 2 support deliberately dropped? If so, did you really mean to do it in a patch release?
https://github.com/Kronuz/pyScss/commit/8d21af7273078a46493468b298d23e8d1a495189
In linux, my builds were broken with v1.3.6, but the error message is more explicit:
In file included from scss/src/_speedups.c:14:0:
scss/src/scanner.h:17:18: fatal error: pcre.h: No such file or directory
pcre.h
is needed (package libpcre3-dev
in debian derivatives).
@djowett-ftw py2 testing was dropped because TravisCI doesn't support it anymore:(. There is no big difference in a python code with a previous release https://github.com/Kronuz/pyScss/compare/v1.3.5...1.3.6 so I suspect it should work. I'm able to run py27 tests on my mac env
@NotSqrt it looks like v1.3.5 didn't build C-extension:(. I'm investigating this issue now
@kalemas, @stuertz, @djowett-ftw, @NotSqrt could you please verify that #394 fixes this issue, so I'll release a new version?
@e0ne
pip install https://github.com/e0ne/pyScss/archive/optional-build.zip
fails if libpcre3-dev
is not installed in my ubuntu 18.04.
@NotSqrt thanks for the good test case! It should work now
@e0ne yes, the command no longer fails !
@e0ne yes that works over here thanks (a Plone buildout on Python2.7)
Thanks, works for the conda build also!
Hello i encountered that my build broken, probably because of just released pyScss
Log
``` > pip install pyScss DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting pyscss Using cached pyScss-1.3.6.tar.gz (121 kB) Collecting six Using cached six-1.14.0-py2.py3-none-any.whl (10 kB) Collecting enum34 Using cached enum34-1.1.10-py2-none-any.whl (11 kB) Processing c:\users\kalem\appdata\local\pip\cache\wheels\46\37\4f\332bcea757140ff34e14dec7be65931f544c7ac94eb671ae9f\pathlib-1.0.1-py2-none-any.whl Building wheels for collected packages: pyscss Building wheel for pyscss (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\kalem\.virtualenvs\ss\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\kalem\\appdata\\local\\temp\\pip-install-hat08l\\pyscss\\setup.py'"'"'; __file__='"'"'c:\\users\\kalem\\appdata\\local\\temp\\pip-install-hat08l\\pyscss\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'c:\users\kalem\appdata\local\temp\pip-wheel-z0k4sg' cwd: c:\users\kalem\appdata\local\temp\pip-install-hat08l\pyscss\ Complete output (92 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-2.7 creating build\lib.win-amd64-2.7\scss copying scss\ast.py -> build\lib.win-amd64-2.7\scss copying scss\calculator.py -> build\lib.win-amd64-2.7\scss copying scss\compiler.py -> build\lib.win-amd64-2.7\scss copying scss\config.py -> build\lib.win-amd64-2.7\scss copying scss\cssdefs.py -> build\lib.win-amd64-2.7\scss copying scss\errors.py -> build\lib.win-amd64-2.7\scss copying scss\legacy.py -> build\lib.win-amd64-2.7\scss copying scss\less2scss.py -> build\lib.win-amd64-2.7\scss copying scss\namespace.py -> build\lib.win-amd64-2.7\scss copying scss\rule.py -> build\lib.win-amd64-2.7\scss copying scss\scss_meta.py -> build\lib.win-amd64-2.7\scss copying scss\selector.py -> build\lib.win-amd64-2.7\scss copying scss\setup.py -> build\lib.win-amd64-2.7\scss copying scss\source.py -> build\lib.win-amd64-2.7\scss copying scss\tool.py -> build\lib.win-amd64-2.7\scss copying scss\types.py -> build\lib.win-amd64-2.7\scss copying scss\util.py -> build\lib.win-amd64-2.7\scss copying scss\__init__.py -> build\lib.win-amd64-2.7\scss copying scss\__main__.py -> build\lib.win-amd64-2.7\scss creating build\lib.win-amd64-2.7\scss\extension copying scss\extension\api.py -> build\lib.win-amd64-2.7\scss\extension copying scss\extension\bootstrap.py -> build\lib.win-amd64-2.7\scss\extension copying scss\extension\core.py -> build\lib.win-amd64-2.7\scss\extension copying scss\extension\extra.py -> build\lib.win-amd64-2.7\scss\extension copying scss\extension\fonts.py -> build\lib.win-amd64-2.7\scss\extension copying scss\extension\__init__.py -> build\lib.win-amd64-2.7\scss\extension creating build\lib.win-amd64-2.7\scss\extension\compass copying scss\extension\compass\gradients.py -> build\lib.win-amd64-2.7\scss\extension\compass copying scss\extension\compass\helpers.py -> build\lib.win-amd64-2.7\scss\extension\compass copying scss\extension\compass\images.py -> build\lib.win-amd64-2.7\scss\extension\compass copying scss\extension\compass\layouts.py -> build\lib.win-amd64-2.7\scss\extension\compass copying scss\extension\compass\sprites.py -> build\lib.win-amd64-2.7\scss\extension\compass copying scss\extension\compass\__init__.py -> build\lib.win-amd64-2.7\scss\extension\compass creating build\lib.win-amd64-2.7\scss\grammar copying scss\grammar\expression.py -> build\lib.win-amd64-2.7\scss\grammar copying scss\grammar\scanner.py -> build\lib.win-amd64-2.7\scss\grammar copying scss\grammar\__init__.py -> build\lib.win-amd64-2.7\scss\grammar running build_ext building 'scss.grammar._scanner' extension ========================================================================== WARNING: The C extension could not be compiled, speedups are not enabled. Failure information, if any, is above. Retrying the build without the C extension now. running bdist_wheel running build running build_py running build_ext building 'scss.grammar._scanner' extension Traceback (most recent call last): File "1.3.5 installs just ok