GNU bug report logs -
#11895
libtool 2.4.2: Several tests trigger spurious output on OS X due to conftest.dSYM dir
Previous Next
To reply to this bug, email your comments to 11895 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-libtool <at> gnu.org
:
bug#11895
; Package
libtool
.
(Tue, 10 Jul 2012 11:13:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Max Horn <max <at> quendi.de>
:
New bug report received and forwarded. Copy sent to
bug-libtool <at> gnu.org
.
(Tue, 10 Jul 2012 11:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi there,
there is a problem in libtool 2.4.2 that causes several libtool autoconf tests to generate spurious output on Mac OS X, like this:
[...]
checking for archiver @FILE support... rm: cannot remove `conftest.dSYM': Is a directory
no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... rm: cannot remove `conftest.dSYM': Is a directory
ok
[...]
It is well-known that the Mac OS X compilers generated "conftest.dSYM" directories with debug information under certain circumstances. See also this libtool discussion from 2007: <http://old.nabble.com/Mac-OS-X-Leopard-and-conftest.dSYM-directories-td13681269.html>
Now libtool already worked around this OS X behavior by changing instances
rm -f conftest*
to
rm -rf conftest*
However, it appears that three instances of this in libtool.m4 where overlooked or crept in at a later date. The attached patchs (one for 2.4.2, one for git) corrects that. Without this patch, the spurious autoconf output can lead to various issues; e.g. it causes hard test suite errors in automake 1.12.x.
Since this affects many, many projects out there using libtool, it would be nice if this could be fixed in a released version of libtool.
Thanks,
Max
[libtool-2.4.2-dSYM-fix.diff (application/octet-stream, attachment)]
[libtool-git-dSYM-fix.diff (application/octet-stream, attachment)]
Information forwarded
to
bug-libtool <at> gnu.org
:
bug#11895
; Package
libtool
.
(Tue, 10 Jul 2012 11:26:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11895 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sorry, I just realized that there are far more than three places where this problem occurs. The attached revised patch tries to address that.
Note that I did not attempt to unify the use of $RM vs. "rm -f", as I don't know whether there is any logic behind the current seemingly random switching between the two. And there are some instances left in autoconf, too. Will report those separately.
Cheers,
Max
[libtool-2.4.2-dSYM-fix.diff (application/octet-stream, attachment)]
[libtool-git-dSYM-fix.diff (application/octet-stream, attachment)]
This bug report was last modified 12 years and 349 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.