<div dir="ltr"><br><br>On Friday, September 16, 2016 at 4:13:44 PM UTC+2, Артур Файзрахманов wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Café!<div><br></div><div>Recently we added an executable section to our Transient-Universe package and now Travis cabal builds always failing. The error message is:</div><div><br></div><div><pre style="font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;font-stretch:normal;line-height:1.45;word-wrap:normal;padding:16px;overflow:auto;border-radius:3px;color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;background-color:rgb(247,247,247)"><code style="font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;padding:0px;margin:0px;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal;background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">In-place registering transient-universe-0.3.4...
Preprocessing executable 'monitorService' for transient-universe-0.3.4...
[1 of 1] Compiling Main ( src/server/Transient/Monitor/<wbr>Services/MonitorService.hs, dist/build/monitorService/<wbr>monitorService-tmp/Main.o )
Linking dist/build/monitorService/<wbr>monitorService ...
No errors or warnings could be found in the package.
Re-configuring with test suites enabled. If this fails, please run configure
manually.
Resolving dependencies...
Configuring transient-universe-0.3.4...
Package has no buildable test suites.
Building source dist for transient-universe-0.3.4...
Preprocessing library transient-universe-0.3.4...
Preprocessing executable 'monitorService' for transient-universe-0.3.4...
cabal: src/client/Transient/Move/<wbr>Services/MonitorService.hs: does not exist
Installing library in
/home/travis/.cabal/lib/x86_<wbr>64-linux-ghc-7.10.2/transient-<wbr>universe-0.3.4-<wbr>2OztnD6ZM7W2H3eixltaJX
Installing executable(s) in /home/travis/.cabal/bin
Warning: The directory /home/travis/.cabal/bin is not in the system search
path.
cabal: The file does not exist 'transient-universe-0.3.4.tar.<wbr>gz'.</code></pre></div><div>(Full log — <a href="https://travis-ci.org/agocorona/transient-universe/jobs/160441018" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Ftravis-ci.org%2Fagocorona%2Ftransient-universe%2Fjobs%2F160441018\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHaB6hSQU-MPdHtpRATI9dWPiHwng';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Ftravis-ci.org%2Fagocorona%2Ftransient-universe%2Fjobs%2F160441018\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHaB6hSQU-MPdHtpRATI9dWPiHwng';return true;">https://travis-ci.org/<wbr>agocorona/transient-universe/<wbr>jobs/160441018</a>, you can see that other Cabal builds fail with same error, however all Stack builds are fine).</div></div></blockquote><div><br></div><div>Not sure if you figured (you already reverted the change in https://github.com/agocorona/transient-universe/pull/16), but the key error is<br><br></div><div>cabal: src/client/Transient/Move/Services/MonitorService.hs: does not exist</div><div><br></div><div>and the error message is correct. The tricky bit is that this only fails when you run cabal sdist, not in the normal workflow—I remember being hit by this at some point.<br><br>IIUC you're using the Travis config stack suggests (which in turn comes HVR's config)—maybe that needs more docs to help troubleshooting? That's full of subtleties that you don't learn by copy-pasting it.<br></div><div><br></div><div>Cheers,<br>Paolo</div><div><br></div><blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div><br></div><div>This is a chunk of cabal file:</div><div><br></div><div><pre lang="cabal" style="font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;font-stretch:normal;line-height:1.45;word-wrap:normal;padding:16px;overflow:auto;border-radius:3px;color:rgb(51,51,51);margin-top:0px;margin-bottom:0px;background-color:rgb(247,247,247)"><code style="font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:11.9px;padding:0px;margin:0px;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal;background-image:initial;background-color:transparent;background-position:initial;background-repeat:initial">extra-source-files: src/client/Transient/Move/<wbr>Services/MonitorService.hs
src/server/Transient/Move/<wbr>Services/MonitorService.hs
executable monitorService
build-depends: base >4 && <5
if !impl(ghcjs >=0.1)
hs-source-dirs: src/server/Transient/Monitor/<wbr>Services
build-depends: transformers
, transient >=0.4.4
, transient-universe
else
hs-source-dirs: src/client/Transient/Monitor/<wbr>Services
main-is: MonitorService.hs
default-language: Haskell2010
ghc-options: -threaded -rtsopts</code></pre><br></div><div>Have anyone faced similar issue?</div></div>
</blockquote></div>