From nobody@FreeBSD.org  Mon Sep 16 23:43:13 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id E19BB43B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Sep 2013 23:43:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id CD43E291A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Sep 2013 23:43:13 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8GNhD4j022006
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Sep 2013 23:43:13 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8GNhDUO022001;
	Mon, 16 Sep 2013 23:43:13 GMT
	(envelope-from nobody)
Message-Id: <201309162343.r8GNhDUO022001@oldred.freebsd.org>
Date: Mon, 16 Sep 2013 23:43:13 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: make: don't know how to make /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182172
>Category:       conf
>Synopsis:       make: don't know how to make /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 16 23:50:00 UTC 2013
>Closed-Date:    Fri Feb 07 20:59:30 CET 2014
>Last-Modified:  Fri Feb 07 20:59:30 CET 2014
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD fuji-current.local 10.0-CURRENT FreeBSD 10.0-CURRENT #13 24029d3: Mon Aug 12 01:28:48 PDT 2013     root@fuji-current.local:/usr/obj/usr/src/sys/FUJI-NOCOMPAT  i386
>Description:
Seems like things are not being built or being built out of order...

===> usr.sbin/unbound/daemon (all)
cc  -O2 -pipe  -D__REGEX_PRIVATE -I/usr/src.svn/usr.bin/vi -I/usr/src.svn/usr.bin/vi/../../contrib/nvi -I/usr/src.svn/usr.bin/vi/../../contrib/nvi/regex -DUSE_WIDECHAR -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src.svn/usr.bin/vi/../../contrib/nvi/ex/ex_write.c
make: don't know how to make /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a. Stop
*** [all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [usr.sbin.all__D] Error code 2
# svnversion
255620
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Garrett Cooper <yaneurabeya@gmail.com>
To: FreeBSD-gnats-submit@FreeBSD.org,
 freebsd-bugs@FreeBSD.org
Cc: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Subject: Re: conf/182172: make: don't know how to make /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
Date: Mon, 16 Sep 2013 16:55:32 -0700

 On Sep 16, 2013, at 4:50 PM, FreeBSD-gnats-submit@FreeBSD.org wrote:
 
 > Thank you very much for your problem report.
 > It has the internal identification `conf/182172'.
 > The individual assigned to look at your
 > report is: freebsd-bugs.=20
 >=20
 > You can access the state of your problem report at any time
 > via this link:
 >=20
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D182172
 >=20
 >> Category:       conf
 >> Responsible:    freebsd-bugs
 >> Synopsis:       make: don't know how to make =
 /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
 >> Arrival-Date:   Mon Sep 16 23:50:00 UTC 2013
 
 It's looking for the file in the wrong spot:
 
 # find /usr/obj/ -name libunbound.a
 /usr/obj/usr/src.svn/tmp/usr/lib/private/libunbound.a
 /usr/obj/usr/src.svn/lib/libunbound/libunbound.a
 
 LIBDIR needs to be fixed for libunbound (probably not doable because of =
 it being necessary before /usr is mounted), or a hardlink/symlink needs =
 to be created for the library.
 Thanks,
 -Garrett=

From: Garrett Cooper <yaneurabeya@gmail.com>
To: Glen Barber <gjb@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: conf/182172: make: don't know how to make /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
Date: Mon, 16 Sep 2013 16:57:10 -0700

 On Sep 16, 2013, at 4:53 PM, Glen Barber wrote:
 
 > Please include src.conf/make.conf.
 
 I posted it in this pastebin for another PR:
 
 http://pastebin.com/xAeJtB6C
 
 I executed the build like this:
 
 env TARGET=i386 TARGET_ARCH=i386 WITHOUT_BMAKE=1 sh /root/build.sh
 
 And my dumb build script looks like this:
 
 # cat /root/build.sh 
 #!/bin/sh
 
 set -ex
 : ${JOBS=$(( 2 * $(sysctl -n kern.smp.cpus) ))}
 rm -f ~/bw.s
 (make buildworld -j$JOBS 2>&1 && : > ~/bw.s) | tee ~/bw.log
 [ -f ~/bw.s ]
 rm -f ~/bk.s
 (make buildkernel -j$JOBS 2>&1 && : > ~/bk.s) | tee ~/bk.log
 [ -f ~/bk.s ]
 
 Thanks!

From: Glen Barber <gjb@FreeBSD.org>
To: Garrett Cooper <yaneurabeya@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: conf/182172: make: don't know how to make
 /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
Date: Mon, 16 Sep 2013 19:53:57 -0400

 --84mZ5ifxO1MoKVCL
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Please include src.conf/make.conf.
 
 Glen
 
 
 --84mZ5ifxO1MoKVCL
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.21 (FreeBSD)
 
 iQEcBAEBCAAGBQJSN5oVAAoJEFJPDDeguUajoZEH/i6pEpB3Z5vaa/EZWwKC4/lu
 RrPl+df7bvWD6ypzlo60Y5oh41OK7CZ9/gfQCJd0MrXxN4Wavvu/XmPKyvIRSFMQ
 6dl0s08514oKbpsk0hmTI17Lkdo62Ujov0LcaVpxqi7V1kJNJJ4DQed32CChGv/K
 6cc6MnRMwBfAJyXX+M2+CoNm8chViyx2xIfA3O2YVE6Ejj69zaDCLTT3YA0rTpSY
 BuqM5ti+JZSNtg65rETUauvgGwuD5qvdX9WgtacHnqPFkJk3xrJmOfYqM8CzQlJY
 SyTH/YzmwRdQhwLbXIBTUr4XTXR/rv/FZoNk2AzBYiPh+LX0KB4eVTF6HJiIHco=
 =vz26
 -----END PGP SIGNATURE-----
 
 --84mZ5ifxO1MoKVCL--

From: Glen Barber <gjb@FreeBSD.org>
To: Garrett Cooper <yaneurabeya@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: conf/182172: make: don't know how to make
 /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
Date: Mon, 16 Sep 2013 20:00:23 -0400

 --Er1qpsOqk0l6oMce
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, Sep 16, 2013 at 04:57:10PM -0700, Garrett Cooper wrote:
 > On Sep 16, 2013, at 4:53 PM, Glen Barber wrote:
 >=20
 > > Please include src.conf/make.conf.
 >=20
 > I posted it in this pastebin for another PR:
 >=20
 > http://pastebin.com/xAeJtB6C
 >=20
 
 That does not provide us with historical data for GNATS.
 
 Please include them in the PR.
 
 Glen
 
 
 --Er1qpsOqk0l6oMce
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.21 (FreeBSD)
 
 iQEcBAEBCAAGBQJSN5uXAAoJEFJPDDeguUajbKcH/jwfw7lyzdmqHI7Jp/7R/Wbk
 uT9TalqKCVzdpHp+LIrRM5ptexBG0AHGUQw8cl6HUF6y8M/3HPJBTPZk/B2YwyPH
 5b/YHa2bHHaUL3IOk8wxn2UN9FCrzm8WCCLN/RCmTRf5n6af41t2vd2E2ZPzONP1
 D6fmmezFbFq70htv5xpCnwAtpYLKVlZ8b9vCJfWPPk6/3UkOORur/MyOAHfah9Nw
 qO4MVp0H/rl1GevkK8M77wkEGhK5NeYEiRRy2M/QFdvLPMIiukrxpjhPCvTaGKOG
 AHbxx8yFWSer+Ys5g6Th/ZUCLvQvoU+Q+nvQ4koiORoi7m/05cfyFA7ZkE9CGEU=
 =B3Ei
 -----END PGP SIGNATURE-----
 
 --Er1qpsOqk0l6oMce--

From: Garrett Cooper <yaneurabeya@gmail.com>
To: Glen Barber <gjb@freebsd.org>
Cc: "FreeBSD-gnats-submit@FreeBSD.org" <freebsd-gnats-submit@freebsd.org>
Subject: Re: conf/182172: make: don't know how to make /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
Date: Mon, 16 Sep 2013 17:14:40 -0700

 On Mon, Sep 16, 2013 at 5:00 PM, Glen Barber <gjb@freebsd.org> wrote:
 > On Mon, Sep 16, 2013 at 04:57:10PM -0700, Garrett Cooper wrote:
 >> On Sep 16, 2013, at 4:53 PM, Glen Barber wrote:
 >>
 >> > Please include src.conf/make.conf.
 >>
 >> I posted it in this pastebin for another PR:
 >>
 >> http://pastebin.com/xAeJtB6C
 >>
 >
 > That does not provide us with historical data for GNATS.
 >
 > Please include them in the PR.
 
 # cat /etc/make.conf /etc/src.conf
 WITH_PKGNG= yes
 WITHOUT_ICU= yes
 WITHOUT_X11= yes
 
 # added by use.perl 2013-06-28 18:14:04
 PERL_VERSION=5.14.4
 MALLOC_PRODUCTION=
 
 WITH_ATF=
 WITHOUT_ATM=
 WITHOUT_AUDIT=
 WITHOUT_BHYVE=
 WITHOUT_BIND_DNSSEC=
 WITHOUT_BIND_ETC=
 WITHOUT_BIND_LIBS_LWRES=
 WITHOUT_BIND_NAMED=
 WITHOUT_BLUETOOTH=
 WITHOUT_BMAKE=
 WITHOUT_BSNMP=
 WITHOUT_CALENDAR=
 WITHOUT_CLANG=
 WITHOUT_CTM=
 WITHOUT_DICT=
 #WITHOUT_EXAMPLES=
 WITHOUT_FORTRAN=
 WITHOUT_FREEBSD_UPDATE=
 WITHOUT_GAMES=
 WITHOUT_GCOV=
 WITHOUT_GPIB=
 WITHOUT_GSSAPI=
 WITHOUT_HAST=
 WITHOUT_HESOID=
 WITHOUT_HTML=
 WITHOUT_I4B=
 WITHOUT_IPFILTER=
 WITHOUT_IPFW=
 WITHOUT_IPX=
 WITHOUT_KERBEROS=
 WITHOUT_LIBKSE=
 WITHOUT_LOCALES=
 WITHOUT_LPR=
 WITHOUT_MAIL=
 #WITHOUT_MAN=
 WITHOUT_NCP=
 WITHOUT_NDIS=
 WITHOUT_NIS=
 WITHOUT_NLS=
 WITHOUT_NS_CACHING=
 WITHOUT_OBJC=
 WITHOUT_PF=
 WITHOUT_PORTSNAP=
 WITHOUT_PPP=
 WITHOUT_PROFILE=
 WITHOUT_RADIUS=
 WITHOUT_RCMDS=
 WITH_SSP=
 WITHOUT_SVN=
 WITHOUT_SVNLITE=
 WITHOUT_SYSINSTALL=
 WITH_TESTS=
 WITHOUT_WIRELESS=
 WITHOUT_WPA_SUPPLICANT_EAPOL=
 WITHOUT_ZFS=
 
 DEFAULT_KERNCONF= FUJI-NOCOMPAT
 DEFAULT_KERNCONFDIR=    /root
 
 KERNCONF?=      ${DEFAULT_KERNCONF}
 KERNCONFDIR?=   ${DEFAULT_KERNCONFDIR}
 
 .if ${KERNCONFDIR} == "${DEFAULT_KERNCONFDIR}"
 MODULES_OVERRIDE=       cd9660 msdosfs nullfs
 
 PORTS_MODULES=
 .endif

From: Garrett Cooper <yaneurabeya@gmail.com>
To: Glen Barber <gjb@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: conf/182172: make: don't know how to make /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
Date: Mon, 16 Sep 2013 17:29:03 -0700

 On Sep 16, 2013, at 5:00 PM, Glen Barber wrote:
 
 > On Mon, Sep 16, 2013 at 04:57:10PM -0700, Garrett Cooper wrote:
 >> On Sep 16, 2013, at 4:53 PM, Glen Barber wrote:
 >> 
 >>> Please include src.conf/make.conf.
 >> 
 >> I posted it in this pastebin for another PR:
 >> 
 >> http://pastebin.com/xAeJtB6C
 >> 
 > 
 > That does not provide us with historical data for GNATS.
 > 
 > Please include them in the PR.
 
 This should fix the issue. Testing it out..
 
 # svn diff lib/libunbound/
 Index: lib/libunbound/Makefile
 ===================================================================
 --- lib/libunbound/Makefile	(revision 255620)
 +++ lib/libunbound/Makefile	(working copy)
 @@ -1,5 +1,9 @@
  # $FreeBSD$
  
 +SHLIBDIR?= /lib
 +
 +.include <bsd.own.mk>
 +
  # Vendor sources and generated files
  LDNSDIR= ${.CURDIR}/../../contrib/ldns
  UNBOUNDDIR= ${.CURDIR}/../../contrib/unbound
 # (cd lib/libunbound/; make -VLIBDIR -VSHLIBDIR)
 /usr/lib
 /lib

From: Garrett Cooper <yaneurabeya@gmail.com>
To: Glen Barber <gjb@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: conf/182172: make: don't know how to make /usr/obj/usr/src.svn/tmp/usr/lib/libunbound.a
Date: Mon, 16 Sep 2013 20:51:14 -0700

 On Sep 16, 2013, at 5:29 PM, Garrett Cooper wrote:
 
 > On Sep 16, 2013, at 5:00 PM, Glen Barber wrote:
 >=20
 >> On Mon, Sep 16, 2013 at 04:57:10PM -0700, Garrett Cooper wrote:
 >>> On Sep 16, 2013, at 4:53 PM, Glen Barber wrote:
 >>>=20
 >>>> Please include src.conf/make.conf.
 >>>=20
 >>> I posted it in this pastebin for another PR:
 >>>=20
 >>> http://pastebin.com/xAeJtB6C
 >>>=20
 >>=20
 >> That does not provide us with historical data for GNATS.
 >>=20
 >> Please include them in the PR.
 >=20
 > This should fix the issue. Testing it out..
 >=20
 > # svn diff lib/libunbound/
 > Index: lib/libunbound/Makefile
 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 > --- lib/libunbound/Makefile	(revision 255620)
 > +++ lib/libunbound/Makefile	(working copy)
 > @@ -1,5 +1,9 @@
 > # $FreeBSD$
 >=20
 > +SHLIBDIR?=3D /lib
 > +
 > +.include <bsd.own.mk>
 > +
 > # Vendor sources and generated files
 > LDNSDIR=3D ${.CURDIR}/../../contrib/ldns
 > UNBOUNDDIR=3D ${.CURDIR}/../../contrib/unbound
 > # (cd lib/libunbound/; make -VLIBDIR -VSHLIBDIR)
 > /usr/lib
 > /lib
 
 Ah, something else was added for namespace support in libraries=85 fun =
 times!
 
 Index: share/mk/bsd.libnames.mk
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 --- share/mk/bsd.libnames.mk	(revision 255620)
 +++ share/mk/bsd.libnames.mk	(working copy)
 @@ -165,7 +165,7 @@
  LIBUGIDFW?=3D	${DESTDIR}${LIBDIR}/libugidfw.a
  LIBUMEM?=3D	${DESTDIR}${LIBDIR}/libumem.a
  .if ${MK_UNBOUND} !=3D "no"
 -LIBUNBOUND?=3D	${DESTDIR}${LIBDIR}/libunbound.a
 +LIBUNBOUND?=3D	${DESTDIR}${LIBPRIVATEDIR}/libunbound.a
  .endif
  LIBUSBHID?=3D	${DESTDIR}${LIBDIR}/libusbhid.a
  LIBUSB?=3D	${DESTDIR}${LIBDIR}/libusb.a=
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Fri Feb 7 20:58:28 CET 2014 
State-Changed-Why:  
This was fixed in r255627, thanks for the notice! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182172 
>Unformatted:
