[DragonFlyBSD - Bug #3414] (New) /rescue/awk is broken
liweitianux
bugtracker-admin at leaf.dragonflybsd.org
Tue Jun 23 02:07:50 PDT 2026
Issue #3414 has been reported by liweitianux.
----------------------------------------
Bug #3414: /rescue/awk is broken
http://bugs.dragonflybsd.org/issues/3414
* Author: liweitianux
* Status: New
* Priority: Normal
* Assignee: liweitianux
* Target version: 6.6
* Start date: 2026-06-23
----------------------------------------
@/rescue/awk@ simply segfauts when called.
It turns out the awk objects are missing in the crunched @rescue@, as the @crunchgen@ command warns:
<pre>
crunchgen: rescue.conf: awk: warning: could not find any .o files
crunchgen: rescue.conf: awk: ignoring program because of errors
</pre>
After investigation, it's because the specified awk SRCDIR is @usr.bin/awk@, which further contains two subdirectories: @awk@ (the real program) and @maketab@ (a host build tool).
However, the @<bsd.crunchgen.mk>@ make framework and @crunchgen(1)@ tool don't really support such a code layout. There is no way to specify the dependent build tools, and I haven't come up with a good solution. It seems both require an update to fix the limitation.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list