Thread overview
Digger v3.0 alpha 5 / DMD 2.080.0 / Can't build...
May 02, 2018
Robert M. Münch
May 02, 2018
Seb
May 02, 2018
Robert M. Münch
May 02, 2018
Seb
May 02, 2018
Hi, digger won't build because it sees some local changes to file, which I didn't do:

D:\develop\d-language\Digger> ./digger build --model=64
digger: Building spec: master
digger: Adding D:\develop\d-language\Digger\work\dl\git\cmd to PATH.
digger: Updating repo...
Fetching origin
digger: Starting at meta repository commit 15642ba3f6e9413eab584261d341a6f9cbf7b2ee
digger: Building components dmd, druntime, phobos-includes, phobos, rdmd
digger: needInstalled: dmd-c86d97955d5bc565441e1aa3ee7664ae3f748683-952245c3cf66d02b166197a829acd0c4 

digger: Clearing temporary cache
digger: Cache miss.
digger: needBuild: dmd-c86d97955d5bc565441e1aa3ee7664ae3f748683-952245c3cf66d02b166197a829acd0c4 

digger: Cleaning repository dmd...
HEAD is now at acacaad Merge pull request #7762 from jacob-carlborg/objc_class_methods
digger: Checking out dmd commit c86d97955d5bc565441e1aa3ee7664ae3f748683...
error: Your local changes to the following files would be overwritten by checkout:
       .circleci/run.sh
       semaphoreci.sh
       test/compilable/crlf.sh
       test/compilable/ddoc9764.sh
       test/compilable/extra-files/ddocAny-postscript.sh
       test/compilable/extra-files/ddocYear-postscript.sh
       test/compilable/extra-files/depsOutput.sh
       test/compilable/extra-files/header-postscript.sh
       test/compilable/extra-files/json-postscript.sh
       test/compilable/extra-files/rdepsOutput.sh
       test/compilable/extra-files/test11237.sh
       test/compilable/extra-files/test7754-postscript.sh
       test/compilable/extra-files/vcg-ast-postscript.sh
       test/compilable/issue17167.sh
       test/compilable/jsonNoOutFile.sh
       test/compilable/json_nosource.sh
       test/compilable/test14894.sh
       test/compilable/test18367.sh
       test/compilable/test6461.sh
       test/compilable/test9680.sh
       test/compilable/testclidflags.sh
       test/d_do_test.d
       test/runnable/depsprot.sh
       test/runnable/extra-files/a20-postscript.sh
       test/runnable/extra-files/bug9010-postscript.sh
       test/runnable/extra-files/cov2-postscript.sh
       test/runnable/extra-files/hello-profile-postscript.sh
       test/runnable/extra-files/sieve-postscript.sh
       test/runnable/extra-files/statictor-postscript.sh
       test/runnable/extra-files/test17868-postscript.sh
       test/runnable/gdb15729.sh
       test/runnable/link14198a.sh
       test/runnable/link14198b.sh
       test/runnable/link14834.sh
       test/runnable/link846.sh
       test/runnable/linkdebug.sh
       test/runnable/test10386.sh
       test/runnable/test10567.sh
       test/runnable/test13666.sh
       test/runnable/test13742.sh
       test/runnable/test13774.sh
       test/runnable/test16096.sh
       test/runnable/test17619.sh
       test/runnable/test18076.sh
       test/runnable/test18141.sh
       test/runnable/test18335.sh
       test/runnable/test2.sh
       test/runnable/test35.sh
       test/runnable/test39.sh
       test/runnable/test44.sh
       test/runnable/test9287.sh
       test/runnable/test9377.sh
       test/runnable/test_shared.sh
       test/runnable/test_switches.sh
       test/sh_do_test.sh
Please, commit your changes or stash them before you can switch branches.
Aborting
digger: Error checking out c86d97955d5bc565441e1aa3ee7664ae3f748683: object.Exception@C:\Users\robby\AppData\Local\dub\packages\ae-0.0.2155\ae\sys\cmd.d(92): Command `"git" -c core.autocrlf=false checkout ^"c86d97955d5bc565441e1aa3ee7664ae3f748683^"` failed with status 1

I tried to stash etc. but no success... any idea?

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster

May 02, 2018
On Wednesday, 2 May 2018 at 09:36:23 UTC, Robert M. Münch wrote:
> Hi, digger won't build because it sees some local changes to file, which I didn't do:
>
> [...]

Works fine for me with 2.080.0. Did you maybe modify your working directory locally?
If so, try nuking `work` away.

(btw digger is used for DAutoTest so it's constantly tested by our CIs)
May 02, 2018
On 2018-05-02 09:39:41 +0000, Seb said:

> Works fine for me with 2.080.0. Did you maybe modify your working directory locally?

Hi, not that I know about...

> If so, try nuking `work` away.

I did and digger downloaded a bunch of things and failed wiht this:

D:\develop\d-language\Digger> .\digger.exe build
digger: Building spec: master
digger: Adding D:\develop\d-language\Digger\work\dl\git\cmd to PATH.
digger: Updating repo...
Fetching origin
digger: Starting at meta repository commit 8f79556c48f5161b5702589d47745fc9fb620eeb
digger: Building components dmd, druntime, phobos-includes, phobos, rdmd
digger: needInstalled: dmd-c86d97955d5bc565441e1aa3ee7664ae3f748683-3f836c943d2670833cf056224634bb96 

digger: Clearing temporary cache
digger: Cache miss.
digger: needBuild: dmd-c86d97955d5bc565441e1aa3ee7664ae3f748683-3f836c943d2670833cf056224634bb96 

digger: Cleaning repository dmd...
HEAD is now at c86d979 Merge pull request #8212 from MartinNowak/merge_stable
digger: Building dmd-c86d97955d5bc565441e1aa3ee7664ae3f748683-3f836c943d2670833cf056224634bb96 

digger: Preparing DigitalMars C++
digger: Installing DigitalMars C++ v8.57 to D:\develop\d-language\Digger\work\dl\dm857-snn2074-optlink80017...
digger: Unpacking D:\develop\d-language\Digger\work\dl\dm857c.zip to D:\develop\d-language\Digger\work\dl\dm857c...
digger: Not caching dmd build failure due to temporary/environment error.

std.file.FileException@std\file.d(945): Attempting to rename file D:\develop\d-language\Digger\work\dl\dmd.2.074.0.windows\dmd2\windows\lib\snn.lib to D:\develop\d-language\Digger\work\dl\dm857-snn2074-optlink80017.7712.9984.temp\lib\snn.lib: Das System kann die angegebene Datei nicht finden.

The last line states that the file can't be found.


> (btw digger is used for DAutoTest so it's constantly tested by our CIs)

I trust you and I really like the tool but I have some pretty hard times to get it up & running and then keep it running...

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster

May 02, 2018
On Wednesday, 2 May 2018 at 21:13:03 UTC, Robert M. Münch wrote:
> On 2018-05-02 09:39:41 +0000, Seb said:
>
>> [...]
>
> Hi, not that I know about...
>
> [...]

Looks like it's an issue with the windows bootstrapping.
I would recommend to report a bug to Vladimir's issue tracker:
https://github.com/CyberShadow/Digger