summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-16 08:45:21 -0500
committerCrucible <crucible@localhost>2026-10-16 08:45:21 -0500
commit87b9736ba7de67af93422650f0039c7c5d964ab2 (patch)
treed3aaf7f0241af9a260ed685cb65ea1bd05e6374f /dev-db
parentddd33649d7beee53470fb432decfab20ca94bc70 (diff)
downloadsrcux-87b9736ba7de67af93422650f0039c7c5d964ab2.tar.gz
srcux-87b9736ba7de67af93422650f0039c7c5d964ab2.tar.xz
srcux-87b9736ba7de67af93422650f0039c7c5d964ab2.zip
Publish srcux candidate 0000000720-20261016-084129
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/influxdb/files/influxdb-2.7.10-flux-no-deny-warnings.patch23
-rw-r--r--dev-db/influxdb/influxdb-2.7.10-r1.ebuild8
-rw-r--r--dev-db/influxdb/influxdb-2.7.11.ebuild8
3 files changed, 33 insertions, 6 deletions
diff --git a/dev-db/influxdb/files/influxdb-2.7.10-flux-no-deny-warnings.patch b/dev-db/influxdb/files/influxdb-2.7.10-flux-no-deny-warnings.patch
new file mode 100644
index 000000000000..02e181b213d6
--- /dev/null
+++ b/dev-db/influxdb/files/influxdb-2.7.10-flux-no-deny-warnings.patch
@@ -0,0 +1,23 @@
+Don't turn all warnings into errors with the default "strict" feature,
+every new Rust release adds lints that break the build.
+
+Bug: https://bugs.gentoo.org/961269
+Upstream fixed the current warnings in:
+https://github.com/influxdata/flux/pull/5560
+https://github.com/influxdata/flux/pull/5568
+https://github.com/influxdata/flux/pull/5585
+
+--- a/libflux/flux/src/lib.rs
++++ b/libflux/flux/src/lib.rs
+@@ -1,4 +1,3 @@
+-#![cfg_attr(feature = "strict", deny(warnings, missing_docs))]
+
+ //! This module provides the public facing API for Flux's Go runtime, including formatting,
+ //! parsing, and standard library analysis.
+--- a/libflux/flux-core/src/lib.rs
++++ b/libflux/flux-core/src/lib.rs
+@@ -1,4 +1,3 @@
+-#![cfg_attr(feature = "strict", deny(warnings, missing_docs))]
+ #![allow(
+ clippy::needless_update, //
+ clippy::identity_op, // Warns on `1 * YEARS` which seems clearer than `YEARS`
diff --git a/dev-db/influxdb/influxdb-2.7.10-r1.ebuild b/dev-db/influxdb/influxdb-2.7.10-r1.ebuild
index d3b52ab1c291..e265bf320abe 100644
--- a/dev-db/influxdb/influxdb-2.7.10-r1.ebuild
+++ b/dev-db/influxdb/influxdb-2.7.10-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -189,8 +189,6 @@ CRATES="
yansi@0.5.1
"
-# bug #961269
-RUST_MAX_VER=1.88.0
inherit cargo go-module systemd
DESCRIPTION="Scalable datastore for metrics, events, and real-time analytics"
@@ -229,6 +227,10 @@ src_prepare() {
data_dir="${S}/static/data"
mkdir "${data_dir}" || die
mv "${WORKDIR}/build" "${data_dir}" || die
+
+ pushd "${WORKDIR}/go-mod/github.com/influxdata/flux@v${FLUX_PV}" >/dev/null || die
+ eapply "${FILESDIR}"/${PN}-2.7.10-flux-no-deny-warnings.patch
+ popd >/dev/null || die
}
src_compile() {
diff --git a/dev-db/influxdb/influxdb-2.7.11.ebuild b/dev-db/influxdb/influxdb-2.7.11.ebuild
index fe8330a773fb..591be4024d37 100644
--- a/dev-db/influxdb/influxdb-2.7.11.ebuild
+++ b/dev-db/influxdb/influxdb-2.7.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -189,8 +189,6 @@ CRATES="
yansi@0.5.1
"
-# bug #961269
-RUST_MAX_VER=1.88.0
inherit cargo go-module systemd
DESCRIPTION="Scalable datastore for metrics, events, and real-time analytics"
@@ -231,6 +229,10 @@ src_prepare() {
data_dir="${S}/static/data"
mkdir "${data_dir}" || die
mv "${WORKDIR}/build" "${data_dir}" || die
+
+ pushd "${WORKDIR}/go-mod/github.com/influxdata/flux@v${FLUX_PV}" >/dev/null || die
+ eapply "${FILESDIR}"/${PN}-2.7.10-flux-no-deny-warnings.patch
+ popd >/dev/null || die
}
src_compile() {