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

Bug 637488

Summary: dev-util/valgrind-3.13.0 : [TEST] stack_changes.c:47:7: error: dereferencing pointer to incomplete type mycontext {aka struct ucontext}
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: wizardedit
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=387686
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:valgrind-3.13.0:20171114-091952.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2017-11-14 14:03:20 UTC
 extern int getcontext (ucontext_t *__ucp) __THROWNL;
            ^~~~~~~~~~
stack_changes.c:47:7: error: dereferencing pointer to incomplete type ‘mycontext {aka struct ucontext}’
     uc->uc_link = NULL;
       ^~
stack_changes.c: In function ‘main’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_libressl-abi32+64-test_20171110-233503

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-util/valgrind
[ebuild  N    ] dev-util/valgrind-3.13.0  USE="-mpi"
Comment 1 Toralf Förster gentoo-dev 2017-11-14 14:03:23 UTC
Created attachment 504184 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-14 14:03:26 UTC
Created attachment 504186 [details]
dev-util:valgrind-3.13.0:20171114-091952.log
Comment 3 Toralf Förster gentoo-dev 2017-11-14 14:03:29 UTC
Created attachment 504188 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-14 14:03:32 UTC
Created attachment 504190 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-14 14:03:35 UTC
Created attachment 504192 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-14 14:03:38 UTC
Created attachment 504194 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-14 14:03:42 UTC
Created attachment 504196 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-11-14 14:03:44 UTC
Created attachment 504198 [details]
tests.tbz2
Comment 9 Austin English (RETIRED) gentoo-dev 2017-12-07 00:44:07 UTC
I can reproduce on ~amd64, but not amd64. Haven't looked into what particular package it is yet.
Comment 10 Austin English (RETIRED) gentoo-dev 2017-12-07 19:55:45 UTC
(In reply to Austin English from comment #9)
> I can reproduce on ~amd64, but not amd64. Haven't looked into what
> particular package it is yet.

It's glibc:
-sys-libs/glibc-2.25-r9
+sys-libs/glibc-2.26-r3
Comment 11 Austin English (RETIRED) gentoo-dev 2017-12-07 20:21:06 UTC
Filed a bug with upstream:
https://bugs.kde.org/show_bug.cgi?id=387686
Comment 12 Austin English (RETIRED) gentoo-dev 2017-12-12 22:01:10 UTC
(In reply to Austin English from comment #11)
> Filed a bug with upstream:
> https://bugs.kde.org/show_bug.cgi?id=387686

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