packages icon indicating copy to clipboard operation
packages copied to clipboard

[Request] biome

Open MenacingPerson opened this issue 2 years ago • 7 comments

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?

  • [ ] Yes

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

  • [ ] Yes

Does the package's license allow redistributing it?

YES!

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

  • [X] YES!

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

  • [X] YES!

More information

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

MenacingPerson avatar Feb 19 '23 15:02 MenacingPerson

Build fails in check: rome.log

Technetium1 avatar Feb 19 '23 20:02 Technetium1

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

Technetium1 avatar Feb 22 '23 21:02 Technetium1

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

I swear it built before?

MenacingPerson avatar Feb 23 '23 03:02 MenacingPerson

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.

alerque avatar May 31 '23 07:05 alerque

@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<SyntaxElement<L>>) -> 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::<crate::format_element::Tag>() == 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::<crate::FormatElement>() == 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().

xiota avatar Sep 19 '23 04:09 xiota

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

alerque avatar Sep 19 '23 07:09 alerque

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

xiota avatar Sep 19 '23 08:09 xiota