Comments (9)
Looks like this issue can be closed? // @newhoggy @tmcgilchrist
from mafia.
Sorry, I haven't been using mafia
for a while now, so I'm unable to contribute more to this ticket. I think it is appropriate to close this ticket.
from mafia.
Try mafia update
to upgrade your cabal package list.
from mafia.
Try
mafia update
to upgrade your cabal package list.
I think hw-rankselect
is source dependency, so this probably won't help.
@newhoggy got a link to the repo? it looks like mafia isn't finding the cabal file for hw-rankselect
in your git repository, or in a submodule.
from mafia.
The repository does not have a .submodules
file.
Here is the failing build:
Rebuild without cache works:
They are both building against commit id 06c5f83
.
This commit id is tagged and can be viewed here: https://github.com/haskell-works/hw-succinct/tree/v0.0.0.8
Even though there is no .submodules
file, I may have had such a file somewhere earlier in the history of the project. Is it possibly that mafia
has stored some state about the .submodules
file and is failing because of that despite having removed it?
from mafia.
Ok I think I misunderstood, I guess hw-rankselect
is not supposed to be a source dependency, but should come from hackage?
I noticed that you are caching /home/ubuntu/hw-succinct/.cabal-sandbox
, I wonder if removing that from the cache might make it work.
from mafia.
I'm not caching the /home/ubuntu/hw-succinct/.cabal-sandbox
, at least not intentionally.
The circle.yml
file specifies the following: directories for caching:
cache_directories:
- "~/.ambiata"
- "~/.cabal"
- "~/.ghc"
Could ~/.cabal
or ~/.ghc
be the problem?
from mafia.
@newhoggy I think it could be back to what @tmcgilchrist said originally, hw-rankselect has only been on hackage for a day so unless you have run cabal update
it doesn't know about it which makes it looks like a submodule in the error message, the cache for cabal update
is in ~/.cabal
so it would be persisted between builds. If you are running mafia update
you should note it only updates from hackage once a day so depending on timings it may not of picked up that version yet (but would tomorrow), if you want to force it you could run cabal update
directly. The only other possibility which I only mention because I have no idea about the innards of circle-ci is that if it does something dumb with sync the cache (for example updating the timestamp rather than keeping the original file attributes) it might mess with how mafia update
determines how fresh the pacakges file from hackage is.
from mafia.
Cool. I think I have the information I need to know what to look out for. Currently my builds aren't in this state so I'll wait till it happens again, then take a look and report back.
Thanks!
from mafia.
Related Issues (20)
- Error parsing output of `ghc-pkg list` in `hoogle` command edge case HOT 2
- -Werror for source dependencies? HOT 1
- "mafia ghci" doesn't understand flags in cabal file HOT 6
- Mafia should print the version of Cabal it is built against HOT 3
- Mafia option to build a single sub-component of a project. HOT 4
- Hoogle 5.x support HOT 7
- Improve error message when dependency resolution fails
- Improve flexibility of lock file versioning HOT 3
- Don't pass `-Werror` HOT 3
- `-Wmissing-home-modules` warning on fresh build HOT 9
- mafia tries to get non-cabal build tools HOT 7
- packages appear in constraints list twice with different versions HOT 2
- Add a `test --coverage` option
- Improve the way test output is handled HOT 2
- Support building with GHC 8.4 HOT 1
- Support cabal 2.2 HOT 2
- Possible fix for Mac OS X linker issues integrated into mafia? HOT 8
- Should mafia be building the tests for dependent packages? HOT 1
- Investigate porting to use cabal new-build HOT 4
- Support darcs projects or non-git projects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mafia.