Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#5968 closed defect (wontfix)

Darwinfox: sed: can't read build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-dev/usr/include/asm/user.h

Reported by: bohne-lang@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Kamikaze 8.09
Keywords: Cc:

Description

Problem: user.h: No such file or directory

Symtome:
make[4]: Entering directory `/home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/toolchain/kernel-headers'

bzcat /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/dl/linux-2.6.25.20.tar.bz2 | /bin/gtar -C /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1 -xf -

[...]

make[5]: Leaving directory `/home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-2.6.25.20'

cp -fpR /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-2.6.25.20/include/linux/user.h /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-2.6.25.20/include/linux/autoconf.h /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-dev/usr/include/linux/

ln -snf /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-dev/usr/include/arch-v10/arch /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-dev/usr/include/arch

/home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/staging_dir/host/bin/sed -i -e '/#include <asm\/page\.h>/d' /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-dev/usr/include/asm/user.h

/home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/staging_dir/host/bin/sed: can't read /home/.users/131/andreas/FoxBoard/openwrtSDK/DarwinfoxSDK/darwinfox/openwrt/build_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/linux-dev/usr/include/asm/user.h: No such file or directory

---
toolchain/kernel-headers/Makefile

define Host/Prepare/post/cris

$(CP) \

$(HOST_BUILD_DIR)/include/linux/user.h \

$(HOST_BUILD_DIR)/include/linux/autoconf.h \

$(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/linux/

ln -snf $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/arch-v10/arch \

$(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/arch

$(SED) '/#include <asm\/page\.h>/d' $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/user.h

endef


Quickfix:
Change $(SED) '/#include <asm\/page\.h>/d' $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/asm/user.h

to $(SED) '/#include <asm\/page\.h>/d' $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/linux/user.h

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by claudio

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

Bug report based on very old version.

comment:2 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.