delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/11/17:36:14

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
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=wBNvvoT+O2a3neEO/lBe0WAipAJbeYTYT9QkGpXdJ/3
7qFP6jIqLyLJdRW+cuthVQ91OA6UkLYIaPur5r9wSDc6vODozfEfqJsvnCfi9tL6
xa7bPS0E7COUdjWjZJIlj4lX6Dc40rjsi9fVJsh6Uz6BGk/znXPGNbVxosi1OUNE
=
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
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=Tc5319ocLKunUHA8envS27heqH8=; b=qbxK3fk7pseteFJbM
A76p1NHzQC58KtcHndlNBifA8J3w3XOj5cUKtR+VCGTD1RIA94Ki7/2up59InF73
Yy89fHIq8aEOnJ4BT+YSQaJjuRXi7iN1bq3HbFvBICnm8mYNobYFB+jsAsUd42hv
T4hXAmeQbwRv//iq2Cd27JwYeU=
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=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wi0-f178.google.com
X-Received: by 10.181.11.129 with SMTP id ei1mr24124855wid.57.1431380152725; Mon, 11 May 2015 14:35:52 -0700 (PDT)
Message-ID: <555120AF.2010405@gmail.com>
Date: Mon, 11 May 2015 23:35:43 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygport partially broken by recent updates ?
References: <554F2A58 DOT 4080109 AT gmail DOT com> <1431367651 DOT 10560 DOT 1 DOT camel AT cygwin DOT com> <55511120 DOT 4040208 AT gmail DOT com>
In-Reply-To: <55511120.4040208@gmail.com>
X-IsSubscribed: yes

On 5/11/2015 10:29 PM, Marco Atzeri wrote:
> On 5/11/2015 8:07 PM, Yaakov Selkowitz wrote:
>> On Sun, 2015-05-10 at 11:52 +0200, Marco Atzeri wrote:
>>> I just noted that cygport seems not anymore able to
>>> produces debug info nor is correctly identifying
>>> package own dll's
>>

>
> It seems the only build difference. Ideas what to check ?

Looking better I notice that all the postinstall operation
are missing in the second case.
It seems that adding all the portion after cyginstall
---------------------------------------------------------------------
src_install()
{
   cd ${S}/..
   mkdir -p ${D}/usr
   cp -vr share ${D}/usr
   cd ${B}
   cyginstall

   inform " updating LIBs from .so -> .dll"
   cd ${D}/usr/share/singular/LIB
   sed -i -e "s/gfanlib.so/gfanlib.dll/g" -i divisors.lib gitfan.lib 
polymake.lib
   sed -i -e "s/polymake.so/polymake.dll/g" -i divisors.lib polymake.lib 
oldpolymake.lib
   sed -i -e "s/loctriv.so/loctriv.dll/g" -i KVequiv.lib
   sed -i -e "s/pyobject.so/pyobject.dll/g" -i polybori.lib
   sed -i -e "s/syzextra.so/syzextra.dll/g" -i schreyer.lib
   grep "\.so\"" *.lib
}
---------------------------------------------------------------------

made disappear all the post install actions:

---------------------------------------------------------------------
/usr/bin/install -m0644 COPYING 
/pub/devel/singular/prova2/singular-4.0.2a-1.x86_64/inst/usr/share/d
oc/singular/COPYING
/usr/bin/install -m0644 README 
/pub/devel/singular/prova2/singular-4.0.2a-1.x86_64/inst/usr/share/do
c/singular/README
Fixing symlinks:
Compressing man pages:
         ESingular.1
         Singular.1
         TSingular.1
Fixing libtool modules:
         usr/libexec/singular/MOD/bigintm.la
         usr/libexec/singular/MOD/gfanlib.la
         usr/libexec/singular/MOD/Order.la
         usr/libexec/singular/MOD/polymake.la
         usr/libexec/singular/MOD/pyobject.la
         usr/libexec/singular/MOD/singmathic.la
         usr/libexec/singular/MOD/syzextra.la
Stripping executables:
         usr/bin/cygfactory-4-0-2.dll
         usr/bin/cyggfan-0.dll
[cut]
---------------------------------------------------------------------

adding another cd ${B} at the end re-activated the
post install actions.

Yeah !

Marco

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