bugThe FreeType Project - Bugs: bug #44019, Weird rm/rmdir during 'make...

 
 

bug #44019: Weird rm/rmdir during 'make install'

Submitted by:  Daniel Macks <dmacks>
Submitted on:  Fri 16 Jan 2015 05:32:48 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 17 Jan 2015 08:03:12 PM UTC, comment #2:

Exactly.

I'm marking this as invalid, but suggestions how to make this easier to recognize are highly welcomed :-)

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 17 Jan 2015 05:41:10 PM UTC, comment #1:

Looking at other freetype on various machines, is this to clean up/uninstall older version that had a different header layout or location?

Daniel Macks <dmacks>
Fri 16 Jan 2015 05:32:48 AM UTC, original submission:

Built freetype-2.5.5 with

./configure --prefix=/sw --libdir=/sw/lib/freetype219/lib --with-old-mac-fonts --disable-static
make
make -j1 install DESTDIR=/sw/build.build/root-freetype219-2.5.5-1

DESTDIR is a staging directory that did not previously exist (prior to this build) from which I will create a tarball for deployment to other systems. Towards the end of this last command, I see:

for P in /sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/include/config/ftheader.h /sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/include/config/ftoption.h /sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/include/config/ftmodule.h /sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/include/config/ftconfig.h /sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/include/config/ftstdlib.h /sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/objs/ftmodule.h ; do \
/sw/bin/ginstall -c -m 644 \
$P /sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/config ; \
done
rm -f /sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/freetype/config/*
rmdir /sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/freetype/config
rmdir: /sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/freetype/config: No such file or directory
/sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/builds/unix/install.mk:32: recipe for target 'install' failed
rm -f /sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/freetype/*
make: [install] Error 1 (ignored)
rmdir /sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/freetype
rmdir: /sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/freetype: No such file or directory
/sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/builds/unix/install.mk:32: recipe for target 'install' failed
/sw/bin/ginstall -c -m 644 ./builds/unix/ftconfig.h \
/sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/config/ftconfig.h
make: [install] Error 1 (ignored)
/sw/bin/ginstall -c -m 644 /sw/build.build/freetype219-2.5.5-1/freetype-2.5.5/objs/ftmodule.h \
/sw/build.build/root-freetype219-2.5.5-1/sw/include/freetype2/config/ftmodule.h

the ignored error is confusing. It's installing the files one place, then deleting files from somewhere else (and acceptably failing because they don't exist). What is the goal of the attempted removal of what looks like the same set of files/dirs but one level deeper in the hierarchy (freetype2/freetype/config vs freetype2/config)?

Daniel Macks <dmacks>

 

(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 wl (Posted a comment)
  • -unavailable- added by dmacks (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Mar 2015 06:10:26 AM UTCwlOpen/ClosedOpen=>Closed
    Sat 17 Jan 2015 08:03:12 PM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl

    Back to the top


    Powered by Savane 3.1-cleanup1