Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2011 12:12:40 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: FreeBSD 10.0-CURRENT/amd64: /usr/bin/ld: cannot find -lisc
Message-ID:  <4EF856A8.7080707@zedat.fu-berlin.de>
In-Reply-To: <4EF7CC7D.4050902@FreeBSD.org>
References:  <4EF7B76E.5090108@zedat.fu-berlin.de> <4EF7CC7D.4050902@FreeBSD.org>

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

On 12/26/11 02:23, Dimitry Andric wrote:
> On 2011-12-26 00:53, O. Hartmann wrote:
>> I just run into this couriosity on the most recent build of FreeBSD
>> 10.0-CURRENT/amd64 (CLANG).
>>
>> A buildworld fails with the below shown error. No wonder, I issued pri=
or
>> to this buildworld a "make delete-old-files" and a bunch of files,
>> libisc.so, libisc.a, and buddies showed up - and got deleted. I did th=
is
>> now for several times and obviously, after some mystical install, they=

>> appeared again.
>>
>>>>> Removing old files (only deletes safe to delete libs)
>> remove /usr/lib/libisc.a? n
>> remove /usr/lib/libisc.so? n
>> remove /usr/lib/libisc_p.a? n
>> nremove /usr/include/isc/assertions.h? n
>> remove /usr/include/isc/heap.h? n
>> remove /usr/include/isc/list.h? n
>=20
> Either you have WITH_BIND_LIBS in your src.conf (which you did not
> post), or you have had one of the bind ports installed with REPLACE_BAS=
E
> turned on.  Normally the libs and headers are not installed.
>=20
>=20
>> Below the error. What is up? Got my system somehow wrecked?
> ...
>> clang -O2 -fno-strict-aliasing -pipe -O3 -fno-strict-aliasing -pipe
>> -march=3Dnative -DVERSION=3D'"9.8.1-P1"' -DHAVE_CONFIG_H -D_REENTRANT
>> -D_THREAD_SAFE -DWANT_IPV6 -DOPENSSL -DUSE_MD5
>> -DNS_LOCALSTATEDIR=3D'"/var"' -DNS_SYSCONFDIR=3D'"/etc/namedb"'
>> -DNAMED_CONFFILE=3D'"/etc/namedb/named.conf"'
>> -DRNDC_CONFFILE=3D'"/etc/namedb/rndc.conf"'
>> -DRNDC_KEYFILE=3D'"/etc/namedb/rndc.key"'
>> -I/usr/src/usr.bin/dig/../../lib/bind -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=3D64 -DDIG_SIGCHASE
>> -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/include
>> -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/unix/include
>> -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/pthreads/include
>> -I/usr/src/usr.bin/dig/../dns
>> -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/dns/include
>> -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isccfg/include
>> -I/usr/src/usr.bin/dig/../isc
>> -I/usr/src/usr.bin/dig/../../contrib/bind9/bin/dig/include
>> -I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/x86_32/include
>> -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wno-pointer-sign
>> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
>> -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body
>> -Wno-parentheses  -o dig dig.o dighost.o -lbind9 -ldns -lisccc -lisccf=
g
>> -lisc -llwres -lcrypto -lpthread
>> clang: warning: argument unused during compilation: '-std=3Dgnu99'
>> /usr/bin/ld: cannot find -lisc
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>=20
> Normally during buildworld the temporary copy of ld in ${WORLDTMP}
> (usually /usr/obj/usr/src/tmp/usr/bin) is used, *not* /usr/bin/ld.  Are=

> you possibly running manual make in /usr/src/usr.sbin/named?  Or if not=
,
> during which stage of buildworld does this happen?
>=20
> In any case, please post at least your make.conf, src.conf, and upload =
a
> full buildworld log (without -j) somewhere.

My bad, sorry.
Yes, I do have WITH_BIND_LIBS on the boxes enabled:

(/etc/src.conf):
WITH_CLANG=3D             YES
WITH_CLANG_EXTRAS=3D      YES
#
WITH_BIND_LIBS=3D         YES
WITH_BIND_SIGCHASE=3D     YES
WITH_BIND_LARGE_FILE=3D   YES
#
WITH_IDEA=3D              YES
WITH_HESIOD=3D            YES
#
#WITH_ICONV=3D            YES
WITH_BSD_GREP=3D          YES
#
WITH_LIBCPLUSPLUS=3D      YES
#
#WITH_OFED=3D             YES

The errornous output created is from a make build_world, so no manually
build in the named-source-folder.
A knob REPLACE_BASE is not used either in src.conf, nor in make.conf.
Not by intention.


Regards,
Oliver


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iQEcBAEBAgAGBQJO+FauAAoJEOgBcD7A/5N8S8IIANaEwxtC9paA6OfbACUsm2za
v6lIEewwvq7Bmr9yRKvSSU2scm0zbYg287Rs6XIP2cRnly5MH+SlVVSyigNPD/y5
NdVr2hwSdkY2eREojulaZ7jkIwRM87SW85fjPWpZK8LNYakSmLMu72zTSn9o18/T
OMhs5biaULbEhgt0Pu+dj5Ot9ITcZs61XMsdLRje7CshfK0jZ4JZQl4DWgPjsNEy
55Z5Rjwu7Xu9nelZL5wdo8lzYElP5OSMnYl0Jj7O5M47yfk8Bw1Eh8Ur24LZ1kD5
2NENiW25d5paL02Jj3c3kEEzPjsTY4s15wqBBzUBnlnX9JyTuW/OJSYA89bruMA=
=M9Rl
-----END PGP SIGNATURE-----

--------------enig9D3951A74645AE729270CF81--



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