bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RH#128226] mkdir .libs -> directory already exists. when using make -


From: Daniel Reed
Subject: [RH#128226] mkdir .libs -> directory already exists. when using make -j (fwd)
Date: Thu, 2 Sep 2004 14:02:07 -0400 (EDT)

[From https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=128226]

Description of problem:
Builds (of graphviz, but presumably of other packages too) with "make -j"
produce many "directory already exists" warnings.
The warnings come from libtool generated "mkdir .libs" statements.

Version-Release number of selected component (if applicable):
libtool-1.5.6-4

How reproducible:
100% on dual processor machine

Steps to Reproduce:
1. ./configure; make -j



The original reporter worked around the issue with the following patch:

--- ltmain.sh.orig       2004-07-05 23:30:16.000000000 -0400
+++ ltmain.sh    2004-07-20 09:20:52.980481383 -0400
@@ -77,7 +77,7 @@
 default_mode=
 help="Try \`$progname --help' for more information."
 magic="%%%MAGIC variable%%%"
-mkdir="mkdir"
+mkdir="mkdir -p"
 mv="mv -f"
 rm="rm -f"




I can reproduce by grabbing graphviz-1.13.20040803.0430.tar.gz (which uses a patched 1.5.6) from www.graphviz.org, reversing his patch (change config/ltmain.sh's reference to "mkdir -p" to just "mkdir"), and running ./configure; make -j on a 4-processor machine.

 ...
if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -g -O2 -MT visibility.lo -MD -MP -MF ".deps/visibility.T$then mv -f ".deps/visibility.Tpo" ".deps/visibility.Plo"; else rm -f ".deps/visibility.Tpo"; exit 1; fi
mkdir .libs
mkdir .libs
mkdir: cannot create directory `.libs': File exists
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -g -O2 -MT inpoly.lo -MD -MP -MF .deps/inpoly.Tpo -c inpoly.c -fPIC -DPIC -o .libs/inpoly.o
 ...

--
Daniel Reed <address@hidden>      http://people.redhat.com/djr/   Desktop and 
Cygwin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]