Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361171

Summary: dev-ml/core-0.7.0 version bump
Product: Gentoo Linux Reporter: Vladimir Ivanov <v.ivanov>
Component: New packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED FIXED    
Severity: enhancement CC: guillaume.horel
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://ocaml.janestreet.com/?q=node/13
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild
ebuild

Description Vladimir Ivanov 2011-03-29 19:57:05 UTC
new version is out

Reproducible: Always
Comment 1 Vladimir Ivanov 2011-03-29 19:58:02 UTC
Created attachment 267717 [details]
ebuild
Comment 2 Vladimir Ivanov 2011-03-29 19:59:14 UTC
This is not a duplicate of a previous resolved "dev-ml/core version bumb" bug. That was a 0.7.0-beta version.
Comment 3 Vladimir Ivanov 2011-03-30 12:30:08 UTC
Created attachment 267795 [details]
ebuild

fixed sexplib dependency
Comment 4 Guillaume Horel 2011-05-15 17:01:55 UTC
3 comments:

- I need to pass the --enable-linux flag to the configure script, not sure why it's not enabled by default on my system (I'm on x86) otherwise it fails with the following error:
lib/libcore.a(unix_stubs.o): In function `unix_clock_gettime':
unix_stubs.c:(.text+0x1e14): undefined reference to `clock_gettime'
lib/libcore.a(unix_stubs.o): In function `unix_clock_settime':
unix_stubs.c:(.text+0x1e95): undefined reference to `clock_settime'
lib/libcore.a(unix_stubs.o): In function `unix_clock_getres':
unix_stubs.c:(.text+0x1ee4): undefined reference to `clock_getres'
collect2: ld returned 1 exit status
--enable-linux appends -lrt to the linker flags, which fixes this linking error.

- the tests are failing on my system. Here is the relevant section of the ebuild log:

ocaml setup.ml -test 
I: Running test 'test_runner'
I: Changing directory to 'lib_test'
I: Running command '/var/tmp/portage/dev-ml/core-0.7.0/work/core-0.7.0/_build/lib_test/test_runner'
Fatal error: exception Failure("Option.value_exn None")
W: Test 'test_runner' fails: Command '/var/tmp/portage/dev-ml/core-0.7.0/work/core-0.7.0/_build/lib_test/test_runner' terminated with error code 2
I: Changing directory to '/var/tmp/portage/dev-ml/core-0.7.0/work/core-0.7.0'
E: Tests had a 100.00% failure rate
Comment 5 Alexis Ballier gentoo-dev 2011-06-25 18:58:23 UTC
bumped, thanks