cygport: patch for proper debuginfo

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cygport: patch for proper debuginfo

cygwin-apps mailing list
In some conditions the debuginfo creation enters in a never ending loop
due to the asymmetrical usage of readlink between


lib/src_postinst.cygpart :

      origdlname=${dlname}
      while [ $(readlink -f ${ltlibdir}/${dlname%/bin/*}) !=
${D}$(__host_prefix) ]
       do
               dlname=../${dlname}
       done


and bin/cygport.in:
                _topdir=.;


This happens when the directory of building has a link in one
of the parent directories

$ pwd
/pub/devel/openblas

$ readlink -f .
/cygdrive/d/cyg_pub/devel/openblas

Regards
Marco

readlink.patch (402 bytes) Download Attachment