Package Details: bun 1.1.38-1

Git Clone URL: https://aur.archlinux.org/bun.git (read-only, click to copy)
Package Base: bun
Description: Bun is a fast JavaScript all-in-one toolkit. This PKGBUILD builds from source, resulting into a smaller and faster binary depending on your CPU.
Upstream URL: https://github.com/oven-sh/bun
Keywords: bun compile js node ts
Licenses: GPL
Conflicts: bun-bin
Submitter: tiziodcaio
Maintainer: tiziodcaio
Last Packager: tiziodcaio
Votes: 18
Popularity: 1.83
First Submitted: 2023-09-12 21:31 (UTC)
Last Updated: 2024-12-07 12:23 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

jcaesar commented on 2023-09-14 02:30 (UTC)

I suppose the fact that this depends on bun itself can be worked around by first installing bun-bin. Still, I'm not able to build, it fails with

✘ [ERROR] Could not resolve "peechy"

    src/fallback.ts:2:27:
      2 │ import { ByteBuffer } from "peechy";
        ╵                            ~~~~~~~~

  You can mark the path "peechy" as external to exclude it from the bundle, which will remove this error.

1 error
make: *** [Makefile:832: fallback_decoder] Error 1

aorth commented on 2023-09-13 08:02 (UTC) (edited on 2023-09-13 08:02 (UTC) by aorth)

There seem to be build issues here:

  • Packages provide themselves, so no need to provide=(bun)
  • Packages don't need to explicitly conflict with themselves, so you can remove conflicts=(bun)
  • You can add conflicts=(bun-bin)
  • As @MarsSeed mentioned, no need to use replaces=(bun-bin)

Even so, I still fail to build this package. I think it's because the prepare step is calling bun but we don't have bun installed yet. :P It's a good idea to build these packages in a clean chroot with aurutils so you can see these build issues.

MarsSeed commented on 2023-09-12 22:16 (UTC)

Please remove replaces=(bun-bin). That package has its own legitimate basis for existence.