From owner-freebsd-stable@freebsd.org Tue Sep 20 03:22:49 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFAF1BE1CB8 for ; Tue, 20 Sep 2016 03:22:49 +0000 (UTC) (envelope-from dioxinu@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 A1CA7185B; Tue, 20 Sep 2016 03:22:49 +0000 (UTC) (envelope-from dioxinu@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id l132so183889059wmf.0; Mon, 19 Sep 2016 20:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LALIxVCvCSou7GPX76aTfoJ1WPXwR/oRe6jFzKWjSAQ=; b=g3+i8WxlrjaYADanXEhToUt6rT4cQrFr4yD2hz5uwfaoKFsZveO/1fvBVcgxE7CxMP 9yxMROtAf8UeH9PgvLeQduggbZZBmlhQb3YaKyabvNM6TSO8QlvNCVGoW1TluaQ18UXL nTIJjJ7uMPtgpJQBH0mG9glbFHEiu5Xblkw96bhgE4sJhJDGMgEYU2ZY6NIXO/gkd/u9 pyvygQDDXIKbkIivnRUd5HmZgDCuWIHqcsyj05WKj1mhc2pifUGhpZfprTETVjLQbrdc iC8K9Mvb34FBdUWcS0f6VW6mVLyP9AcfDOxCalpa9FqghNKLLMlk+mcNh223/k85zeV2 fhjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LALIxVCvCSou7GPX76aTfoJ1WPXwR/oRe6jFzKWjSAQ=; b=hNlTOMFwMCq0/eLIHIQnqHBFjNdEDc80kGU71Bx2jK2aNlx502zmO8KV3hd1Jm6PE8 HVJPrg4enJx1X3XT0FUmGgHhT8SrhperG3Yefv7RIMrzZSiV22r89DsOUQ7jQMdCoUW6 UbnCm/U+5Qk9p7eYHig4rbxWW6CbqCJePAwI1XYa78ZH4U4KN4toUXbhSDJR5IRDK2Io GRNb5g7v6sib9dMBageq7G6mA6zagrfJDCITkStNuCyjEzcyyODoNUbnUb3N0vvUCSWe g/Mi0RHTvWXTtJuJKS+9+EBoKA188WiWcJt76ObjHkN5tPvUzub/IzqGMe52wtVTJ//i XwKA== X-Gm-Message-State: AE9vXwMCyDh1z3bXEzlJYUZsMTuSO7CrGD3iUpfWC4bTPh0K4/ue9B8SfyHAuc7fK9DleNgmMVC1Ws0niGREvg== X-Received: by 10.194.84.134 with SMTP id z6mr18261321wjy.204.1474341767962; Mon, 19 Sep 2016 20:22:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.171.165 with HTTP; Mon, 19 Sep 2016 20:22:47 -0700 (PDT) In-Reply-To: References: From: "Alex T." Date: Mon, 19 Sep 2016 20:22:47 -0700 Message-ID: Subject: Re: buildkernel fails with a 'invalid conversion specifier' compiler error To: Dimitry Andric Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2016 03:22:50 -0000 Thank you. The workaround helped, but kind of curious now what caused this failures to start show up. Will try going through commits to see if I can spot anything. On 18 September 2016 at 12:07, Dimitry Andric wrote: > On 18 Sep 2016, at 20:37, Alex T. wrote: > > > > I'm on stable/10 branch and have been using it to rebuild world > > and kernel. This is the revision I'm currently trying to build but > > started seeing the following issue way before it. > > > > URL: svn://svn.freebsd.org/base/stable/10 > > Revision: 305760 > > > > The world builds fine, but building the kernel fails with this error: > > > > /usr/src/sys/cam/cam_xpt.c:1060:27: error: > > invalid conversion specifier 'b' > > [-Werror,-Wformat-invalid-specifier] > > ...printf("%s%d: quirks=0x%b\n", perip... > > ~^ > > /usr/src/sys/cam/cam_xpt.c:1061:36: error: > > data argument not used by format > > string [-Werror,-Wformat-extra-args] > > ...periph->unit_number, quirks, bit_st... > > > > This is how my /etc/make.conf looks like: > > WITH_PKGNG=yes > > SSP_CFLAGS=-fstack-protector-all > > WITH_SSP_PORTS=yes > > WITHOUT="DOCS" > > > > and I don't have /etc/src.conf. Has anyone seen this issue? > > > > Any idea what might me misconfigured missing here? > > It's hard to say what is different on your system, but it looks like the > -fformat-extensions flag is somehow not being used for building your > kernel. If you can't figure out what causes this, you can try to work > around it by setting WITHOUT_FORMAT_EXTENSIONS, or setting WERROR to > empty. > > -Dimitry > >