Closed amirmc closed 10 years ago
$ opam upgrade
The brute-force exploration algorithm timed-out [353 states, 5s].
OPAM is telling you that the SAT problem it is trying to solve is too hard. That's happen sometimes unfortunately. If you still have the same state, some useful command for us to try to reproduce the issue:
opam upgrade --cudf=foo
this generates foo-XXX.cudf
files which are the files used by the solver. Useful for the mancoosi team to get examples of real-life hard problemsopam switch export -f foo.txt
creates a file with the list of your installed packages. That's useful for the OPAM team to try to reproduce your issue locally.All the above files are posted as gists now. I hope people find them useful
I dealt with it last time by running opam remove
on a number of packages and then trying to run opam upgrade
until I seemed to get something sensible (I didn't actually keep track though). Then I did opam install
to get some of those removed packages back. That appeared to get me somewhere sensible. However, the above problem happened again for me just now.
The brute-force exploration algorithm timed-out [371 states, 5s].
You might need to add explicit version constraints to your request to get a better answer.
I've pasted the output into gists as below. I'm not sure if my switch is unusual in any way but my next step is going to be to remove the ~/.opam
folder entirely and start from scratch. If this problem reoccurs after that, then I don't really know what to do.
Thanks @amirmc.
@samoht wouldn't it be worth trying with the external aspcud
?
@AltGr this not available under OSX unfortunately
Hmmm... ok, time to ping the POTASSCO team to ask for a package for OSX
On Mon, Nov 18, 2013 at 01:30:16AM -0800, Thomas Gazagnaire wrote:
@AltGr this not available under OSX unfortunately
— Reply to this email directly or view it on GitHub.*
Roberto Di Cosmo
Professeur En delegation a l'INRIA
PPS E-mail: roberto@dicosmo.org
Universite Paris Diderot WWW : http://www.dicosmo.org
Case 7014 Tel : ++33-(0)1-57 27 92 20
5, Rue Thomas Mann
F-75205 Paris Cedex 13 Identica: http://identi.ca/rdicosmo
Attachments: MIME accepted, Word deprecated
Office location:
Bureau 3020 (3rd floor) Batiment Sophie Germain Avenue de France
GPG fingerprint 2931 20CE 3A5A 5390 98EC 8BFC FCCA C3BE 39CB 12D3
Amir's cudf files seem to be processed alright by aspcud
Hi folks, last night I archived my old .opam
folder and started again from scratch. i.e brew reinstall opam --HEAD
followed by opam init
and opam switch 4.01.0
.
After that, I thought I'd try installing a lot of packages at once to see what would happen and it seemed to work fine (this downloaded 58 packages).
AmirMacBook:~ amir$ opam install github omd mpp core \
lwt ctypes utop cow mirari tuntap async \
yojson core_extended core_bench cohttp \
async_graphics cryptokit menhir
Not sure if everything is ok now or if I might come across the problem next time I opam update
. I'm happy to close this for the time being if you prefer.
I just got the same bug :(
Which solver are you using @jpdeplaix ?
The default one.
Really need to port aspcud
to MacOS X. The built-in solver won't ever be quite as comprehensive as it, but aspcud
is only really packaged on Debian at the moment sadly...
Ok, I've just installed aspcud
and it works (I'm on debian) and even faster ! Thanks
just got the same issue (with osx)
I got it to work by setting env variable OPAMSOLVERTIMEOUT=60 It took around 30 sec to find a solution.
the error message in case of timeout could be improved and propose more alternatives.
You might need to add explicit version constraints to your request to get a better answer.
It's getting worse. It takes 1 minutes to realize everything is up-to-date
OPAMSOLVERTIMEOUT=160 time opam upgrade
.Already up-to-date.
68.38 real 62.85 user 0.76 sys
Marking as 1.2 as it is mostly independent of the release, but too important to close.
Is the source to aspcud available somewhere (for those of us not on Debian)?
If you're on Mavericks then the aspcud solver is the default/recommended one. Just brew reinstall opam
and it should all work.
If you really want source is the following helpful? (NB I haven't downloaded to check) http://sourceforge.net/projects/potassco/files/aspcud/
I'm on Fedora. Just trying to find the source as there is no aspcud package on Fedora so I want to build from source.
@philtomson -- easiest way is probably to follow the MacOS X Homebrew port and dependencies:
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/aspcud.rb
This has aspcud (and source and patches), and you'll need the build dependencies too (clasp and gringo). If you're feeling brave, a few spec files for Fedora would be gratefully received :-)
Dear Phil, we were just looking for somebody to lend a hand on Fedora and RedHat, see my call for help here:
https://sympa.inria.fr/sympa/arc/caml-list/2014-01/msg00047.html
The source code for aspcud is availabe on sourceforge, the released version 1.8 everybody is using is here:
http://sourceforge.net/projects/potassco/files/aspcud/1.8.0/
Instructions on how to build is here:
http://sourceforge.net/p/potassco/code/HEAD/tree/tags/aspcud-1.8.0/INSTALL
Notice that there is a new version in the works, to be released soon, that will make porting easier, but this is deadline period in academia, so dont hold your breath :-)
Thanks a lot for volunteering, and if you need help from upstream, just let me know and I'll put you in touch.
Roberto
On Thu, Feb 06, 2014 at 10:30:17AM -0800, Phil Tomson wrote:
I'm on Fedora. Just trying to find the source as there is no aspcud package on Fedora so I want to build from source.
— Reply to this email directly or view it on GitHub.*
Roberto Di Cosmo
Professeur En delegation a l'INRIA
PPS E-mail: roberto@dicosmo.org
Universite Paris Diderot WWW : http://www.dicosmo.org
Case 7014 Tel : ++33-(0)1-57 27 92 20
5, Rue Thomas Mann
F-75205 Paris Cedex 13 Identica: http://identi.ca/rdicosmo
Attachments: MIME accepted, Word deprecated
Office location:
Bureau 3020 (3rd floor) Batiment Sophie Germain Avenue de France
GPG fingerprint 2931 20CE 3A5A 5390 98EC 8BFC FCCA C3BE 39CB 12D3
Superseded by #1267
I'm on the HEAD version of opam (I just did
brew reinstall opam --HEAD
) and tried to update my packages as I haven't done this in a while. Opam upgrade didn't appear to do its thing and then suggested I downgrade a bunch of packages.This doesn't seem like normal behaviour and below is the output. Please let me know if I can provide something more specific.