From issues-return-48819-archive-asf-public=cust-asf.ponee.io@mesos.apache.org Wed Sep 12 14:09:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 839DD18067A for ; Wed, 12 Sep 2018 14:09:03 +0200 (CEST) Received: (qmail 2290 invoked by uid 500); 12 Sep 2018 12:09:02 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 2281 invoked by uid 99); 12 Sep 2018 12:09:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2018 12:09:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 36B721A04A9 for ; Wed, 12 Sep 2018 12:09:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lKiHVGymUiQb for ; Wed, 12 Sep 2018 12:09:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 764C85F563 for ; Wed, 12 Sep 2018 12:09:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 14EEDE0111 for ; Wed, 12 Sep 2018 12:09:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D183F2183D for ; Wed, 12 Sep 2018 12:09:00 +0000 (UTC) Date: Wed, 12 Sep 2018 12:09:00 +0000 (UTC) From: "Till Toenshoff (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-8457) Build failure on macOS 10.13 due to the syscall deprecation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-8457?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1661= 2027#comment-16612027 ]=20 Till Toenshoff commented on MESOS-8457: --------------------------------------- The proper solution appears to be switching to the {{initgroups}} function = instead of using the {{syscall}} variant. Reopening this ticket to make sur= e we keep striving for a proper solution.=20 > Build failure on macOS 10.13 due to the syscall deprecation. > ------------------------------------------------------------ > > Key: MESOS-8457 > URL: https://issues.apache.org/jira/browse/MESOS-8457 > Project: Mesos > Issue Type: Bug > Components: build > Reporter: Gilbert Song > Assignee: Till Toenshoff > Priority: Major > > {noformat} > In file included from ../../src/appc/spec.cpp:17: > In file included from ../../3rdparty/stout/include/stout/os.hpp:69: > In file included from ../../3rdparty/stout/include/stout/os/su.hpp:23: > ../../3rdparty/stout/include/stout/os/posix/su.hpp:264:9: error: 'syscall= ' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupporte= d; please switch to a supported interface. For SYS_kdebug_trace use kdebug_= signpost(). [-Werror,-Wdeprecated-declarations] > =C2=A0 if (::syscall(243, ngroups, _gids, uid.get()) =3D=3D -1) { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ > /usr/include/unistd.h:745:5: note: 'syscall' has been explicitly marked d= eprecated here > int syscall(int, ...); > =C2=A0 =C2=A0 ^ > 1 error generated. > make[2]: *** [appc/libmesos_no_3rdparty_la-spec.lo] Error 1 > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)