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

Bug 651740

Summary: net-misc/openssh[debug]: In file included from sandbox-seccomp-filter.c:38: /usr/include/bits/types/sigval_t.h:5:7: error: redefinition of ‘union sigval’
Product: Gentoo Linux Reporter: Constantin Runge <c.runge>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: jiri.pittner, necktwi, robbat2, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
17.0-desktop_20180517-151520.log

Description Constantin Runge 2018-03-27 17:21:51 UTC
Created attachment 525670 [details]
build.log

OpenSSH fails to compile, complaining about the redefinition of some signal related types (siginfo_t, sigevent_t, sigval_t, ...)
Comment 1 Constantin Runge 2018-03-27 17:22:42 UTC
Created attachment 525672 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-28 06:53:33 UTC
In file included from /usr/include/bits/types/siginfo_t.h:6:0,
                 from /usr/include/signal.h:57,
                 from /usr/include/sys/param.h:28,
                 from includes.h:26,
                 from sandbox-seccomp-filter.c:38:
/usr/include/bits/types/sigval_t.h:5:7: error: redefinition of ‘union sigval’
 union sigval
       ^~~~~~
In file included from /usr/include/asm/siginfo.h:15:0,
                 from sandbox-seccomp-filter.c:32:
/usr/include/asm-generic/siginfo.h:8:15: note: originally defined here
 typedef union sigval {
               ^~~~~~
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2018-04-10 13:39:43 UTC
This is known but only affects building with "debug" USE flag. Patches welcome.
Comment 4 Toralf Förster gentoo-dev 2018-05-18 18:40:22 UTC
Created attachment 532084 [details]
17.0-desktop_20180517-151520.log

not sure if it worth to mention that this issue spews at the image 17.0-desktop_20180517-151520 the log file of the chroot full with the attached content
Comment 5 Brian Evans (RETIRED) gentoo-dev 2018-08-30 13:02:26 UTC
*** Bug 664878 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2021-04-09 22:51:55 UTC
The bug has been referenced in the following commit(s):

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

commit 45ed1cf246f19b8f0a6385a8f8088c81f3e375b0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-04-09 22:42:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-04-09 22:51:15 +0000

    profiles/base: mask net-misc/openssh[debug] which fails to build
    
    Long-standing bug. Accepted to not work.
    
    Bug: https://bugs.gentoo.org/651740
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)