[Bug 31057] makefile(3) : fatal error U1034: syntax error : separator missing

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 8 09:44:09 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=31057

Roman Kagan <rkagan at mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rkagan at mail.ru

--- Comment #15 from Roman Kagan <rkagan at mail.ru> 2013-11-08 09:44:09 CST ---
Me too:

wine-1.7.5 packaged with Fedora 19
nmake from WDK7.1
clean WINEPREFIX, with only a few basic MSI packages from WDK installed via
msiexec.

Also experimented a bit around comment 6 and comment 7.

In my experiments WINEARCH didn't make any difference.

What did, however, was the presence of the byte-order mark at the beginning of
the Makefile.

E.g.

# echo -e 'all:\n\techo ok' > Makefile
# wine nmake.exe -nologo
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
makefile(3) : fatal error U1034: syntax error : separator missing
Stop.

the same with UTF-8 BOM:

# echo -e '\xef\xbb\xbfall:\n\techo ok' > Makefile
wine nmake.exe -nologo
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
        echo ok
fixme:file:NeedCurrentDirectoryForExePathW (L"echo"): partial stub
ok


Ditto with the recipe from comment 7: if you use iconv ... -t utf-16le which
omits BOM, nmake still fails to parse the Makefile correctly.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list