Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673434 - net-libs/loudmouth-1.5.3-r2 : lm-dummy.c:82:5: error: g_type_class_add_private is deprecated [-Werror=deprecated-declarations]
Summary: net-libs/loudmouth-1.5.3-r2 : lm-dummy.c:82:5: error: g_type_class_add_privat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andriy Utkin (RETIRED)
URL:
Whiteboard:
Keywords:
: 678166 784464 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-12-19 14:34 UTC by Toralf Förster
Modified: 2021-11-16 16:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.11 KB, text/plain)
2018-12-19 14:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,63.19 KB, text/plain)
2018-12-19 14:34 UTC, Toralf Förster
Details
environment (environment,57.19 KB, text/plain)
2018-12-19 14:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.41 KB, application/x-bzip)
2018-12-19 14:34 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.24 KB, application/x-bzip)
2018-12-19 14:34 UTC, Toralf Förster
Details
net-libs:loudmouth-1.5.3-r2:20181219-082523.log (net-libs:loudmouth-1.5.3-r2:20181219-082523.log,16.28 KB, text/plain)
2018-12-19 14:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.37 KB, application/x-bzip)
2018-12-19 14:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-12-19 14:34:01 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLM_COMPILATION -DRUNTIME_ENDIAN -O2 -pipe -march=native -Wall -Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Werror -c lm-dummy.c  -fPIC -DPIC -o .libs/lm-dummy.o
lm-dummy.c: In function ‘lm_dummy_class_init’:
lm-dummy.c:82:5: error: ‘g_type_class_add_private’ is deprecated [-Werror=deprecated-declarations]
     g_type_class_add_private (object_class, sizeof (LmDummyPriv));
     ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_libressl-test_20181218-071658

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby24 (with Rubygems)
  [3]   ruby25 (with Rubygems) *




emerge -qpvO net-libs/loudmouth
[ebuild  N    ] net-libs/loudmouth-1.5.3-r2  USE="ssl -asyncns -openssl -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2018-12-19 14:34:03 UTC
Created attachment 558146 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-12-19 14:34:06 UTC
Created attachment 558148 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-12-19 14:34:09 UTC
Created attachment 558150 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-12-19 14:34:12 UTC
Created attachment 558152 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-12-19 14:34:14 UTC
Created attachment 558154 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-12-19 14:34:17 UTC
Created attachment 558156 [details]
net-libs:loudmouth-1.5.3-r2:20181219-082523.log
Comment 7 Toralf Förster gentoo-dev 2018-12-19 14:34:20 UTC
Created attachment 558158 [details]
temp.tbz2
Comment 8 Andriy Utkin (RETIRED) gentoo-dev 2019-01-28 01:41:15 UTC
Thanks for reporting this.
Terribly sorry for delay.
I have drafted a change which should fix the problem.
I'd like a review by leio, then I'll merge it: https://github.com/gentoo/gentoo/pull/10922 .
Comment 9 Larry the Git Cow gentoo-dev 2019-01-31 10:39:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d3a3eaa176e4222d46b58e1844514fddfce6dc

commit 60d3a3eaa176e4222d46b58e1844514fddfce6dc
Author:     Andrey Utkin <andrey_utkin@gentoo.org>
AuthorDate: 2019-01-28 01:18:25 +0000
Commit:     Andrey Utkin <andrey_utkin@gentoo.org>
CommitDate: 2019-01-31 10:38:37 +0000

    net-libs/loudmouth: use official tarballs
    
    Previously, Github-generated tarballs were used.
    
    These required extra build step known as "bootstrapping", which required
    eautoreconf run, and imposed a dependency on dev-util/gtk-doc (which I
    worked around earlier rather inelegantly).
    
    At the same time, this change has a side effect of disabling -Werror in
    compilation flags, which is the reason of bug 673434.
    
    Suggested-by: Mart Raudsepp <leio@gentoo.org>
    Bug: https://bugs.gentoo.org/673434
    Package-Manager: Portage-2.3.49, Repoman-2.3.12
    Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org>

 net-libs/loudmouth/Manifest                  |  1 +
 net-libs/loudmouth/loudmouth-1.5.3-r3.ebuild | 12 +++---------
 2 files changed, 4 insertions(+), 9 deletions(-)
Comment 10 Andriy Utkin (RETIRED) gentoo-dev 2019-01-31 10:40:32 UTC
Thanks for reporting, Toralf!
Comment 11 Andriy Utkin (RETIRED) gentoo-dev 2019-02-17 09:14:04 UTC
*** Bug 678166 has been marked as a duplicate of this bug. ***
Comment 12 Andriy Utkin (RETIRED) gentoo-dev 2021-11-16 16:37:47 UTC
*** Bug 784464 has been marked as a duplicate of this bug. ***