Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341279 - sci-mathematics/coq-8.3 version bump
Summary: sci-mathematics/coq-8.3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Team for the ML programming language family
URL: http://coq.inria.fr/V8.3/CHANGES
Whiteboard:
Keywords:
Depends on:
Blocks: 341187
  Show dependency tree
 
Reported: 2010-10-16 13:40 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2010-11-18 22:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed ebuild (coq-8.3.ebuild,1.48 KB, text/plain)
2010-11-13 23:26 UTC, gmalecha
Details
Don't depend on ocaml-3.12 (coq-8.3.ebuild,1.48 KB, text/plain)
2010-11-15 05:57 UTC, gmalecha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-10-16 13:40:54 UTC
"This version comes with many improvements of existing features, especially regarding the tactics, the module system, extraction, the type classes, the program command, libraries, coqdoc. It also includes a new tactic ("nsatz", standing for Hilbert's NullStellensatz, that solves systems of polynomial equations in Z or R) and a few new libraries (a certification of mergesort, a new library of finite sets with computational and logical contents separated)."
For a full log of changes, see URL
Comment 1 gmalecha 2010-11-13 23:26:57 UTC
Created attachment 254245 [details]
Proposed ebuild

Mostly just a copy from the previous version. coq 8.3 doesn't have build options corresponding to not building the realanalysis package (previously USE flag norealanalysis). I have gotten this to work without having it build coqide (USE flags -gtk).
Comment 2 Thomas Kahle (RETIRED) gentoo-dev 2010-11-14 22:35:41 UTC
(In reply to comment #1)
> Created an attachment (id=254245) [details]
> Proposed ebuild

Hi, I'm looking into this.  Why do you depend on >=ocaml-3.12 ?
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2010-11-14 22:41:06 UTC
Have you seen anything like this:

---snip----
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/coq-8.3/work/coq-8.3'
make[1]: Entering directory `/var/tmp/portage/sci-mathematics/coq-8.3/work/coq-8.3'
Makefile.doc:188: warning: undefined variable `QUICK'
OCAMLC    config/coq_config.ml
File "config/coq_config.ml", line 22, characters 17-22:
Error: This expression has type string but an expression was expected of type
         int
TOUCH     lib/compat.ml
CHECK revision
OCAMLOPT  config/coq_config.ml
File "config/coq_config.ml", line 22, characters 17-22:
Error: This expression has type string but an expression was expected of type
         int
make[1]: *** [config/coq_config.cmx] Error 2
rm lib/compat.ml
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/coq-8.3/work/coq-8.3'
make: *** [world] Error 2
emake failed
 * ERROR: sci-mathematics/coq-8.3 failed:
----snap----
Comment 4 gmalecha 2010-11-15 05:57:18 UTC
Created attachment 254367 [details]
Don't depend on ocaml-3.12
Comment 5 gmalecha 2010-11-15 05:58:35 UTC
I think that I did see this, but only when compiling coqide (USE flag gtk). I haven't gotten a chance to figure out what the problem is yet though.

(In reply to comment #3)
> Have you seen anything like this:
> 
> ---snip----
> make[1]: Leaving directory
> `/var/tmp/portage/sci-mathematics/coq-8.3/work/coq-8.3'
> make[1]: Entering directory
> `/var/tmp/portage/sci-mathematics/coq-8.3/work/coq-8.3'
> Makefile.doc:188: warning: undefined variable `QUICK'
> OCAMLC    config/coq_config.ml
> File "config/coq_config.ml", line 22, characters 17-22:
> Error: This expression has type string but an expression was expected of type
>          int
> TOUCH     lib/compat.ml
> CHECK revision
> OCAMLOPT  config/coq_config.ml
> File "config/coq_config.ml", line 22, characters 17-22:
> Error: This expression has type string but an expression was expected of type
>          int
> make[1]: *** [config/coq_config.cmx] Error 2
> rm lib/compat.ml
> make[1]: Leaving directory
> `/var/tmp/portage/sci-mathematics/coq-8.3/work/coq-8.3'
> make: *** [world] Error 2
> emake failed
>  * ERROR: sci-mathematics/coq-8.3 failed:
> ----snap----
> 

Comment 6 Thomas Kahle (RETIRED) gentoo-dev 2010-11-18 22:14:52 UTC
Done. Thanks everybody. Please test.

@gmalachea: I appreciate your effort, however, I don't understand most of the changes you have done to the ebuild.  Especially why you dropped RDEPEND and removed some DEPEND. Also your RESTRICT is not correct.  Why should the binaries not be stripped? The mechanism in the last ebuild was to use STRIP="true" which replaces the strip program used by the program 'true' which does no\
thing (see 'man true').  Then all these ${P/_/} can just be ${P}.

The build failed with coqide because they replaced ${libdir} by "${libdir}" somewhere in the configure script which would then lead to an assignment
includeline="-I "${libdir}""
leading to failure. I've sent that upstream and they fixed it.

Unfortunately I see runtime text relocations with plugins now, I have no idea how to fix this.
Comment 7 gmalecha 2010-11-18 22:40:17 UTC
Ah, it seems that I used an outdated version of the ebuild as my template.