Modify

Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#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:
https://dev.openwrt.org/changeset/33523 ?
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 4 years ago by xiangfu@…

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

comment:2 Changed 4 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 4 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 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.