[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [PATCH] Export the symbol osinfo_product_get_codename



Thanks for noticing this, I've now pushed your patch.

Christophe

On Mon, Aug 26, 2013 at 03:02:33PM +0200, Giuseppe Scrivano wrote:
> Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
> ---
> while playing with libosinfo from Python I got this error:
> 
> Traceback (most recent call last):
>   File "./demo2.py", line 16, in <module>
>     print os.get_codename()
>   File "/usr/lib/python2.7/site-packages/gi/types.py", line 113, in function
>     return info.invoke(*args, **kwargs)
> gi._glib.GError: Could not locate osinfo_product_get_codename: `osinfo_product_get_codename': /usr/local/lib/libosinfo-1.0.so.0: undefined symbol: osinfo_product_get_codename
> 
> the following patch fixes it.
> 
>  osinfo/libosinfo.syms | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/osinfo/libosinfo.syms b/osinfo/libosinfo.syms
> index bb5fc6f..c56ff1f 100644
> --- a/osinfo/libosinfo.syms
> +++ b/osinfo/libosinfo.syms
> @@ -419,6 +419,10 @@ LIBOSINFO_0.2.7 {
>  	osinfo_platform_get_all_devices;
>  } LIBOSINFO_0.2.6;
>  
> +LIBOSINFO_0.2.8 {
> +	osinfo_product_get_codename;
> +} LIBOSINFO_0.2.7;
> +
>  /* Symbols in next release...
>  
>    LIBOSINFO_0.0.2 {
> -- 
> 1.8.3.1
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list redhat com
> https://www.redhat.com/mailman/listinfo/virt-tools-list

Attachment: pgpU0eamNaveg.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]