Project

General

Profile

Actions

Bug #5844

closed

rust: build failure due to Flate2 indirect dependency

Added by Juliana Fajardini Reichow about 1 year ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

Dependency miniz_oxide breaks Debian 9, Ubuntu 22.04...
This is an indirect dependency through flate2
Flate2 official MSRV is 1.63
miniz_oxide-0.6.2 should work
But flate2 specifies 0.6.*

suricata v7.0.0-rc1
├── flate2 v1.0.25
│   ├── crc32fast v1.3.2
│   │   └── cfg-if v1.0.0
│   └── miniz_oxide v0.6.4
│       └── adler v1.0.2

Workaround:

diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in
index 011e8bb744..7d51ba9075 100644
--- a/rust/Cargo.toml.in
+++ b/rust/Cargo.toml.in
@@ -34,6 +34,7 @@ num-derive = "~0.2.5" 
 num-traits = "~0.2.14" 
 widestring = "~0.4.3" 
 flate2 = "~1.0.19" 
+miniz_oxide = "=0.6.2" 
 brotli = "~3.3.0" 
 hkdf = "~0.12.3" 
 aes = "~0.6.0" 

Actions #1

Updated by Victor Julien about 1 year ago

flate2 MSRV of 1.63 is too high for us.

Actions #2

Updated by Juliana Fajardini Reichow about 1 year ago

  • Description updated (diff)
Actions #3

Updated by Juliana Fajardini Reichow about 1 year ago

  • Status changed from New to Resolved

Fixed upstream. (by Jason?)

Actions #4

Updated by Victor Julien about 2 months ago

  • Status changed from Resolved to Closed
  • Assignee deleted (OISF Dev)
  • Target version deleted (TBD)
Actions

Also available in: Atom PDF