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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 28 10:30:49 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-28 10:30 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
====================================================================== 

---------------------------------------------------------------------- 
 (0105660) svnbot (reporter) - 2009-05-28 10:30
 https://issues.asterisk.org/view.php?id=15209#c105660 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 197263

_U  branches/1.6.2/
U   branches/1.6.2/Makefile

------------------------------------------------------------------------
r197263 | seanbright | 2009-05-27 15:11:26 -0500 (Wed, 27 May 2009) | 16
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
  
  Use bash explicitly when calling build_tools/mkpkgconfig from the
Makefile.
  
  Since we use bashisms in build_tools/mkpkgconfig, we should call on bash
  explicitly when running from the Makefile, otherwise we get errors
during a
  'make install.'
  
  (closes issue https://issues.asterisk.org/view.php?id=15209)
  Reported by: seandarcy
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-28 10:30 svnbot         Checkin                                      
2009-05-28 10:30 svnbot         Note Added: 0105660                          
======================================================================




More information about the asterisk-bugs mailing list