From owner-freebsd-stable@freebsd.org Sat Aug 27 22:59:34 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 88582B77F57 for ; Sat, 27 Aug 2016 22:59:34 +0000 (UTC) (envelope-from dpd@dpdtech.com) Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::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 62081C56 for ; Sat, 27 Aug 2016 22:59:34 +0000 (UTC) (envelope-from dpd@dpdtech.com) Received: by mail-pf0-x231.google.com with SMTP id h186so39525940pfg.3 for ; Sat, 27 Aug 2016 15:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dpdtech.com; s=google; h=from:subject:date:message-id:to:mime-version; bh=F4t+K/b+G67cK2t9/IYjfH9UNKAsC67NtfwWfbjrzak=; b=gc0wNvUgltHJlhpRtcL5tbcalDP1D09n4tNF18dtmti8+OhkxdyyqkhQpWbGokVeod 9NaNrX9yrzbyVXG2WKvn70ck/KpSQgVOM7gzpiCj2b/UL4oXJ9GY4Quu89coxHZ542C+ JRwtcZ3FFbi/dFBEfsiKQdDHAmlh43g17R07k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:date:message-id:to:mime-version; bh=F4t+K/b+G67cK2t9/IYjfH9UNKAsC67NtfwWfbjrzak=; b=g8VbLma5cebEkylo+Hn95tv13W4Wh9VU+frcUs/s7hicrvJbTrhc31bGJqJ3tePzs2 xii4HtcQVvCKtQqW04I8OaNQek5s52xPLjnIRGb2Yk0QOgo/S4TRyQ0GLx6RViWYth8p 8wpP3KMCVfNIf1+kZyLUeN0yvPFUwDpEUp6jbe0OwNbUWFay11cBi7H8W05I4mbuYgEg YZhBr6+pT7iQpoCtmYtI0XGEPgMZAm3/SmwX4QFlO3lYm+Hc2Uo/T4penM7h4J3ndqkX r9LhVRxGBdi0nayY07MeSWOt9sPgIsuBNAAm/E+nfH4VD8IM9id2BJW1F594Skxx8TIA vPng== X-Gm-Message-State: AE9vXwOV7Iy/nyQ7IcAFzDsNGiD7kRI0H/2PSKKcbhsGZxegaEqxTnclAE87PI+IX0kwAA== X-Received: by 10.98.74.201 with SMTP id c70mr18511448pfj.113.1472338773599; Sat, 27 Aug 2016 15:59:33 -0700 (PDT) Received: from [192.168.1.213] (173-13-188-45-sfba.hfc.comcastbusiness.net. [173.13.188.45]) by smtp.gmail.com with ESMTPSA id x126sm38389725pfx.61.2016.08.27.15.59.32 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Aug 2016 15:59:32 -0700 (PDT) From: "David P. Discher" X-Pgp-Agent: GPGMail Content-Type: multipart/signed; boundary="Apple-Mail=_F6908996-D68C-4970-B482-18FF730C3F82"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: Build Failing 11/stable - svn r304921 - "ld: cannot find -lsbuf" Date: Sat, 27 Aug 2016 15:59:30 -0700 Message-Id: <4B8FB3F0-A7A6-48D7-A806-753713249CD8@dpdtech.com> To: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2016 22:59:34 -0000 --Apple-Mail=_F6908996-D68C-4970-B482-18FF730C3F82 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99ve been having an issue for a few days on 11-stable (=E2=80=A6 = maybe longer with -current/-head in general) =E2=80=A6 especially with = parallel makes (-j12) on amd64. I wasn=E2=80=99t capturing the logs, = so finally did, and looking back, the error appears to be : --- lib/libgeom__L --- cc -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings = -Wl,--warn-shared-textrel -o libgeom.so.5.full -Wl,-soname,libgeom.so.5 = `NM=3D'nm' NMFLAGS=3D'' lorder geom_getxml.So geom_stats.So = geom_xml2tree.So geom_ctl.So geom_util.So | tsort -q` -lbsdxml -lsbuf /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lsbuf cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** [libgeom.so.5.full] Error code 1 This is a clean chroot, with just make installworld from a previous = 11-pre-release that the host is running. /usr/src and /usr/obj are NFS = mounts from a 10.3 machine with ZFS. Appears to be some sort of race condition? I=E2=80=99ve build = 10-stable, and probably 9.X this way for years, but -current seems to = have this issue. Will try local disks, then single process =E2=80=A6 but it would be nice = to get this parallel build fixed. Building the lib alone works: root@borg:/usr/src/lib/libgeom # ls Makefile geom_ctl.c geom_stats.c geom_xml2tree.c = libgeom.h Makefile.depend geom_getxml.c geom_util.c libgeom.3 root@borg:/usr/src/lib/libgeom # make cc -pg -O2 -pipe -I/usr/src/lib/libgeom -MD = -MF.depend.geom_getxml.po -MTgeom_getxml.po -std=3Dgnu99 = -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k = -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Qunused-arguments -c /usr/src/lib/libgeom/geom_getxml.c -o = geom_getxml.po cc -pg -O2 -pipe -I/usr/src/lib/libgeom -MD -MF.depend.geom_stats.po = -MTgeom_stats.po -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers = -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Qunused-arguments -c /usr/src/lib/libgeom/geom_stats.c -o = geom_stats.po cc -pg -O2 -pipe -I/usr/src/lib/libgeom -MD = -MF.depend.geom_xml2tree.po -MTgeom_xml2tree.po -std=3Dgnu99 = -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k = -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Qunused-arguments -c /usr/src/lib/libgeom/geom_xml2tree.c -o = geom_xml2tree.po cc -pg -O2 -pipe -I/usr/src/lib/libgeom -MD -MF.depend.geom_ctl.po = -MTgeom_ctl.po -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers = -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Qunused-arguments -c /usr/src/lib/libgeom/geom_ctl.c -o geom_ctl.po cc -pg -O2 -pipe -I/usr/src/lib/libgeom -MD -MF.depend.geom_util.po = -MTgeom_util.po -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers = -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality = -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef = -Qunused-arguments -c /usr/src/lib/libgeom/geom_util.c -o geom_util.po building profiled geom library ar -crD libgeom_p.a `NM=3D'nm' NMFLAGS=3D'' lorder geom_getxml.po = geom_stats.po geom_xml2tree.po geom_ctl.po geom_util.po | tsort -q` ranlib -D libgeom_p.a make: /usr/obj/usr/src/lib/libgeom/.depend, 1: ignoring stale .depend = for /usr/obj/usr/src/tmp/usr/lib/libsbuf.a building shared library libgeom.so.5 cc -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings = -Wl,--warn-shared-textrel -o libgeom.so.5.full -Wl,-soname,libgeom.so.5 = `NM=3D'nm' NMFLAGS=3D'' lorder geom_getxml.So geom_stats.So = geom_xml2tree.So geom_ctl.So geom_util.So | tsort -q` -lbsdxml -lsbuf objcopy --only-keep-debug libgeom.so.5.full libgeom.so.5.debug objcopy --strip-debug --add-gnu-debuglink=3Dlibgeom.so.5.debug = libgeom.so.5.full libgeom.so.5 gzip -cn /usr/src/lib/libgeom/libgeom.3 > libgeom.3.gz root@borg:/usr/src/lib/libgeom # - David P. Discher http://davidpdischer.com/ AIM: DavidDPD | Y!M: daviddpdz Mobile: 408.368.3725 --Apple-Mail=_F6908996-D68C-4970-B482-18FF730C3F82 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJXwhtTAAoJEEmwU6XuhYWOV6AH/RJ3riH6hFJOzWQ8/L8KzIVX RAskaFNY8rLnQA+KpQmpGAN9SwfWhom+R9StSMsUNPhwo+IU1ZBb1IRZ4i8btS9R 3Fhj/+AeTO8NueeCMce4G01aOCrpB4LKe+PXs5rUWKac4XnAj0m8mqKYn9PTmytE wmOz4NOeE1gX766SmK8KApOYelqUDkyd+iTqGTjSzYQUPidVso92vL2t2eVOTklM z5KM1GJlWobL3A80ygzHakCTx4sUE1PRbhMjKdiBawpz7XuTT01xSw/y+hgkzSKL 1bEEkqHCm3/vSCVDsooAC9iCYMNRWaN7547Qn50Ezejcof7/roRbFjtEh5TQmnM= =rduS -----END PGP SIGNATURE----- --Apple-Mail=_F6908996-D68C-4970-B482-18FF730C3F82--