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

 
 

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

Submitted by:  Joel Fredrikson <joelfred>
Submitted on:  Mon 30 May 2016 09:32:18 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.2Operating System: POSIX-Based
Fixed Release: 4.2.1Triage Status: Small Effort

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed for the next release, thanks.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 31 May 2016 06:28:31 AM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.2.1
      Triage StatusNone=>Small Effort

    Back to the top


    Powered by Savane 3.1-cleanup1