RejectedSoftware Forums

Sign up

building hibernated as vibe.d dependancy fails

I am trying to build hibernated with dmd 2.065 using dub package manager. After fixing some problems in hibernated code(casting int to ubyte, change is on git repo of hibernated but not pushed on dub)
Build seems to fail with nothing that makes sense to me.
**
FAIL C:\Users\tarqe\AppData\Roaming\dub\packages\hibernated-0.2.11.dub\build\PGSQL-debug-windows-x86-dmd-FA7AED50A
D1041797A553ECE38C03344\ hibernated staticLibrary
Error executing command run: DMD compile run failed with exit code 1

Full exception: object.Exception@source\dub\compilers\dmd.d(173): DMD compile run failed with exit code 1

0x004B3926 in pure @safe void std.exception.bailOut(immutable(char)[], uint, const(char[]))
0x0042CE34 in void dub.compilers.dmd.DmdCompiler.invoke(const(dub.compilers.compiler.BuildSettings), const(dub.comp
ilers.compiler.BuildPlatform)) at C:\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\compilers\0x00435192 in void dub.generators.build.BuildGenerator.buildWithCompiler(dub.generators.generator.GeneratorSettings
, dub.compilers.compiler.BuildSettings) at C:\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\g
enerators\build.d(351)
0x00433D4D in void dub.generators.build.BuildGenerator.performCachedBuild(dub.generators.generator.GeneratorSetting
s, dub.compilers.compiler.BuildSettings, const(dub.package.Package), immutable(char)[], immutable(char)[]) at C:\U
sers\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\generators\build.d(139)
0x004339D1 in void dub.generators.build.BuildGenerator.buildTarget(dub.generators.generator.GeneratorSettings, dub.
compilers.compiler.BuildSettings, const(dub.package
.Package), immutable(char)[]) at C:\Users\build\AppData\Roaming
\dub-ci-workspace\current\dub\source\dub\generators\build.d(97)
0x004337C8 in void dub.generators.build.BuildGenerator.generateTargets(dub.generators.generator.GeneratorSettings,
const(dub.generators.generator.ProjectGenerator.TargetInfo[immutable(char)[]])).void buildTargetRec(immutable(char)
[]) at C:\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\generators\build.d(65)
0x00433637 in void dub.generators.build.BuildGenerator.generateTargets(dub.generators.generator.GeneratorSettings,
const(dub.generators.generator.ProjectGenerator.TargetInfo[immutable(char)[]])).void buildTargetRec(immutable(char)
[]) at C:\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\generators\build.d(56)
0x004333B2 in void dub.generators.build.BuildGenerator.generateTargets(dub.generators.generator.GeneratorSettings,
const(dub.generators.generator.ProjectGenerator.TargetInfo[immutable(char)[]])) at C:\Users\build\AppData\Roaming\d
ub-ci-workspace\current\dub\source\dub\generators\build.d(71)
0x00436BB1 in void dub.generators.generator.ProjectGenerator.generate(dub.generators.generator.GeneratorSettings) a
t C:\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\generators\generator.d(65)
0x0040CC8D in void dub.dub.Dub.generateProject(immutable(char)[], dub.generators.generator.GeneratorSettings) at C:
\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\dub.d(201)
0x004046F2 in int dub.commandline.GenerateCommand.execute(dub.dub.Dub, immutable(char), immutable(char)) at
C:\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\commandline.d(501)
0x004048F3 in int dub.commandline.BuildCommand.execute(dub.dub.Dub, immutable(char), immutable(char)) at C:
\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\commandline.d(532)
0x00404A1F in int dub.commandline.RunCommand.execute(dub.dub.Dub, immutable(char), immutable(char)) at C:\U
sers\build\AppData\Roaming\dub-ci-workspace\current\dub\source\dub\commandline.d(556)
0x0040327C in int dub.commandline.runDubCommandLine(immutable(char)) at C:\Users\build\AppData\Roaming\dub-ci-w
orkspace\current\dub\source\dub\commandline.d(169)
0x004020F6 in Dmain at C:\Users\build\AppData\Roaming\dub-ci-workspace\current\dub\source\app.d(16)
0x004A3F24 in void rt.dmain2.
drunmain(int, char*, extern (C) int function(char[][])).runAll().void __lambda1()

0x004A3EF7 in void rt.dmain2.drunmain(int, char**, extern (C) int function(char[][])*).runAll()
0x004A3E0F in
drunmain
0x004025A0 in main
0x004F1699 in mainCRTStartup
0x75C633AA in BaseThreadInitThunk
0x76FF9EF2 in RtlInitializeExceptionChain
0x76FF9EC5 in RtlInitializeExceptionChain
**

Re: building hibernated as vibe.d dependancy fails

On Mon, 16 Jun 2014 05:45:17 GMT, Dario Filipović wrote:

