www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - vibe.d problem

reply =?utf-8?Q?l=C3=A5zaro?= via Digitalmars-d-learn writes:
Hi there folks, let me the fact talk for me


lazaro leviatan:~$ dub init aplicacion vibe.d
Successfully created an empty project in '/home/lazaro/aplicacion'.
lazaro leviatan:~$ cd aplicacion/
lazaro leviatan:~/aplicacion$ dub run
Building vibe-d 0.7.20 configuration "libevent", build type debug.
Running dmd...
../.dub/packages/vibe-d-0.7.20/source/vibe/templ/parsertools.d(12):
Deprecation: module std.metastrings is deprecated - Please use
std.string.format, std.conv.to or std.conv.parse instead
../.dub/packages/vibe-d-0.7.20/source/vibe/templ/diet.d(28): Deprecation:
module std.metastrings is deprecated - Please use std.string.format,
std.conv.to or std.conv.parse instead
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2.d(491):
Deprecation: function core.time.Duration.fracSec is deprecated - Please use
split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2_tcp.d(110):
Deprecation: function core.time.Duration.fracSec is deprecated - Please use
split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2_tcp.d(269):
Deprecation: function core.time.Duration.fracSec is deprecated - Please use
split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/task.d(203): Deprecation: alias
object.clear is deprecated - Please use destroy instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/task.d(204): Deprecation: alias
object.clear is deprecated - Please use destroy instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/message.d(186): Deprecation:
constructor std.datetime.SimpleTimeZone.this is deprecated - Please use the
overload which takes a Duration.
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/webform.d(53): Error:
std.string.indexOfAny!(char, char).indexOfAny at
/usr/include/dmd/phobos/std/string.d(1044) conflicts with
vibe.utils.string.indexOfAny at
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/string.d(123)
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/webform.d(63): Error:
std.string.indexOfAny!(char, char).indexOfAny at
/usr/include/dmd/phobos/std/string.d(1044) conflicts with
vibe.utils.string.indexOfAny at
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/string.d(123)
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(124): Deprecation:
Read-modify-write operations are not allowed for shared variables. Use
core.atomic.atomicOp!"+="(this.m_bytes, sz) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(140): Deprecation:
Read-modify-write operations are not allowed for shared variables. Use
core.atomic.atomicOp!"-="(this.m_bytes, *pb) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(143): Deprecation:
Read-modify-write operations are not allowed for shared variables. Use
core.atomic.atomicOp!"+="(this.m_bytes, new_size) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(152): Deprecation:
Read-modify-write operations are not allowed for shared variables. Use
core.atomic.atomicOp!"-="(this.m_bytes, *pb) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(161): Warning:
calling std.exception.enforceEx!(OutOfMemoryError).enforceEx!bool.enforceEx
without side effects discards return value of type bool, prepend a cast(void)
if intentional
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(466): Deprecation:
Read-modify-write operations are not allowed for shared variables. Use
core.atomic.atomicOp!"-="(this.m_nfree, 1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(471): Deprecation:
Read-modify-write operations are not allowed for shared variables. Use
core.atomic.atomicOp!"+="(this.m_nalloc, 1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(489): Deprecation:
Read-modify-write operations are not allowed for shared variables. Use
core.atomic.atomicOp!"-="(this.m_nalloc, 1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(490): Deprecation:
Read-modify-write operations are not allowed for shared variables. Use
core.atomic.atomicOp!"+="(this.m_nfree, 1) instead.
FAIL ../.dub/packages/vibe-d-0.7.20/.dub/build/libevent-debug-linux.posix-x86-dmd_2066-316CEFCAEB0F0
469ED054933004D631/ vibe-d staticLibrary
Error executing command run: dmd failed with exit code 1.
Nov 17 2014
parent reply "CraigDillabaugh" <craig.dillabaugh gmail.com> writes:
On Monday, 17 November 2014 at 22:02:13 UTC, låzaro via 
Digitalmars-d-learn wrote:
 Hi there folks, let me the fact talk for me


 lazaro leviatan:~$ dub init aplicacion vibe.d
 Successfully created an empty project in 
 '/home/lazaro/aplicacion'.
 lazaro leviatan:~$ cd aplicacion/
 lazaro leviatan:~/aplicacion$ dub run
 Building vibe-d 0.7.20 configuration "libevent", build type 
 debug.
 Running dmd...
 ../.dub/packages/vibe-d-0.7.20/source/vibe/templ/parsertools.d(12): 
 Deprecation: module std.metastrings is deprecated - Please use 
 std.string.format, std.conv.to or std.conv.parse instead
 ../.dub/packages/vibe-d-0.7.20/source/vibe/templ/diet.d(28): 
 Deprecation: module std.metastrings is deprecated - Please use 
 std.string.format, std.conv.to or std.conv.parse instead
 ../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2.d(491): 
 Deprecation: function core.time.Duration.fracSec is deprecated 
 - Please use split instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2_tcp.d(110): 
 Deprecation: function core.time.Duration.fracSec is deprecated 
 - Please use split instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2_tcp.d(269): 
 Deprecation: function core.time.Duration.fracSec is deprecated 
 - Please use split instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/core/task.d(203): 
 Deprecation: alias object.clear is deprecated - Please use 
 destroy instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/core/task.d(204): 
 Deprecation: alias object.clear is deprecated - Please use 
 destroy instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/inet/message.d(186): 
 Deprecation: constructor std.datetime.SimpleTimeZone.this is 
 deprecated - Please use the overload which takes a Duration.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/inet/webform.d(53): 
 Error: std.string.indexOfAny!(char, char).indexOfAny at 
 /usr/include/dmd/phobos/std/string.d(1044) conflicts with 
 vibe.utils.string.indexOfAny at 
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/string.d(123)
 ../.dub/packages/vibe-d-0.7.20/source/vibe/inet/webform.d(63): 
 Error: std.string.indexOfAny!(char, char).indexOfAny at 
 /usr/include/dmd/phobos/std/string.d(1044) conflicts with 
 vibe.utils.string.indexOfAny at 
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/string.d(123)
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(124): 
 Deprecation: Read-modify-write operations are not allowed for 
 shared variables. Use core.atomic.atomicOp!"+="(this.m_bytes, 
 sz) instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(140): 
 Deprecation: Read-modify-write operations are not allowed for 
 shared variables. Use core.atomic.atomicOp!"-="(this.m_bytes, 
 *pb) instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(143): 
 Deprecation: Read-modify-write operations are not allowed for 
 shared variables. Use core.atomic.atomicOp!"+="(this.m_bytes, 
 new_size) instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(152): 
 Deprecation: Read-modify-write operations are not allowed for 
 shared variables. Use core.atomic.atomicOp!"-="(this.m_bytes, 
 *pb) instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(161): 
 Warning: calling 
 std.exception.enforceEx!(OutOfMemoryError).enforceEx!bool.enforceEx 
 without side effects discards return value of type bool, 
 prepend a cast(void) if intentional
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(466): 
 Deprecation: Read-modify-write operations are not allowed for 
 shared variables. Use core.atomic.atomicOp!"-="(this.m_nfree, 
 1) instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(471): 
 Deprecation: Read-modify-write operations are not allowed for 
 shared variables. Use core.atomic.atomicOp!"+="(this.m_nalloc, 
 1) instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(489): 
 Deprecation: Read-modify-write operations are not allowed for 
 shared variables. Use core.atomic.atomicOp!"-="(this.m_nalloc, 
 1) instead.
 ../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(490): 
 Deprecation: Read-modify-write operations are not allowed for 
 shared variables. Use core.atomic.atomicOp!"+="(this.m_nfree, 
 1) instead.
 FAIL 
 ../.dub/packages/vibe-d-0.7.20/.dub/build/libevent-debug-linux.posix-x86-dmd_2066-316CEFCAEB0F0
469ED054933004D631/ 
 vibe-d staticLibrary
 Error executing command run: dmd failed with exit code 1.
Not sure exactly what your issue is, and am a bit rusty on Vibe/dub, but you may have better luck getting answers here: http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/ What if you just type >dub instead of >dub run.
Nov 18 2014
parent "CraigDillabaugh" <craig.dillabaugh gmail.com> writes:
On Tuesday, 18 November 2014 at 17:16:33 UTC, CraigDillabaugh 
wrote:
 On Monday, 17 November 2014 at 22:02:13 UTC, låzaro via 
 Digitalmars-d-learn wrote:
 Error executing command run: dmd failed with exit code 1.
Not sure exactly what your issue is, and am a bit rusty on Vibe/dub, but you may have better luck getting answers here: http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/ What if you just type >dub instead of >dub run.
Sorry for the noise - I see you got an answer in the 'other' version of this thread.
Nov 18 2014