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

Attempting to build for arm32 issue; #2180

Open
HybridZach opened this issue May 17, 2024 · 4 comments
Open

Attempting to build for arm32 issue; #2180

HybridZach opened this issue May 17, 2024 · 4 comments

Comments

@HybridZach
Copy link

HybridZach commented May 17, 2024

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 HybridZach changed the title Attempting to build for arm issue; Attempting to build for arm32 issue; May 17, 2024
@whimboo
Copy link
Collaborator

whimboo commented Jun 5, 2024

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?

@HybridZach
Copy link
Author

Any updates on this?

@jgraham
Copy link
Member

jgraham commented Jun 26, 2024

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

The instructions worked as written for me.

@HybridZach
Copy link
Author

HybridZach commented Jun 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants