Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21191 - [udev] wrong cflags in .pc file

Attached to Project: Arch Linux
Opened by Lucas De Marchi (lucasdemarchi) - Monday, 11 October 2010, 12:55 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 24 November 2010, 15:09 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

pkg-config --cflags libudev returns /include which is obviously wrong. It turned out to be because of the --prefix="" that is being used in udev configure stage. Changing it to './configure --sysconfdir=/etc --libexecdir=/lib/udev --sbindir=/sbin' should suffice.

I found this problem while modifying this package to play nice with systemd. You can see some work on this at http://github.com/lucasdemarchi/arch-overlay/tree/master/udev/


Additional info:
* package version(s): 162

Steps to reproduce:
pkg-config --cflags libudev will return /include
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 24 November 2010, 15:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  udev-164-1
Comment by Tom Gundersen (tomegun) - Monday, 22 November 2010, 12:55 GMT
Any chance of having this fixed for the update to udev 164? I'm seeing the same problem as Lucas, don't think it matters much, but it would be nice to get rid of the warnings from all my compilations.
Comment by Lucas De Marchi (lucasdemarchi) - Monday, 22 November 2010, 13:20 GMT
I'm letting the patch here for easier integration.

Loading...