CrealityOfficial / conan_build

0 stars 3 forks source link

Errors during the build with Conan 1.6.2. #5

Open mLihs opened 6 months ago

mLihs commented 6 months ago

Hi I get a lot of those errors during the build with Conan 1.6.2. Do I need Conan 1.5.x ?

Best Martin

ERROR: zlib/0.0.2@opensource/mac: Error in build() method, line 94 cmake.configure(source_folder=".", build_folder=".") ConanException: Error 127 while executing cd '/xxx/xxx/.conan/data/zlib/0.0.2/opensource/mac/build/adea322eeea0047d32830d944a778a5091f321d8/.' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk" -DCMAKE_SYSTEM_NAME="Darwin" -DCONAN_CMAKE_CXX_STANDARD="17" -DCONAN_CMAKE_CXX_EXTENSIONS="OFF" -DCONAN_STD_CXX_FLAG="-std=c++17" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/xxx/xxx/.conan/data/zlib/0.0.2/opensource/mac/package/adea322eeea0047d32830d944a778a5091f321d8" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCREATE_CONAN_PACKAGE="ON" -DCC_INSTALL_ZLIB="ON" -Wno-dev '/xxx/xxx/.conan/data/zlib/0.0.2/opensource/mac/build/adea322eeea0047d32830d944a778a5091f321d8/.'

anoobzenggui commented 6 months ago

we have update release-v4.3.8 and release-v4.3.9, conan build is ok in mac.

mLihs commented 6 months ago

You mean creality print version 4.3.8 & 4.3.9 ?

anoobzenggui commented 6 months ago

the branch release-v4.3.8  or branch release-v4.3.9 of CrealityPrint repository

