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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 27 15:11:02 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:11 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
====================================================================== 

---------------------------------------------------------------------- 
 (0105583) svnbot (reporter) - 2009-05-27 15:11
 https://issues.asterisk.org/view.php?id=15209#c105583 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 197262

_U  branches/1.6.1/
U   branches/1.6.1/Makefile

------------------------------------------------------------------------
r197262 | seanbright | 2009-05-27 15:11:01 -0500 (Wed, 27 May 2009) | 13
lines

Merged revisions 197260 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r197260 | seanbright | 2009-05-27 16:08:16 -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=197262 

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




More information about the asterisk-bugs mailing list