Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750266 - 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
Summary: net-misc/unison-2.48.4-r1 - File ".../work/src/unicode.ml", line 25, characte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 750335
Blocks:
  Show dependency tree
 
Reported: 2020-10-19 23:15 UTC by ernsteiswuerfel
Modified: 2020-10-20 13:01 UTC (History)
1 user (show)

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


Attachments
build.log (unison-2.48.4-r1:20201019-231307.log,3.70 KB, text/plain)
2020-10-19 23:15 UTC, ernsteiswuerfel
Details
emerge --info (file_750266.txt,5.96 KB, text/plain)
2020-10-19 23:16 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.