From: @.> Date: Wed, Dec 27, 2023, 02:26 Subject: Re: [CrealityOfficial/conan_build] Errors during the build with Conan 1.6.2. (Issue #5) To: @.> Cc: @.>, @.> You mean creality print version 4.3.8 & 4.3.9 ? — Reply to this email directly, view it on GitHubhttps://github.com/CrealityOfficial/conan_build/issues/5#issuecomment-1869705376, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCIN4REJSNIMCBXXI4HX3XDYLMJDNAVCNFSM6AAAAABAU2AL5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZG4YDKMZXGY. You are receiving this because you commented.[image]Message ID: @.***>

mLihs commented 6 months ago

thanks - for the update. But python3 ./cmake/ci/cmake.py -c -b -e --channel_name=opensource throw following errors:

it wants my GitHub username and pwd ?


INFO Run: git pull origin version-0.0.1 Username for 'https://github.com':

INFO Run: git pull origin version-0.0.1 Username for 'https://github.com': Password for 'https://github.com': remote: Repository not found. fatal: Authentication failed for 'https://github.com/CrealityOfficial/spread/' ERROR RUN FAILED.

INFO Run: git remote add origin https://github.com/CrealityOfficial/spread error: remote origin already exists. ERROR RUN FAILED.

as well I got this error:

ERROR [Errno 2] No such file or directory: '/Users/Maxmusterman/Library/Application Support/circle_conan_github_cache/msbase-0.0.2/conandata.yml'

anoobzenggui commented 6 months ago

We forget the 'spread' repository, we will fixed soon.

From: @.> Date: Wed, Dec 27, 2023, 17:00 Subject: Re: [CrealityOfficial/conan_build] Errors during the build with Conan 1.6.2. (Issue #5) To: @.> Cc: @.>, @.> thanks - for the update. But python3 ./cmake/ci/cmake.pyhttp://cmake.py -c -b -e --channel_name=opensource throw following errors: it wants my GitHub username and pwd ? INFO Run: git pull origin version-0.0.1 Username for 'https://github.com': INFO Run: git pull origin version-0.0.1

Username for 'https://github.com':

Password for 'https://github.com':

remote: Repository not found.

fatal: Authentication failed for 'https://github.com/CrealityOfficial/spread/'

ERROR RUN FAILED. INFO Run: git remote add origin https://github.com/CrealityOfficial/spread

error: remote origin already exists.

ERROR RUN FAILED. as well I got this error: ERROR [Errno 2] No such file or directory: '/Users/Maxmusterman/Library/Application Support/circle_conan_github_cache/msbase-0.0.2/conandata.yml' — Reply to this email directly, view it on GitHubhttps://github.com/CrealityOfficial/conan_build/issues/5#issuecomment-1870092628, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCIN4RDZRKOB65RPRR2BLMDYLPPRNAVCNFSM6AAAAABAU2AL5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGA4TENRSHA. You are receiving this because you commented.[image: https://github.com/notifications/beacon/BCIN4REBJAGBM6S4UL5RVI3YLPPRNA5CNFSM6AAAAABAU2AL5CWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTPO5MVI.gif]Message ID: @.***>

anoobzenggui commented 6 months ago

it's fixed now. we mixed up the spread and msbase repository of github and internal net.

mLihs commented 6 months ago

Thx let me try 😊😊

mLihs commented 6 months ago

Seams there is a wrong source secified :(

[conan DEBUG] source. http://172.20.180.12:8050/CrealityOfficial/msbase 0.0.2 Cloning into 'cmake'... remote: Enumerating objects: 4955, done. remote: Counting objects: 100% (1274/1274), done. remote: Compressing objects: 100% (425/425), done. remote: Total 4955 (delta 755), reused 1233 (delta 717), pack-reused 3681 Receiving objects: 100% (4955/4955), 1.73 MiB | 6.26 MiB/s, done. Resolving deltas: 100% (2995/2995), done. Cloning into 'msbase'... fatal: unable to access 'http://172.20.180.12:8050/CrealityOfficial/msbase/': Failed to connect to 172.20.180.12 port 8050 after 75001 ms: Couldn't connect to server ERROR: msbase/0.0.2@opensource/mac: Error in source() method, line 54 self.run("git clone " + self.repository + " -b version-" + self.version + " " + self.name) ConanException: Error 128 while executing git clone http://172.20.180.12:8050/CrealityOfficial/msbase -b version-0.0.2 msbase ERROR RUN FAILED.


anoobzenggui commented 6 months ago

i commit one patch for msbase.

From: @.> Date: Tue, Jan 2, 2024, 21:56 Subject: Re: [CrealityOfficial/conan_build] Errors during the build with Conan 1.6.2. (Issue #5) To: @.> Cc: @.>, @.> Seams there is a wrong source secified :( [conan DEBUG] source. http://172.20.180.12:8050/CrealityOfficial/msbase 0.0.2

Cloning into 'cmake'...

remote: Enumerating objects: 4955, done.

remote: Counting objects: 100% (1274/1274), done.

remote: Compressing objects: 100% (425/425), done.

remote: Total 4955 (delta 755), reused 1233 (delta 717), pack-reused 3681

Receiving objects: 100% (4955/4955), 1.73 MiB | 6.26 MiB/s, done.

Resolving deltas: 100% (2995/2995), done.

Cloning into 'msbase'...

fatal: unable to access 'http://172.20.180.12:8050/CrealityOfficial/msbase/': Failed to connect to 172.20.180.12 port 8050 after 75001 ms: Couldn't connect to server ERROR: @.***/mac: Error in source() method, line 54

self.run("git clone " + self.repository + " -b version-" + self.version + " " + self.name)http://self.name)

ConanException: Error 128 while executing git clone http://172.20.180.12:8050/CrealityOfficial/msbase -b version-0.0.2 msbase

ERROR RUN FAILED. — Reply to this email directly, view it on GitHubhttps://github.com/CrealityOfficial/conan_build/issues/5#issuecomment-1874056933, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCIN4REEHZDMXUF56RI5JGLYMQGZTAVCNFSM6AAAAABAU2AL5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGA2TMOJTGM. You are receiving this because you commented.[image: https://github.com/notifications/beacon/BCIN4RET5A4PT64QMZ7NBB3YMQGZTA5CNFSM6AAAAABAU2AL5CWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTPWPLOK.gif]Message ID: @.***>

mLihs commented 6 months ago

Thanks for updating - unfortunately I get now this error:

tbb_static/2.0.0@opensource/mac: ERROR: Package '71a46d7bed04dcafdefb81bf9056c54c566b120e' build failed tbb_static/2.0.0@opensource/mac: WARN: Build folder /Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e ERROR: tbb_static/2.0.0@opensource/mac: Error in build() method, line 99 cmake.configure(source_folder=".", build_folder=".") ConanException: Error 1 while executing cd '/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e/.' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk" -DCMAKE_SYSTEM_NAME="Darwin" -DCONAN_CMAKE_CXX_STANDARD="17" -DCONAN_CMAKE_CXX_EXTENSIONS="OFF" -DCONAN_STD_CXX_FLAG="-std=c++17" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/package/71a46d7bed04dcafdefb81bf9056c54c566b120e" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCREATE_CONAN_PACKAGE="ON" -DCC_INSTALL_TBB_STATIC="ON" -Wno-dev '/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e/.' ERROR RUN FAILED.


anoobzenggui commented 6 months ago

I have checked all the repositories' urls. it's all right.   The error log in email is no complete, can you remove .conan/data/ cache,  and try ./cmake/ci/cmake.py script again? 

From: @.> Date: Wed, Jan 3, 2024, 15:44 Subject: Re: [CrealityOfficial/conan_build] Errors during the build with Conan 1.6.2. (Issue #5) To: @.> Cc: @.>, @.> Thanks for updating - unfortunately I get now this error: @.***/mac: ERROR: Package '71a46d7bed04dcafdefb81bf9056c54c566b120e' build failed

@.***/mac: WARN: Build folder /Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e

ERROR: @.***/mac: Error in build() method, line 99

cmake.configure(source_folder=".", build_folder=".")

ConanException: Error 1 while executing cd '/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e/.' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdkhttp://Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk" -DCMAKE_SYSTEM_NAME="Darwin" -DCONAN_CMAKE_CXX_STANDARD="17" -DCONAN_CMAKE_CXX_EXTENSIONS="OFF" -DCONAN_STD_CXX_FLAG="-std=c++17" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/package/71a46d7bed04dcafdefb81bf9056c54c566b120e" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCREATE_CONAN_PACKAGE="ON" -DCC_INSTALL_TBB_STATIC="ON" -Wno-dev '/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e/.'

ERROR RUN FAILED. — Reply to this email directly, view it on GitHubhttps://github.com/CrealityOfficial/conan_build/issues/5#issuecomment-1874961566, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCIN4RG7JNIVH727BPNGXXDYMUD6LAVCNFSM6AAAAABAU2AL5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUHE3DCNJWGY. You are receiving this because you commented.[image: https://github.com/notifications/beacon/BCIN4RH6RCV7JQJYYO56G33YMUD6LA5CNFSM6AAAAABAU2AL5CWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTPYGSJ4.gif]Message ID: @.***>

mLihs commented 5 months ago

I cleaned the cache as mentioned but the same error happens again.

tbb_static/2.0.0@opensource/mac: tbb_static/2.0.0@opensource/mac: ERROR: Package '71a46d7bed04dcafdefb81bf9056c54c566b120e' build failed tbb_static/2.0.0@opensource/mac: WARN: Build folder /Users/martinlihs/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e ERROR: tbb_static/2.0.0@opensource/mac: Error in build() method, line 99 cmake.configure(source_folder=".", build_folder=".") ConanException: Error 1 while executing cd '/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e/.' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk" -DCMAKE_SYSTEM_NAME="Darwin" -DCONAN_CMAKE_CXX_STANDARD="17" -DCONAN_CMAKE_CXX_EXTENSIONS="OFF" -DCONAN_STD_CXX_FLAG="-std=c++17" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/package/71a46d7bed04dcafdefb81bf9056c54c566b120e" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCREATE_CONAN_PACKAGE="ON" -DCC_INSTALL_TBB_STATIC="ON" -Wno-dev '/Users/hanspeter/.conan/data/tbb_static/2.0.0/opensource/mac/build/71a46d7bed04dcafdefb81bf9056c54c566b120e/.' ERROR RUN FAILED.