FS#79662 - [influxdb] does not build

Attached to Project: Arch Linux
Opened by Robin Candau (Antiz) - Monday, 11 September 2023, 21:37 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


influxdb PKGBUILD fails with the following error (see full build log below)
error: could not compile `flux` (lib) due to 2 previous errors
Error installing library {"name": "flux", "error": "exit status 101"}
/build/influxdb/src/influxdb/scripts/pkg-config.sh: exit status 1
make: *** [GNUmakefile:84: bin/linux/influxd] Error 1
==> ERROR: A failure occurred in build().

Additional info:
* package version(s): 2.7.1-1
* build log file: https://bpa.st/4VOVQ

Steps to reproduce:
pkgctl repo clone influxdb
cd influxdb
pkgctl build

By the way, there's a pending ToDo for that package while we're at it :P (I discovered this issue while trying to proceed with the ToDo)
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:19 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/influxdb/issues/1
Comment by loqs (loqs) - Tuesday, 12 September 2023, 14:20 GMT
@Antiz Have you considered switching to rustup and using the 1.63.0 release as specified in [1]?
I have not reported the issue upstream as you discovered it first.
As bzr is not used during the build I removed it in the attached diff rather than replacing it with breezy.
PS cairo-dock, midori and deepin-api also no longer uses bzr/breezy.

[1] https://github.com/influxdata/flux/blob/v0.193.0/rust-toolchain.toml
Comment by loqs (loqs) - Wednesday, 13 September 2023, 15:38 GMT Comment by Robin Candau (Antiz) - Wednesday, 13 September 2023, 15:50 GMT
@loqs Thanks for linking the upstream issue. I left a comment there: https://github.com/influxdata/influxdb/issues/24367#issuecomment-1717885562

We'll see if we consider switching to rustup depending on the upstream response.
Comment by loqs (loqs) - Tuesday, 19 September 2023, 12:44 GMT
Two alternative solutions which do not involve switching to rustup:
1) Remove the shadowing import see PKGBUILD.diff.1
2) Stop warnings from being fatal for that file see PKGBUILD.diff.2