Skip to content

Build steps on Ubuntu 26.04 build a deb with version 0.0.0 #76

@medcament

Description

@medcament

Describe the bug

Naively following the prereq and build steps on an x64 Ubuntu 26.04 (in WSL2) builds a package with version 0.0.0, which is a problem since sysmon wants 1.6.0 or later

Steps to reproduce
git clone https://github.com/Microsoft/SysinternalsEBPF.git
cd SysinternalsEBPF
mkdir build
cd build
cmake ..
make
make deb
ls deb/*.deb
deb/sysinternalsebpf_0.0.0_amd64.deb

Sysmon version
Built from source 20260602 (1.7.0)

Distro/kernel version
Ubuntu 26.04
6.6.114.1-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC

Logs
N/A

Expected behavior
Dynamic inference of the version number by the package build

Quick workaround
(in build dir)
sed -i -e 's/0.0.0/1.7.0/g' CMakeFiles/deb.dir/build.make
make deb

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions