Open 097115 opened 2 years ago
It's actually the same if trying to build i686-unknown-linux-gnu target on a x86_64 system. So, it's not really OSXCross-related issue.
But probably I'm just missing something extremely obvious? :)
Same for me. Logs can be found here.
c1: fatal error C1083: Cannot open source file: 'D:\a\cursive-example\cursive-example\target\debug\build\ncurses-82fdfbbdf18706a5\out\chtype_size.c': Permission denied
--- stderr
cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
thread 'main' panicked at 'assertion failed: command.status().expect(\"compilation failed\").success()', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\ncurses-5.101.0\build.rs:105:5
No problem on x86_64-unknown-linux-gnu
but both x86_64-windows-mvsc
and x86_64-apple-darwin
cannot compile ncurses v5.101.0
with a similar output.
I use a similar CI configuration on another project without problem since today.
@yozhgoor that's https://github.com/jeaye/ncurses-rs/issues/127 ie. it doesn't support Windows
I'm trying to build a project with GitLab's CI using docker image
katharostech/rust-osxcross
.It works nice for native build, however with
--target=x86_64-apple-darwin
it breaks like the following:And just in case on my local Ubuntu with OSXcross installed, it breaks in the similar manner, too.
Would be grateful for any hint or assistance :)