Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605878 - net-misc/tor-0.8.12 USE=seccomp - src/common/sandbox.c:1733:35: error: ‘mcontext_t {aka struct <anonymous>}’ has no member named ‘M_SYSCALL’
Summary: net-misc/tor-0.8.12 USE=seccomp - src/common/sandbox.c:1733:35: error: ‘mcont...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2016-1254
  Show dependency tree
 
Reported: 2017-01-16 12:08 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-10-03 10:01 UTC (History)
3 users (show)

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


Attachments
net-misc:tor-0.2.8.12:20170116-114051.log (net-misc:tor-0.2.8.12:20170116-114051.log,32.44 KB, text/plain)
2017-01-16 12:08 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2017-01-16 12:08:52 UTC
Created attachment 460314 [details]
net-misc:tor-0.2.8.12:20170116-114051.log

[ebuild     U ~] net-misc/tor-0.2.8.12::gentoo [0.2.8.9::gentoo] USE="seccomp* {test} -bufferevents -libressl -scrypt (-selinux) -stats (-systemd) (-tor-hardening) -transparent-proxy -web" 0 KiB

Setting USE=-seccomp seems to work around the issue. Would there be a case to prefer not masking the USE flag for PPC64 and fixing the issue instead?
Comment 1 Anthony Basile gentoo-dev 2017-01-16 13:12:42 UTC
(In reply to Jeroen Roovers from comment #0)
> Created attachment 460314 [details]
> net-misc:tor-0.2.8.12:20170116-114051.log
> 
> [ebuild     U ~] net-misc/tor-0.2.8.12::gentoo [0.2.8.9::gentoo]
> USE="seccomp* {test} -bufferevents -libressl -scrypt (-selinux) -stats
> (-systemd) (-tor-hardening) -transparent-proxy -web" 0 KiB
> 
> Setting USE=-seccomp seems to work around the issue. Would there be a case
> to prefer not masking the USE flag for PPC64 and fixing the issue instead?

If memory serves, ppc64 doesn't have seccomp, so we should mask it.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-16 15:39:02 UTC
commit 915d683853594ca8ef8a1448cdee7ef4595c3d32
Author: Jeroen Roovers <jer@gentoo.org>
Date:   Mon Jan 16 16:37:49 2017 +0100

    profiles/arch/powerpc: Mask USE=seccomp for net-misc/tor (bug #605878).
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2017-10-03 09:57:35 UTC
Same for ppc32
Comment 4 Larry the Git Cow gentoo-dev 2017-10-03 10:01:48 UTC
The bug has been referenced in the following commit(s):

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

commit 8e7a474a2e54514039770554fa2ce98b40a91a8a
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2017-10-03 10:00:34 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2017-10-03 10:01:41 +0000

    arch/powerpc/ppc32/package.use.mask: disable net-vpn/tor[seccomp], bug #605878
    
    Bug: https://bugs.gentoo.org/605878
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 profiles/arch/powerpc/ppc32/package.use.mask | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)}