PolyMeilex / PolyMeilex/Neothesia
Can't install on Arch Linux CachyOS
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 115
- Avg merge
- 7h 48m
- Merged PRs (30d)
- 8
Description
Installed using: paru -S neothesia
Error:
error[E0609]: no field `sample_fmts` on type `AVCodec`
--> ffmpeg-encoder/src/audio.rs:48:49
|
48 | let sample_fmts = unsafe { (*codec_ptr).sample_fmts };
| ^^^^^^^^^^^ unknown field
|
= note: available fields are: `name`, `long_name`, `type_`, `id`, `capabilities` ... and 4 others
error[E0609]: no field `sample_fmts` on type `AVCodec`
--> ffmpeg-encoder/src/audio.rs:54:31
|
54 | *(*codec_ptr).sample_fmts
| ^^^^^^^^^^^ unknown field
|
= note: available fields are: `name`, `long_name`, `type_`, `id`, `capabilities` ... and 4 others
error[E0609]: no field `supported_samplerates` on type `AVCodec`
--> ffmpeg-encoder/src/audio.rs:60:54
|
60 | let supported_samplerates = (*codec_ptr).supported_samplerates;
| ^^^^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `name`, `long_name`, `type_`, `id`, `capabilities` ... and 4 others
For more information about this error, try `rustc --explain E0609`.
error: could not compile `ffmpeg-encoder` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'neothesia-0.4.0-0':
error: packages failed to build: neothesia-0.4.0-0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with paru -S neothesia and start in ffmpeg-encoder/src/audio.rs at lines 48, 54, and 60. Investigate why the reported AVCodec fields are unavailable during the CachyOS/Arch Linux build, then verify that the neothesia-0.4.0-0 package builds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arch-linux, rust
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100