Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8539 closed defect (fixed)

lsm compile fail - trunk r24839

Reported by: Marcos Tadeu <marcos@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

lsm do not compile in trunk r24839:
make[3]: Entering directory `/usr/local/download/src/OpenWRT/tpl-24839/feeds/packages/net/lsm'
echo sed -ie 's/\$(CC)/mipsel-openwrt-linux-uclibc-gcc/g' /usr/local/download/src/OpenWRT/tpl-24839/build_dir/target-mips_r2_uClibc-0.9.31/lsm-0.60/Makefile
sed -ie s/\$(CC)/mipsel-openwrt-linux-uclibc-gcc/g /usr/local/download/src/OpenWRT/tpl-24839/build_dir/target-mips_r2_uClibc-0.9.31/lsm-0.60/Makefile
make -C /usr/local/download/src/OpenWRT/tpl-24839/build_dir/target-mips_r2_uClibc-0.9.31/lsm-0.60 CC=ccache mips-openwrt-linux-uclibc-gcc
make[4]: Entering directory `/usr/local/download/src/OpenWRT/tpl-24839/build_dir/target-mips_r2_uClibc-0.9.31/lsm-0.60'
make[4]: * No rule to make target `mips-openwrt-linux-uclibc-gcc'. Stop.
make[4]: Leaving directory `/usr/local/download/src/OpenWRT/tpl-24839/build_dir/target-mips_r2_uClibc-0.9.31/lsm-0.60'

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by jow

This is related to using ccache. Please try the patch below.

--- package/feeds/packages/lsm/Makefile	(revision 24690)
+++ package/feeds/packages/lsm/Makefile	(working copy)
@@ -37,8 +37,7 @@
 endef
 
 define Build/Compile
-	echo sed -ie 's/\$$$$(CC)/mipsel-openwrt-linux-uclibc-gcc/g' $(PKG_BUILD_DIR)/Makefile
-	$(MAKE) -C $(PKG_BUILD_DIR) CC=$(TARGET_CC)
+	$(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)"
 endef
 
 define Package/lsm/install

comment:2 Changed 7 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Committed in r24872 - I believe the issue has been dealt with.

comment:3 Changed 4 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.