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

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


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15209 
====================================================================== 
Reported By:                seandarcy
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   15209
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-27 14:08 CDT
Last Modified:              2009-05-27 15:13 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
====================================================================== 

---------------------------------------------------------------------- 
 (0105587) svnbot (reporter) - 2009-05-27 15:13
 https://issues.asterisk.org/view.php?id=15209#c105587 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 197265

_U  trunk/

------------------------------------------------------------------------
r197265 | seanbright | 2009-05-27 15:13:12 -0500 (Wed, 27 May 2009) | 12
lines

Blocked revisions 197264 via svnmerge

........
  r197264 | seanbright | 2009-05-27 16:12:06 -0400 (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=197265 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-27 15:13 svnbot         Checkin                                      
2009-05-27 15:13 svnbot         Note Added: 0105587                          
======================================================================




More information about the asterisk-bugs mailing list