Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyArcus build failed #901

Open
double-kill-123 opened this issue Sep 3, 2023 · 3 comments
Open

pyArcus build failed #901

double-kill-123 opened this issue Sep 3, 2023 · 3 comments

Comments

@double-kill-123
Copy link

PS C:\dev\Uranium> conan create . uranium/5.3.0-qwe@yess/testing --build=missing --update

Exporting package recipe
uranium/5.3.0-qwe@yess/testing exports: File 'conandata.yml' found. Exporting it...
uranium/5.3.0-qwe@yess/testing exports: Copied 1 '.yml' file: conandata.yml
uranium/5.3.0-qwe@yess/testing exports: Copied 1 file: LICENSE
uranium/5.3.0-qwe@yess/testing: WARN: There are uncommitted changes, skipping the replacement of 'scm.url' and 'scm.revision' auto fields. Use --ignore-dirty to force it. The 'conan upload' command will prevent uploading recipes with 'auto' values in these fields.
uranium/5.3.0-qwe@yess/testing: SCM: Getting sources from folder: C:/dev/Uranium
uranium/5.3.0-qwe@yess/testing: A new conanfile.py version was exported
uranium/5.3.0-qwe@yess/testing: Folder: C:\Users\shuan.conan\data\uranium\5.3.0-qwe\yess\testing\export
uranium/5.3.0-qwe@yess/testing: Using the exported files summary hash as the recipe revision: e06c49c6b75eb6379a3a7109ecf13760
uranium/5.3.0-qwe@yess/testing: Exported revision: e06c49c6b75eb6379a3a7109ecf13760
Configuration (profile_host):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=17
os=Windows
os_build=Windows
curaengine:compiler.cppstd=20
curaengine*:compiler.cppstd=20
curaengine_plugin_infill_generate:compiler.cppstd=20
curaengine_plugin_gradual_flow:compiler.cppstd=20
curaengine_grpc_definitions:compiler.cppstd=20
scripta:compiler.cppstd=20
umspatial*:compiler.cppstd=20
[options]
[build_requires]
[env]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:auto_use=True
tools.gnu:define_libcxx11_abi=True
tools.build:skip_test=False

Configuration (profile_build):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=17
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:auto_use=True
tools.gnu:define_libcxx11_abi=True
tools.build:skip_test=False

