Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
August 23, 2015 Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Hi, just trying to build the latest DMD with Digger 2.3 and get this: uffer.d root/port.d root/response.d root/rmem.d root/rootobject.d root/speller.d root/stringtable.d newdelete.o glue.a backend.a globals.d(293): Error: file "verstr.h" cannot be found or not in a path specified with -J make: *** [dmd] Error 1 digger: Saving to cache. digger: Clearing temporary cache Fatal error: Command ["make", "-f", "posix.mak", "MODEL=64", "HOST_DC=/Volumes/Daten/Windows/d/develop/d-language/Digger/dl/dmd-2.067.1/dmd2/osx/bin/dmd", "dmd"] failed with status 2 mac-pro:Digger robby$ find . -name "verstr.h" ./repo/dmd/src/verstr.h mac-pro:Digger robby$ find . -name globals.d ./repo/dmd/src/globals.d mac-pro:Digger robby$ I'm wondering why the "verstr.h" file can't be found... it's in the same dir as from where the import happens. Any ideas? -- Robert M. Münch http://www.saphirion.com smarter | better | faster |
August 23, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | On Sunday, 23 August 2015 at 11:27:32 UTC, Robert M. Münch wrote: > Hi, just trying to build the latest DMD with Digger 2.3 and get this: > > uffer.d root/port.d root/response.d root/rmem.d root/rootobject.d root/speller.d root/stringtable.d newdelete.o glue.a backend.a > globals.d(293): Error: file "verstr.h" cannot be found or not in a path specified with -J > make: *** [dmd] Error 1 > digger: Saving to cache. > digger: Clearing temporary cache > Fatal error: Command ["make", "-f", "posix.mak", "MODEL=64", "HOST_DC=/Volumes/Daten/Windows/d/develop/d-language/Digger/dl/dmd-2.067.1/dmd2/osx/bin/dmd", "dmd"] failed with status 2 > mac-pro:Digger robby$ find . -name "verstr.h" > ./repo/dmd/src/verstr.h > mac-pro:Digger robby$ find . -name globals.d > ./repo/dmd/src/globals.d > mac-pro:Digger robby$ > > I'm wondering why the "verstr.h" file can't be found... it's in the same dir as from where the import happens. Any ideas? almost certainly a consequence of the recent switchover to the dmd frontend being written in D. Have you tried building the latest Digger git HEAD first? If that doesn't work I suggest reporting it here for Vladimir (CyberShadow) to look at: https://github.com/CyberShadow/Digger/issues/new |
August 23, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | On Sunday, 23 August 2015 at 11:27:32 UTC, Robert M. Münch wrote:
> Hi, just trying to build the latest DMD with Digger 2.3 and get this:
>
> uffer.d root/port.d root/response.d root/rmem.d root/rootobject.d root/speller.d root/stringtable.d newdelete.o glue.a backend.a
> globals.d(293): Error: file "verstr.h" cannot be found or not in a path specified with -J
> make: *** [dmd] Error 1
> digger: Saving to cache.
> digger: Clearing temporary cache
> Fatal error: Command ["make", "-f", "posix.mak", "MODEL=64", "HOST_DC=/Volumes/Daten/Windows/d/develop/d-language/Digger/dl/dmd-2.067.1/dmd2/osx/bin/dmd", "dmd"] failed with status 2
> mac-pro:Digger robby$ find . -name "verstr.h"
> ./repo/dmd/src/verstr.h
> mac-pro:Digger robby$ find . -name globals.d
> ./repo/dmd/src/globals.d
> mac-pro:Digger robby$
>
> I'm wondering why the "verstr.h" file can't be found... it's in the same dir as from where the import happens. Any ideas?
Can't reproduce this on Windows, Linux or OS X 10.10.3.
Can you include more of the build log (specifically, the entire failing command line)? It should have a -J. in it.
|
August 23, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | On 2015-08-23 17:01:07 +0000, Vladimir Panteleev said: > Can't reproduce this on Windows, Linux or OS X 10.10.3. Ok, good. So it should be fixable on my side. > Can you include more of the build log (specifically, the entire failing command line)? It should have a -J. in it. CC=g++ /Volumes/Daten/Windows/d/develop/d-language/Digger/dl/dmd-2.067.1/dmd2/osx/bin/dmd -ofdmd -m64 -vtls -J. -d access.d aggregate.d aliasthis.d apply.d argtypes.d arrayop.d arraytypes.d attrib.d backend.d builtin.d canthrow.d clone.d complex.d cond.d constfold.d cppmangle.d ctfeexpr.d dcast.d dclass.d declaration.d delegatize.d denum.d dimport.d dinifile.d dinterpret.d dmacro.d dmangle.d dmodule.d doc.d dscope.d dstruct.d dsymbol.d dtemplate.d dunittest.d dversion.d entity.d errors.d escape.d expression.d func.d globals.d hdrgen.d id.d identifier.d impcnvtab.d imphint.d init.d inline.d intrange.d json.d lexer.d lib.d link.d mars.d mtype.d nogc.d nspace.d opover.d optimize.d parse.d sapply.d sideeffect.d statement.d staticassert.d target.d tokens.d traits.d utf.d visitor.d objc.d root/aav.d root/array.d root/file.d root/filename.d root/longdouble.d root/man.d root/outbuffer.d root/port.d root/response.d root/rmem.d root/rootobject.d root/speller.d root/stringtable.d newdelete.o glue.a backend.a globals.d(293): Error: file "verstr.h" cannot be found or not in a path specified with -J make: *** [dmd] Error 1 digger: Saving to cache. digger: Clearing temporary cache Fatal error: Command ["make", "-f", "posix.mak", "MODEL=64", "HOST_DC=/Volumes/Daten/Windows/d/develop/d-language/Digger/dl/dmd-2.067.1/dmd2/osx/bin/dmd", "dmd"] failed with status 2 AFAIU it does has the -J. included. -- Robert M. Münch http://www.saphirion.com smarter | better | faster |
August 23, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | On Sunday, 23 August 2015 at 20:07:39 UTC, Robert M. Münch wrote:
> On 2015-08-23 17:01:07 +0000, Vladimir Panteleev said:
>
>> [...]
>
> Ok, good. So it should be fixable on my side.
>
> [...]
Not really sure what's going on there... If I could reproduce it, I'd try building DMD manually - if it still occurred, build DMD 2.067.1 from source and add debugging printfs to see why it's not finding verstr.h.
|
August 24, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On 2015-08-23 16:23:57 +0000, John Colvin said: > almost certainly a consequence of the recent switchover to the dmd frontend being written in D. Have you tried building the latest Digger git HEAD first? If that doesn't work I suggest reporting it here for Vladimir (CyberShadow) to look at: https://github.com/CyberShadow/Digger/issues/new Yes, and get this: mac-pro:Digger robby$ rdmd --build-only digger digger.d(36): Error: no property 'additionalComponents' for type 'ae.sys.d.manager.DManager' Failed: ["dmd", "-v", "-o-", "digger.d", "-I."] So, I downloaded the binary... Maybe I somehow screwed up my setup? But can't imagine how and why... -- Robert M. Münch http://www.saphirion.com smarter | better | faster |
August 24, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | On 2015-08-23 20:13:38 +0000, Vladimir Panteleev said: > Not really sure what's going on there... If I could reproduce it, I'd try building DMD manually - if it still occurred, build DMD 2.067.1 from source and add debugging printfs to see why it's not finding verstr.h. I'm not building 2.067.1 I try to build HEAD and digger uses 2.067.1 for this. Might this be a cause? -- Robert M. Münch http://www.saphirion.com smarter | better | faster |
August 24, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | On Monday, 24 August 2015 at 09:13:56 UTC, Robert M. Münch wrote:
> On 2015-08-23 16:23:57 +0000, John Colvin said:
>
>> almost certainly a consequence of the recent switchover to the dmd frontend being written in D. Have you tried building the latest Digger git HEAD first? If that doesn't work I suggest reporting it here for Vladimir (CyberShadow) to look at: https://github.com/CyberShadow/Digger/issues/new
>
> Yes, and get this:
>
> mac-pro:Digger robby$ rdmd --build-only digger
> digger.d(36): Error: no property 'additionalComponents' for type 'ae.sys.d.manager.DManager'
> Failed: ["dmd", "-v", "-o-", "digger.d", "-I."]
>
> So, I downloaded the binary... Maybe I somehow screwed up my setup? But can't imagine how and why...
Is this from a clean clone of Digger, either with --recursive or having done git submodule update --init ? What version of DMD are you using to build it?
|
August 24, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On 2015-08-24 11:01:47 +0000, John Colvin said: > Is this from a clean clone of Digger, either with --recursive or having done git submodule update --init ? What version of DMD are you using to build it? Hi, no it was not. Doing a "git submodule update --init" fixed this problem. After this, the import path problem still exists. Thanks for this tip. -- Robert M. Münch http://www.saphirion.com smarter | better | faster |
August 24, 2015 Re: Digger 2.3 & verstr.h problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | On Monday, 24 August 2015 at 09:18:14 UTC, Robert M. Münch wrote:
> On 2015-08-23 20:13:38 +0000, Vladimir Panteleev said:
>
>> Not really sure what's going on there... If I could reproduce it, I'd try building DMD manually - if it still occurred, build DMD 2.067.1 from source and add debugging printfs to see why it's not finding verstr.h.
>
> I'm not building 2.067.1 I try to build HEAD and digger uses 2.067.1 for this. Might this be a cause?
Well, yes, your problem is that DMD 2.067 isn't finding a file while compiling DMD HEAD. So you would need to debug DMD 2.067 to find why it refuses to compile DMD HEAD.
|
Copyright © 1999-2021 by the D Language Foundation