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

Bug 678166

Summary: net-libs/loudmouth-1.5.3-r1: build fails because of -Werror
Product: Gentoo Linux Reporter: Rolf Eike Beer <eike>
Component: Current packagesAssignee: Andriy Utkin (RETIRED) <andrey_utkin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=673434
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Rolf Eike Beer archtester 2019-02-16 17:23:07 UTC
Created attachment 565560 [details]
build.log

It generally fails because it uses functions from glib that are now deprecated:

lm-feature-ping.c: In function ‘lm_feature_ping_class_init’:
lm-feature-ping.c:107:5: error: ‘g_type_class_add_private’ is deprecated [-Werror=deprecated-declarations]
     g_type_class_add_private (object_class, sizeof (LmFeaturePingPriv));

And because I have -Wcast-align in my global CFLAGS it also fails.
Comment 1 Andriy Utkin (RETIRED) gentoo-dev 2019-02-17 09:14:04 UTC
My apologies!

This has been handled recently in 1.5.3-r2. For now, please use it, even though it is not stabilized yet.

*** This bug has been marked as a duplicate of bug 673434 ***