Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Mar 2012 22:39:23 +0100
From:      "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
To:        "Conrad J. Sabatier" <conrads@cox.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: More of that "Rune" business
Message-ID:  <4F5A788B.8090907@mail.zedat.fu-berlin.de>
In-Reply-To: <20120309140408.42f136d5@cox.net>
References:  <20120309140408.42f136d5@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF5D9A65D1238862EAF2FB3F3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 03/09/12 21:04, Conrad J. Sabatier wrote:
> I'm getting quite a few of these "Rune"-related errors during port
> builds lately.  I've tried following the advice from the list, but no
> good, they still keep occurring.  I even tried backing off to my last
> known good buildworld/buildkernel (around Feb 23), and it still doesn't=

> help.
>=20
> Also seeing problems relating to the new clang src.conf variables.
> Can't successfully build world and/or kernel to try to correct things.
> "make buildenv" in /usr/src hasn't helped. "make install" in
>  /usr/src/share/mk hasn't helped.
>=20
> Is there some "magic bullet" for this that I've just somehow managed to=

> overlook?  I'm totally at a loss here.  Help!
>=20
> Conrad
>=20
> gmake[2]: Entering directory
> `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/cmd/addbu=
iltin'
> clang -o FreeBSD10.0_OPT.OBJ/addbuiltin.o -c -Wall -Wno-error -O2
> -pipe -fomit-frame-pointer -march=3Dnative -I/usr/local/include/nspr
> -L/usr/local/lib -fno-strict-aliasing -O -fPIC -ansi -Wall -Wno-switch
> -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG
> -D_THREAD_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY
> -I../../dist/FreeBSD10.0_OPT.OBJ/include -I../../dist/public/
> -I../../dist/private/  -O -fPIC -ansi -Wall -Wno-switch -DFREEBSD
> -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG
> -D_THREAD_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY
> -I../../../dist/FreeBSD10.0_OPT.OBJ/include -I../../../dist/public/
> -I../../../dist/private/ -I../../../dist/public/nss
> -I../../../dist/public/nspr -I../../../dist/public/libdbm
> -I../../../dist/FreeBSD10.0_OPT.OBJ/../public/security -I./include   -O=

> -fPIC -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
> -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT=

> -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY
> -I../../../../dist/FreeBSD10.0_OPT.OBJ/include
> -I../../../../dist/public/nss  -I../../../../dist/private/nss
> -I../../../../dist/public/seccmd  addbuiltin.c clang: warning: argument=

> unused during compilation: '-L/usr/local/lib' clang -o
> FreeBSD10.0_OPT.OBJ/addbuiltin -Wall -Wno-error -O2  -pipe
> -fomit-frame-pointer -march=3Dnative -I/usr/local/include/nspr
> -L/usr/local/lib -fno-strict-aliasing -O -fPIC -ansi -Wall -Wno-switch
> -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG
> -D_THREAD_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY
> -I../../dist/FreeBSD10.0_OPT.OBJ/include -I../../dist/public/
> -I../../dist/private/  -O -fPIC -ansi -Wall -Wno-switch -DFREEBSD
> -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG
> -D_THREAD_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY
> -I../../../dist/FreeBSD10.0_OPT.OBJ/include -I../../../dist/public/
> -I../../../dist/private/ -I../../../dist/public/nss
> -I../../../dist/public/nspr -I../../../dist/public/libdbm
> -I../../../dist/FreeBSD10.0_OPT.OBJ/../public/security -I./include   -O=

> -fPIC -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR
> -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT=

> -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY
> -I../../../../dist/FreeBSD10.0_OPT.OBJ/include
> -I../../../../dist/public/nss  -I../../../../dist/private/nss
> -I../../../../dist/public/seccmd
> FreeBSD10.0_OPT.OBJ/addbuiltin.o  ../../../../dist/FreeBSD10.0_OPT.OBJ/=
lib/libsectool.a
> -L../../../../dist/FreeBSD10.0_OPT.OBJ/lib -lssl3 -lsmime3 -lnss3
> -L../../../../dist/FreeBSD10.0_OPT.OBJ/lib -lnssutil3
> -L../../../../dist/FreeBSD10.0_OPT.OBJ/lib -lplc4 -lplds4 -lnspr4
> -pthread clang: warning: argument unused during compilation: '-ansi'
> clang: warning: argument unused during compilation: '-ansi' clang:
> warning: argument unused during compilation:
> '-ansi' ../../../../dist/FreeBSD10.0_OPT.OBJ/lib/libsectool.a(secutil.o=
):
> In function `SECU_PrintAsHex': secutil.c:(.text+0x125b): undefined
> reference to
> `_ThreadRuneLocale' ../../../../dist/FreeBSD10.0_OPT.OBJ/lib/libsectool=
=2Ea(secutil.o):
> In function `SECU_PrintAny':
> secutil.c:(.text+0x24ee): undefined reference to `_ThreadRuneLocale'
> secutil.c:(.text+0x2658): undefined reference to `_ThreadRuneLocale'
> ../../../../dist/FreeBSD10.0_OPT.OBJ/lib/libsectool.a(secutil.o): In
> function `SECU_SECItemHexStringToBinary': secutil.c:(.text+0x7e95):
> undefined reference to `_ThreadRuneLocale' secutil.c:(.text+0x7f55):
> undefined reference to
> `_ThreadRuneLocale' ../../../../dist/FreeBSD10.0_OPT.OBJ/lib/libsectool=
=2Ea(secutil.o):secutil.c:(.text+0x7fd5):
> more undefined references to `_ThreadRuneLocale' follow clang: error:
> linker command failed with exit code 1 (use -v to see invocation)
> gmake[2]: *** [FreeBSD10.0_OPT.OBJ/addbuiltin] Error 1 gmake[2]:
> Leaving directory
> `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/cmd/addbu=
iltin'
> gmake[1]: *** [libs] Error 2 gmake[1]: Leaving directory
> `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/cmd'
> gmake: *** [libs] Error 2 *** [do-build] Error code 1
>=20
> Stop in /usr/ports/security/nss.
>=20
> =3D=3D=3D>>> make failed for security/nss
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D>>> Update for nss-3.13.2 failed
> =3D=3D=3D>>> Aborting update
>=20
> Terminated
>=20
> =3D=3D=3D>>> You can restart from the point of failure with this comman=
d line:
>        portmaster <flags> www/chromium security/nss=20

