Skip to contentSkip to conversation

package/suricata: fix build

PATCH Applied Bernd Kuhls 2 participants 2 messages Apr 11 – May 30

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/suricata: fix build

Buildroot commit a3374e49baa45679997c37a25accaf1574132c4a bumped the package from 6.0.20 to 8.0.4.

Upstream included in version 8.0.1 a commit adding rustdoc as build dependency "required for the tests":
https://github.com/OISF/suricata/commit/6d74656befe20cd939de8a97bfe272efa112c90b

This causes an error during configure in buildroot:

checking for rustdoc... no
configure: error: rustdoc required

To fix we problem we add RUSTDOC=true to _CONV_ENV.

Fixes:
https://autobuild.buildroot.net/results/489/48984ab369d01fae9b53b7b1f51e874bada0619f/

---
 package/suricata/suricata.mk | 1 +
 1 file changed, 1 insertion(+)
package/suricata/suricata.mk +1 -0
index 0ee3752a21..56bbc0c89b 100644
@@ -30,6 +30,7 @@ SURICATA_DEPENDENCIES = \
 SURICATA_CONF_ENV = \
 	ac_cv_path_HAVE_SPHINXBUILD=no \
 	CARGO_HOME=$(BR_CARGO_HOME) \
+	RUSTDOC=true \
 	RUST_TARGET=$(RUSTC_TARGET_NAME)
 
 SURICATA_MAKE_ENV = \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 1 line · Bernd Kuhls

Buildroot commit a3374e49baa45679997c37a25accaf1574132c4a bumped the

I added "from 2026.05-rc1" here, so the LTS maintainers see right away it's
not for them.

Applied to master, thanks.

Regards,
Arnout

Quoted 26 lines

package from 6.0.20 to 8.0.4.

Upstream included in version 8.0.1 a commit adding rustdoc as build dependency "required for the tests":
https://github.com/OISF/suricata/commit/6d74656befe20cd939de8a97bfe272efa112c90b

This causes an error during configure in buildroot:

checking for rustdoc... no
configure: error: rustdoc required

To fix we problem we add RUSTDOC=true to _CONV_ENV.

Fixes:
https://autobuild.buildroot.net/results/489/48984ab369d01fae9b53b7b1f51e874bada0619f/

---
  package/suricata/suricata.mk | 1 +
  1 file changed, 1 insertion(+)
package/suricata/suricata.mk +0 -0
index 0ee3752a21..56bbc0c89b 100644

package/suricata/suricata.mk SURICATA_DEPENDENCIES = \ · line 36

Quoted 7 lines
package/suricata/suricata.mk +1 -0
@@ -30,6 +30,7 @@ SURICATA_DEPENDENCIES = \
  SURICATA_CONF_ENV = \
  	ac_cv_path_HAVE_SPHINXBUILD=no \
  	CARGO_HOME=$(BR_CARGO_HOME) \
+	RUSTDOC=true \
  	RUST_TARGET=$(RUSTC_TARGET_NAME)
 
  SURICATA_MAKE_ENV = \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot