Modify

Opened 7 years ago

Closed 7 years ago

Last modified 2 years ago

#5434 closed defect (worksforme)

make kernel_menuconfig fails with error 2 on rev. 16621

Reported by: glp Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: toolchain Version: Trunk
Keywords: Cc:

Description

When running 'make kernel_menuconfig' it fails with 'error 2', due to the following ->

OpenWrt/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/.quilt_checked] Error 127

This happens on trunk rev. 16621 and 'make kernel_menuconfig' runs without errors on 8.09.1 with the same revision.

Attachments (0)

Change History (7)

comment:1 follow-up: Changed 7 years ago by florian

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

I cannot reproduce that bug.

comment:2 in reply to: ↑ 1 Changed 7 years ago by s-keimes@…

quilt has to be installed on the build host.
Maybe add [ which quilt ] ?

comment:3 follow-ups: Changed 7 years ago by jeronimo <jm+openwrtdev@…>

I have a similar issue using trunk that I checked out some time ago.

make[1]: Entering directory `/local/home/neo/wrt-svn/trunk'
make[2]: Entering directory `/local/home/neo/wrt-svn/trunk'
make[3]: Entering directory `/local/home/neo/wrt-svn/trunk/target/linux'
make[4]: Entering directory `/local/home/neo/wrt-svn/trunk/target/linux/brcm-2.4'
rm -rf /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4
mkdir -p /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4
bzcat /local/home/neo/wrt-svn/trunk/dl/linux-2.4.37.2.tar.bz2 | /bin/tar -C /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4 -xf -
rm -rf /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/patches; mkdir -p /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/patches
cp -fpR "./files"/. /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/
find /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/ -name \*.rej -or -name \*.orig | xargs -r rm -f
touch /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/.quilt_used
touch /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/.prepared
if [ -s "/local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/patches/series" ]; then (cd "/local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
make[4]: *** [/local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/.quilt_checked] Error 1
make[4]: Leaving directory `/local/home/neo/wrt-svn/trunk/target/linux/brcm-2.4'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/local/home/neo/wrt-svn/trunk/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/local/home/neo/wrt-svn/trunk'
make[1]: *** [/local/home/neo/wrt-svn/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.target_compile] Error 2
make[1]: Leaving directory `/local/home/neo/wrt-svn/trunk'
make: *** [world] Error 2

I will try again when SVN is available again maybe there are updates.

comment:4 in reply to: ↑ 3 Changed 7 years ago by jeronimo <jm+openwrtdev@…>

Replying to jeronimo <jm+openwrtdev@…>:
That's a normal "make V=99" btw

comment:5 in reply to: ↑ 3 Changed 6 years ago by tpbuser666@…

Replying to jeronimo <jm+openwrtdev@…>:

I have a similar issue using trunk that I checked out some time ago.

make[1]: Entering directory `/local/home/neo/wrt-svn/trunk'
make[2]: Entering directory `/local/home/neo/wrt-svn/trunk'
make[3]: Entering directory `/local/home/neo/wrt-svn/trunk/target/linux'
make[4]: Entering directory `/local/home/neo/wrt-svn/trunk/target/linux/brcm-2.4'
rm -rf /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4
mkdir -p /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4
bzcat /local/home/neo/wrt-svn/trunk/dl/linux-2.4.37.2.tar.bz2 | /bin/tar -C /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4 -xf -
rm -rf /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/patches; mkdir -p /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/patches
cp -fpR "./files"/. /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/
find /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/ -name \*.rej -or -name \*.orig | xargs -r rm -f
touch /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/.quilt_used
touch /local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/.prepared
if [ -s "/local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/patches/series" ]; then (cd "/local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
make[4]: *** [/local/home/neo/wrt-svn/trunk/build_dir/linux-brcm-2.4/linux-2.4.37.2/.quilt_checked] Error 1
make[4]: Leaving directory `/local/home/neo/wrt-svn/trunk/target/linux/brcm-2.4'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/local/home/neo/wrt-svn/trunk/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/local/home/neo/wrt-svn/trunk'
make[1]: *** [/local/home/neo/wrt-svn/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.target_compile] Error 2
make[1]: Leaving directory `/local/home/neo/wrt-svn/trunk'
make: *** [world] Error 2

I will try again when SVN is available again maybe there are updates.

Just to add a bit of info, error 127 means that quilt is not installed on the system, and error 1 means that the quilt executable is there, but it wasn't installed properly.

In case of error 1, run quilt and see if the 'Commands are:' list is empty. If so, you have a botched quilt install.

comment:6 Changed 5 years ago by anonymous

Installing quilt fixed the issue for me.

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