Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 878981

Summary: dev-libs/libusb-1.0.26: checking for libudev.h... no, configure: error: udev support requested but libudev header not installed
Product: Gentoo Linux Reporter: lekto
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: riscv   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description lekto 2022-11-01 08:55:52 UTC
Created attachment 826269 [details]
build.log

Hi, I'm getting error during configure phase:
>checking for libudev.h... no
>configure: error: udev support requested but libudev header not installed
but /usr/include/libudev.h is present and qcheck systemd confirms it okay.
Comment 1 lekto 2022-11-01 08:57:23 UTC
Created attachment 826271 [details]
emerge --info
Comment 2 lekto 2022-11-01 12:34:22 UTC
Well, I tried to debug issue and it's gone.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-01 13:26:02 UTC
(In reply to lekto from comment #2)
> Well, I tried to debug issue and it's gone.

What was it?
Comment 4 lekto 2022-11-01 13:56:11 UTC
I have no clue, file /usr/include/libudev.h was in place (I assume this is the right file). I opened it with vim and it looked okay. Run equery b /usr/include/libudev.h, it showed this file belongs to systemd, run qcheck systemd and all files were good. I tried emerge it few times in row, but it was failing in same spot. It started working probably because I restarted machine. My machine probably has damaged SD card - I'm getting from time to time corrupted files, but badblocks shows nothing wrong with card and memtester shows nothing wrong with RAM. I reported it mostly because error was about configure not detecting file, despite it being uncorrupted in the right place.