Modify

Opened 11 years ago

Closed 11 years ago

#2147 closed defect (fixed)

Build system is broken

Reported by: berny156 at gmx.de Owned by: developers
Priority: normal Milestone:
Component: base system Version:
Keywords: Cc:

Description

A fresh checkout of revision 8209 doesn't work:

$ make menuconfig
Checking 'non-root'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'bison'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'autoconf'... ok.
tools/Makefile:34: *** unterminated call to function `if': missing `)'.  Stop.
...
$ make clean
  make[1] clean
make clean: build failed. Please re-run make with V=99 to see what's going on
make: *** [clean] Fehler 1

Attachments (0)

Change History (5)

comment:1 Changed 11 years ago by anonymous

The 2nd example should have been with V=99:

$ make clean V=99
make[1]: Entering directory `/home/berny/src/openwrt/trunk.cur'
tools/Makefile:34: *** unterminated call to function `if': missing `)'.  Stop.
make[1]: Leaving directory `/home/berny/src/openwrt/trunk.cur'
make: *** [clean] Fehler 2

comment:2 Changed 11 years ago by nabcore

I'm seeing something similar:

[user@host trunk]$ svn up
At revision 8215.
[user@host trunk]$ rm -rf staging_dir_* toolchain_build_* tool_build build_* bin tmp
[user@host trunk]$ make V=99
Checking 'non-root'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'bison'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'autoconf'... ok.
tools/Makefile:34: *** unterminated call to function `if': missing `)'.  Stop.
Collecting package info: done
tools/Makefile:34: *** unterminated call to function `if': missing `)'.  Stop.
Collecting target info: done
make[1]: Entering directory `/scratch/openwrt/trunk/scripts/config'
make[1]: `conf' is up to date.
make[1]: Leaving directory `/scratch/openwrt/trunk/scripts/config'
Checking 'automake'... ok.
Checking 'automake'... ok.
make[1]: Entering directory `/scratch/openwrt/trunk'
tools/Makefile:34: *** unterminated call to function `if': missing `)'.  Stop.
make[1]: Leaving directory `/scratch/openwrt/trunk'
make: *** [world] Error 2

comment:3 Changed 11 years ago by nabcore

Hmm, just done some tests and it seems to be a make issue:

make-3.80-10.2 (FC5) Broken
make-3.81-6 (FC7) OK

comment:4 Changed 11 years ago by berny156 AT gmx.de

Yes, I've got make 3.80 too.
The fix in rev. 8230 works for me. Thanks for quick fix!
Please close the ticket.

comment:5 Changed 11 years ago by nbd

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

fixed in [8230]

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.