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

Bug 915792

Summary: dev-ml/logs-0.7.0-r1 fails to compile with USE=test with =dev-ml/mtime-2.0.0
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-ml:logs-0.7.0-r1:20231014-183019.log
emerge-info.txt

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.