Package Details: pineflash-git 0.5.5+2.r309.20241230.1cbe554-1

Git Clone URL: https://aur.archlinux.org/pineflash-git.git (read-only, click to copy)
Package Base: pineflash-git
Description: A GUI tool to flash IronOS to the Pinecil V1, V2 and future other pine64 products.
Upstream URL: https://github.com/Spagett1/PineFlash
Licenses: GPL-2.0-or-later
Conflicts: pineflash
Provides: pineflash
Submitter: dreieck
Maintainer: dreieck
Last Packager: dreieck
Votes: 2
Popularity: 0.57
First Submitted: 2022-12-15 12:03 (UTC)
Last Updated: 2024-12-31 18:48 (UTC)

Latest Comments

1 2 Next › Last »

Tyrant commented on 2025-01-06 21:45 (UTC)

You are right, I should've read more carefully. It's still not fixed upstream.

prochac commented on 2025-01-03 21:01 (UTC) (edited on 2025-01-03 21:01 (UTC) by prochac)

It looks like a cause, not fix.

- Err(error) => println!("A massive error occured, not sure whats goin on here: \n {}", error),
+ Err(error) => panic!("A massive error occured, not sure whats goin on here: \n {}"),

Tyrant commented on 2025-01-02 17:15 (UTC)

Fixed in https://github.com/Spagett1/pineflash/commit/1cbe5547e19789e26faaef176c3d22a51e457e88

NoReceipt commented on 2025-01-01 09:37 (UTC)

Cannot update due to this error:

error: 1 positional argument in format string, but no arguments were given
   --> src/main.rs:532:88
    |
532 |         Err(error) => panic!("A massive error occured, not sure whats goin on here: \n {}"),
    |                                                                                        ^^

warning: unused imports: `ImageSource` and `epaint::ColorImage`
  --> src/main.rs:12:27
   |
12 | use eframe::{egui::{self, ImageSource}, epaint::ColorImage};
   |                           ^^^^^^^^^^^   ^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: unused variable: `error`
   --> src/main.rs:532:13
    |
532 |         Err(error) => panic!("A massive error occured, not sure whats goin on here: \n {}"),
    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
    |
    = note: `#[warn(unused_variables)]` on by default

warning: `pineflash` (bin "pineflash") generated 2 warnings
error: could not compile `pineflash` (bin "pineflash") due to 1 previous error; 2 warnings emitted
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pineflash-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pineflash-git - exit status 4

dreieck commented on 2024-01-26 12:37 (UTC) (edited on 2024-01-26 12:38 (UTC) by dreieck)

Ahoj @aur_person23,

Hello, I can't update because of this error: […]

thank you for reporting.

  1. I changed the dependency libudev to libudev.so, so that your installed package systemd-libs will suffice,
  2. you revealed a bug in the package libudev-zero-git which has been reported.

Regards!

aur_person23 commented on 2024-01-26 12:10 (UTC) (edited on 2024-01-26 12:15 (UTC) by aur_person23)

Hello, I can't update because of this error:

Package (1)       New Version  Net Change
libudev-zero-git  228-1          0,05 MiB
[...]
error: failed to commit transaction (conflicting files)
libudev-zero-git: /usr/include/libudev.h exists in filesystem (owned by systemd-libs)
libudev-zero-git: /usr/lib/libudev.so exists in filesystem (owned by systemd-libs)
libudev-zero-git: /usr/lib/libudev.so.1 exists in filesystem (owned by systemd-libs)
libudev-zero-git: /usr/lib/pkgconfig/libudev.pc exists in filesystem (owned by systemd-libs)
Errors occurred, no packages were upgraded.

Can I fix this somehow?

I took a look at "Failed to commit transaction (conflicting files)" error but I am still unsure how to proceed.

dreieck commented on 2024-01-13 10:02 (UTC)

Ahoj @milkii,

Thanks for reporting. I cannot reproduce your build issue, and I do not know any rust.

"works for me"™.
But what might help is to clear your /home/milk/.cache/yay/pineflash-git/src/, if you use old data in there.

Regards!

milkii commented on 2024-01-12 01:41 (UTC)

Getting this error;

   Compiling heck v0.4.0
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/milk/.cache/yay/pineflash-git/src/cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

   Compiling cfg-expr v0.10.3
   Compiling memchr v2.5.0
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pineflash-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pineflash-git - exit status 4

kStor2poche commented on 2023-09-27 22:05 (UTC) (edited on 2023-10-23 22:04 (UTC) by kStor2poche)

Hi, the package doesn't compile because of a bunch of "let...else" (E0658) errors from rustc on packages egui and atspi. But even though modifying the cargo.toml files to allow the use of "let...else" statements should work, cargo.toml files are overwritten in the build process, so I don't really know how this could be fixed or if this is even a problem with this package and not the rust crates dependencies.

Anyway, thanks for maintaining this package !

EDIT : After taking a little bit more time to look into the error, I found that adding #![feature(let_else)] at the start of the lib.rs files for the egui and atspi crates (located at the path mentioned by the aforementioned error messages) made the package compile successfully.

PS: blisp seems to be a dependency needed for the package to successfully flash, but not currently listed as a dependency for this package.

dreieck commented on 2023-07-25 17:49 (UTC)

Ahoj @mbromilow,

thanks for reporting.

I have now added options+=('!lto'), although I have no issues building it even when I force LTO with options+=('lto').

Regards!