Bug 21569 – Unable to rebuild DMD build using win32.mak - v2.095.0
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2021-01-21T01:25:27Z
Last change time
2021-02-13T12:29:58Z
Keywords
pull
Assigned to
No Owner
Creator
apham
Comments
Comment #0 by apz28 — 2021-01-21T01:25:27Z
DMC is already downloaded and set PATH in environment variables
Batch file
set HOST_DC=dmd
set DM_HOME=C:\Development\DLang\D
C:\Development\DLang\DMC\dm\bin\make.exe -fwin32.mak release > make32.log 2>&1
Result make32.log
make -fwin32.mak MAKE="make" HOST_DC="dmd" MODEL=32 CC="" VERBOSE= clean
rmdir /s /q ..\generated
del dmd\msgs.h dmd\msgs.c
Could Not Find C:\Development\DLang\D\dmd2\src\dmd\dmd\msgs.h
del ..\generated\windows\release\32\dmd.exe *.map *.obj *.exe
The system cannot find the path specified.
del ..\generated\windows\release\32\dmd.exe
The system cannot find the path specified.
make -fwin32.mak MAKE="make" HOST_DC="dmd" MODEL=32 CC="" VERBOSE= reldmd
echo "===== DEPRECATION NOTICE ====="
"===== DEPRECATION NOTICE ====="
echo "===== DEPRECATION: win32.mak is deprecated. Please use src\build.d instead."
"===== DEPRECATION: win32.mak is deprecated. Please use src\build.d instead."
echo "=============================="
"=============================="
dmd -m32 -of..\generated\build.exe -g build.d
Warning: Parallel builds disabled because of Issue 13727!
..\generated\build.exe --called-from-make "OS=windows" "BUILD=release" "MODEL=32" "HOST_DMD=" "HOST_DC=dmd" "MAKE=make" "VERBOSE=" "ENABLE_RELEASE=" "ENABLE_DEBUG=" "ENABLE_ASSERTS=" "ENABLE_UNITTEST=" "ENABLE_PROFILE=" "ENABLE_COVERAGE=" "DFLAGS=" "ENABLE_RELEASE=1" ..\generated\windows\release\32\dmd.exe
(TX) VERSION
(TX) SYSCONFDIR
(DC) LEXER
(DC) BACKEND
(DC) DMD
The following operation failed:
Dependencies:
-> C:\Development\DLang\D\dmd2\src\generated\windows\release\32\VERSION
-> C:\Development\DLang\D\dmd2\src\generated\windows\release\32\SYSCONFDIR.imp
-> lexer
-> backend
Sources:
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dinifile.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\gluelayer.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\lib.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\libelf.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\libmach.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\libmscoff.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\libomf.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\link.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\mars.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\scanelf.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\scanmach.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\scanmscoff.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\scanomf.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\vsoptions.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\access.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\aggregate.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\aliasthis.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\apply.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\argtypes_x86.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\argtypes_sysv_x64.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\argtypes_aarch64.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\arrayop.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\arraytypes.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\ast_node.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\astcodegen.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\asttypename.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\attrib.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\blockexit.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\builtin.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\canthrow.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\chkformat.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\cli.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\clone.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\compiler.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\complex.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\cond.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\constfold.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\cppmangle.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\cppmanglewin.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\ctfeexpr.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\ctorflow.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dcast.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dclass.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\declaration.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\delegatize.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\denum.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dimport.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dinterpret.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dmacro.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dmangle.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dmodule.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\doc.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dscope.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dstruct.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dsymbol.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dsymbolsem.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dtemplate.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dtoh.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dversion.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\env.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\escape.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\expression.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\expressionsem.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\func.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\hdrgen.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\impcnvtab.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\imphint.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\init.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\initsem.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\inline.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\inlinecost.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\intrange.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\json.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\lambdacomp.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\mtype.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\nogc.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\nspace.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\ob.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\objc.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\opover.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\optimize.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\parse.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\parsetimevisitor.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\permissivevisitor.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\printast.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\safe.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\sapply.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\semantic2.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\semantic3.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\sideeffect.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\statement.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\statement_rewrite_walker.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\statementsem.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\staticassert.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\staticcond.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\stmtstate.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\target.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\templateparamsem.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\traits.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\transitivevisitor.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\typesem.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\typinf.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\utils.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\visitor.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\foreachvar.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\dmsc.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\e2ir.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\eh.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\iasm.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\iasmdmd.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\iasmgcc.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\glue.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\objc_glue.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\s2ir.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\tocsym.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\toctype.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\tocvdebug.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\todt.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\toir.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\toobj.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\cc.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\cdef.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\cgcv.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\code.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\cv4.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\dt.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\el.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\global.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\obj.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\oper.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\outbuf.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\rtlsym.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\code_x86.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\iasm.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\codebuilder.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\ty.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\type.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\exh.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\mach.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\mscoff.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\dwarf.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\dwarf2.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\xmm.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\dlist.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\backend\melf.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\root\aav.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\root\longdouble.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\root\man.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\root\response.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\root\speller.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\root\string.d
-> C:\Development\DLang\D\dmd2\src\dmd\dmd\root\strtold.d
-> C:\Development\DLang\D\dmd2\src\generated\windows\release\32\lexer.obj
-> C:\Development\DLang\D\dmd2\src\generated\windows\release\32\backend.obj
Targets:
-> C:\Development\DLang\D\dmd2\src\generated\windows\release\32\dmd.exe
Command: C:\Development\DLang\D\dmd2\windows\bin\dmd.exe -ofC:\Development\DLang\D\dmd2\src\generated\windows\release\32\dmd.exe -vtls -JC:\Development\DLang\D\dmd2\src\src/dmd/res -L/STACK:8388608 -version=MARS -w -de -m32 -JC:\Development\DLang\D\dmd2\src\generated\windows\release\32 -IC:\Development\DLang\D\dmd2\src\dmd -dip25 -O -inline -release -color=on dmd\dmd\dinifile.d dmd\dmd\gluelayer.d dmd\dmd\lib.d dmd\dmd\libelf.d dmd\dmd\libmach.d dmd\dmd\libmscoff.d dmd\dmd\libomf.d dmd\dmd\link.d dmd\dmd\mars.d dmd\dmd\scanelf.d dmd\dmd\scanmach.d dmd\dmd\scanmscoff.d dmd\dmd\scanomf.d dmd\dmd\vsoptions.d dmd\dmd\access.d dmd\dmd\aggregate.d dmd\dmd\aliasthis.d dmd\dmd\apply.d dmd\dmd\argtypes_x86.d dmd\dmd\argtypes_sysv_x64.d dmd\dmd\argtypes_aarch64.d dmd\dmd\arrayop.d dmd\dmd\arraytypes.d dmd\dmd\ast_node.d dmd\dmd\astcodegen.d dmd\dmd\asttypename.d dmd\dmd\attrib.d dmd\dmd\blockexit.d dmd\dmd\builtin.d dmd\dmd\canthrow.d dmd\dmd\chkformat.d dmd\dmd\cli.d dmd\dmd\clone.d dmd\dmd\compiler.d dmd\dmd\complex.d dmd\dmd\cond.d dmd\dmd\constfold.d dmd\dmd\cppmangle.d dmd\dmd\cppmanglewin.d dmd\dmd\ctfeexpr.d dmd\dmd\ctorflow.d dmd\dmd\dcast.d dmd\dmd\dclass.d dmd\dmd\declaration.d dmd\dmd\delegatize.d dmd\dmd\denum.d dmd\dmd\dimport.d dmd\dmd\dinterpret.d dmd\dmd\dmacro.d dmd\dmd\dmangle.d dmd\dmd\dmodule.d dmd\dmd\doc.d dmd\dmd\dscope.d dmd\dmd\dstruct.d dmd\dmd\dsymbol.d dmd\dmd\dsymbolsem.d dmd\dmd\dtemplate.d dmd\dmd\dtoh.d dmd\dmd\dversion.d dmd\dmd\env.d dmd\dmd\escape.d dmd\dmd\expression.d dmd\dmd\expressionsem.d dmd\dmd\func.d dmd\dmd\hdrgen.d dmd\dmd\impcnvtab.d dmd\dmd\imphint.d dmd\dmd\init.d dmd\dmd\initsem.d dmd\dmd\inline.d dmd\dmd\inlinecost.d dmd\dmd\intrange.d dmd\dmd\json.d dmd\dmd\lambdacomp.d dmd\dmd\mtype.d dmd\dmd\nogc.d dmd\dmd\nspace.d dmd\dmd\ob.d dmd\dmd\objc.d dmd\dmd\opover.d dmd\dmd\optimize.d dmd\dmd\parse.d dmd\dmd\parsetimevisitor.d dmd\dmd\permissivevisitor.d dmd\dmd\printast.d dmd\dmd\safe.d dmd\dmd\sapply.d dmd\dmd\semantic2.d dmd\dmd\semantic3.d dmd\dmd\sideeffect.d dmd\dmd\statement.d dmd\dmd\statement_rewrite_walker.d dmd\dmd\statementsem.d dmd\dmd\staticassert.d dmd\dmd\staticcond.d dmd\dmd\stmtstate.d dmd\dmd\target.d dmd\dmd\templateparamsem.d dmd\dmd\traits.d dmd\dmd\transitivevisitor.d dmd\dmd\typesem.d dmd\dmd\typinf.d dmd\dmd\utils.d dmd\dmd\visitor.d dmd\dmd\foreachvar.d dmd\dmd\dmsc.d dmd\dmd\e2ir.d dmd\dmd\eh.d dmd\dmd\iasm.d dmd\dmd\iasmdmd.d dmd\dmd\iasmgcc.d dmd\dmd\glue.d dmd\dmd\objc_glue.d dmd\dmd\s2ir.d dmd\dmd\tocsym.d dmd\dmd\toctype.d dmd\dmd\tocvdebug.d dmd\dmd\todt.d dmd\dmd\toir.d dmd\dmd\toobj.d dmd\dmd\backend\cc.d dmd\dmd\backend\cdef.d dmd\dmd\backend\cgcv.d dmd\dmd\backend\code.d dmd\dmd\backend\cv4.d dmd\dmd\backend\dt.d dmd\dmd\backend\el.d dmd\dmd\backend\global.d dmd\dmd\backend\obj.d dmd\dmd\backend\oper.d dmd\dmd\backend\outbuf.d dmd\dmd\backend\rtlsym.d dmd\dmd\backend\code_x86.d dmd\dmd\backend\iasm.d dmd\dmd\backend\codebuilder.d dmd\dmd\backend\ty.d dmd\dmd\backend\type.d dmd\dmd\backend\exh.d dmd\dmd\backend\mach.d dmd\dmd\backend\mscoff.d dmd\dmd\backend\dwarf.d dmd\dmd\backend\dwarf2.d dmd\dmd\backend\xmm.d dmd\dmd\backend\dlist.d dmd\dmd\backend\melf.d dmd\dmd\root\aav.d dmd\dmd\root\longdouble.d dmd\dmd\root\man.d dmd\dmd\root\response.d dmd\dmd\root\speller.d dmd\dmd\root\string.d dmd\dmd\root\strtold.d generated\windows\release\32\lexer.obj generated\windows\release\32\backend.obj
-----------------------------------------------------------
dmd\dmd\doc.d(364): Error: file `"default_ddoc_theme.ddoc"` cannot be found or not in a path specified with `-J`
dmd\dmd\doc.d(364): Path(s) searched (as provided by `-J`):
dmd\dmd\doc.d(364): [0]: `C:\Development\DLang\D\dmd2\src\src/dmd/res` (path not found)
dmd\dmd\doc.d(364): [1]: `C:\Development\DLang\D\dmd2\src\generated\windows\release\32`
dmd\dmd\visitor.d(120): Error: function `dmd.visitor.SemanticTimeTransitiveVisitor.visit` conflicts with alias `dmd.visitor.SemanticTimeTransitiveVisitor.visit` at dmd\dmd\visitor.d(118)
dmd\dmd\lambdacomp.d(132): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(175): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(229): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(276): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(292): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(308): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(333): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(345): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(354): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(363): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(385): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(415): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(424): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(433): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(445): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(467): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(468): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
dmd\dmd\lambdacomp.d(469): Error: function `dmd.lambdacomp.SerializeVisitor.visit` does not override any function
DETAILS:
--- errorlevel 1
--- errorlevel 1
Comment #1 by moonlightsentinel — 2021-01-21T14:35:26Z
Does your current environment contain a RES variable?
The include path (C:\Development\DLang\D\dmd2\src\src/dmd/res) is wrong and points inside of your dmd installation AFAICT.
Comment #2 by apz28 — 2021-01-21T15:00:49Z
(In reply to moonlightsentinel from comment #1)
> Does your current environment contain a RES variable?
>
> The include path (C:\Development\DLang\D\dmd2\src\src/dmd/res) is wrong and
> points inside of your dmd installation AFAICT.
No RES variable
Comment #3 by apz28 — 2021-01-21T15:05:44Z
(In reply to moonlightsentinel from comment #1)
> Does your current environment contain a RES variable?
>
I see RES is set in build.d module as below
env.setDefault("RES", dmdRepo.buildPath("src/dmd/res"));
Comment #4 by dlang-bot — 2021-01-21T16:00:46Z
@MoonlightSentinel created dlang/dmd pull request #12143 "Fix 21569: Set RES path relative to build.d's directory" fixing this issue:
- Fix 21569: Set RES path relative to build.d's directory
This ensures the resulting path is correct even for the sources
distributed alongside the official releases.
This is a regression introduced by #11269.
https://github.com/dlang/dmd/pull/12143
Comment #5 by moonlightsentinel — 2021-01-21T16:02:51Z
Sorry for the confusion, didn't realise you were building the sources included in the official release instead of the git repository.
Submitted a fix for your problem.
Comment #6 by witold.baryluk+d — 2021-01-21T18:22:44Z
Same happens on Linux.
Same fix should work.
Thank you!
Comment #7 by apz28 — 2021-01-21T18:30:03Z
(In reply to moonlightsentinel from comment #5)
> Sorry for the confusion, didn't realise you were building the sources
> included in the official release instead of the git repository.
>
> Submitted a fix for your problem.
Thanks you for quick fix!!!
I sorry to bundle with this bug report
Can you also try to rebuild using make (32 bit) for druntime & phobos.
I got the long list of errors when doing the rebuild for those two
The reason that I need to rebuild so I can try to figure out how to get the callstack for below error while doing unittest my projects.
core.exception.InvalidMemoryOperationError@src\core\exception.d(647): Invalid memory operation
src\core\exception.d(647): [unittest] Invalid memory operation
Comment #8 by moonlightsentinel — 2021-01-21T19:22:23Z
I am not very familiar with these makefiles.
You can also building from the git repositorys or try LDC's `--link-defaultlib-debug` flag instead.
Comment #9 by dlang-bot — 2021-01-21T21:23:30Z
dlang/dmd pull request #12143 "Fix 21569: Set RES path relative to build.d's directory" was merged into stable:
- ca4dde78dd4777bc70b5ffce5eb6bf3b62355f23 by MoonlightSentinel:
Fix 21569: Set RES path relative to build.d's directory
This ensures the resulting path is correct even for the sources
distributed alongside the official releases.
This is a regression introduced by #11269.
https://github.com/dlang/dmd/pull/12143
Comment #10 by dlang-bot — 2021-02-13T12:29:58Z
dlang/dmd pull request #12195 "Merge stable" was merged into master:
- a63278b116430d5da57628aaf454162d38d189d4 by MoonlightSentinel:
Fix 21569: Set RES path relative to build.d's directory
This ensures the resulting path is correct even for the sources
distributed alongside the official releases.
This is a regression introduced by #11269.
https://github.com/dlang/dmd/pull/12195