Rewild Your Web forked from me.webbeef.org/browser.html

no mach file in source directory #1

Open opened by loaexeachina.tngl.sh

Hello, I tried installing beaver on arch linux. I successfully installed forkme and ran

forkme init --url https://tangled.org/me.webbeef.org/beaver --branch main

(replacing forkme by its full path), but when trying the next step from the tutorial, I get the following error:

bash: ./mach: No such file or directory

Was another step necessary to create the .mach file?

Sorry for the late answer, tangled did not notify me 😦

You don't need to create the mach file. You have to run it from the source/ subdirectory, where our servo fork itself is stored.

Did a fresh init/download and nothing named mach in any of the subfolders, this is the contents of source:

source]$ ls
build-arm64.sh  deploy-arm64.sh  LICENSE.txt  resources            support
Cargo.lock      forkme.lock      media        run.sh               taplo.toml
Cargo.toml      forkme.toml      patches      rustfmt.toml         ui
crates          format.sh        readme.md    rust-toolchain.toml

@loaexeachina.tngl.sh add export PATH=$PATH:$HOME/.cargo/bin to your .bash_profile or adjacent so you dont have to write to full forkme location

did you follow all the steps in the readme? I did a fresh clone and it seems ok to me:

❯ git clone https://tangled.org/me.webbeef.org/beaver testing
Cloning into 'testing'...
warning: redirecting to https://knot1.tangled.sh/did:plc:akzwsaqszkrfc7j2c3r2wlp2/
remote: Enumerating objects: 3891, done.
remote: Counting objects: 100% (3891/3891), done.
remote: Compressing objects: 100% (3139/3139), done.
remote: Total 3891 (delta 2565), reused 1032 (delta 531), pack-reused 0 (from 0)
Receiving objects: 100% (3891/3891), 8.03 MiB | 3.60 MiB/s, done.
Resolving deltas: 100% (2565/2565), done.
~/dev/webbeef took 4s 
❯ cd testing/
testing on  main via 🦀 v1.96.0 
❯ forkme init
Created forkme.toml
Cloning https://github.com/servo/servo.git (branch: main)...
Clone complete.
Created and checked out branch 'forkme'
Using locked upstream revision: 3aa659048c64
Created patches/ directory
.gitignore already contains source
Found 128 existing patches, applying...
Applying 128 entries...
...
Committed patched changes.

Initialization complete!
You can now work in the source directory.
Use 'forkme sync' to save your changes as patches.
❯ ls -l source/mach
-rwxr-xr-x 1 webbeef webbeef 2206 Jun  7 10:16 source/mach

Ah ok so its a misunderstanding in the instructions, I was under the impression that the step 2 "Run forkme init" was running just the command in the forkme usage instructions forkme init --url https://tangled.org/me.webbeef.org/beaver --branch main, the same as loaexeachina by the look of it.

Running the clone and the init separately works

Sign up or Sign in to add to the discussion.