Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669606 - net-p2p/gtk-gnutella-1.1.14 : stats.c:53:8: error: redefinition of struct statx
Summary: net-p2p/gtk-gnutella-1.1.14 : stats.c:53:8: error: redefinition of struct statx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL: https://sourceforge.net/p/gtk-gnutell...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: glibc-2.28 glibc-2.28-stable
  Show dependency tree
 
Reported: 2018-10-25 17:14 UTC by Toralf Förster
Modified: 2019-01-27 07:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.67 KB, text/plain)
2018-10-25 17:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,184.98 KB, text/plain)
2018-10-25 17:14 UTC, Toralf Förster
Details
environment (environment,24.52 KB, text/plain)
2018-10-25 17:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.05 KB, application/x-bzip)
2018-10-25 17:14 UTC, Toralf Förster
Details
net-p2p:gtk-gnutella-1.1.14:20181025-025833.log (net-p2p:gtk-gnutella-1.1.14:20181025-025833.log,182.10 KB, text/plain)
2018-10-25 17:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.27 KB, application/x-bzip)
2018-10-25 17:14 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-10-25 17:14:12 UTC
/bin/rm -f stats.o
cc -c -I../.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DCURDIR=src/lib   -pthread -momit-leaf-frame-pointer -W -Wall -Wformat=2 -Wshadow -O2 -pipe -march=native  stats.c
stats.c:53:8: error: redefinition of ‘struct statx’
 struct statx {
        ^~~~~
In file included from /usr/include/sys/stat.h:446,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl-test_20181021-101929

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

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

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.9.0 [icedtea-8]
2)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   icedtea-bin-8 

emerge -qpvO net-p2p/gtk-gnutella
[ebuild  N    ] net-p2p/gtk-gnutella-1.1.14  USE="dbus gtk nls ssl"
Comment 1 Toralf Förster gentoo-dev 2018-10-25 17:14:15 UTC
Created attachment 552964 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-25 17:14:18 UTC
Created attachment 552966 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-25 17:14:20 UTC
Created attachment 552968 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-25 17:14:23 UTC
Created attachment 552970 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-25 17:14:26 UTC
Created attachment 552972 [details]
net-p2p:gtk-gnutella-1.1.14:20181025-025833.log
Comment 6 Toralf Förster gentoo-dev 2018-10-25 17:14:29 UTC
Created attachment 552974 [details]
temp.tbz2
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2019-01-26 01:34:08 UTC
# Andreas K. Hüttel <dilfridge@gentoo.org> (26 Jan 2019)
# Fails to build with glibc-2.28, bug 669606. Removal in
# 30 days (unless fixed).
net-p2p/gtk-gnutella
Comment 8 Larry the Git Cow gentoo-dev 2019-01-27 07:49:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7473325883667c2f6021c2c583dbb990c8ec29ec

commit 7473325883667c2f6021c2c583dbb990c8ec29ec
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2019-01-27 07:47:45 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2019-01-27 07:47:45 +0000

    net-p2p/gtk-gnutella: fix compilation with glibc 2.28
    
    Fixes: https://bugs.gentoo.org/669606
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../files/gtk-gnutella-1.1.14-statx.patch          | 38 ++++++++++++++++++++++
 net-p2p/gtk-gnutella/gtk-gnutella-1.1.13.ebuild    |  4 ++-
 net-p2p/gtk-gnutella/gtk-gnutella-1.1.14.ebuild    |  8 +++--
 3 files changed, 46 insertions(+), 4 deletions(-)