| Summary: | net-libs/libssh2-1.2.8: autotools scripts don't set the VERSION correctly (breaks app-emulation/libvirt) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lars <laked> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | psomas |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Fix autotools version bug in configure.ac
Upstream patch to fix VERSION bug in autotools scripts revision bump ebuild with autotools scripts upstream patch included |
||
|
Description
Lars
2011-05-09 14:33:56 UTC
Anything noteworthy in that config.log ? Created attachment 272645 [details, diff]
Fix autotools version bug in configure.ac
I think there's a bug in autotools scripts(configure.ac), that doesn't set the version correctly, and thus the pkg-info installation file for libssh2 is wrong, and you get the build error when compiling libvirt.
Can you try the patch I attached?
btw, the autotools scripts are fixed (in a different way) in libssh2 git repo, just one day after the release :P And for a very quick workaround, you can just edit /usr/lib/pkgconfig/libssh2.pc and set the version correctly. Actually, upstream fix is more correct, as yours uses obsolete macro variant, even though the whole problem is caused by upstream doing odd things with $VERSION in the first place. Yeap, I know, but I posted a 'quickfix' patch (based on the working 1.2.7 release), before checking out the upstream repo. Anyway, someone from the netmon herd maintainers should propably do a revision bump, including any of the fixes proposed. Created attachment 272713 [details, diff]
Upstream patch to fix VERSION bug in autotools scripts
Created attachment 272715 [details]
revision bump ebuild with autotools scripts upstream patch included
Fixed in 1.2.8-r1. |