Bug 7393 - dmake: Error code -1, while making 'spamc\spamc.exe'
Summary: dmake: Error code -1, while making 'spamc\spamc.exe'
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: 3.4.1
Hardware: PC Windows 7
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
Depends on:
Reported: 2017-02-15 17:28 UTC by Ariel Grin
Modified: 2018-09-06 11:20 UTC (History)
2 users (show)

Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
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.