cygport partially broken by recent updates ?

Marco Atzeri marco.atzeri@gmail.com
Mon May 11 22:05:00 GMT 2015


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



More information about the Cygwin mailing list