Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878981 - dev-libs/libusb-1.0.26: checking for libudev.h... no, configure: error: udev support requested but libudev header not installed
Summary: dev-libs/libusb-1.0.26: checking for libudev.h... no, configure: error: udev ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-01 08:55 UTC by lekto
Modified: 2022-11-01 13:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,9.66 KB, text/x-log)
2022-11-01 08:55 UTC, lekto
Details
emerge --info (emerge.info,11.91 KB, text/plain)
2022-11-01 08:57 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
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.