Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915792 - dev-ml/logs-0.7.0-r1 fails to compile with USE=test with =dev-ml/mtime-2.0.0
Summary: dev-ml/logs-0.7.0-r1 fails to compile with USE=test with =dev-ml/mtime-2.0.0
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-14 23:02 UTC by Jonathan Lovelace
Modified: 2023-10-17 20:28 UTC (History)
0 users

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


Attachments
dev-ml:logs-0.7.0-r1:20231014-183019.log (dev-ml:logs-0.7.0-r1:20231014-183019.log,8.94 KB, text/plain)
2023-10-14 23:02 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.28 KB, text/plain)
2023-10-14 23:02 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-10-14 23:02:03 UTC
Created attachment 872821 [details]
dev-ml:logs-0.7.0-r1:20231014-183019.log

=dev-ml/logs-0.7.0-r1 now fails its test phase, which passed fine when the package was last built back in May (when dev-ml/mtime was at version 1.4.0). Specifically, test/tags.ml fails to compile:

+ ocamlfind ocamlc -c -g -bin-annot -safe-string -package mtime.clock.os -I test -I src -o test/tags.cmo test/tags.ml
File "test/tags.ml", line 32, characters 55-71:
32 |       let dt = match stamp with None -> 0. | Some s -> Mtime.Span.to_us s in
                                                            ^^^^^^^^^^^^^^^^
Error: Unbound value Mtime.Span.to_us
Command exited with code 2.
Comment 1 Jonathan Lovelace 2023-10-14 23:02:26 UTC
Created attachment 872822 [details]
emerge-info.txt
Comment 2 Jonathan Lovelace 2023-10-15 00:16:05 UTC
Correction: When tests are enabled, dev-ml/logs fails to *compile*. But turning tests off for the package makes it build successfully.