| Summary: | dev-util/pkgconf: fails when called with both --libs and --cflags (x11-libs/libdrm-2.4.39 econf failure) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nikolaj Šujskij <skrattaren> |
| Component: | New packages | Assignee: | Jeff (JD) Horelick (RETIRED) <jdhore> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | slashbeast, x11 |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
x11-libs/libdrm-2.4.39 config.log
Full x11-libs/libdrm-2.4.39 build.log |
||
|
Description
Nikolaj Šujskij
2012-09-02 19:29:34 UTC
Created attachment 322772 [details]
Full x11-libs/libdrm-2.4.39 build.log
This might be an incompatibility with pkgconf. Does 'pkg-config --modversion pthread-stubs' print the same error from command line ? Does that pkgconfig file exist ? (In reply to comment #2) > This might be an incompatibility with pkgconf. > Does 'pkg-config --modversion pthread-stubs' print the same error from > command line ? % pkg-config --modversion pthread-stubs 0.3 > Does that pkgconfig file exist ? Which file is "that"? :-) I am unable to reproduce this issue after installing pkgconf-0.8.5. Does # pkg-config --exists --print-errors "pthread-stubs" print any errors on your system? (In reply to comment #4) > I am unable to reproduce this issue after installing pkgconf-0.8.5. > > Does > # pkg-config --exists --print-errors "pthread-stubs" > print any errors on your system? Nope, no output and return code is 0. Probably it's not pkgconf-related. libdrm-2.4.39 configures fine. Maybe I could bisect git repository if anybody tells me how to clean up after `./autogen.sh`? Hm. Even for tag 2.4.37 running `autogen.sh` fails with the same error. Maybe it's newer autotools version producing broken `configure`? Here's something strange: Old versions runs `pkg-config --short-errors --print-errors "pthread-stubs"` New version adds `--libs` and `--cflags` parameters, both make pkgconf fail. Silently, with return code = 1. Not a libdrm issue then. Thanks Rebuilding offending packages with pkgconfig then switching back to pkgconf, looks like the same with x11-base/xorg-server-1.12.99.905: checking for DRI2PROTO... no configure: error: DRI2 requested, but dri2proto not found ...and media-libs/mesa-9_pre20120831: checking for GLPROTO... no configure: error: Package requirements (glproto >= 1.4.14) were not met since its pkgconf issue, is there any open bug for that here on gentoo's bugzilla or on pkgconf's issue tracker? Also the 'fix' would be switching back to pkg-config or maybe striping the --libs and --cflags? I just tested and adding sed 's#--libs##g; s#--cflags##g' configure -i to src_prepare function before 'xorg-2_src_prepare' does make it work. Since the pkgconf is default and it does not seems to break anything maybe it could be included in the ebuilds? Please try compling this package with dev-util/pkgconf-0.8.9. It should fix the issue. (In reply to comment #12) > Please try compling this package with dev-util/pkgconf-0.8.9. It should fix > the issue. Yep, it seems to be fixed, thanks! Both 2.3.39 and 2.3.40 has just been compiled fine, closing. |