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

Bug 806947

Summary: net-p2p/gtk-gnutella-1.2.1 - thread.c: error: missing binary operator before token (
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=833203
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 803482    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
net-p2p:gtk-gnutella-1.2.1:20210807-025355.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-08-07 08:46:56 UTC
                 from thread.c:72:
thread.c: In function ‘thread_launch’:
thread.c:9741:5: error: missing binary operator before token "("
 9741 | #if PTHREAD_STACK_MIN != 0
      |     ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:46: thread.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-p2p/gtk-gnutella-1.2.1/work/gtk-gnutella-1.2.1/src/lib'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-j3-20210804-092307

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 63171a5baeae0b42af3e0215318a588d6927007d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 7 01:38:38 2021 +0000

    2021-08-07 01:38:36 UTC

emerge -qpvO net-p2p/gtk-gnutella
[ebuild  N    ] net-p2p/gtk-gnutella-1.2.1  USE="dbus gtk nls ssl"
Comment 1 Toralf Förster gentoo-dev 2021-08-07 08:46:57 UTC
Created attachment 730981 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-07 08:46:59 UTC
Created attachment 730984 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-07 08:47:00 UTC
Created attachment 730987 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-07 08:47:01 UTC
Created attachment 730990 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-07 08:47:03 UTC
Created attachment 730993 [details]
net-p2p:gtk-gnutella-1.2.1:20210807-025355.log
Comment 6 Toralf Förster gentoo-dev 2021-08-07 08:47:04 UTC
Created attachment 730996 [details]
temp.tar.bz2
Comment 7 Hans de Graaff gentoo-dev Security 2021-08-07 09:10:48 UTC
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
  PTHREAD_STACK_MIN is no longer constant and is redefined to
  sysconf(_SC_THREAD_STACK_MIN).  This supports dynamic sized register
  sets for modern architectural features like Arm SVE.
Comment 8 Larry the Git Cow gentoo-dev 2021-08-09 15:40:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae091b04171c3f9b2344db263765a1b7f1360d8

commit 0ae091b04171c3f9b2344db263765a1b7f1360d8
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2021-08-09 15:40:44 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2021-08-09 15:40:44 +0000

    net-p2p/gtk-gnutella: fix compilation with glibc 2.34
    
    Closes: https://bugs.gentoo.org/806947
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 .../files/gtk-gnutella-1.2.1-glibc234.patch        | 53 +++++++++++++
 net-p2p/gtk-gnutella/gtk-gnutella-1.2.1-r1.ebuild  | 91 ++++++++++++++++++++++
 2 files changed, 144 insertions(+)