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

Fix recent GHA images issues #22

Merged
merged 6 commits into from
May 6, 2024
Merged

Fix recent GHA images issues #22

merged 6 commits into from
May 6, 2024

Conversation

jasagredo
Copy link
Collaborator

- OpenSSL@3.3.0 is broken in Windows. Downgraded to openssl 3.2.1. See openssl/openssl#24298.
- OpenSSL@3.3.0 is broken in macOS. Downgrading to openssl 3.0.1.
- GHCup was removed from macOS. Now this action installs it if missing in all OSes.
Copy link
Collaborator

@angerman angerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still highly skeptical of the ghcup installation, but it's a good fix for now to get things back on track!

@angerman
Copy link
Collaborator

Trial run is in IntersectMBO/cardano-node#5811, once that goes green, we'll merge this and close the trial run PR.

@angerman
Copy link
Collaborator

Looks like we are missing libsodium with the installed ghcup somehow 🤦
https://github.com/IntersectMBO/cardano-node/actions/runs/8889320401/job/24407512081?pr=5811

Failed to build plutus-core-1.23.0.0.
Build log (
/Users/runner/.cache/cabal/logs/ghc-9.6.4/plts-cr-1.23.0.0-1291d1cf.log ):
Configuring library for plutus-core-1.23.0.0..
Preprocessing library for plutus-core-1.23.0.0..
Building library for plutus-core-1.23.0.0..
[  1 of 183] Compiling Data.Aeson.Flatten ( plutus-core/src/Data/Aeson/Flatten.hs, dist/build/Data/Aeson/Flatten.o, dist/build/Data/Aeson/Flatten.dyn_o )
[  2 of 183] Compiling Data.Aeson.THReader ( plutus-core/src/Data/Aeson/THReader.hs, dist/build/Data/Aeson/THReader.o, dist/build/Data/Aeson/THReader.dyn_o )
[  3 of 183] Compiling Data.Either.Extras ( plutus-core/src/Data/Either/Extras.hs, dist/build/Data/Either/Extras.o, dist/build/Data/Either/Extras.dyn_o )
Error: cabal: Failed to build plutus-core-1.23.0.0 (which is required by
plutus-tx-plugin-1.23.0.0 and exe:cardano-cli from cardano-cli-8.22.0.0). See
the build log above for details.

