NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/51389: Kyua framework does not build up with traditional /usr/obj



The following reply was made to PR toolchain/51389; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/51389: Kyua framework does not build up with
 traditional /usr/obj
Date: Sun, 7 Aug 2016 20:22:18 +0000

 On Fri, Aug 05, 2016 at 03:45:00PM +0000, Antoine.Leca.1%gmail.com@localhost wrote:
  > Reading the Makefile, we found line 14:
  > 
  > PRIVATELIBDIR!=	cd ${.CURDIR}/../../lib; ${PRINTOBJDIR}
  > 
  > and if we look at the corresponding external/bsd/kyua-testers/lib
  > directory, the objdir operation was not performed there so there is
  > no obj symlink in that directory; as a result, after the cd,
  > PRINTOBJDIR returns ${.CURDIR}, which is not the correct place to
  > find the just-compiled libraries.
 
 It is worse than that; a generic build *outside* of /usr/src that
 doesn't set any of the objdir knobs generates a separate objdir in
 every source dir, and so the logic will fail completely. One needs to
 PRINTOBJDIR separately for every corresponding source directory.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index