Package Details: hare r2824.77613ea2-1

Git Clone URL: https://aur.archlinux.org/hare.git (read-only, click to copy)
Package Base: hare
Description: The Hare programming language
Upstream URL: https://harelang.org/
Licenses: GPL3, MPL2
Submitter: grawlinson
Maintainer: grawlinson (bitfehler)
Last Packager: grawlinson
Votes: 20
Popularity: 0.56
First Submitted: 2022-04-25 02:58 (UTC)
Last Updated: 2023-02-03 01:17 (UTC)

Latest Comments

1 2 Next › Last »

Pyromaniac commented on 2023-02-05 09:14 (UTC)

Hi all, seems like qbe got updated to 1.1. So this builds fine now.

phat_sumo commented on 2023-02-01 17:11 (UTC)

For anyone else still struggling with this, it's actually an issue with newer changes to harec requiring qbe 1.1, which hasn't been packaged yet (and might not be for a while). Using qbe-git fixes this for the time being.

grawlinson commented on 2023-01-18 22:11 (UTC)

The problem is here: Unknown attribute @packed.

phat_sumo commented on 2023-01-18 19:56 (UTC)

Having problems building hare again. With makepkg -si, I get the following error:

==> Starting build()...
HAREC   .cache/rt/rt-linux.ssa
Syntax error at ./rt/+linux/+x86_64.ha:45:34: Unknown attribute @packed
make: *** [stdlib.mk:63: .cache/rt/rt-linux.ssa] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
warning: could not open directory 'pkg/': Permission denied

pkg/ appears to have 111 permissions.

dwu commented on 2022-10-29 13:49 (UTC)

After fiddling around a little more it seems like the package builds fine when not having makepkg configured for building in parallel. Sorry for the noise.

@phat_sumo In case it's the same issue for you, you can try removing any MAKEFLAGS=-j... setting in your /etc/makepkg.conf.

phat_sumo commented on 2022-10-28 18:38 (UTC)

@dwu I'm getting the same error, been at a loss trying to solve the issue overnight.

dwu commented on 2022-10-28 13:17 (UTC)

Building version r2694.b00d4a6f-1 via makepkg results in the following error during the check phase on my machine. Does this happen for anyone else?

Could not open module 'fmt' for reading from .cache/+test/fmt/fmt.td: No such file or directory
make: *** [stdlib.mk:4423: .cache/+test/unix/tty/unix_tty-linux.ssa] Error 1
make: *** Waiting for unfinished jobs....
rm .cache/+test/crypto/random/crypto_random-linux.s .cache/+test/unix/unix-linux.s .cache/+test/crypto/aes/crypto_aes-any.s .cache/+test/math/math-any.s .cache/+test/linux/linux-linux.s .cache/+test/crypto/math/crypto_math-any.s .cache/+test/shlex/shlex-any.s .cache/+test/io/io-linux.s .cache/+test/time/time-linux.s .cache/+test/strings/strings-any.s .cache/+test/format/tar/format_tar-any.s .cache/+test/endian/endian-any.s .cache/+test/slices/slices-any.s .cache/+test/math/random/math_random-any.s .cache/+test/linux/timerfd/linux_timerfd-linux.s .cache/+test/crypto/blowfish/crypto_blowfish-any.s .cache/+test/types/types-any.s .cache/+test/errors/errors-any.s .cache/+test/unix/signal/unix_signal-linux.s .cache/+test/encoding/utf8/encoding_utf8-any.s .cache/+test/crypto/salsa/crypto_salsa-any.s .cache/+test/rt/rt-linux.s .cache/+test/crypto/mac/crypto_mac-any.s .cache/+test/strio/strio-any.s .cache/+test/bytes/bytes-any.s .cache/+test/path/path-any.s .cache/+test/fs/fs-any.s .cache/+test/os/os-linux.s .cache/+test/crypto/aes/xts/crypto_aes_xts-any.s .cache/+test/math/complex/math_complex-any.s .cache/+test/bufio/bufio-any.s .cache/+test/linux/keyctl/linux_keyctl-linux.s .cache/+test/crypto/cipher/crypto_cipher-any.s .cache/+test/sort/sort-any.s .cache/+test/linux/vdso/linux_vdso-linux.s .cache/+test/unix/poll/unix_poll-linux.s .cache/+test/ascii/ascii-any.s .cache/+test/strconv/strconv-any.s .cache/+test/format/elf/format_elf-any.s .cache/+test/crypto/chacha/crypto_chacha-any.s

grawlinson commented on 2022-10-16 08:12 (UTC)

Sweet, thanks! I've just added these changes.

apreiml commented on 2022-10-13 07:58 (UTC)

If you want to update to a recent commit, you'll need to fix the default linker flags like this:

diff --git a/PKGBUILD b/PKGBUILD
index ef5c8a2..c0d13f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,6 +29,11 @@ prepare() {
 build() {
   cd hare

+  # remove '-Wl,' prefix if present, since it is only required when
+  # the linker is invoked indirectly. Keeping it will cause the linker to
+  # fail.
+  export LDFLAGS=${LDFLAGS#"-Wl,"}
+
   # XXX: parallel build driver builds are broken
   LOCALVER=arch make -j1
 }

grawlinson commented on 2022-07-21 08:24 (UTC)

Seems like a patch that should be submitted upstream, if it isn't already.