Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 498080

Summary: app-emulation/libguestfs-1.24.0: fails compilation with <app-admin/augeas-1.0.0
Product: Gentoo Linux Reporter: Stanislav Ochotnicky (RETIRED) <sochotnicky>
Component: [OLD] LibraryAssignee: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Status: RESOLVED FIXED    
Severity: normal CC: maksbotan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Update libguestfs to depend on >=augeas-1.0.0

Description Stanislav Ochotnicky (RETIRED) gentoo-dev 2014-01-14 17:33:47 UTC
configure.ac has following check:
PKG_CHECK_MODULES([AUGEAS],[augeas >= 1.0.0])

With older augeas versions the check fails resulting in failing builds. 

If needed I can include build logs but it should be pretty easy to verify. I haven't checked older libguesfs versions but it's possible the change was done earlier so they might be affected.
Comment 1 Palmer Dabbelt 2014-01-17 18:38:40 UTC
Here's the build log that I get as output

checking for append_history... yes
checking for completion_matches... yes
checking for rl_completion_matches... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PCRE... yes
checking for AUGEAS... no
configure: error: Package requirements (augeas >= 1.0.0) were not met:

Requested 'augeas >= 1.0.0' but version of augeas is 0.10.0

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Comment 2 Palmer Dabbelt 2014-01-17 18:39:55 UTC
Created attachment 368030 [details, diff]
Update libguestfs to depend on >=augeas-1.0.0

A patch to libguestfs-1.24.0 to make it depend on >=augeas-1.0.0.  This appears to work on my machine, but I can't fully test it until I get my overlay key updated...
Comment 3 Maxim Koltsov (RETIRED) gentoo-dev 2014-01-20 17:23:02 UTC
Fixed, thanks.