I am trying to build hibernated with dmd 2.065 using dub package manager. After fixing some problems in hibernated code(casting int to ubyte, change is on git repo of hibernated but not pushed on dub)
Build seems to fail with nothing that makes sense to me.

FAIL C:\Users\tarqe\AppData\Roaming\dub\packages\hibernated-0.2.11\.dub\build\PGSQL-debug-windows-x86-dmd-FA7AED50A
D1041797A553ECE38C03344\ hibernated staticLibrary
Error executing command run: DMD compile run failed with exit code 1

Is there anything above those two lines that might be relevant? If not, it looks like DMD is missing proper diagnostic output in this case.

To make sure it isn't picking up anything old, you could try to run dub build --force.

BTW, I've cloned https://github.com/buggins/hibernated.git and successfully ran dub build with DMD 2.065:

C:\Users\sludwig\Develop\_extern\hibernated>dub build
Fetching ddbc 0.2.10...
Placing ddbc 0.2.10 to C:\Users\sludwig\AppData\Roaming\dub\packages\...
Fetching mysql-native 0.0.10...
Placing mysql-native 0.0.10 to C:\Users\sludwig\AppData\Roaming\dub\packages\...

Building hibernated 0.2.11+commit.4.g2ca142e configuration "MySQL", build type debug.
Running dmd...

C:\Users\sludwig\Develop\_extern\hibernated>

Re: building hibernated as vibe.d dependancy fails

Ok, i got why it fails. Its another hibernated problem that was fixed before a few months.File pgsqldialect.d did two consecutive statements that resulted in a warning and a compiler crash.

On Mon, 16 Jun 2014 08:20:40 GMT, Sönke Ludwig wrote:

On Mon, 16 Jun 2014 05:45:17 GMT, Dario Filipović wrote:

I am trying to build hibernated with dmd 2.065 using dub package manager. After fixing some problems in hibernated code(casting int to ubyte, change is on git repo of hibernated but not pushed on dub)
Build seems to fail with nothing that makes sense to me.

FAIL C:\Users\tarqe\AppData\Roaming\dub\packages\hibernated-0.2.11\.dub\build\PGSQL-debug-windows-x86-dmd-FA7AED50A
D1041797A553ECE38C03344\ hibernated staticLibrary
Error executing command run: DMD compile run failed with exit code 1

Is there anything above those two lines that might be relevant? If not, it looks like DMD is missing proper diagnostic output in this case.

To make sure it isn't picking up anything old, you could try to run dub build --force.

BTW, I've cloned https://github.com/buggins/hibernated.git and successfully ran dub build with DMD 2.065:

C:\Users\sludwig\Develop\_extern\hibernated>dub build
Fetching ddbc 0.2.10...
Placing ddbc 0.2.10 to C:\Users\sludwig\AppData\Roaming\dub\packages\...
Fetching mysql-native 0.0.10...
Placing mysql-native 0.0.10 to C:\Users\sludwig\AppData\Roaming\dub\packages\...

Building hibernated 0.2.11+commit.4.g2ca142e configuration "MySQL", build type debug.
Running dmd...

C:\Users\sludwig\Develop\_extern\hibernated>

Re: building hibernated as vibe.d dependancy fails

return statements
On Mon, 16 Jun 2014 17:36:18 GMT, Dario Filipović wrote:

Ok, i got why it fails. Its another hibernated problem that was fixed before a few months.File pgsqldialect.d did two consecutive statements that resulted in a warning and a compiler crash.

On Mon, 16 Jun 2014 08:20:40 GMT, Sönke Ludwig wrote:

On Mon, 16 Jun 2014 05:45:17 GMT, Dario Filipović wrote:

I am trying to build hibernated with dmd 2.065 using dub package manager. After fixing some problems in hibernated code(casting int to ubyte, change is on git repo of hibernated but not pushed on dub)
Build seems to fail with nothing that makes sense to me.

FAIL C:\Users\tarqe\AppData\Roaming\dub\packages\hibernated-0.2.11\.dub\build\PGSQL-debug-windows-x86-dmd-FA7AED50A
D1041797A553ECE38C03344\ hibernated staticLibrary
Error executing command run: DMD compile run failed with exit code 1

Is there anything above those two lines that might be relevant? If not, it looks like DMD is missing proper diagnostic output in this case.

To make sure it isn't picking up anything old, you could try to run dub build --force.

BTW, I've cloned https://github.com/buggins/hibernated.git and successfully ran dub build with DMD 2.065:

C:\Users\sludwig\Develop\_extern\hibernated>dub build
Fetching ddbc 0.2.10...
Placing ddbc 0.2.10 to C:\Users\sludwig\AppData\Roaming\dub\packages\...
Fetching mysql-native 0.0.10...
Placing mysql-native 0.0.10 to C:\Users\sludwig\AppData\Roaming\dub\packages\...

Building hibernated 0.2.11+commit.4.g2ca142e configuration "MySQL", build type debug.
Running dmd...

C:\Users\sludwig\Develop\_extern\hibernated>