Package Details: cfddns 1.6.2-2

Git Clone URL: https://aur.archlinux.org/cfddns.git (read-only, click to copy)
Package Base: cfddns
Description: Yet another DDNS client for Cloudflare
Upstream URL: https://github.com/uetchy/cfddns
Keywords: cloudflare ddns
Licenses: MIT
Submitter: uec
Maintainer: uec
Last Packager: uec
Votes: 3
Popularity: 0.000000
First Submitted: 2020-12-30 11:36 (UTC)
Last Updated: 2022-10-05 05:17 (UTC)

Dependencies (5)

Required by (0)

Sources (3)

Latest Comments

YHNdnzj commented on 2022-10-19 03:41 (UTC)

It seems to be incompatible with lto. Would you mind setting options=('!lto') in PKGBUILD to force disabling it before coming up with a proper fix?

YHNdnzj commented on 2022-10-15 04:34 (UTC)

1.6.2-2 fails to build for me. Logs at https://p.yhn.sh/cfddns.txt

wooptoo commented on 2022-10-05 09:48 (UTC)

Thanks, this now compiles cleanly on ARMv7.

uec commented on 2022-10-04 09:11 (UTC)

@wooptoo Awesome. I'll later push the fixes to AUR so that future ARMv7 users don't have to hassle with it.

wooptoo commented on 2022-10-04 08:51 (UTC)

Thanks, that worked

uec commented on 2022-10-04 08:12 (UTC)

@wooptoo As your log suggested, try installing pkg-config and openssl (pacman -Sy pkgconf openssl)

wooptoo commented on 2022-10-04 08:04 (UTC)

ues: Thanks for the quick reply. I made the changes as you instructed, and it worked up until a point in the build process:

https://gist.githubusercontent.com/radupotop/44a25194c06ab0c7291397eb11ba57ff/raw/586029c18bbd293b487c583e0a8b7d58da9debac/openssl-error.log

uec commented on 2022-10-04 05:42 (UTC) (edited on 2022-10-04 06:02 (UTC) by uec)

@wooptoo

Hmm it smells like this part in PKGBUILD is the culprit:

cargo fetch --locked --target "$CARCH-unknown-linux-gnu"

I'm guessing your platform is "armv7-unknown-linux-gnueabihf". To verify this, can you provide the output from rustc -Vv | grep host | cut -f2 -d' '?

Also you can try cloning https://aur.archlinux.org/cfddns.git and replacing --target "$CARCH-unknown-linux-gnu" in PKGBUILD with --target "<output from the command above>" and run makepkg -si to see if things go well.

wooptoo commented on 2022-10-03 22:47 (UTC)

This package does not build on Arch ARMv7h (Odroid C1+ machine)

==> Extracting sources...
  -> Extracting cfddns-1.6.2.tar.gz with bsdtar
==> Starting prepare()...
    Updating crates.io index
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names --target armv7h-unknown-linux-gnu --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit status: 1)
  --- stderr
  error: Error loading target specification: Could not find specification for target "armv7h-unknown-linux-gnu". Run `rustc --print target-list` for a list of built-in targets

==> ERROR: A failure occurred in prepare().
    Aborting...