Bug 7393

Summary: dmake: Error code -1, while making 'spamc\spamc.exe'
Product: Spamassassin Reporter: Ariel Grin <arielgrin>
Component: Building & PackagingAssignee: SpamAssassin Developer Mailing List <dev>
Status: NEW ---    
Severity: normal CC: kmcgrail, puppe
Priority: P2    
Version: 3.4.1   
Target Milestone: Undefined   
Hardware: PC   
OS: Windows 7   

Description Ariel Grin 2017-02-15 17:28:51 UTC
Strawberry Perl 5.24.1
Windows 7 SP1
Windows SDK 7.1

When running dmake, after running perl Makefile.pl indicating that I want to build spamc, I get the following error on the log:
copy config.h.win config.h
copy spamc.h.win spamc.h
C:\STRAWB~1\perl\bin\perl.exe ..\build\preprocessor -Mvars -iMakefile.win -oMake
cd ..
dmake -f spamc/Makefile spamc\spamc.exe
cd spamc
CreateProcess failed (2).
dmake:  Error executing 'cd spamc': No such file or directory
dmake:  Error code -1, while making 'spamc\spamc.exe'
dmake:  Error code 255, while making 'spamc\spamc.exe'

If I go to spamc directory and manually run dmake -f Makefile spamc.exe it build successfully, so I guess there is some kind of error with the "cd spamc" related to relative or absolute path, because spamc directory exists for sure.
Comment 1 Kevin A. McGrail 2018-08-26 22:06:00 UTC
Martin, any comments on this window make issue?
Comment 2 Martin Puppe 2018-09-05 13:20:36 UTC
I have figured this one out and will supply a patch shortly.
Comment 3 Martin Puppe 2018-09-06 11:20:07 UTC
See bug #7617.