uranium/5.3.0-qwe@yess/testing: WARN: Using dependencies specified in conandata.yml for version: 5.2.0-alpha while recipe is build for version: 5.3.0-qwe
pyarcus/5.2.0-beta.2+1@ultimaker/stable: WARN: Using dependencies specified in conandata.yml for version: 5.2.0-beta.2 while recipe is build for version: 5.2.0-beta.2+1
arcus/5.2.0-beta.2+3@ultimaker/stable: WARN: Using dependencies specified in conandata.yml for version: 5.2.0-beta.2 while recipe is build for version: 5.2.0-beta.2+3
WARN: arcus/5.2.0-beta.2+3@ultimaker/stable: requirement standardprojectsettings/[>=0.1.0]@ultimaker/stable overridden by pyarcus/5.2.0-beta.2+1@ultimaker/stable to standardprojectsettings/0.1.1@ultimaker/stable
WARN: cpython/3.10.4: requirement zlib/1.2.11 overridden by pyarcus/5.2.0-beta.2+1@ultimaker/stable to zlib/1.2.12
pyarcus/5.2.0-beta.2+1@ultimaker/stable: WARN: Package binary is corrupted, removing: f47fe7d274e13fa99d36ce5932b540d5a87c5cbe
Version ranges solved
Version range '>=0.1.7' required by 'py_require' resolved to 'umbase/0.1.7@ultimaker/stable' in remote 'cura'
Version range '>=0.1.7' required by 'py_require' resolved to 'umbase/0.1.7@ultimaker/stable' in remote 'cura'
pyprojecttoolchain/@ultimaker/stable versions found in 'cura' remote
Version range '>=0.1.5' required by 'py_require' resolved to 'pyprojecttoolchain/0.1.7@ultimaker/stable' in remote 'cura'
sipbuildtool/
@ultimaker/stable versions found in 'cura' remote
Version range '>=0.2.2' required by 'py_require' resolved to 'sipbuildtool/0.2.4@ultimaker/stable' in remote 'cura'
standardprojectsettings/*@ultimaker/stable versions found in 'cura' remote
Version range '>=0.1.0' required by 'pyarcus/5.2.0-beta.2+1@ultimaker/stable' resolved to 'standardprojectsettings/0.1.1@ultimaker/stable' in remote 'cura'
Version range '>=0.2.2' required by 'pyarcus/5.2.0-beta.2+1@ultimaker/stable' resolved to 'sipbuildtool/0.2.4@ultimaker/stable' in remote 'cura'
Version range '>=0.1.7' required by 'py_require' resolved to 'umbase/0.1.7@ultimaker/stable' in remote 'cura'
Version range '>=0.1.0' required by 'arcus/5.2.0-beta.2+3@ultimaker/stable' valid for downstream requirement 'standardprojectsettings/0.1.1@ultimaker/stable'

uranium/5.3.0-qwe@yess/testing (test package): Installing package
Requirements
arcus/5.2.0-beta.2+3@ultimaker/stable from local cache - No remote
bzip2/1.0.8 from local cache - No remote
cpython/3.10.4 from local cache - No remote
expat/2.4.1 from local cache - No remote
libffi/3.2.1 from local cache - No remote
mpdecimal/2.5.0 from local cache - No remote
openssl/1.1.1l from local cache - No remote
protobuf/3.21.4 from local cache - No remote
pyarcus/5.2.0-beta.2+1@ultimaker/stable from local cache - No remote
sipbuildtool/0.2.4@ultimaker/stable from 'cura' - Cache
sqlite3/3.36.0 from local cache - No remote
standardprojectsettings/0.1.1@ultimaker/stable from 'cura' - Cache
tcl/8.6.10 from local cache - No remote
tk/8.6.10 from local cache - No remote
uranium/5.3.0-qwe@yess/testing from local cache - No remote
xz_utils/5.2.5 from local cache - No remote
zlib/1.2.12 from local cache - No remote
Python requires
sipbuildtool/0.2.4@ultimaker/stable
pyprojecttoolchain/0.1.7@ultimaker/stable
umbase/0.1.7@ultimaker/stable
Packages
arcus/5.2.0-beta.2+3@ultimaker/stable:2c56bbcd41a00ec946a5501faac8badde9b5f21a - Cache
bzip2/1.0.8:53b5fd22ba061620078deefdae9a437c5f693201 - Cache
cpython/3.10.4:1e1dce5c5f980cc9662f9422f167ceffc2aa5e4e - Cache
expat/2.4.1:8e589e066a19f700666be77ed94ff8e8bc88ee10 - Cache
libffi/3.2.1:5a61a86bb3e07ce4262c80e1510f9c05e9b6d48b - Cache
mpdecimal/2.5.0:5c8fc3ef602a8e57d81400f2865131af6a719c3d - Cache
openssl/1.1.1l:5a61a86bb3e07ce4262c80e1510f9c05e9b6d48b - Cache
protobuf/3.21.4:f14708d28559c0b096a7a0ee212e60ec3c0b3846 - Cache
pyarcus/5.2.0-beta.2+1@ultimaker/stable:f47fe7d274e13fa99d36ce5932b540d5a87c5cbe - Build
sipbuildtool/0.2.4@ultimaker/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
sqlite3/3.36.0:d4c90a44e87a0129d6c89e58d1337c25a5bec2b4 - Cache
standardprojectsettings/0.1.1@ultimaker/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
tcl/8.6.10:fcff1a7682b466eb6f2504a0d9ba2400f494d9a7 - Cache
tk/8.6.10:604976367e9e090940576d923c0209d158388d81 - Cache
uranium/5.3.0-qwe@yess/testing:ae0fbeabcb2d35947bd478d9d71a29f754a6c535 - Build
xz_utils/5.2.5:5a61a86bb3e07ce4262c80e1510f9c05e9b6d48b - Cache
zlib/1.2.12:5a61a86bb3e07ce4262c80e1510f9c05e9b6d48b - Cache

Installing (downloading, building) binaries...
bzip2/1.0.8: Already installed!
bzip2/1.0.8: Appending PATH environment variable: C:.conan\49eb68\1\bin
expat/2.4.1: Already installed!
libffi/3.2.1: Already installed!
mpdecimal/2.5.0: Already installed!
openssl/1.1.1l: Already installed!
sipbuildtool/0.2.4@ultimaker/stable: Already installed!
sqlite3/3.36.0: Already installed!
sqlite3/3.36.0: Appending PATH env var with : C:.conan\daec60\1\bin
standardprojectsettings/0.1.1@ultimaker/stable: Already installed!
xz_utils/5.2.5: Already installed!
zlib/1.2.12: Already installed!
protobuf/3.21.4: Already installed!
protobuf/3.21.4: Appending PATH environment variable: C:.conan\bbeec5\1\bin
tcl/8.6.10: Already installed!
tcl/8.6.10: Setting TCL_LIBRARY environment variable to C:.conan\b18a9f\1\lib\tcl8.6
tcl/8.6.10: Setting TCL_ROOT environment variable to C:.conan\b18a9f\1
tcl/8.6.10: Setting TCLSH environment variable to C:.conan\b18a9f\1\bin\tclsh86tsx.exe
tcl/8.6.10: Adding PATH environment variable: C:.conan\b18a9f\1\bin
arcus/5.2.0-beta.2+3@ultimaker/stable: Already installed!
tk/8.6.10: Already installed!
tk/8.6.10: Setting TK_LIBRARY environment variable: C:/.conan/8c2f0c/1/lib/tk8.6
tk/8.6.10: Setting TCL_ROOT environment variable: C:/.conan/8c2f0c/1
cpython/3.10.4: Already installed!
cpython/3.10.4: Appending PATH environment variable: C:.conan\594ca2\1\bin
cpython/3.10.4: Setting PYTHON environment variable: C:.conan\594ca2\1\bin\python.exe
cpython/3.10.4: Setting PYTHONHOME environment variable: C:.conan\594ca2\1\bin
cpython/3.10.4: Setting PYTHON_ROOT environment variable: C:.conan\594ca2\1
pyarcus/5.2.0-beta.2+1@ultimaker/stable: WARN: Build folder is dirty, removing it: C:.conan\de23dc\1
pyarcus/5.2.0-beta.2+1@ultimaker/stable: Copying sources to build folder
pyarcus/5.2.0-beta.2+1@ultimaker/stable: Building your package in C:.conan\de23dc\1
pyarcus/5.2.0-beta.2+1@ultimaker/stable: Generator 'CMakeDeps' calling 'generate()'
pyarcus/5.2.0-beta.2+1@ultimaker/stable: Generator 'VirtualBuildEnv' calling 'generate()'
pyarcus/5.2.0-beta.2+1@ultimaker/stable: Generator 'VirtualRunEnv' calling 'generate()'
pyarcus/5.2.0-beta.2+1@ultimaker/stable: Calling generate()
['\n[build-system]\nrequires = ["sip >=6, <7", "setuptools>=40.8.0", "wheel"]\nbuild-backend = "sipbuild.api"', '\n[tool.sip.metadata]\nname = "pyArcus"\nversion = "5.2.0b2"\nsummary = "Communication library between internal components for Ultimaker software"\nhome-page = "https://github.com/Ultimaker/libArcus"\nauthor = "Ultimaker B.V."\nlicense = "LGPL-3.0"\ndescription-file = "README.md"\nrequires-python = ">=3.10.4"', '\n[tool.sip.project]\ncompile = false\nsip-files-dir = "python"\nbuild-dir = "C:/.conan/de23dc/1/build/Release/sip"\ntarget-dir = "C:/.conan/b48130c/1/site-packages"\npy-include-dir = "C:/.conan/594ca2/1/bin/include"\npy-major-version = 3\npy-minor-version = 10', "\n[tool.sip.bindings.pyArcus]\nexceptions = true\nrelease-gil = true\nlibraries = ['Arcus', 'python310', 'libprotoc', 'libprotobuf', 'libssl', 'libcrypto', 'libexpatMD', 'libffi', 'libmpdec++-2.5.0', 'libmpdec-2.5.0', 'bz2', 'sqlite3', 'tk86tsx', 'tkstub86', 'lzma', 'tcl86tsx', 'tcldde14sx', 'tclreg13sx', 'tclstub86', 'zlib']\nlibrary-dirs = ['C:/.conan/8e45af/1/lib', 'C:/.conan/594ca2/1/bin/libs', 'C:/.conan/bbeec5/1/lib', 'C:/.conan/d6ffbd/1/lib', 'C:/.conan/b5aad8/1/lib', 'C:/.conan/49a970/1/lib', 'C:/.conan/1b8202/1/lib', 'C:/.conan/49eb68/1/lib', 'C:/.conan/daec60/1/lib', 'C:/.conan/8c2f0c/1/lib', 'C:/.conan/96b3a8/1/lib', 'C:/.conan/b18a9f/1/lib', 'C:/.conan/fbec73/1/lib']\ninclude-dirs = ['C:/.conan/8e45af/1/include', 'C:/.conan/594ca2/1/bin/include', 'C:/.conan/bbeec5/1/include', 'C:/.conan/d6ffbd/1/include', 'C:/.conan/b5aad8/1/include', 'C:/.conan/49a970/1/include', 'C:/.conan/1b8202/1/include', 'C:/.conan/49eb68/1/include', 'C:/.conan/daec60/1/include', 'C:/.conan/8c2f0c/1/include', 'C:/.conan/96b3a8/1/include', 'C:/.conan/b18a9f/1/include', 'C:/.conan/fbec73/1/include', 'include']\npep484-pyi = true\nstatic = false\ndebug = false", "\nheaders = ['PythonMessage.h']\nsources = ['src/PythonMessage.cpp']", "\nextra-compile-args = ['/std:c++17', '-MD', '-O2', '-Ob2']\nextra-link-args = []"]
pyarcus/5.2.0-beta.2+1@ultimaker/stable: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release'
pyarcus/5.2.0-beta.2+1@ultimaker/stable: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=C:.conan\de23dc\1\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
pyarcus/5.2.0-beta.2+1@ultimaker/stable: Calling:

"sip-build"

----Running------

"sip-build"


sip-build: An internal error occurred...
Traceback (most recent call last):
File "C:\Users\shuan\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\shuan\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\shuan\AppData\Local\Programs\Python\Python310\Scripts\sip-build.exe_main
.py", line 7, in
File "C:\Users\shuan\AppData\Local\Programs\Python\Python310\lib\site-packages\sipbuild\tools\build.py", line 37, in main
handle_exception(e)
File "C:\Users\shuan\AppData\Local\Programs\Python\Python310\lib\site-packages\sipbuild\exceptions.py", line 81, in handle_exception
raise e
File "C:\Users\shuan\AppData\Local\Programs\Python\Python310\lib\site-packages\sipbuild\tools\build.py", line 32, in main
project = AbstractProject.bootstrap('build',
File "C:\Users\shuan\AppData\Local\Programs\Python\Python310\lib\site-packages\sipbuild\abstract_project.py", line 87, in bootstrap
project.setup(pyproject, tool, tool_description)
File "C:\Users\shuan\AppData\Local\Programs\Python\Python310\lib\site-packages\sipbuild\project.py", line 595, in setup
os.mkdir(self.build_dir)
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'C:\.conan\de23dc\1\build\Release\sip'
ERROR: pyarcus/5.2.0-beta.2+1@ultimaker/stable: Error in generate() method, line 95
sip.build()
while calling 'build', line 34
self._conanfile.run(cmd)
ConanException: Error 1 while executing "sip-build"

@jellespijker
Copy link
Member

are you running the create from the 5.3 release branch?

@yess1987
Copy link

yess1987 commented Sep 5, 2023

yes ,it can work last month,but this week it's wrong

@yess1987
Copy link

yess1987 commented Sep 6, 2023

Do I need to manually create the release directory when compiling pyarcus? I did it, it can work.
C:\dev\pyArcus\build\Release\sip

But,earlier versions did not have this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants