[kalzium] [Bug 372671] New: solver doesn't build with ocaml 4.04

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] New: solver doesn't build with ocaml 4.04

Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

            Bug ID: 372671
           Summary: solver doesn't build with ocaml 4.04
           Product: kalzium
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

The solver fails to build with ocaml 4.04:

[ 49%] Generating solver.o
cd /build/kalzium/src/build/src && /usr/bin/ocamlopt -output-obj -o
/build/kalzium/src/build/src/solver.o /usr/lib/ocaml/facile/facile.cmxa
/build/kalzium/src/build/src/chemset.cmx
/build/kalzium/src/build/src/parser.cmx /build/kalzium/src/build/src/lexer.cmx
/build/kalzium/src/build/src/datastruct.cmx
/build/kalzium/src/build/src/chem.cmx /build/kalzium/src/build/src/calc.cmx
[ 50%] Generating modwrap.o
cd /build/kalzium/src/build/src && /usr/bin/ocamlopt -I /usr/lib/ocaml/facile
-c /build/kalzium/src/kalzium-16.11.80/src/solver/modwrap.c -o
/build/kalzium/src/build/src/modwrap.o
Options -c and -o are incompatible when compiling C files
make[2]: *** [src/CMakeFiles/kalzium.dir/build.make:105: src/modwrap.o] Error 2
make[2]: Leaving directory '/build/kalzium/src/build'
make[1]: *** [CMakeFiles/Makefile2:302: src/CMakeFiles/kalzium.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

Viktor Yu. Kovalskiy <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Viktor Yu. Kovalskiy <[hidden email]> ---
(In reply to Antonio Rojas from comment #0)

I can confirm this issue.
kalzium from git fails to build with ocaml-4.04 with the same error.

I can build kalzium from git with ocaml-4.03.

Maybe changelog from ocaml-4.04 helps:

http://caml.inria.fr/pub/distrib/ocaml-4.04/notes/Changes

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

--- Comment #2 from Viktor Yu. Kovalskiy <[hidden email]> ---
(In reply to Viktor Yu. Kovalskiy from comment #1)

> (In reply to Antonio Rojas from comment #0)
>
> I can confirm this issue.
> kalzium from git fails to build with ocaml-4.04 with the same error.
>
> I can build kalzium from git with ocaml-4.03.
>
> Maybe changelog from ocaml-4.04 helps:
>
> http://caml.inria.fr/pub/distrib/ocaml-4.04/notes/Changes

Kalzium-16.12.0 fails to build with the same error.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

David Kredba <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

--- Comment #3 from Christoph Feck <[hidden email]> ---
This commit has all the details of the change:
https://github.com/ocaml/ocaml/commit/da56cf6dfdc13c09905c2e07f1d4849c8346eec8

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

Michael Palimaka <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

Thomas Posch <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
                   |                            |ame

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

Martin Walch <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

José Manuel Santamaría Lema <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #4 from José Manuel Santamaría Lema <[hidden email]> ---
Hi,

I'm going to mark this as 'confirmed', because, indeed, it's also failing when
building against ubuntu artful with -proposed enabled, which provides ocaml
4.04.

This means we won't be able to update kalzium for ubuntu artful, so it would be
nice to get this fixed.

Regards.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

--- Comment #5 from José Manuel Santamaría Lema <[hidden email]> ---
Possible fix:
https://phabricator.kde.org/D6752

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[kalzium] [Bug 372671] solver doesn't build with ocaml 4.04

Christoph Feck-3
In reply to this post by Christoph Feck-3
https://bugs.kde.org/show_bug.cgi?id=372671

Christoph Feck <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kal
                   |                            |zium/447d0ca4cc757f79ad02ca
                   |                            |52ab5e086b78dfdfb1
         Resolution|---                         |FIXED
   Version Fixed In|                            |17.08
             Status|CONFIRMED                   |RESOLVED

--- Comment #6 from Christoph Feck <[hidden email]> ---
Git commit 447d0ca4cc757f79ad02ca52ab5e086b78dfdfb1 by Christoph Feck, on
behalf of José Manuel Santamaría Lema.
Committed on 03/08/2017 at 16:10.
Pushed by cfeck into branch 'Applications/17.08'.

Fix build with ocaml 4.04
FIXED-IN: 17.08

Differential Revision: https://phabricator.kde.org/D6752

M  +1    -1    src/CMakeOCamlInstructions.cmake

https://commits.kde.org/kalzium/447d0ca4cc757f79ad02ca52ab5e086b78dfdfb1

--
You are receiving this mail because:
You are the assignee for the bug.
Loading...