Add udev debugging and systemd-dev package
Some checks failed
Build libfuse / Build and Test (push) Failing after 1m29s

- Add systemd-dev package which should provide udev.pc
- Add comprehensive debugging for udev installation
- Check for udev.pc files in /usr
- Verify pkg-config paths and PKG_CONFIG_PATH
- Test udev detection with pkg-config
- List all available udev packages

This will help diagnose why meson cannot find the udev dependency
despite libudev-dev being installed. The issue might be that
udev.pc is provided by systemd-dev package instead of libudev-dev.
This commit is contained in:
robojerk 2025-09-07 17:40:14 -07:00
parent 0b5ba9557e
commit 35cd2e8f61

View file

@ -86,7 +86,22 @@ jobs:
dpkg-dev \
signify-openbsd \
python3-pytest \
libudev-dev
libudev-dev \
systemd-dev
# Debug udev installation
echo "=== Debugging udev installation ==="
echo "Checking for udev.pc files:"
find /usr -name "udev.pc" 2>/dev/null || echo "No udev.pc found"
echo "Checking pkg-config path:"
pkg-config --variable pc_path pkg-config
echo "Checking PKG_CONFIG_PATH:"
echo $PKG_CONFIG_PATH
echo "Testing udev with pkg-config:"
pkg-config --exists udev && echo "udev found" || echo "udev NOT found"
echo "Available udev packages:"
pkg-config --list-all | grep udev || echo "No udev packages found"
echo "=== End udev debug ==="
# Download libfuse source
wget https://github.com/libfuse/libfuse/releases/download/fuse-3.10.0/fuse-3.10.0.tar.xz