Package Details: reth v1.6.0-2

Git Clone URL: https://aur.archlinux.org/reth.git (read-only, click to copy)
Package Base: reth
Description: A fast implementation of the Ethereum protocol in Rust
Upstream URL: https://github.com/paradigmxyz/reth
Keywords: blockchain ethereum
Licenses: MIT, Apache
Provides: reth
Submitter: onbjerg
Maintainer: onbjerg
Last Packager: onbjerg
Votes: 2
Popularity: 0.150862
First Submitted: 2023-07-06 10:34 (UTC)
Last Updated: 2025-07-22 16:24 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

Kewl commented on 2025-06-27 19:26 (UTC)

Awesome, thanks @onbjerg it builds fine now.

onbjerg commented on 2025-06-27 12:08 (UTC)

I made the suggested update and updated to 1.5.0

Kewl commented on 2025-06-11 18:49 (UTC) (edited on 2025-06-15 09:54 (UTC) by Kewl)

If you agree on the below you could implement something like this in build() (not package() indeed)

build() {
    cd ${pkgname}
    export RUSTUP_TOOLCHAIN=stable
    export CARGO_TARGET_DIR=target
    export CFLAGS="${CFLAGS//-flto=auto/}"
    echo $CFLAGS

    cargo build --bin reth --frozen --profile maxperf --features jemalloc,asm-keccak
}

Kewl commented on 2025-06-10 09:40 (UTC) (edited on 2025-06-10 09:45 (UTC) by Kewl)

By default makepkg.conf has OPTIONS=lto https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/raw/main/makepkg.conf
this adds the config flag $LTOFLAGS that breaks the build.
Check, you probably don't have the default OPTIONS or have !lto which is not the Arch default.
Let me know if I missed something.

onbjerg commented on 2025-06-10 07:36 (UTC)

Kewl, can you expand a bit on what you mean? I can install this fine on my end, have you modified CFLAGS globally? Can you also confirm that you want the export in package() and not build()?

Kewl commented on 2025-05-28 12:02 (UTC) (edited on 2025-06-13 16:14 (UTC) by Kewl)

It does not build for me, the default flag flto=auto breaks the build.
Add export CFLAGS="${CFLAGS//-flto=auto/}" in package() build() to fix it.
Happy to co-maintain it if you're busy (I've sent you an e-mail).

onbjerg commented on 2024-07-15 12:28 (UTC)

I've enabled the asm-keccak feature. I've also updated to 1.0.1, sorry about the delay to the person who flagged the package out of date, I was OOO.

miki commented on 2024-06-27 13:09 (UTC) (edited on 2024-06-27 13:11 (UTC) by miki)

Can you please add the asm-keccak feature, as in the maxperf Makefile rule here?

--features jemalloc,asm-keccak

instead of the current:

--features jemalloc