Date: Thu, 11 Jul 2002 10:14:29 +0200 (CEST) From: Alex Dupre <sysadmin@alexdupre.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/40448: [bmake bug] BSD make cannot find system mks (on new releases) Message-ID: <200207110814.g6B8ETeF000317@vaio.alexdupre.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207110814.g6B8ETeF000317>
