PolyMeilex / PolyMeilex/Neothesia

Can't install on Arch Linux CachyOS

Open
#427 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.