Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Invalid manifest" when install carton with brew #8

Closed
ras0q opened this issue Jan 31, 2023 · 1 comment
Closed

Error "Invalid manifest" when install carton with brew #8

ras0q opened this issue Jan 31, 2023 · 1 comment

Comments

@ras0q
Copy link

ras0q commented Jan 31, 2023

When you install carton with homebrew, following error can occur.

$ brew install swiftwasm/tap/carton
==> Fetching swiftwasm/tap/carton
==> Cloning https://github.com/swiftwasm/carton.git
Updating /home/ras/.cache/Homebrew/carton--git
==> Checking out tag 0.17.0
HEAD is now at 3a00a0d Bump version to 0.17.0, update `CHANGELOG.md`
HEAD is now at 3a00a0d Bump version to 0.17.0, update `CHANGELOG.md`
==> Installing carton from swiftwasm/tap
==> swift build --disable-sandbox -c release --build-path /tmp/carton-20230131-27842-ktrtj
Last 15 lines from /home/ras/.cache/Homebrew/Logs/carton/01.swift:

swift
build
--disable-sandbox
-c
release
--build-path
/tmp/carton-20230131-27842-ktrtj4

warning: '--build-path' option is deprecated; use '--scratch-path' instead
error: 'carton-20230131-27842-ktrtj4': Invalid manifest
error: link command failed with exit code 1 (use -v to see invocation)
/lib/x86_64-linux-gnu/Scrt1.o:function _start: error: undefined reference to '__libc_csu_fini'
/lib/x86_64-linux-gnu/Scrt1.o:function _start: error: undefined reference to '__libc_csu_init'
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/swiftwasm/homebrew-tap/issues
$ brew -v
Homebrew 3.6.20-153-g79676ad
Homebrew/homebrew-core (git revision 84f3ab6b103; last commit 2023-01-28)
@kateinoigakukun
Copy link
Member

Sorry, I overlooked your issue. It looks like you are using Linuxbrew, right?
I haven't tried it yet but for now, I can't allocate my time to support the environment.
You can still use carton docker image or build it by yourself.

@kateinoigakukun kateinoigakukun closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants