chaotic-aur / packages

Read-only mirror of Chaotic-AUR's main repository. Issues and bug reports welcome! 📑
https://gitlab.com/chaotic-aur/pkgbuilds
GNU General Public License v3.0
336 stars 19 forks source link

[Request] biome #2291

Closed MenacingPerson closed 5 months ago

MenacingPerson commented 1 year ago

Link to the package base(s) in the AUR

https://aur.archlinux.org/packages/rome https://aur.archlinux.org/packages/biome

Utility this package has for you

LSP and formatter for many languages

Do you consider the package(s) to be useful for every Chaotic-AUR user?

No, but for a great amount.

Do you consider the package to be useful for feature testing/preview?

Have you tested if the package builds in a clean chroot?

Does the package's license allow redistributing it?

YES!

Have you searched the issues to ensure this request is unique?

Have you read the README to ensure this package is not banned?

More information

It takes a really long time to build so would be nice to have in a prebuilt form

Technetium1 commented 1 year ago

Build fails in check: rome.log

Technetium1 commented 1 year ago

This also fails to build on my machine in the same way.

MenacingPerson commented 1 year ago

Oh... same here. I'm gonna report this to the maintainer.

I swear it built before?

alerque commented 1 year ago

This package has mostly worked since I started maintaining it in the AUR, but the last couple releases are failing checks again. I've reported the issue upstream.

xiota commented 1 year ago

@alerque Different error now.

[Fails to build](error: could not compile `rome_formatter`) ``` Compiling rome_control_flow v0.0.0 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_control_flow) warning: variable does not need to be mutable --> crates/rome_control_flow/src/builder.rs:149:22 | 149 | pub fn with_node(mut self, node: impl Into>) -> Self { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: `rome_control_flow` (lib) generated 1 warning (run `cargo fix --lib -p rome_control_flow` to apply 1 suggestion) Compiling rome_json_factory v0.0.1 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_json_factory) Compiling rome_parser v0.0.1 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_parser) Compiling rome_js_syntax v0.0.2 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_js_syntax) Compiling rome_formatter v0.0.1 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_formatter) Compiling rome_fs v0.0.0 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_fs) warning: ambiguous glob re-exports --> crates/rome_formatter/src/prelude.rs:1:9 | 1 | pub use crate::builders::*; | ^^^^^^^^^^^^^^^^^^ the name `BestFitting` in the type namespace is first re-exported here 2 | pub use crate::format_element::*; | ------------------------ but the name `BestFitting` in the type namespace is also re-exported here | = note: `#[warn(ambiguous_glob_reexports)]` on by default Compiling rome_json_parser v0.0.1 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_json_parser) Compiling rome_deserialize v0.0.0 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_deserialize) Compiling rome_analyze v0.0.0 (/home/main-builder/pkgwork/src/tools-cli-v12.1.3/crates/rome_analyze) error[E0080]: evaluation of constant value failed --> crates/rome_formatter/src/format_element.rs:386:1 | 386 | static_assert!(std::mem::size_of::() == 16usize); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to divide `0_i32` by zero | = note: this error originates in the macro `static_assert` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0080]: evaluation of constant value failed --> crates/rome_formatter/src/format_element.rs:395:1 | 395 | static_assert!(std::mem::size_of::() == 24usize); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to divide `0_i32` by zero | = note: this error originates in the macro `static_assert` (in Nightly builds, run with -Z macro-backtrace for more info) For more information about this error, try `rustc --explain E0080`. warning: `rome_formatter` (lib) generated 1 warning error: could not compile `rome_formatter` (lib) due to 2 previous errors; 1 warning emitted warning: build failed, waiting for other jobs to finish... ==> ERROR: A failure occurred in build(). ```
alerque commented 1 year ago

That needs to be reported upstream, it is not a packaging issue.

xiota commented 1 year ago

https://github.com/rome/tools/

This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

They link to a new project:

https://github.com/biomejs/biome https://biomejs.dev/blog/annoucing-biome