Dear list,

I have a weir finding. It’s not something that keeps me from proceeding, but 
worries me a bit and might be interesting for maintainers.

The context: I build the package portaudio myself, because I need a feature 
that is not in the default package.

I build with these flags to the makepkg-ming comannd: cCiFl (the clean overkill 
is just to make sure the second (32-bit) build goes through. If the source 
isn’t deleted between the 64- and 32-bit build, there will be a error in the 
preparation stage, because the patch can’t be applied any more. But that’s just 
side info, not my point.

This is it:
When building from a s-shell: 

build and install go fine through the first 64-bit build. The second build 
starts and get’s an error when testing if the compiler works:

==> Starting build()...
checking build system type... i686-w64-mingw32
checking host system type... i686-w64-mingw32
checking target system type... i686-w64-mingw32
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... no
configure: error: in `/repos/MINGW-packages/mingw-w64-portaudio/src/build-i686-w
64-mingw32':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
    Aborting...

When doing this from a local shell, 

the second build goes through just fine. I compared the paths, they are 
identical in both shells (ssh-bash and mintty-bash). So what could be going 
wrong? I have my build it’s not a showstopper right now, but I am ultimately 
hoping to trigger builds via ssh only, so this discrepancy is a bit worrying...

I am using the Bitvise ssh-server with default configuration and access it from 
a Macbook. I am doing the builds in a msys2-shell (not mingw). In both cases 
(ssh and local), I establish "msys-mode” by setting the MSYSTEM env-var to MSYS 
and starting bash with --login -i. My homefolder is the %USERPROFILE% in both 
cases (just as info, although I can’t see how that could be relevant).

Thanks for any advice!
Rainer


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to