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

Bug 750266

Summary: net-misc/unison-2.48.4-r1 - File ".../work/src/unicode.ml", line 25, characters 16-33: 25 | let set s i v = String.unsafe_set s i (Char.unsafe_chr v) Alert deprecated: Stdlib.St
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 750335    
Bug Blocks:    
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2020-10-19 23:15:48 UTC
Created attachment 667226 [details]
build.log

[...]
File "/var/tmp/portage/net-misc/unison-2.48.4-r1/work/src/unicode.ml", line 25, characters 16-33:
25 | let set s i v = String.unsafe_set s i (Char.unsafe_chr v)
                     ^^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.unsafe_set
File "/var/tmp/portage/net-misc/unison-2.48.4-r1/work/src/unicode.ml", line 822, characters 20-21:
822 |     String.blit s k s (k + d) (i - k);
                          ^
Error: This expression has type string but an expression was expected of type
         bytes
make: *** [Makefile.OCaml:437: unicode.cmx] Error 2
 * ERROR: net-misc/unison-2.48.4-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2020-10-19 23:16:20 UTC
Created attachment 667229 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-20 06:18:57 UTC
2.48.15_p4-r1 should be better?
Comment 3 ernsteiswuerfel archtester 2020-10-20 13:01:19 UTC
Yes, the version bump solved the problem. 2.48.15_p4-r1 builds fine.