ersatz-kissatapi's People
ersatz-kissatapi's Issues
Test suite failure for package ersatz-kissatapi-0.0.0 osc: exited with: ExitFailure 1
stack --resolver=lts-19 test
...
ersatz-kissatapi > test (suite: osc)
Missing: (-p|--period ARG) (-w|--width ARG)
...
Completed 54 action(s).
Test suite failure for package ersatz-kissatapi-0.0.0
osc: exited with: ExitFailure 1
I guess I change the cmd-line API but forgot to adapt the test case.
not usable as dependency in stack project since it contains a submodule
I want to use this in pure-matchbox (e.g.,) but this is blocked on commercialhaskell/stack#5536
kissatapi_with settings needs type declaration
else,
• Could not deduce (HasSAT s0) arising from a use of ‘assert’
from the context: (Control.Monad.IO.Class.MonadIO m, MonadFail m)
bound by the inferred type of
constraint :: (Control.Monad.IO.Class.MonadIO m, MonadFail m) =>
[Char] -> (Int, Int) -> m (Maybe String)
at A.hs:(88,1)-(114,23)
The type variable ‘s0’ is ambiguous
These potential instances exist:
instance HasSAT QSAT -- Defined in ‘Ersatz.Problem’
instance HasSAT SAT -- Defined in ‘Ersatz.Problem’
• In the first argument of ‘mapM_’, namely ‘assert’
In the expression: mapM_ assert
In a stmt of a 'do' block:
mapM_ assert $ M.map (exactly_one) collected
|
110 | mapM_ assert $ M.map ( exactly_one ) collected
| ^^^^^^
libkissat.a(print.o):print.c:function kissat_signal: error: undefined reference to 'kissat_signal_name'
I am getting this linker error (with ghc-8.10.7, stack-2.7.3 ?, stackage lts-18.13) in CI for pure-matchbox:
Linking .stack-work/dist/x86_64-linux/Cabal-3.2.1.0/build/z001/z001 ...
/builds/waldmann/pure-matchbox/kissat/lib/libkissat.a(print.o):print.c:function kissat_signal: error: undefined reference to 'kissat_signal_name'
/builds/waldmann/pure-matchbox/kissat/lib/libkissat.a(print.o):print.c:function kissat_signal: error: undefined reference to 'kissat_signal_name'
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
-- While building package pure-matchbox-1.0 (scroll up to its section to see the error) using:
/builds/waldmann/pure-matchbox/.stack-root/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7 --builddir=.stack-work/dist/x86_64-linux/Cabal-3.2.1.0 build lib:pure-matchbox exe:check-strat exe:check-theorem exe:check-tiling-implies-mb exe:closure-enumerate exe:coco-sp exe:coco-tp exe:enumka exe:fight exe:filter-srs exe:generate exe:improve-strategy exe:killer-noko exe:near-grid-predict exe:noko-leipzig exe:onerule-congruence exe:onerule-enum exe:pure-matchbox exe:random-termination test:arctic test:cycle-transport test:five test:qpi test:sparse-tiling test:standard-transport test:strategy test:strategy1 test:z001 --ghc-options ""
(cf. log: https://gitlab.imn.htwk-leipzig.de/waldmann/pure-matchbox/-/jobs/82032 , script:
https://gitlab.imn.htwk-leipzig.de/waldmann/pure-matchbox/-/blob/364-print-more-statistics-when-parameter-optimizing/.gitlab-ci.yml#L229
Source code is in kissat/src/handle.h
static inline const char *
kissat_signal_name (int sig)
{ ...
sounds similar to this compiler error (in an unrelated package) https://gitlab.haskell.org/ghc/ghc/-/issues/20346#note_381534
It has inline attribute, so it is expected that it cannot be linked,
but it is surprising that linker looks for it.
perhaps see also http://gudok.xyz/inline/
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.