[asterisk-bugs] [Asterisk 0015209]: make install: build_tools/mkpkgconfig: 21: [[: not found

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 27 15:08:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15209 
====================================================================== 
Reported By:                seandarcy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15209
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.9 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-27 14:08 CDT
Last Modified:              2009-05-27 15:08 CDT
====================================================================== 
Summary:                    make install:  build_tools/mkpkgconfig: 21: [[: not
found
Description: 
I've rebuilding 1.6.0.9 a bit and noticed the following:

make install
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect
CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/home/asterisk/asterisk-1.6.0.9/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/home/asterisk/asterisk-1.6.0.9/menuselect'
menuselect/menuselect --check-deps menuselect.makeopts  
Generating embedded module rules ...
if [ x`/usr/bin/id -un` = xroot ]; then CFLAGS=" -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3
-march=i686 " sh build_tools/mkpkgconfig /usr/lib/pkgconfig; fi
build_tools/mkpkgconfig: 21: [[: not found
mkdir -p /var/lib/asterisk/static-http
............

Not sure if it has any effect.

This is on ubuntu feisty.

bash --version
GNU bash, version 3.2.13(1)-release (i486-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.

sean
====================================================================== 

---------------------------------------------------------------------- 
 (0105581) svnbot (reporter) - 2009-05-27 15:08
 https://issues.asterisk.org/view.php?id=15209#c105581 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 197260

U   trunk/Makefile

------------------------------------------------------------------------
r197260 | seanbright | 2009-05-27 15:08:16 -0500 (Wed, 27 May 2009) | 6
lines

Since we use bashisms in build_tools/mkpkgconfig, we should call on bash
explicitly when running from the Makefile.

(closes issue https://issues.asterisk.org/view.php?id=15209)
Reported by: seandarcy

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=197260 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-27 15:08 svnbot         Note Added: 0105581                          
======================================================================




More information about the asterisk-bugs mailing list