typelead/eta

servant-client error: Failed to build unix-2.7.2.2, only old base-compat patched

clojurians-org opened this issue · 0 comments

servant library build failed with unix library error.
the related dependency chain: servant :> base-compat :> unix

eta-hackage just exist old version [base-compat] patched.
we can add base-compat >= 0.9.1 && <= 0.10.4 to resolve it.

it's better to patch the newer versions of base-compat to avoid this situation

the complete build log is attached:

larrys-MBP:myTest larluo$ etlas build
Resolving dependencies...
In order, the following will be built (use -v for more details):
 - unix-2.7.2.2 (lib) (requires build)
 - myTest-0.1.0.0 (exe:myTest) (first run)
Configuring unix-2.7.2.2 (lib)...
Building unix-2.7.2.2 (lib)...

Failed to build unix-2.7.2.2.
Build log (
/Users/larluo/.etlas/logs/eta-0.8.6.5/unix-2.7.2.2-798d964f261ff7cb8ec15a2d99204702e8ca0cc7a269ec1b3c5297ab195e3ffd.log
):
Configuring library for unix-2.7.2.2..
Preprocessing library for unix-2.7.2.2..
etlas: can't find source for System/Posix/Resource in ., dist/build/autogen,
dist/build/global-autogen
etlas: Failed to build unix-2.7.2.2 (which is required by exe:myTest from
myTest-0.1.0.0). See the build log above for details.