[  4 of 183] Compiling Data.List.Extras ( plutus-core/src/Data/List/Extras.hs, dist/build/Data/List/Extras.o, dist/build/Data/List/Extras.dyn_o )
[  5 of 183] Compiling Data.MultiSet.Lens ( plutus-core/src/Data/MultiSet/Lens.hs, dist/build/Data/MultiSet/Lens.o, dist/build/Data/MultiSet/Lens.dyn_o )
[  6 of 183] Compiling PlutusCore.Annotation ( plutus-core/src/PlutusCore/Annotation.hs, dist/build/PlutusCore/Annotation.o, dist/build/PlutusCore/Annotation.dyn_o )
[  7 of 183] Compiling PlutusCore.Builtin.Emitter ( plutus-core/src/PlutusCore/Builtin/Emitter.hs, dist/build/PlutusCore/Builtin/Emitter.o, dist/build/PlutusCore/Builtin/Emitter.dyn_o )
[  8 of 183] Compiling PlutusCore.Crypto.BLS12_381.Error ( plutus-core/src/PlutusCore/Crypto/BLS12_381/Error.hs, dist/build/PlutusCore/Crypto/BLS12_381/Error.o, dist/build/PlutusCore/Crypto/BLS12_381/Error.dyn_o )
[  9 of 183] Compiling PlutusCore.Crypto.Hash ( plutus-core/src/PlutusCore/Crypto/Hash.hs, dist/build/PlutusCore/Crypto/Hash.o, dist/build/PlutusCore/Crypto/Hash.dyn_o )
[ 10 of 183] Compiling PlutusCore.Data  ( plutus-core/src/PlutusCore/Data.hs, dist/build/PlutusCore/Data.o, dist/build/PlutusCore/Data.dyn_o )
[ 11 of 183] Compiling PlutusCore.DataFilePaths ( plutus-core/src/PlutusCore/DataFilePaths.hs, dist/build/PlutusCore/DataFilePaths.o, dist/build/PlutusCore/DataFilePaths.dyn_o )
[ 12 of 183] Compiling PlutusCore.Evaluation.Machine.CostingFun.SimpleJSON ( plutus-core/src/PlutusCore/Evaluation/Machine/CostingFun/SimpleJSON.hs, dist/build/PlutusCore/Evaluation/Machine/CostingFun/SimpleJSON.o, dist/build/PlutusCore/Evaluation/Machine/CostingFun/SimpleJSON.dyn_o )
[ 13 of 183] Compiling PlutusCore.Evaluation.Machine.ExMemory ( plutus-core/src/PlutusCore/Evaluation/Machine/ExMemory.hs, dist/build/PlutusCore/Evaluation/Machine/ExMemory.o, dist/build/PlutusCore/Evaluation/Machine/ExMemory.dyn_o )
[ 14 of 183] Compiling PlutusCore.Evaluation.Machine.CostStream ( plutus-core/src/PlutusCore/Evaluation/Machine/CostStream.hs, dist/build/PlutusCore/Evaluation/Machine/CostStream.o, dist/build/PlutusCore/Evaluation/Machine/CostStream.dyn_o )
[ 15 of 183] Compiling PlutusCore.Evaluation.Machine.SimpleBuiltinCostModel ( plutus-core/src/PlutusCore/Evaluation/Machine/SimpleBuiltinCostModel.hs, dist/build/PlutusCore/Evaluation/Machine/SimpleBuiltinCostModel.o, dist/build/PlutusCore/Evaluation/Machine/SimpleBuiltinCostModel.dyn_o )

<no location info>: error:
    dlopen(/Users/runner/.local/state/cabal/store/ghc-9.6.4/lib/libHScrdn-crypt-clss-2.1.4.0-4720623c-ghc9.6.4.dylib, 0x0005): symbol not found in flat namespace '_secp256k1_context_destroy'
[ 16 of 183] Compiling PlutusCore.Pretty.ConfigName ( plutus-core/src/PlutusCore/Pretty/ConfigName.hs, dist/build/PlutusCore/Pretty/ConfigName.o, dist/build/PlutusCore/Pretty/ConfigName.dyn_o )
[ 17 of 183] Compiling PlutusPrelude    ( prelude/PlutusPrelude.hs, dist/build/PlutusPrelude.o, dist/build/PlutusPrelude.dyn_o )
[ 18 of 183] Compiling PlutusCore.Version ( plutus-core/src/PlutusCore/Version.hs, dist/build/PlutusCore/Version.o, dist/build/PlutusCore/Version.dyn_o )

<no location info>: error:
    dlopen(/Users/runner/.local/state/cabal/store/ghc-9.6.4/lib/libHScrdn-crypt-clss-2.1.4.0-4720623c-ghc9.6.4.dylib, 0x0005): symbol not found in flat namespace '_secp256k1_context_destroy'
[ 19 of 183] Compiling PlutusCore.Pretty.Utils ( plutus-core/src/PlutusCore/Pretty/Utils.hs, dist/build/PlutusCore/Pretty/Utils.o, dist/build/PlutusCore/Pretty/Utils.dyn_o )
[ 20 of 183] Compiling PlutusCore.Pretty.Extra ( plutus-core/src/PlutusCore/Pretty/Extra.hs, dist/build/PlutusCore/Pretty/Extra.o, dist/build/PlutusCore/Pretty/Extra.dyn_o )
[ 21 of 183] Compiling PlutusCore.Pretty.Classic ( plutus-core/src/PlutusCore/Pretty/Classic.hs, dist/build/PlutusCore/Pretty/Classic.o, dist/build/PlutusCore/Pretty/Classic.dyn_o )
[ 22 of 183] Compiling PlutusCore.Name.Unique ( plutus-core/src/PlutusCore/Name/Unique.hs, dist/build/PlutusCore/Name/Unique.o, dist/build/PlutusCore/Name/Unique.dyn_o )

