pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/37968: bootstrap-mk-files does LORDER?=echo for linux
The following reply was made to PR pkg/37968; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/37968: bootstrap-mk-files does LORDER?=echo for linux
Date: Mon, 23 May 2022 05:11:17 +0000
Not only has this not been fixed, it's spread:
% grep -l 'LORDER.*=.*echo' pkgtools/bootstrap-mk-files/files/mods/*.mk
pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk
pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk
pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk
pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk
pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk
pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk
pkgtools/bootstrap-mk-files/files/mods/QNX.sys.mk
Since the invocation is $(CC) `$(LORDER) $(OBJS) | $(TSORT)` this will
work and produce a spurious ordering half the time, and fail the other
half. (And fail always if tsort demands two entries per line, as ours
doesn't but I think it's entitled to.)
Unless TSORT is set to cat; this is the case for QNX but nothng else.
Unfortunately, there's a user of tsort that uses it for something
other than lorder output; pkgtools/cdpack uses it to sort dependency
lists. Setting TSORT to cat will break that... so I'm not sure how to
proceed.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index