geckodriver icon indicating copy to clipboard operation
geckodriver copied to clipboard

Attempting to build for arm32 issue;

Open HybridZach opened this issue 1 year ago • 4 comments

System

  • Platform: Raspbian 12

Testcase

When following the guide from https://firefox-source-docs.mozilla.org/testing/geckodriver/ARM.html

In an attempt to build a custom binary for arm32bit

I have come to a stumbling block.

Steps; As you can see from the attached shell log at first it complained that it could not find the config.toml saying it was looking for instead "Cargo.toml" so I renamed it, but it still could not find it, so I moved it into the cwd, then I got this error.

error: failed to parse manifest at `REDACTED/testing/Cargo.toml`

Caused by:
  this virtual manifest specifies a `target` section, which is not allowed

Could someone please help me.

Attached files; error.txt Cargo.txt

HybridZach avatar May 17 '24 20:05 HybridZach

Hm, I don't really know off-hand what such a failure means. I assume that no broken crate will be up on crates.io. @jgraham do you have an idea?

whimboo avatar Jun 05 '24 07:06 whimboo

Any updates on this?

HybridZach avatar Jun 21 '24 16:06 HybridZach

Note that the file is testing/geckodriver/.cargo/config.toml, not Cargo.toml.

The instructions worked as written for me.

jgraham avatar Jun 26 '24 14:06 jgraham

Note that the file is testing/geckodriver/.cargo/config.toml, not Cargo.toml.

The instructions worked as written for me.

As mentioned. Upon following the instructions using the path and name as follows .cargo/config.toml when running the cargo build command I get the error...

error: could not find "Cargo.toml" in "REDACTED/testing/geckodriver" or any parent directory

So I renamed it, and tried again, as seen in my bash history, then the error complained it was also in the wrong directory so I moved it.

mv .cargo/Cargo.toml ../'

Upon which I got this error.

error: failed to parse manifest at "REDACTED/testing/Cargo.toml"

Caused by: this virtual manifest specifies a "target" section, which is not allowed

HybridZach avatar Jun 26 '24 16:06 HybridZach