Package Details: pineflash-git 0.5.5.r307.20240414.a823625-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: 1
Popularity: 0.005354
First Submitted: 2022-12-15 12:03 (UTC)
Last Updated: 2024-05-27 22:36 (UTC)

Latest Comments

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!

mbromilow commented on 2023-06-17 00:15 (UTC) (edited on 2023-06-25 16:45 (UTC) by mbromilow)

I had to add options=(!lto) to get this to build (in a clean chroot) otherwise there were linking errors and the build failed. Seems to be due to the ring library, see https://github.com/briansmith/ring/issues/1603. Might be worth adding to the PKGBUILD seeing as others have reported the same issue with it?

Edit: I linked the wrong issue, should be https://github.com/briansmith/ring/issues/1444

dreieck commented on 2023-05-05 07:39 (UTC)

A note to @hikarutilmitt:

ndk checksum fails if you don't have it installed as a dependency: error: failed to verify the checksum of `ndk-sys` v0.4.0 is given but install the package cargo-ndk resolved it and the package compiles.

This error then also happend for me if I had cargo-ndk installed.

The workaround seems to be to do a cargo fetch twice, about the issue and the workaround something is said ↗ here.

dreieck commented on 2023-05-02 14:51 (UTC)

Ahoj,

thanks for the comments, @hikarutilmitt.

I gave the PKGBUILD some general overhaul.

Regards!

hikarutilmitt commented on 2023-04-27 17:01 (UTC)

Couple of comments for this: The PKGBUILD links to https://github.com/Laar3/PineFlash but this redirects to https://github.com/Spagett1/PineFlash

The branch is set in the PKGBUILD to "main" but should be "master" as this is the label for the repo, and as such "main will give the error fatal: invalid reference: origin/main

ndk checksum fails if you don't have it installed as a dependency: error: failed to verify the checksum of ndk-sys v0.4.0 is given but install the package cargo-ndk resolved it and the package compiles.

The build also doesn't seem to create a Pineflash.Desktop file, but commenting out that line completes the installation process once built.