Skip to content

Commit 42cb398

Browse files
committed
use older cross image to build linux packages (fixes #1256)
1 parent ba053a8 commit 42cb398

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ jobs:
103103

104104
- name: Build binary (Linux)
105105
if: matrix.os == 'ubuntu'
106+
env:
107+
CROSS_NO_WARNINGS: "0"
106108
run: cross build --release --target ${{ matrix.target }}
107109

108110
- name: Build binary (macOS/Windows)

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All Sniffnet releases with the relative changes are documented in this file.
44

5-
## [1.5.1] - 2026-07-20
5+
## [1.5.1] - 2026-07-21
66
- Show latency of connections ([#1194](https://github.com/GyulyVGC/sniffnet/pull/1194) — fixes [#845](https://github.com/GyulyVGC/sniffnet/issues/845))
77
- Added Hungarian translation 🇭🇺 ([#1197](https://github.com/GyulyVGC/sniffnet/pull/1197))
88
- Added Sinhala translation 🇱🇰 ([#1239](https://github.com/GyulyVGC/sniffnet/pull/1239))
@@ -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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
[target.x86_64-unknown-linux-gnu]
2+
# pin the 0.2.5 image (Ubuntu 16.04, glibc 2.23) so releases keep running on older
3+
# distros: 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",
47
"apt update -y && apt install -y libpcap-dev:amd64 libasound2-dev:amd64 libfontconfig1-dev:amd64",
@@ -8,6 +11,7 @@ pre-build = [
811
]
912

1013
[target.i686-unknown-linux-gnu]
14+
image = "ghcr.io/cross-rs/i686-unknown-linux-gnu:0.2.5"
1115
pre-build = [
1216
"dpkg --add-architecture i386",
1317
"apt update -y && apt install -y libpcap-dev:i386 libasound2-dev:i386 libfontconfig1-dev:i386",
@@ -17,6 +21,7 @@ pre-build = [
1721
]
1822

1923
[target.aarch64-unknown-linux-gnu]
24+
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5"
2025
pre-build = [
2126
"dpkg --add-architecture arm64",
2227
"apt update -y && apt install -y libpcap-dev:arm64 libasound2-dev:arm64 libfontconfig1-dev:arm64",
@@ -26,6 +31,7 @@ pre-build = [
2631
]
2732

2833
[target.armv7-unknown-linux-gnueabihf]
34+
image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:0.2.5"
2935
pre-build = [
3036
"dpkg --add-architecture armhf",
3137
"apt update -y && apt install -y libpcap-dev:armhf libasound2-dev:armhf libfontconfig1-dev:armhf",

0 commit comments

Comments
 (0)