Package Details: firmware-manager 0.1.5+12+g3c542bd-2

Git Clone URL: https://aur.archlinux.org/firmware-manager.git (read-only, click to copy)
Package Base: firmware-manager
Description: Generic framework and GTK UI for firmware updates from system76-firmware and fwupd
Upstream URL: https://github.com/pop-os/firmware-manager
Licenses: GPL-3.0-or-later
Conflicts: libfirmware-manager
Submitter: electrickite
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 11
Popularity: 0.22
First Submitted: 2020-04-02 02:45 (UTC)
Last Updated: 2024-12-13 02:28 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

dreieck commented on 2022-09-18 15:37 (UTC)

Can this package be changed so that everything needed to build gets downloaded in prepare(), if not already downloaded via the source array?

(You can utilise cargo fetch for this.)

Eeems commented on 2021-08-13 22:23 (UTC)

@yochananmarqos Can confirm, it builds now. Thanks!

yochananmarqos commented on 2021-08-13 18:24 (UTC)

@Eeems: Fixed!

Eeems commented on 2021-08-13 17:57 (UTC)

I'm getting the following error when trying to build.

error: failed to load manifest for workspace member `/tmp/build/80754af9/pkg/src/firmware-manager-0.1.2/gtk`


Caused by:

  failed to read `/tmp/build/80754af9/pkg/src/firmware-manager-0.1.2/gtk/Cargo.toml`


Caused by:

  No such file or directory (os error 2)

yochananmarqos commented on 2021-03-21 14:44 (UTC) (edited on 2021-03-21 14:45 (UTC) by yochananmarqos)

@dreleck: That's just how Cargo works, it's a package manager and needs to download the dependencies. Go and NPM are similar in that regard.

dreieck commented on 2021-03-21 11:06 (UTC) (edited on 2021-03-21 11:12 (UTC) by dreieck)

This package fails to build on internet connection with 1 Mbit/s speed -- in build() (!!), stuff gets downloaded, and some stuff seems to timeout before finished; somehing assumes a priviliged high speed internet connection:

==> Starting build()...
[...]
info: downloading component 'rustc'
info: retrying download for 'https://static.rust-lang.org/dist/2020-01-30/rustc-1.41.0-x86_64-unknown-linux-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2020-01-30/rustc-1.41.0-x86_64-unknown-linux-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2020-01-30/rustc-1.41.0-x86_64-unknown-linux-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2020-01-30/rustc-1.41.0-x86_64-unknown-linux-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2020-01-30/rustc-1.41.0-x86_64-unknown-linux-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2020-01-30/rustc-1.41.0-x86_64-unknown-linux-gnu.tar.xz'
info: retrying download for 'https://static.rust-lang.org/dist/2020-01-30/rustc-1.41.0-x86_64-unknown-linux-gnu.tar.xz'
error: component download failed for rustc-x86_64-unknown-linux-gnu
error: caused by: could not download file
make: *** [Makefile:113: target/com.system76.FirmwareManager.desktop] Error 1
make: *** Waiting for unfinished jobs....
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Msg("cleaning up cached downloads"), State { next_error: Some(Os { code: 2, kind: NotFound, message: "No such file or directory" }), backtrace: InternalBacktrace { backtrace: None } })', download/src/lib.rs:121:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:129: target/com.system76.FirmwareManager.Notify.desktop] Error 101
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Msg("cleaning up cached downloads"), State { next_error: Some(Os { code: 2, kind: NotFound, message: "No such file or directory" }), backtrace: InternalBacktrace { backtrace: None } })', download/src/lib.rs:121:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:148: target/firmware_manager.pc] Error 101
error: component download failed for rustc-x86_64-unknown-linux-gnu
error: caused by: could not rename file
make: *** [Makefile:143: target/release/libfirmware_manager.so] Error 1
==> ERROR: A failure occurred in build().

(The "Waiting for unfinished jobs...." and the "thread 'main' panicked at [...]" each take several minutes of time while still the internet connection is busy; maybe the download tries to finish while some hypervising thread thinks it failed?).

Is it possible for you to move all downloads into the source-array, so that makepkg's download configuration can be honoured? Alternatively, using prepare() and using there some non-timeouting-while-still-data-is-slowly-flowing download method?

Also note the "panicing" because of missing files ...

By the way, why does some static fixed version rustc needs to be downloaded in build()? This should be left to source-array ... also enabling check summing possibility ...

Thanks for maintaining!

yochananmarqos commented on 2021-02-28 18:06 (UTC)

@smsx: Fixed.

smsx commented on 2021-02-28 15:28 (UTC)

seems to be a typo with the newest dependencies. It attempts to install libfirmwaremanager but the actual package name is libfirmware-manager.

yochananmarqos commented on 2021-02-27 23:08 (UTC)

PSA: The shared lib is now split into a separate package, so you'll need to remove the previous version before updating to 0.1.2-3.