Me, too, here.
Buidling a world with most recent sources and CLANG doesn't work, if
building with legacy/old gcc 4.2.1 the option WITH_LIBCPLUSPLUS=3D
YES blow off things.

I had the "_Rune" problem quite often and came around by walking back to
a well known source base and doing a "make installincludes".



--------------enigF5D9A65D1238862EAF2FB3F3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBAgAGBQJPWniRAAoJEOgBcD7A/5N8SCsIAJnlqXl16QzlHWjYzZf+nhGh
TuPF/xAizPwzAIsTCJwbdYoTXHMO2s3YOsk1Ve8EQJ5p/YeQ9xSiGAwxCD0eit3j
iXNYy5DpBE9XQe41SZjLvRMf3fGbrvfLbKEAXaBO7ue8XY6LnbERHmGUZ0hQ7HKx
AEpKmx4pCaWB9f/A8aAHM19vc15slIwi59HOFmjeOazNRcooM7B8EXQUL08Oql8l
Fymgxin9Xn26sCmKXPnUAKIFHRTNSkfuARpKMZKZeEa6umj7HSSW8MsaFcrgsqdW
q8lRS6ls7Tz6i6nTriPyD9B7yKmOaNcI6+7XwPESTGVU5UCNGhLyhYic08s3ad4=
=2c1n
-----END PGP SIGNATURE-----

--------------enigF5D9A65D1238862EAF2FB3F3--



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