Comments (6)
The log part is
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /cygdrive/c/projects/pharo/pharo-vm/LibGit2-download
[ 11%] Performing update step for 'LibGit2-download'
[ 22%] No patch step for 'LibGit2-download'
[ 33%] No configure step for 'LibGit2-download'
[ 44%] No build step for 'LibGit2-download'
[ 55%] No install step for 'LibGit2-download'
[ 66%] No test step for 'LibGit2-download'
[ 77%] Completed 'LibGit2-download'
[100%] Built target LibGit2-download
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIR)
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
CMake Error at LibGit2-src/cmake/SelectHTTPSBackend.cmake:29 (message):
Unable to autodetect a usable HTTPS backend.Please pass the backend name
explicitly (-DUSE_HTTPS=backend)
Call Stack (most recent call first):
LibGit2-src/src/CMakeLists.txt:40 (include)
-- Configuring incomplete, errors occurred!
from pharo-vm.
What is strange:
I've checked out the source code on "C:\projects\pharo\pharo-vm" path. I think it its required to checkout
on "C:\pharo-vm" as the build seems to expect it there.
Cygwin smake build seems to create a relative folder like this:
![image](https://private-user-images.githubusercontent.com/5980033/317637429-82c13886-70e3-44ba-98a7-73a8d8896cc0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0OTg4MDcsIm5iZiI6MTcxOTQ5ODUwNywicGF0aCI6Ii81OTgwMDMzLzMxNzYzNzQyOS04MmMxMzg4Ni03MGUzLTQ0YmEtOThhNy03M2E4ZDg4OTZjYzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjdUMTQyODI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDFlYTg3Mjc3ODIwOGMzMjM0OTc3MzNjZWZmNGFjMmQwODY4YzhkYzQ4NmU2MWVmN2Y3YWM2YWRkYTk2MGM2NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.yuNVlEpH8rtUynbVX5QYN9li2r51MKjFJTwt_AN90S0)
from pharo-vm.
I double checked with the workflow build:
Looks like ".\scripts\runScriptInCygwinBash.ps1" always requires a file argument and can not be run interactively.
Otherwise one gets an error with "Path" check.
from pharo-vm.
I started freshly: new git clone on C:\pharo-vm
Trying to mock the build from workflow file:
- created a file run.ps1 in C:\pharo-vm
mkdir -p build
cd build
cmake .. -DAPPNAME=Pharo -DVM_EXECUTABLE_NAME=Pharo
and then on DOS commandline (while being in C:\pharo-vm directory) running
powershell -File .\scripts\runScriptInCygwinBash.ps1 run.ps1
but still get an error:
![image](https://private-user-images.githubusercontent.com/5980033/317645701-5b4ea8d6-d931-44d4-91b0-59b9799a2900.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0OTg4MDcsIm5iZiI6MTcxOTQ5ODUwNywicGF0aCI6Ii81OTgwMDMzLzMxNzY0NTcwMS01YjRlYThkNi1kOTMxLTQ0ZDQtOTFiMC01OWI5Nzk5YTI5MDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjdUMTQyODI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTc3NWMxMGZkNWIzNzUwZWE5NDZiMTgzNTYzZTBiMTU2YzU3MWI3YzNhYmUyOWIzN2UwZDFhZmRkZjJiODZjMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.7EnqmdFgRiEPZIly7G53ZsgfJs3XnMwWZ_TjYLQek48)
from pharo-vm.
As git gives a warning
"fatal: detected dubious ownership in repository at '/cygdrive/c/pharo-vm'
To add an exception for this directory, call:
git config --global --add safe.directory /cygdrive/c/pharo-vm
fatal: detected dubious ownership in repository at '/cygdrive/c/pharo-vm
...
Which is basically a permission issue - just as an additional security warning as one clones into "C:\pharo-vm" same way as the CI build (which is typically a directory outside of the directories owned by the current user and can impose a security risk). One can ignore this warning
To prevent the warning I modified the run.ps1 in C:\pharo-vm into
git config --global --add safe.directory /cygdrive/c/pharo-vm
mkdir -p build
cd build
cmake .. -DAPPNAME=Pharo -DVM_EXECUTABLE_NAME=Pharo
and run again
powershell -File .\scripts\runScriptInCygwinBash.ps1 run.ps1
now it does not lament and the build starts running and downloading stuff (like the LibGit2-download) but failed with
the original error
-- Performing Test IS_WFORMAT_SUPPORTED - Failed
-- Performing Test IS_WFORMAT_SECURITY_SUPPORTED
-- Performing Test IS_WFORMAT_SECURITY_SUPPORTED - Failed
-- Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIR)
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
CMake Error at build/LibGit2-src/cmake/SelectHTTPSBackend.cmake:29 (message):
Unable to autodetect a usable HTTPS backend.Please pass the backend name
explicitly (-DUSE_HTTPS=backend)
Call Stack (most recent call first):
build/LibGit2-src/src/CMakeLists.txt:40 (include)
![image](https://private-user-images.githubusercontent.com/5980033/317652683-1a844bd4-b148-48e1-8a56-faf892868e7f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0OTg4MDcsIm5iZiI6MTcxOTQ5ODUwNywicGF0aCI6Ii81OTgwMDMzLzMxNzY1MjY4My0xYTg0NGJkNC1iMTQ4LTQ4ZTEtOGE1Ni1mYWY4OTI4NjhlN2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjdUMTQyODI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGY4NTFmM2UyYjg3NTA5NzcwYTM2Y2E5MDEyYTEyODM4YTJmY2EyNDI1OTdlYzkyNzUxMjQ4YjhmNWM5N2M1MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.lydIPdM06StgnLBXMaxBfD5KiPbwUTZLjHB-iDuiS9I)
Looks like still some magic wizardry is required
OpenSSL comes with cygwin and is installed/available in C:\cygwin\bin
from pharo-vm.
After checking with @tesonep (who suggested to set DPHARO_DEPENDENCIES_PREFER_DOWNLOAD_BINARIES to TRUE)
I modified the run.ps1 into
git config --global --add safe.directory /cygdrive/c/pharo-vm
mkdir -p build
cd build
cmake -S .. -B . -DPHARO_DEPENDENCIES_PREFER_DOWNLOAD_BINARIES=TRUE
cmake .. -DAPPNAME=Pharo -DVM_EXECUTABLE_NAME=Pharo
this passed the open ssl and freetype issue but failed again on dot executable from Graphviz not found" (white part in screenshot) and failing in custom rules (the red part in screenshot)
The /CMakeFiles/CMakeConfigureLog.yaml looks like
CMakeConfigureLog.yaml.TXT
from pharo-vm.
Related Issues (20)
- Check sharedCodeInCase: #bytecodePrimLessThanSistaV1 pragma HOT 1
- Get info about the primitive table HOT 2
- Unresolved external symbol S_ISDIR when compiling using MSVC HOT 1
- Compilation warning: Wno-unused-variable
- Compilation warning: unused-function
- Improve Slang to not generate functions with no senders *after* doing the inlinings
- Slang should not allow asserta: to be used outside of a top level statement
- Compiler warning: -Wno-pointer-integer-compare
- Compiler warning: Wsometimes-uninitialized
- Building on MacOS11 tries to use SDK for MacOS12 HOT 2
- Problem with completion in the tutorial HOT 3
- File modification time is wrong for half the year (especially in Linux)
- 10.2.1 not tagged HOT 1
- Deadlock when signalling external semaphores HOT 10
- Commandline argument --edenSize is misnamed
- `become` primitive does not support objects in PermSpace
- Unused temp in `findNewMethodOrdinaryIfFound:`
- Remove deprecated methods
- functionPointerFor:inClass: has unused argument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pharo-vm.