Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2012 07:00:22 GMT
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: amd64/169365: Buildworld breaks at libncp
Message-ID:  <201206250700.q5P70Mau034642@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/169365; it has been noted by GNATS.

From: Beeblebrox <zaphod@berentweb.com>
To: Scot Hetzel <swhetzel@gmail.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: amd64/169365: Buildworld breaks at libncp
Date: Mon, 25 Jun 2012 09:51:38 +0300

 On Mon, Jun 25, 2012 at 3:44 AM, Scot Hetzel <swhetzel@gmail.com> wrote:
 > On Sun, Jun 24, 2012 at 3:26 AM, Beeblebrox <zaphod@berentweb.com> wrote:
 >> Buildworld breaks at libncp.
 >> My source repository is: At revision 237525.
 >> My /etc/src.conf has: WITHOUT_NLS=3D yes, WITHOUT_NLS_CATALOGS=3D yes
 >>
 >> Looking at the error message, I first thought it could be because of the=
  =A0WITHOUT_NLS setting above. However, I got the same result when I commen=
 ted out those two lines.
 >>
 >> ERROR MESSAGE:
 >> /usr/local/bin/ccache cc -fpic -DPIC =A0-O2 -pipe -march=3Dk8 -DNDEBUG -=
 std=3Dgnu99 -fstack-protector -Wno-pointer-sign -c /usr/src/lib/libncp/ncpl=
 _rpc.c -o ncpl_rpc.So
 >> /usr/src/lib/libncp/ncpl_nls.c:301: error: 'NCP_NLS_DE' undeclared here =
 (not in a function)
 >> /usr/src/lib/libncp/ncpl_nls.c:301: error: 'NCP_NLS_DE_NAME' undeclared =
 here (not in a function)
 >> *** Error code 1
 >> /usr/src/lib/libncp/ncpl_nls.c:301: error: 'NCP_NLS_DE' undeclared here =
 (not in a function)
 >> /usr/src/lib/libncp/ncpl_nls.c:301: error: 'NCP_NLS_DE_NAME' undeclared =
 here (not in a function)
 >> *** Error code 1
 >> 2 errors
 >>
 > Does it build if you don't use ccache?
 >
 > Scot
 
 I got this error a few days ago and waited for an update (which
 usually solves the issue) before posting. As I recall I had tried to
 re-build without ccache the first time I encountered the error, I did
 not however try without ccache the second time I got the same error.
 
 I tried a buildworld with no ccache and no threads (-j), world did
 complete the build + no errors.
 
 Strange, or just plain my bad. Solved for the time being.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206250700.q5P70Mau034642>