From owner-freebsd-bugs Thu Jul 11 1:20:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BF4E37B400 for ; Thu, 11 Jul 2002 01:20:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1533F43E09 for ; Thu, 11 Jul 2002 01:20:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6B8K4JU057433 for ; Thu, 11 Jul 2002 01:20:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6B8K4XX057432; Thu, 11 Jul 2002 01:20:04 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7767437B400 for ; Thu, 11 Jul 2002 01:12:44 -0700 (PDT) Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id A436343E58 for ; Thu, 11 Jul 2002 01:12:37 -0700 (PDT) (envelope-from alex@vaio.alexdupre.com) Received: from vaio.alexdupre.com (localhost [127.0.0.1]) by vaio.alexdupre.com (8.12.2/8.12.2) with ESMTP id g6B8EURb000318 for ; Thu, 11 Jul 2002 10:14:30 +0200 (CEST) (envelope-from alex@vaio.alexdupre.com) Received: (from alex@localhost) by vaio.alexdupre.com (8.12.2/8.12.2/Submit) id g6B8ETeF000317; Thu, 11 Jul 2002 10:14:29 +0200 (CEST) Message-Id: <200207110814.g6B8ETeF000317@vaio.alexdupre.com> Date: Thu, 11 Jul 2002 10:14:29 +0200 (CEST) From: Alex Dupre Reply-To: Alex Dupre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/40448: [bmake bug] BSD make cannot find system mks (on new releases) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40448 >Category: bin >Synopsis: [bmake bug] BSD make cannot find system mks (on new releases) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 11 01:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alex Dupre >Release: FreeBSD 4.5-ALEXDUPRE i386 >Organization: >Environment: System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Fri Apr 12 14:12:57 CEST 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386 >Description: On fresh installs of FreeBSD 4.6-STABLE (I tried with a 20020704-JPSNAP) bmake has a different behaviour (I think it's a bug). It seems it cannot find system makefiles, like bsd.lib.mk, located in /usr/share/mk. This avoids correct building of some ports (until now I discovered pdflib and gd2...for the first it's enough to use gmake, for the second I had to put complete paths to find the mks), but I think it's more serious than that. >How-To-Repeat: I tried to run "make -f bsd.lib.mk -d A" on an "old" machine and on the new one, from my home dir. The outputs become to differ here: [old bmake, working] Searching for bsd.lib.mk...failed. Searching for bsd.lib.mk.../usr/share/mk...here...returning /usr/share/mk/bsd.lib.mk Global:MAKEFILE = /usr/share/mk/bsd.lib.mk Searching for /usr/home/alex/../Makefile.inc...Looking for "/usr/home/alex/../Makefile.inc"...failed. Returning NULL Searching for /usr/home/alex/shlib_version...Looking for "/usr/home/alex/shlib_version"...failed. Returning NULL lhs = "elf", rhs = "elf", op = == Global:SONAME = ${SHLIB_NAME} lhs = "elf", rhs = "aout", op = != Searching for bsd.libnames.mk...failed. Searching for bsd.libnames.mk...failed. Searching for bsd.libnames.mk.../usr/share/mk...here...returning /usr/share/mk/bsd.libnames.mk Global:LIBCRT0 = ${DESTDIR}${LIBDIR}/crt0.o Global:LIBKZHEAD = ${DESTDIR}${LIBDIR}/kzhead.o Global:LIBKZTAIL = ${DESTDIR}${LIBDIR}/kztail.o [...] many lines here #*** Input graph: [new bmake, not working] Searching for /usr/home/alex/bsd.lib.mk...Looking for "/usr/home/alex/bsd.lib.mk"...failed. Returning NULL Searching for /usr/home/alex/bsd.lib.mk.../usr/share/mk...here...component mismatch -- continuing...Looking for "/usr/home/alex/bsd.lib.mk"...failed. Returning NULL #*** Input graph: >Fix: Ports work-around as described before. For bmake I dunno. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message