Package Details: bluespec-git r648.61dc0ebb-267

Git Clone URL: https://aur.archlinux.org/bluespec-git.git (read-only, click to copy)
Package Base: bluespec-git
Description: Bluespec Compiler (BSC)
Upstream URL: https://github.com/B-Lang-org/bsc
Licenses: BSD
Submitter: Sequencer
Maintainer: Sequencer (thotypous)
Last Packager: thotypous
Votes: 4
Popularity: 0.000009
First Submitted: 2020-02-05 02:51 (UTC)
Last Updated: 2021-12-06 19:06 (UTC)

Latest Comments

thotypous commented on 2021-12-06 19:05 (UTC)

@Vekhir Since scripts should not rely on the structure of a particular language, we will instead add LC_ALL=C to force this particular command to produce English output. Please note, however, that it is preferable to always build packages in a clean chroot (and there would be no point in changing the locale of that chroot). You can find packages prebuilt by us on a clean chroot at https://pkgs.org/search/?q=bluespec or https://aur.chaotic.cx

Vekhir commented on 2021-12-06 16:48 (UTC) (edited on 2021-12-06 16:49 (UTC) by Vekhir)

My makepkg fails because pkgrel is 0, when computed. That seems to happen due to my language settings changing the output of 'pacman -Si', which means that the string 'Version' cannot be found. The issue can be fixed by first asking what the word in the 3. line is (where the version is) and then using that word instead. This should be language-independent.

The code for that would be:

# dynamically get Version string as that depends on system language; the 3 below means that the third line contains the version string
Version=$(pacman -Si $(depends[0]) | sed '3q;d' | sed -e 's/\s.*$//')
eval pkgrel=$(pacman -Si ${depends[@]} | awk '/'"$Version"'/{sum+=substr($0,match($0,/[^-]+$/))}END{print sum}')

This fixed the issue for me.

thotypous commented on 2020-04-11 01:35 (UTC)

I managed to make it work: https://gist.github.com/thotypous/cf40bbb2cb7b3d89a0d1671e839c1e7e

Could you please put me as co-maintainer of this package? I'm a long time bsc user - I use the commercial version since 2008.