<no location info>: error:
    dlopen(/Users/runner/.local/state/cabal/store/ghc-9.6.4/lib/libHScrdn-crypt-clss-2.1.4.0-4720623c-ghc9.6.4.dylib, 0x0005): symbol not found in flat namespace '_secp256k1_context_destroy'
[ 28 of 183] Compiling PlutusCore.Evaluation.Machine.ExBudget ( plutus-core/src/PlutusCore/Evaluation/Machine/ExBudget.hs, dist/build/PlutusCore/Evaluation/Machine/ExBudget.o, dist/build/PlutusCore/Evaluation/Machine/ExBudget.dyn_o )
[ 29 of 183] Compiling PlutusCore.Evaluation.Machine.ExBudgetStream ( plutus-core/src/PlutusCore/Evaluation/Machine/ExBudgetStream.hs, dist/build/PlutusCore/Evaluation/Machine/ExBudgetStream.o, dist/build/PlutusCore/Evaluation/Machine/ExBudgetStream.dyn_o )
[ 31 of 183] Compiling Data.Functor.Foldable.Monadic ( plutus-core/src/Data/Functor/Foldable/Monadic.hs, dist/build/Data/Functor/Foldable/Monadic.o, dist/build/Data/Functor/Foldable/Monadic.dyn_o )
[ 32 of 183] Compiling Prettyprinter.Custom ( plutus-core/src/Prettyprinter/Custom.hs, dist/build/Prettyprinter/Custom.o, dist/build/Prettyprinter/Custom.dyn_o )
[ 33 of 183] Compiling PlutusCore.Pretty.Readable ( plutus-core/src/PlutusCore/Pretty/Readable.hs, dist/build/PlutusCore/Pretty/Readable.o, dist/build/PlutusCore/Pretty/Readable.dyn_o )

<no location info>: error:
    dlopen(/Users/runner/.local/state/cabal/store/ghc-9.6.4/lib/libHScrdn-crypt-clss-2.1.4.0-4720623c-ghc9.6.4.dylib, 0x0005): symbol not found in flat namespace '_secp256k1_context_destroy'
[ 36 of 183] Compiling Universe.Core    ( plutus-core/src/Universe/Core.hs, dist/build/Universe/Core.o, dist/build/Universe/Core.dyn_o )

<no location info>: error:
    dlopen(/Users/runner/.local/state/cabal/store/ghc-9.6.4/lib/libHScrdn-crypt-clss-2.1.4.0-4720623c-ghc9.6.4.dylib, 0x0005): symbol not found in flat namespace '_secp256k1_context_destroy'
[153 of 183] Compiling UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts ( untyped-plutus-core/src/UntypedPlutusCore/Evaluation/Machine/Cek/CekMachineCosts.hs, dist/build/UntypedPlutusCore/Evaluation/Machine/Cek/CekMachineCosts.o, dist/build/UntypedPlutusCore/Evaluation/Machine/Cek/CekMachineCosts.dyn_o )
[155 of 183] Compiling UntypedPlutusCore.Evaluation.Machine.Cek.StepCounter ( untyped-plutus-core/src/UntypedPlutusCore/Evaluation/Machine/Cek/StepCounter.hs, dist/build/UntypedPlutusCore/Evaluation/Machine/Cek/StepCounter.o, dist/build/UntypedPlutusCore/Evaluation/Machine/Cek/StepCounter.dyn_o )

@angerman
Copy link
Collaborator

Now that https://github.com/input-output-hk/iohk-nix/releases/tag/v3 is released. let's try this again.

@angerman
Copy link
Collaborator

angerman commented May 6, 2024

This seems to finally have cleared up windows and macOS.

@angerman angerman added this pull request to the merge queue May 6, 2024
Merged via the queue into latest with commit 18a618f May 6, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants