bugGNU Octave - Bugs: bug #43359, 'make maintainer-clean' fails when...

 
 

bug #43359: 'make maintainer-clean' fails when removing nonexistent files

Submitter:  Dan Sebald <sebald>
Submitted:  Sun 05 Oct 2014 05:19:22 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 06 Oct 2014 05:03:27 PM UTC, comment #2: 

I checked in your changeset here (http://hg.savannah.gnu.org/hgweb/octave/rev/7315760b9045).  Maybe it should be backported to 4.0 or 3.8?


Rik <rik5>
Group administrator
Sun 05 Oct 2014 05:27:41 AM UTC, comment #1: 

I forgot the bug # in the comment.

(file #32225)

Dan Sebald <sebald>
Sun 05 Oct 2014 05:19:22 AM UTC, original submission:  

When running

make maintainer-clean

with a half built or unbuilt source tree I see:


if [ "x../../octave/scripts" != "x." ]; then \
  rm java/org/octave/images/question.png java/org/octave/images/error.png java/org/octave/images/warning.png java/org/octave/images/information.png java/org/octave/images/octave.png; \
fi
rm: cannot remove `java/org/octave/images/question.png': No such file or directory
rm: cannot remove `java/org/octave/images/error.png': No such file or directory
rm: cannot remove `java/org/octave/images/warning.png': No such file or directory
rm: cannot remove `java/org/octave/images/information.png': No such file or directory
rm: cannot remove `java/org/octave/images/octave.png': No such file or directory
make[1]: *** [distclean-local] Error 1


Adding '-f' to the 'rm' fixes that:


distclean-local:
        if [ "x$(srcdir)" != "x." ]; then \
          rm $(java_JAVA_IMAGES); \
        fi


Dan Sebald <sebald>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #32225:  octave-force_rm-2014oct06.patch added by sebald (612B - application/octet-stream)
file #32224:  octave-force_rm-2014oct05.patch added by sebald (607B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by sebald (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 group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-06 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2014-10-05 sebald Attached File- Added octave-force_rm-2014oct06.patch, #32225
    2014-10-05 sebald Attached File- Added octave-force_rm-2014oct05.patch, #32224

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code