From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91252 invoked by alias); 21 Aug 2016 04:01:49 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 91237 invoked by uid 89); 21 Aug 2016 04:01:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:cd21273, H*f:sk:cd21273, H*i:sk:cd21273 X-HELO: limerock01.mail.cornell.edu Received: from limerock01.mail.cornell.edu (HELO limerock01.mail.cornell.edu) (128.84.13.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 Aug 2016 04:01:37 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u7L41YCa002734 for ; Sun, 21 Aug 2016 00:01:35 -0400 Received: from [192.168.1.5] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u7L41X7X008649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 21 Aug 2016 00:01:34 -0400 Subject: Re: libtool: error: cannot find the library '/usr/lib/libxcb.la'... To: cygwin@cygwin.com References: From: Ken Brown Message-ID: Date: Sun, 21 Aug 2016 12:28:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00378.txt.bz2 On 8/20/2016 5:54 PM, Ken Brown wrote: > I'm trying to rebuild texlive, and the build on x86 is failing as follows: > > make[2]: Entering directory '/home/kbrown/src/cygtexlive/texlive/texlive-20160520-2.i686/build/texk/xdvik' > /bin/sh ./libtool --tag=CC --mode=link gcc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/home/kbrown/src/cygtexlive/texlive/texlive-20160520-2.i686/build=/usr/src/debug/texlive-20160520-2 -fdebug-prefix-map=/home/kbrown/src/cygtexlive/texlive/texlive-20160520-2.i686/src/texlive-20160520-source=/usr/src/debug/texlive-20160520-2 -o xdvi-bin.exe main.o libxdvi.a /home/kbrown/src/cygtexlive/texlive/texlive-20160520-2.i686/build/texk/kpathsea/libkpathsea.la -lfreetype -Xlinker --allow-multiple-definition -lXaw -lXmu -lXt -lSM -lICE -lXi -lXext -lXpm -lX11 > libtool: error: cannot find the library '/usr/lib/libxcb.la' or unhandled argument '/usr/lib/libxcb.la' > > (/usr/lib/libxcb.la was removed from the x86 distro in the recent update of libxcb-devel.) I think I found the problem, but I don't have access to my build machine right now to test it: Several /usr/lib/*.la files include the non-existent /usr/lib/libxcb.la in their dependency_libs. In particular, this is true of /usr/lib/libXext.la. So I'm guessing that the presence of -lXext in the libtool command line is causing libtool to look for /usr/lib/libxcb.la. Can someone confirm this guess? If I'm right, then it seems that /usr/lib/libxcb.la should be restored until all packages that depend on it can be rebuilt. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple