From owner-freebsd-stable@freebsd.org Thu May 10 16:34:45 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AE78FCF9A6 for ; Thu, 10 May 2018 16:34:45 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yb0-x243.google.com (mail-yb0-x243.google.com [IPv6:2607:f8b0:4002:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAB5B83526 for ; Thu, 10 May 2018 16:34:44 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yb0-x243.google.com with SMTP id m127-v6so852164ybm.11 for ; Thu, 10 May 2018 09:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=QhiLDJTcf5xSCuinNeIIf6WnhAPj6C62fWBrNGguXgs=; b=Ot4VaKurUM580rBFml38c1JriOmvaoaovdoN4pZxbFNSJfm3nbtgQMIUDUO+q6PvgK VbV1HwIswJVzx9wZUsUJX52/V091GNC3gepI9xfwyekx69AWVByj4bqa+ZqGP7zWc61x xST5VJKHmzY3j7Dx+swmEKgp91o1m9X05HXXjopnsokq2YWy3WRWMQR2E2EXF2EMzH7T 8dI8KLBNJWnL/Lz9qP9EKbhVJUpqjvroCPF9KRPuIWjopZaK0RbN/TjNm7Xt9DsVHhQs RFcweI8Par9KZrpHoSJQsTt3e3ByV/WMcEk9A1wofFD9cBLJvHjtCO8gNFjhHQopFwcJ yz0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QhiLDJTcf5xSCuinNeIIf6WnhAPj6C62fWBrNGguXgs=; b=KFUb5wnF1gOw5S8OE0uFnqHu5lE0Fv0x83l1SuMP/5i7SrohdqDBxY0mkbhIAmgAuz NSMHlR3/BGPsuQpFC4l6JAC9qTLdTtnnC2DeNXHXmWTf+YECADe39bqsSW3z+zTdM9cm Hqsw1yaF5/fcnLEmsaz8y4t8iIJhFXZqPcyayIjnhIMiRpu7Boakrc5hIB4z9N34GoRY CsQJbWED2fj69QUScKOYmApcX4T7IapUdpnn1FidNF0DNml2ZhezzzwHAcKrpCbT7Nbz HYnsfsw5lRHWOAvh+yaoZXSMVzr0pi0rOgCTN22RdV1wU3+V6bNd878RImaHP58vGwXg xVug== X-Gm-Message-State: ALKqPwcRuaIK/PwsgGv8J0Q4rQ1zp8U9KTZXpnhk3DjlcIOBCTj5bUTn xHwl4/4Nsr/icChI7XxzLftYJNApDHn/LKZA97qLdA== X-Google-Smtp-Source: AB8JxZoRj7Txr7VPA8HUC2vdCtYm3rEvYGsHwCD/pnUldsjPZcifgCfqgGf/cGdDoS8TUC2EXO/gDIYoLsmKDMuWR10= X-Received: by 2002:a25:d44f:: with SMTP id m76-v6mr1136744ybf.165.1525970084178; Thu, 10 May 2018 09:34:44 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:3894:0:0:0:0:0 with HTTP; Thu, 10 May 2018 09:34:43 -0700 (PDT) In-Reply-To: References: <4AC438CE-A49C-458E-A989-B145A4FBAA15@FreeBSD.org> From: Oliver Pinter Date: Thu, 10 May 2018 18:34:43 +0200 Message-ID: Subject: Re: lint errors in stable/11 To: Rick Miller Cc: Dimitry Andric , "freebsd-stable@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 16:34:45 -0000 pro tip: as workaround, create a symlink to lint from /bin/true ;) On 5/10/18, Rick Miller wrote: > On Thu, May 10, 2018 at 8:23 AM Dimitry Andric wrote: > >> On 10 May 2018, at 12:47, Rick Miller wrote: >> > >> > On Thu, May 10, 2018 at 6:35 AM Rick Miller wrot= e: >> ... >> >> Performing a release build via release/release.sh in r331337 of >> stable/11 >> >> errors citing the lack of lint. It=E2=80=99s understood lint was remo= ved from >> >> stable/11 so src.conf includes WITHOUT_LINT, but errors persist. As t= he >> >> code review alludes to[1], lint is irrelevant here. It seems >> WITHOUT_LINT >> >> may not be the only thing I=E2=80=99m looking for. What is the best a= pproach >> >> for >> >> mitigating these errors? >> >> >> >> >> > Here=E2=80=99s the error w/o email munging: >> > >> > =3D=3D=3D> usr.bin/xlint/xlint (all) >> > /data/dists/11.1.9.0-amd64-md/usr/src/contrib/apr/atomic/uni >> > x/builtins.c:71:53: >> > warning: passing 'const void *' to parameter of type 'volatile void *' >> > discards >> > qualifiers [-Wincompatible-pointer-types-discards-qualifiers] >> > >> > return (void*) __sync_val_compare_and_swap(mem, cmp, with); >> > >> > ^~~ >> > >> > 1 warning generated. >> > >> > =3D=3D=3D> usr.bin/xlint/llib (all) >> > >> > sh: lint: not found >> >> Are you building on a -CURRENT host? If so, see the previous mail >> thread about this: >> >> >> https://lists.freebsd.org/pipermail/freebsd-stable/2017-November/088092.= html >> >> and https://bugs.freebsd.org/223892. >> >> No, the build system is stable/11 r331337 building releng/11.1. The buil= d > system doesn=E2=80=99t include =E2=80=98lint=E2=80=99: > > # echo $PATH > /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin > # which lint > lint: Command not found. > > The mail thread and bug refer to building stable/11 on current where this > case is building releng/11.1 on stable/11. They also do not appear to > provide actionable information on mitigating errors though the code > commit[1] suggests installing a lint will resolve. Ports doesn=E2=80=99t = seem to > contain a suitable replacement however. Can lint still be installed on th= e > build system from the stable/11 source? If so, how is that accomplished? > > Do WITH/WITHOUT_LINT have any impact here? The source has been built with > WITH_LINT and WITHOUT_LINT to the same result except that xlint either > builds or doesn=E2=80=99t depending on the option. > > This all seems to originate with llib=E2=80=99s dependency on lint as des= cribed in > the email thread. It is in building llib where the error occurs. > > [1] https://reviews.freebsd.org/D13799=EF=BB=BF > > -Rick > -- > Take care > Rick Miller > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >