You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It failed asking for --host flag to be passed. network package build-type in cabal file is set to Configure. I tried passing the --host as shown below, but got the same error
aarch64-linux-android-cabal new-build all --allow-newer --configure-option="--host=aarch64-linux-android"
Failed to build network-2.6.3.2. The failure occurred during the configure
step.
Build log (
/home/magesh/.cabal/logs/ghc-8.3.20171020/network-2.6.3.2-912e3feaed63580b88cb6e183c9896fee81a1510d14968f80d68074ac841047c.log
):
Configuring library for network-2.6.3.2..
configure: WARNING: unrecognized options: --with-compiler
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... /home/magesh/.local/toolchain-wrapper/aarch64-linux-android-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/magesh/Work/labs/mobile/hello/dist-newstyle/tmp/src-10692/network-2.6.3.2':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
cabal: Failed to build network-2.6.3.2 (which is required by
streaming-commons-0.1.18). See the build log above for details.
This problem I'm facing only with new-build. With old-build, I'm able to successfully build network without even passing --host flag
The text was updated successfully, but these errors were encountered:
It looks like a more general issue in this space, #4939, was closed, so I'd tentatively propose to close this issue. Unless, of course, someone has energy to reproduce it.
It failed asking for
--host
flag to be passed.network
packagebuild-type
in cabal file is set toConfigure
. I tried passing the --host as shown below, but got the same errorThis problem I'm facing only with new-build. With old-build, I'm able to successfully build network without even passing --host flag
The text was updated successfully, but these errors were encountered: