Skip to content

Commit 3b99bf6

Browse files
committed
pin cross 0.2.5 image to lower glibc floor for Linux packages (fixes #1256)
1 parent ba053a8 commit 3b99bf6

2 files changed

Lines changed: 12 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ All Sniffnet releases with the relative changes are documented in this file.
2222
- Use a thread pool for reverse DNS lookups to avoid stalling hosts resolutions (fixes [#1257](https://github.com/GyulyVGC/sniffnet/issues/1257))
2323
- Fix unseen hosts and services not appearing dimmed in thumbnail mode (fixes [#1142](https://github.com/GyulyVGC/sniffnet/issues/1142))
2424
- Fix `X-AppImage-Version` field in Linux AppImage metadata to correctly reflect the app version ([#1174](https://github.com/GyulyVGC/sniffnet/pull/1174) — fixes [#1003](https://github.com/GyulyVGC/sniffnet/issues/1003))
25+
- Fix Linux packages failing to run on distros with `glibc` older than 2.39 (fixes [#1256](https://github.com/GyulyVGC/sniffnet/issues/1256))
2526

2627
## [1.5.0] - 2026-04-14
2728
- Show which apps and programs are generating network traffic ([#1056](https://github.com/GyulyVGC/sniffnet/pull/1056) — fixes [#170](https://github.com/GyulyVGC/sniffnet/issues/170))

Cross.toml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
11
[target.x86_64-unknown-linux-gnu]
2+
# pin the 0.2.5 image (glibc 2.23) to keep releases running on older distros (fixes #1256):
3+
# cross's `main` images moved to Ubuntu 24.04 (glibc 2.39)
4+
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:0.2.5"
25
pre-build = [
36
"dpkg --add-architecture amd64",
4-
"apt update -y && apt install -y libpcap-dev:amd64 libasound2-dev:amd64 libfontconfig1-dev:amd64",
5-
# aws-lc-sys's custom build script errors with this:
6-
# Your compiler (cc) is not supported due to a memcmp related bug reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189. We strongly recommend against using this compiler.
7-
"apt-get -y install gcc-10 && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60"
7+
"apt update -y && apt install -y libpcap0.8-dev:amd64 libasound2-dev:amd64 libfontconfig1-dev:amd64"
88
]
99

1010
[target.i686-unknown-linux-gnu]
11+
image = "ghcr.io/cross-rs/i686-unknown-linux-gnu:0.2.5"
1112
pre-build = [
1213
"dpkg --add-architecture i386",
13-
"apt update -y && apt install -y libpcap-dev:i386 libasound2-dev:i386 libfontconfig1-dev:i386",
14-
# aws-lc-sys's custom build script errors with this:
15-
# Your compiler (cc) is not supported due to a memcmp related bug reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189. We strongly recommend against using this compiler.
16-
"apt-get -y install gcc-10 && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60"
14+
"apt update -y && apt install -y libpcap0.8-dev:i386 libasound2-dev:i386 libfontconfig1-dev:i386"
1715
]
1816

1917
[target.aarch64-unknown-linux-gnu]
18+
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5"
2019
pre-build = [
2120
"dpkg --add-architecture arm64",
22-
"apt update -y && apt install -y libpcap-dev:arm64 libasound2-dev:arm64 libfontconfig1-dev:arm64",
23-
# aws-lc-sys's custom build script errors with this:
24-
# Your compiler (cc) is not supported due to a memcmp related bug reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189. We strongly recommend against using this compiler.
25-
"apt-get -y install gcc-10 && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60"
21+
"apt update -y && apt install -y libpcap0.8-dev:arm64 libasound2-dev:arm64 libfontconfig1-dev:arm64"
2622
]
2723

2824
[target.armv7-unknown-linux-gnueabihf]
25+
image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:0.2.5"
2926
pre-build = [
3027
"dpkg --add-architecture armhf",
31-
"apt update -y && apt install -y libpcap-dev:armhf libasound2-dev:armhf libfontconfig1-dev:armhf",
32-
# aws-lc-sys's custom build script errors with this:
33-
# Your compiler (cc) is not supported due to a memcmp related bug reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189. We strongly recommend against using this compiler.
34-
"apt-get -y install gcc-10 && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60"
35-
]
28+
"apt update -y && apt install -y libpcap0.8-dev:armhf libasound2-dev:armhf libfontconfig1-dev:armhf"
29+
]

0 commit comments

Comments
 (0)