Summary: | error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format | ||
---|---|---|---|
Product: | piglit | Reporter: | Vinson Lee <vlee> |
Component: | infrastructure | Assignee: | Jose Fonseca <jfonseca> |
Status: | RESOLVED FIXED | QA Contact: | Eric Anholt <eric> |
Severity: | blocker | ||
Priority: | medium | CC: | brianp, chadversary, jfonseca |
Version: | unspecified | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | piglit-dispatch-gen.h |
Description
Vinson Lee
2014-06-24 18:34:37 UTC
piglit: 4e99f93b149f6f4f5c3e0324f6660a741422463a (master) The build is still broken for me. piglit: 3cc5e8d0e8623d753df467eb980f5936a66fad37 (master) Build is still broken. What have I done to deserve this honour ? Don't think I've ever touched any of these files, or anything related with them :) (barring the patches that I've sent to the ML earlier :) Vinson, does this bug still affect you? piglit: 8d6c23cc85c094dd838e0861d8a61e5013574c3f (master) The build is still broken for me. Hi Vinson, I've been building piglit on MSVC 2013 daily and never seen this problem. tests\util\piglit-dispatch-gen.h is dynamically generated in runtime by some python scripts that use Mako templates. So please try: - wiping the build directory - reinstall python mako package If this still fails, please attach the generated tests\util\piglit-dispatch-gen.h Created attachment 108413 [details]
piglit-dispatch-gen.h
I am still getting a piglit build failure with MSVC with a clean workspace. This is my configuration. - Windows 7 - MSVC 2012 (11.0) - Python 2.7.8 - Mako 1.0.0 I last successfully built with commit 5fe479bf8ac7fe997b5911bd175c531f49110dfd "Add a test to reject semicolons after #extension.". The build failure I'm seeing starting happening with one of Chad Versace's dispatch commits shortly afterwards. I managed to repro this here. I though I was building piglit nightly, but in fact the build daemon failed to pick up a new change since June due a mistake of mine configuring it. I'll look into it. I just posted a review request to piglit that fixes this. Fixed with commit 84696872b45037de88e2008f169ba1baa0508e76 Author: José Fonseca <jfonseca@vmware.com> Date: Mon Oct 27 16:15:08 2014 +0000 git: Prevent automatic CRLF conversion for Mako templates. It seems that Mako templates don't handle CRLF properly, so force them to retain Unix line endings on Windows. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=80489 Reviewed-by: Brian Paul <brianp@vmware.com> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.