[asterisk-bugs] [Asterisk 0017621]: [patch] sounds/Makefile ignores checksum errors

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 28 15:02:26 CDT 2010


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17621 
====================================================================== 
Reported By:                bjm
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   17621
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Target Version:             1.6.2.12
Asterisk Version:           SVN 
JIRA:                       SWP-1841 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 275549 
Request Review:              
====================================================================== 
Date Submitted:             2010-07-11 19:07 CDT
Last Modified:              2010-07-28 15:02 CDT
====================================================================== 
Summary:                    [patch] sounds/Makefile ignores checksum errors
Description: 
While installing 1.6.2-SVN on OpenBSD 4.7, I got the disconcerting message
"/bin/sh: sha1sum: not found", yet the install continued.  The sha1sum
issue seems to be fixed in trunk,  but sounds/Makefile still ignores
errors. It emits the "Bad checksum:" message and exits 1, but inside a
subshell whose exit status is ignored.  So a symlink to the bad file is
created in sounds/, and a 0 status is returned to make, letting the install
continue with a dubious file in SOUNDS_CACHE_DIR.
====================================================================== 

---------------------------------------------------------------------- 
 (0125225) svnbot (reporter) - 2010-07-28 15:02
 https://issues.asterisk.org/view.php?id=17621#c125225 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 280231

U   branches/1.6.2/sounds/Makefile

------------------------------------------------------------------------
r280231 | qwell | 2010-07-28 15:02:25 -0500 (Wed, 28 Jul 2010) | 6 lines

Work around some silly behavior on BSD.

A non-zero exit from a subshell should make the build fail.

(closes issue https://issues.asterisk.org/view.php?id=17621)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-28 15:02 svnbot         Checkin                                      
2010-07-28 15:02 svnbot         Note Added: 0125225                          
2010-07-28 15:02 svnbot         Status                   feedback => assigned
======================================================================




More information about the asterisk-bugs mailing list