-
Notifications
You must be signed in to change notification settings - Fork 1
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
Patch Contents Causing Duplicate Function Definitions #3
Comments
The first three functions: |
We don't use the shims anymore in the JS backend. The Do you still run into this? Perhaps there's another place that needs a fix. |
Sorry for the long delay here but finally getting back to this. Still finding an issue that can only point to this cryptonite-0.30.patch file but now the duplicated function in question is: hackage-overlay-ghcjs/patches/cryptonite-0.30.patch Lines 525 to 528 in 16e49cd
This is causing issues w/ the jsapi build of https://github.com/IntersectMBO/cardano-addresses |
Seems to be related to the issue that the function is also declared here in the foundation patch? These are the two exact copies of the function that are both appearing the compiled js file: hackage-overlay-ghcjs/patches/foundation-0.0.30.patch Lines 99 to 104 in 16e49cd
|
The included
"temporary fixes"
here are causing duplicated function definitions when this patch is used during the JS build forcardano-addresses
as referenced here: IntersectMBO/cardano-addresses#264 and here: IntersectMBO/cardano-addresses#267.It is unclear where else in GHCJS these functions, specifically:
geteuid()
,sysconf()
,getpwuid_r()
, andfoundation_sysrandom_linux()
are being included from.hackage-overlay-ghcjs/patches/cryptonite-0.30.patch
Lines 494 to 528 in 6281362
The text was updated successfully, but these errors were encountered: