#12308 closed defect (too_vague)
"bash: +make: command not found" for host build
| Reported by: | bas@… | Owned by: | developers |
|---|---|---|---|
| Priority: | normal | Milestone: | Barrier Breaker 14.07 |
| Component: | packages | Version: | Trunk |
| Keywords: | Cc: |
Description
Could you please justify this changeset:
/changeset/33523.html ?
Especially i'm wondering about this line:
https://dev.openwrt.org/browser/trunk/include/host-build.mk#L100
The host build fails for me yielding "bash: +make: command not found"
Attachments (0)
Change History (4)
comment:1 Changed 5 years ago by xiangfu@…
comment:2 Changed 5 years ago by nbd
- Resolution set to too_vague
- Status changed from new to closed
The + is necessary to ensure that make makes the jobserver available to the child process. If you have an issue compiling a specific package, then at least mention which one it is.
The snippet posted by xiangfu can be easily reworked by either moving the variable export to make context, or by copying the small bit of code from Host/Compile/Default
comment:3 Changed 5 years ago by xiangfu@…
Thanks for comment. the problem package is here(http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/gforth). we have fixed problem by remove the 'export' command.
The snippet posted by xiangfu can be easily reworked by either moving the variable export to make context, or by copying the small bit of code from Host/Compile/Default
wrote down to my memo :). thanks nbd.
comment:4 Changed 4 years ago by jow
- Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07
Milestone Attitude Adjustment 12.09 deleted

it's happen, when we have some kind of this define in makefile:
define Host/Compile export LD_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib; \ $(call Host/Compile/Default, gforth gforth.fi) endef