bugmake - Bugs: bug #48061, make check in...

 
 

bug #48061: make check in targets/DELETE_ON_ERROR fails on Solaris 10

Submitter:  Joel Fredrikson <joelfred>
Submitted:  Mon 30 May 2016 09:32:18 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.2 Operating System:  POSIX-Based
Fixed Release:  4.2.1 Triage Status:  Small Effort
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 31 May 2016 06:28:32 AM UTC, comment #1: 

Fixed for the next release, thanks.

Paul D. Smith <psmith>
Group administrator
Mon 30 May 2016 09:32:18 PM UTC, original submission:  

When compiling make 4.2, I noticed a problem with the test-suite.

make check fails in targets/DELETE_ON_ERROR on Solaris 10 due to the assumption that false should have a exit status 1, when in reality it is only specified to exit with a non-zero value.

% cat tests/work/targets/DELETE_ON_ERROR.diff
* work/targets/DELETE_ON_ERROR.base   Mon May 30 22:34:35 2016
--- work/targets/DELETE_ON_ERROR.log    Mon May 30 22:34:35 2016
*************
* 1,3 **
  false > all
! make: * [work/targets/DELETE_ON_ERROR.mk:3: all] Error 1
  make: * Deleting file 'all'
--- 1,3 ----
  false > all
! make: * [work/targets/DELETE_ON_ERROR.mk:3: all] Error 255
  make: * Deleting file 'all'

% uname -a
SunOS nereus 5.10 Generic_150401-36 i86pc i386 i86pc
% /bin/false > /dev/null
% echo $?
255
% /it/sw/gnutools/bin/false --version
false (GNU coreutils) 8.25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jim Meyering.
% /it/sw/gnutools/bin/false > /dev/null
% echo $?
1
%

Joel Fredrikson <joelfred>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by joelfred (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-31 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.2.1
        Triage StatusNone Small Effort

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code