jacob-carlborg / dvm

A tool to install and manage D compilers
57 stars 11 forks source link

fedora 20: dvm install fails #25

Open ariovistus opened 10 years ago

ariovistus commented 10 years ago

fresh fedora 20 vm with 64bit rpm from dlang.org clone repo, dub build, $ ~/dvm/bin/dvm install 2.064.2 results in: Fetching: http://ftp.digitalmars.com/dmd.2.064.2.zip [========================================>] 33381/32567 KB

Installing: dmd-2.064.2 An unknown error occurred: tango.core.Exception.IOException@../.dub/packages/tango-d2port/tango/core/Exception.d(59): /home/vagrant/.dvm/bin/dmd-2.064.2 :: No such file or directory

jacob-carlborg commented 10 years ago

Could you please run with the -v flag to get a verbose output.

ariovistus commented 10 years ago

$ ~/dvm/bin/dvm install 2.064.2 -v Fetching: source: http://ftp.digitalmars.com/dmd.2.064.2.zip destination: /home/vagrant/.dvm/archives/dmd.2.064.2.zip

[========================================>] 33381/32567 KB

Installing: dmd-2.064.2 Unpacking: source: /home/vagrant/.dvm/archives/dmd.2.064.2.zip destination: /home/vagrant/.dvm/tmp/dmd-2.064.2

Moving: source: /home/vagrant/.dvm/tmp/dmd-2.064.2/dmd2/linux/lib32 destination: /home/vagrant/.dvm/compilers/dmd-2.064.2/linux/lib32

source: /home/vagrant/.dvm/tmp/dmd-2.064.2/dmd2/linux/lib64
destination: /home/vagrant/.dvm/compilers/dmd-2.064.2/linux/lib64

source: /home/vagrant/.dvm/tmp/dmd-2.064.2/dmd2/linux/bin64
destination: /home/vagrant/.dvm/compilers/dmd-2.064.2/linux/bin

source: /home/vagrant/.dvm/tmp/dmd-2.064.2/dmd2/src
destination: /home/vagrant/.dvm/compilers/dmd-2.064.2/src

Installing wrapper: /home/vagrant/.dvm/bin/dmd-2.064.2 An unknown error occurred:

tango.core.Exception.IOException@../.dub/packages/tango-d2port/tango/core/Exception.d(59): /home/vagrant/.dvm/bin/dmd-2.064.2 :: No such file or directory

/home/vagrant/dvm/bin/dvm(void tango.io.device.Device.Device.error()+0xd1) [0x557dbd] /home/vagrant/dvm/bin/dvm(void tango.io.device.File.File.open(const(char[]), tango.io.device.File.File.Style)+0x94) [0x558974] /home/vagrant/dvm/bin/dvm(tango.io.device.File.File tango.io.device.File.File.ctor(const(char[]), tango.io.device.File.File.Style)+0x3d) [0x5583a5] /home/vagrant/dvm/bin/dvm(void tango.io.device.File.File.set(const(char)[], const(void)[])+0x67) [0x558677] /home/vagrant/dvm/bin/dvm(dvm.dvm.ShellScript.ShellScript dvm.dvm.ShellScript.ShellScript.write()+0x8b) [0x50f6c3] /home/vagrant/dvm/bin/dvm(void dvm.dvm.Wrapper.Wrapper.write()+0x79) [0x50fe49] /home/vagrant/dvm/bin/dvm(void dvm.commands.Install.Install.installWrapper()+0x31e) [0x502a3e] /home/vagrant/dvm/bin/dvm(void dvm.commands.Install.Install.install(immutable(char)[])+0x3a7) [0x501f87] /home/vagrant/dvm/bin/dvm(void dvm.commands.Install.Install.execute()+0x21d) [0x501bdd] /home/vagrant/dvm/bin/dvm(void dvm.commands.Command.Command.execute_()+0x20) [0x4f91c0] /home/vagrant/dvm/bin/dvm(void dvm.commands.Command.Command.invoke(immutable(char)[][]...)+0x7b) [0x4f911b] /home/vagrant/dvm/bin/dvm(void dvm.dvm.Application.Application.handleCommand(immutable(char)[], immutable(char)[][])+0xa6) [0x5095a6] /home/vagrant/dvm/bin/dvm(void dvm.dvm.Application.Application.handleArgs(immutable(char)[][])+0x1eb) [0x5094fb] /home/vagrant/dvm/bin/dvm(void dvm.dvm.Application.Application.parseOptions().void lambda11(immutable(char)[][])+0xa2) [0x509e0a] /home/vagrant/dvm/bin/dvm(void dvm.util.OptionParser.OptionParser.handleArgs(immutable(char)[][])+0x40) [0x511c10] /home/vagrant/dvm/bin/dvm(dvm.util.OptionParser.OptionParser dvm.util.OptionParser.OptionParser.parse(immutable(char)[][], bool)+0x11d) [0x511b15] /home/vagrant/dvm/bin/dvm(void dvm.dvm.Application.Application.parseOptions()+0x542) [0x509bf2] /home/vagrant/dvm/bin/dvm(int dvm.dvm.Application.Application.run(immutable(char)[][]).const(int) lambda2()+0x1a) [0x50904a] /home/vagrant/dvm/bin/dvm(_D3dvm3dvm11Application11Application16handleExceptionsMFZS5mambo4util3Use13T3UseTDFZiZ3Use9lambda1MFDFZiZi+0x2c) [0x509104] /home/vagrant/dvm/bin/dvm(int mambo.util.Use.Use!(int delegate()).Use.opIn(int delegate())+0x7d) [0x55048d] /home/vagrant/dvm/bin/dvm(int dvm.dvm.Application.Application.run(immutable(char)[][])+0xd3) [0x50902b] /home/vagrant/dvm/bin/dvm(_Dmain+0x3b) [0x510143] /home/vagrant/dvm/bin/dvm(void rt.dmain2._d_run_main(int, char*, extern (C) int function(char[][])).runAll().void lambda1()+0x18) [0x591a1c] /home/vagrant/dvm/bin/dvm(void rt.dmain2._d_runmain(int, char**, extern (C) int function(char[][])).tryExec(scope void delegate())+0x2a) [0x591976] /home/vagrant/dvm/bin/dvm(void rt.dmain2._d_run_main(int, char_, extern (C) int function(char[][])).runAll()+0x30) [0x5919dc] /home/vagrant/dvm/bin/dvm(void rt.dmain2._d_runmain(int, char*, extern (C) int function(char[][])_).tryExec(scope void delegate())+0x2a) [0x591976] /home/vagrant/dvm/bin/dvm(_d_run_main+0x1a3) [0x5918f7] /home/vagrant/dvm/bin/dvm(main+0x25) [0x51016d] /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fb08bb26d65]

jacob-carlborg commented 10 years ago

Hmm, that's odd. I'll take a look.