#30136: libxslt: libtool: link: `/opt/local/lib/libxml2.la' is not a valid libtool archive -------------------------------------+-------------------------------------- Reporter: idrisadesanya@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libxslt, libxml2 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): The log says: {{{ :info:build /opt/local/include/X11/ICE/ICElib.h:1:1: warning: null character(s) ignored :info:build In file included from gnome-client.c:50: :info:build /opt/local/include/X11/SM/SMlib.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SmPointer' }}} In other words: ICElib.h is corrupt (contains null characters) as well, and SMlib.h then doesn't function properly because the thing it expected to have been defined in ICElib.h isn't there. You'll have to rebuild the port that provides ICElib.h as well. {{{ $ port provides /opt/local/include/X11/ICE/ICElib.h /opt/local/include/X11/ICE/ICElib.h is provided by: xorg-libice }}} But first you should really figure out why these files are corrupt to begin with. Could be a dying disk. Definitely make a backup of your disk immediately, and see if Disk Utility can repair it. -- Ticket URL: <https://trac.macports.org/ticket/30136#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS