delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/31/19:22:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=W7P
CLHX+eqvZKaIT5LnAdoR7ozIlJVFkNbRPqCsjlf4lduDWQuG9hdy5nwGiifjoJG/
ag/fV9cU/A2TgYKAAHSfGC2Fuzlf4OpwJQkkM0QrZSKiv3EGu597DmU2ADM6WUWb
qgtEHPhKbJNLYgd63ihtQKxdrp1Dmwf93uaFUFqw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=cfPVQ7Gd2
X5D/bXMv6X7atHma5o=; b=RPs3tfmF9YsrkSec/B24l8uXVr0Bh15XrzMS0zN1t
KuQvtW+WDxjrpT6ENyy6aZPfg1dtDjy/DOtVJTbW2dD06sJk4/KUKApEbTvh7hXq
mxnKddHe8q+7l1Fk3Dmm2z8SHBw2e5MNmyh8FS5apF7KrwoYI4iX+FroFgj8FdMe
Sk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f47.google.com
X-Received: by 10.180.219.44 with SMTP id pl12mr15760755wic.12.1396308152677; Mon, 31 Mar 2014 16:22:32 -0700 (PDT)
Message-ID: <5339F8B6.7020804@gmail.com>
Date: Tue, 01 Apr 2014 02:22:30 +0300
From: i DOT like DOT privacy DOT too AT gmail DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: libuuid-devel: libuuid.a for static linking missing in latest package

I've just updated an old cygwin environment to latest, and my build 
broke. Further examination shows that when I upgraded from 
libuuid-devel-2.21-1 to libuuid-devel-2.21-2.1, the file 
/usr/lib/libuuid.a (which my build was relying on) disappeared.

contrast: 
<http://cygwin.com/cgi-bin2/package-cat.cgi?file=x86%2Flibuuid-devel%2Flibuuid-devel-2.21-1&grep=uuid 
<http://cygwin.com/cgi-bin2/package-cat.cgi?file=x86%2Flibuuid-devel%2Flibuuid-devel-2.21-1&grep=uuid>> 
vs. 
<http://cygwin.com/cgi-bin2/package-cat.cgi?file=x86%2Flibuuid-devel%2Flibuuid-devel-2.21.2-1&grep=uuid 
<http://cygwin.com/cgi-bin2/package-cat.cgi?file=x86%2Flibuuid-devel%2Flibuuid-devel-2.21.2-1&grep=uuid>>

Is this a bug or is this on purpose? My google-fu did not find a reason 
for this change, or that the disappearance of libuuid.a is documented 
anywhere. Asking the cygwin installer to use 2.21-1 works for me (as it 
still include libuuid.a), but I'd rather everything build with a default 
cygwin install.

Note that there *is* another libuuid.a available in the mingw packages, 
but those are not the same library - the mingw libuuid.a is a link 
library for the Win32 uuid.dll; wheras the (now missing) libuuid.a from 
libuuid-devel provides the unix style uuid library - an easy test: if 
the library contains the routine "uuid_compare", it is the Unix one; if 
it doesn't, it's the Windows one.

So, should I switch to shared libuuid.so, or should I try to submit a 
patch to add the .a again?

Thanks in advance.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019