Many thanks for the suggestions - changing Cygwin configuration from 'Unix/Binary' to 'DOS/text' did the trick for me.

What's strange is that it used to work and (to the best of my knowledge), nothing has changed on my dev box - same Cygwin, same MSVC install, same checkout, same .mozconfig. The only thing I can think of is that I did a Windows update recently in case there were some security updates and that may have changed something. Seems unlikely though.

Maybe it was a full moon that day or something :)

Cheers.


I'm guessing you're using Cygwin + MSVC? Well I had the same problem recently (no idea what actually triggered it, mind), but there are two solutions I know about:

- I've seen it suggested that reinstalling Cygwin in text-mode for files has fixed this for some people.
- I did the following:
  - find all configure files, and look for "(set)"
  - replace with "(set | dos2unix)"
- make sure dos2unix is installed (I think it is part of basefiles for Cygwin, so should be) - remove any config.cache files, as this will have been "infected" by the failed build
  - start building as normal

I'll probably get lynched for the second solution, but hey - I didn't change anything and the build stopped building, and that is what fixed it.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to