Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2016 11:37:25 -0700
From:      "Alex T." <dioxinu@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   buildkernel fails with a 'invalid conversion specifier' compiler error
Message-ID:  <CABt%2Bj0=r92b7ZyAEaoCGJbJqsM2_23x=77hNa-DZBpE3QC_Wxw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi guys,

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?

Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABt%2Bj0=r92b7ZyAEaoCGJbJqsM2_23x=77hNa-DZBpE3QC_Wxw>