bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Small bug in tar-1.29


From: Rob Gross
Subject: Re: [Bug-tar] Small bug in tar-1.29
Date: Mon, 5 Sep 2016 14:19:48 -0400 (EDT)
User-agent: Alpine 2.03 (OSX 1266 2009-07-14)

Hi, Jack,

You wrote:

 > It would be helpful if you confimed what the linkages for gtar
 > looked like with...
 >
 > otool -L /usr/local/Cellar/gnu-tar/1.29/bin/gtar

$ otool -L /usr/local/bin/gnutar
/usr/local/bin/gnutar:
        /usr/local/lib/libintl.8.dylib (compatibility version 10.0.0, current 
version 10.3.0)
        /usr/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current 
version 8.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1226.10.1)
        
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 
(compatibility version 150.0.0, current version 1258.1.0)
        /Users/gross/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, 
current version 1.0.0)

 > and double check that you don't have any headers or libs for
 > libiconv, gettext, and libintl accidentally installed in /usr/local
 > (to make sure you aren't ending up with mismatched headers and libs
 > during the tar build).

They are all installed in /usr/local.  I'm not using homebrew or any
similar systems--I install programs manually (metaphorically).
There's no possibility of conflict, because those are the only copies
on the system, as far as I know.  I ran "make check" before installing
each, and no errors were reported.

 > ps I suspect you will also find that passing --disable-nls to
 > configure during the tar build will also suppress your problem.

Correct.  Does that help in any way to narrow down the source of the
bug?

 > Also, I suspect that building tar against libiconv without
 > gettext is poorly tested on OS X.

gettext is also installed.  I'm not sure why it's not showing up on
the list above, because it's in /usr/local/lib.  I think that tar is
calling xgettext instead, based on the references to xgettext in
Makefile.

Incidentally, running "gdb" on the latest Mac OS is a pain--Apple
thought for some reason that it was a security risk.  Running "lldb,"
the default debugger, told me nothing.--Rob

--
Rob Gross                              (617) 552-3758
Department of Mathematics              http://fmwww.bc.edu/gross/
Boston College                         address@hidden
Chestnut Hill, MA 02467-3806



reply via email to

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