Summary: | sys-apps/devicekit-disks can not find DEVICEMAPPER | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrice <pgenieys> |
Component: | New packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
config.log build.log environment pkg-config --list-all |
Description
Patrice
2010-06-03 17:04:19 UTC
Created attachment 234001 [details]
emerge --info
Created attachment 234003 [details]
config.log
Created attachment 234005 [details]
build.log
Created attachment 234007 [details]
environment
What does 'pkg-config devmapper --modversion' print, while run from command line ? What version of lvm2 you have installed ? Hi, This is what I have : pkg-config devmapper --modversion Package devmapper was not found in the pkg-config search path. Perhaps you should add the directory containing `devmapper.pc' to the PKG_CONFIG_PATH environment variable No package 'devmapper' found And : lvm2 2.02.56-r2 is installed. First check if /usr/lib/pkgconfig/devmapper.pc exists. If not, reemerge sys-fs/lvm2. If still not, attach its build log. However, if it does exist, it will mean, that something is wrong with either pkg-config or one of the files in /usr/lib/pkgconfig/. Hi, I have this : ls -la /usr/lib/pkgconfig/ total 24 drwxr-xr-x 2 root root 4096 4 juin 16:13 . drwxr-xr-x 25 patrice patrice 4096 26 mai 15:41 .. -r--r--r-- 1 root root 286 4 juin 16:12 devmapper-event.pc -r--r--r-- 1 root root 220 4 juin 16:12 devmapper.pc -rw-r--r-- 1 root root 235 27 mai 01:52 libgcj-4.4.3.pc lrwxrwxrwx 1 root root 15 27 mai 01:54 libgcj-4.4.pc -> libgcj-4.4.3.pc lrwxrwxrwx 1 root root 15 27 mai 01:54 libgcj.pc -> libgcj-4.4.3.pc -r--r--r-- 1 root root 226 4 juin 16:12 lvm2app.pc I reemerge sys-fs/lvm2, but no change with devicekit-disks' emerge. And here is devmapper.pc : prefix=/usr exec_prefix=${prefix} libdir=/usr/lib64 includedir=${prefix}/include Name: devmapper Description: device-mapper library Version: 1.02.40 Cflags: -I${includedir} Libs: -L${libdir} -ldevmapper Libs.private: OK, let's see: - does 'pkg-config --list-all' lists all of those ? - if you temporarily move those pc files from gcc, is devmapper reported correctly ? Created attachment 234125 [details]
pkg-config --list-all
Hi, here is the result of
pkg-config --list-all
I don't know how to read that, sorry ...
But, it seems that there are 2 problems with lapack.pc and blas.pc.
(In reply to comment #9) > OK, let's see: > - does 'pkg-config --list-all' lists all of those ? > - if you temporarily move those pc files from gcc, > is devmapper reported correctly ? > No, it's not reported correctly. Try fixing the problem with those two files first. I think I've seen a bug, where due to malformed pkgconfig file from one package, a different package was incorrectly reported, though I can't remember the number. You may need a sort of "bisect" - leave devmapper pc files, temporarily move half of the other files, '--list-all', see if all are listed, if they are, add half of remaining, if not, remove half of the added, repeat, till you find one, that breaks it (yeah, it will be a pain). Cause if that's not it, I've got no idea - this pc file, you've pasted, looks correct. gnome is in fdo alias (In reply to comment #13) > gnome is in fdo alias > What does it mean ? Sorry, I don't understand fdo ! FDO = FreeDesktop.org - in this particular case the team that deals with these bugs What Rémi meant was that the GNOME team doesn't need to get all notifications in this bug in duplicate as they already get all notifications sent to the freedesktop alias. (In reply to comment #13) > gnome is in fdo alias > Duly noted. Hi all, I managed it to work. There are devmapper.pc and devmapper-event.pc as well as lvm2app.pc in /usr/lib/pkgconfig But, there are missing in /usr/lib64/pkgconfig I don't know why. I create a symlink : ln -s /usr/lib/pkgconfig/devmapper* /usr/lib64/pkgconfig/ (the same for lvm2app.pc) And devicekit-disks emerge normally, as well as the entire Gnome packages. Don't think it's a bug finally ... Sorry for the inconvenience, and thanks a lot for your help. This could very well be a problem of a package installing a bad .pc file that makes --list-all fail (that also makes the macro fail) as said in comment #7. Symlinking probably made the relevant .pc files appear earlier in the list which allowed configure to run successfully, however, you probably have other packages that won't work. Can you still reproduce the problem ? Can you find a package that has a .pc file that is not listed in pkg-config --list-all output ? (In reply to comment #17) > Hi all, > I managed it to work. > There are devmapper.pc and devmapper-event.pc as well as lvm2app.pc in > /usr/lib/pkgconfig > But, there are missing in > /usr/lib64/pkgconfig > I don't know why. > I create a symlink : > ln -s /usr/lib/pkgconfig/devmapper* /usr/lib64/pkgconfig/ > (the same for lvm2app.pc) > And devicekit-disks emerge normally, as well as the entire Gnome > packages. That doesn't make much sense because /usr/lib should be a symlink to /usr/lib64 in amd64 multilib system: $ ls -ld /usr/lib lrwxrwxrwx 1 root root 5 Apr 27 2009 /usr/lib -> lib64 Futhermore, lvm2-2.02.72 seems to install the pkg-config file in correct directory lib64. $ qfile -v devmapper.pc sys-fs/lvm2-2.02.72 (/usr/lib64/pkgconfig/devmapper.pc) So I don't see how that symlinking would have made any difference... Close this bug as WORKSFORME perhaps? given that issue seems limited to one person, I guess so. @Patrice, if you still want to dig up the issue, please answer questions in comment #18 and reopen the bug if you can reproduce the problem. Thanks. (In reply to comment #20) Hi, As I said in my last message, I don't think it's a bug. It must be a problem with my conf (I had few problems before with libs as it seems that for me, /usr/lib is not linked to /usr/lib64. Don't ask me why, I don't know.). By the way, thanks to everyone for helping me. I guess I am the only one with this issue, and sorry for that. Thus, bug can be close (I just don't know how to do it). Thanks to all. |