Package: hare
Version: 0.24.2-2
Severity: important
hare build fails to compile the helloworld program from the tutorial [htut]:
hare build -vv helloworld.ha
#
HARE_TD_rt=/home/def/.cache/hare/usr/share/hare/stdlib/rt/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.td
#
HARE_TD_debug=/home/def/.cache/hare/usr/share/hare/stdlib/debug/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.td
#
HARE_TD_fmt=/home/def/.cache/hare/usr/share/hare/stdlib/fmt/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.td
harec -a 'x86_64' -M /home/def/hare/helloworld.ha/ -o
/home/def/.cache/hare/home/def/hare/helloworld.ha/9ef0d89e54347fadcbae93e961295ffc7f03254001d312f6c40c29856020e4f5.ssa.tmp
-t
/home/def/.cache/hare/home/def/hare/helloworld.ha/9ef0d89e54347fadcbae93e961295ffc7f03254001d312f6c40c29856020e4f5.ssa.td.tmp
/home/def/hare/helloworld.ha
qbe -t 'amd64_sysv' -o
/home/def/.cache/hare/usr/share/hare/stdlib/fmt/052dabb35ac93018ba740e73e7ec8ad7eaeecb06ebac20e324deea22b1bf0930.s.tmp
/home/def/.cache/hare/usr/share/hare/stdlib/fmt/3821b7cdbb44477b9b8f8e4f5f9fe1795c60203e1e5174a8015e7808a5b20d0c.ssa
/home/def/hare/helloworld.ha:4:21: error: Unknown object 'fmt::println'
4 | fmt::println("Hello world!")!;
| ^
harec for /home/def/hare/helloworld.ha exited with status 4
---snip---
[htut] <https://harelang.org/tutorials/introduction>
-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux 6 (excalibur/ceres)
Release: 6
Codename: excalibur ceres
Architecture: x86_64
Kernel: Linux 6.1.0-31-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8) (ignored: LC_ALL
set to de_AT.utf8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages hare depends on:
ii harec 0.24.2-3
hare recommends no packages.
hare suggests no packages.
-- debconf-show failed
use fmt;
export fn main() void = {
fmt::println("Hello world!")!;
};