Package Details: gleam 1.10.0-1

Git Clone URL: https://aur.archlinux.org/gleam.git (read-only, click to copy)
Package Base: gleam
Description: A friendly language for building type-safe, scalable systems!
Upstream URL: http://github.com/gleam-lang/gleam
Keywords: gleam
Licenses: Apache2
Provides: gleam
Submitter: NobbZ
Maintainer: tleican
Last Packager: tleican
Votes: 17
Popularity: 0.26
First Submitted: 2019-04-22 21:38 (UTC)
Last Updated: 2025-04-14 17:37 (UTC)

Dependencies (5)

Required by (2)

Sources (1)

Pinned Comments

xyproto commented on 2024-09-03 21:53 (UTC)

@tleican I'm planning to move this package to [extra], and adopt+maintain it there, if you don't mind.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

xyproto commented on 2024-08-24 19:50 (UTC)

Building the package with "pkgctl build" worked here.

tleican commented on 2024-08-06 03:46 (UTC)

@endercheif Hi! Try with the latest stable release of rust (1.80.0 right now). It should work for you.

If that helps, install the rustup package, then use rustup update stable to get the latest stable version of the rust compiler and build gleam.

endercheif commented on 2024-08-05 21:17 (UTC)

Is is just me or does building the latest package provide a compiler error:

   ...
   Compiling crossbeam-deque v0.8.5
   Compiling hyper-rustls v0.27.2
   Compiling digest v0.10.7
   Compiling js-sys v0.3.69
error[E0716]: temporary value dropped while borrowed
   --> compiler-core/src/language_server/code_action.rs:350:19
    |
347 |         let assigned = match variables.len() {
    |             -------- borrow later stored here
...
350 |             _ => &format!("#({})", variables.join(", ")),
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
    |                   |                                    |
    |                   |                                    temporary value is freed at the end of this statement
    |                   creates a temporary value which is freed while still in use
    |
    = note: consider using a `let` binding to create a longer lived value
    = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)

   Compiling http-body-util v0.1.1
   Compiling clap_derive v4.5.13
For more information about this error, try `rustc --explain E0716`.
error: could not compile `gleam-core` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gleam-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
gleam - exit status 4

spookster commented on 2024-03-08 13:38 (UTC)

Hey @ephoz!

I am on amd64 (too) and this was the first time lto made difficulties building for me... all is fine now :)

Thanks again!

tleican commented on 2024-03-07 17:56 (UTC) (edited on 2024-03-07 17:57 (UTC) by tleican)

Hey @spookster,

Thanks for the feedback. I do release builds with LTO on (amd64) without issue. Are you on a different arch? I'll update the PKGBUILD to add !lto and save everyone else from the issue. :)

I'm not sure whether the gleam compiler benefits much from LTO. It does not make a change in the output binary size at least.

If that helps, I believe that you can set !lto globally by changing OPTIONS in /etc/makepkg.conf.

spookster commented on 2024-03-07 09:42 (UTC) (edited on 2024-03-07 09:42 (UTC) by spookster)

Heya, thanks for the pkg! I wasn't able to build this latest version. Got some error message with hidden symbol `GFp_ia32cap_P' isn't defined in it. Adding !lto to options fixed it for me.

gdamjan commented on 2023-02-21 11:20 (UTC)

the package should probably not install in /usr/local/bin - that's for the local administrator, or for non-packaged apps.

gilcu2 commented on 2022-08-03 08:53 (UTC) (edited on 2022-08-03 09:01 (UTC) by gilcu2)

Getting error:

error: failed to load manifest for workspace member ~/.cache/yay/gleam/src/gleam-0.22.1/compiler-cli

Caused by: failed to parse manifest at ~/.cache/yay/gleam/src/gleam-0.22.1/compiler-cli/Cargo.toml

Caused by: feature edition2021 is required

this Cargo does not support nightly features, but if you switch to nightly channel you can add cargo-features = ["edition2021"] to enable this feature

I have rust-nightly

Solver with: rustup default nightly

NobbZ commented on 2020-08-24 19:31 (UTC)

My current CI/CD pipeline on https://gitlab.com/NobbZ/arch-gleam failes for reasons I don't understand.

Also I do not use Arch-Linux anymore.

If someone wants to take over the package please contact me through gitlab issues or email!