Hi Yaakov,
can you also consider to add the attached patch?

Without it the extraction of debug info enter in a never ending loop
in lib/src_postinst.cygpart

I am using a symbolic link in my build directory to share between
the two archs.

$ readlink -f /pub/devel
/cygdrive/e/cyg_pub/devel

and when using "/pub/devel" as baseline the loop never matches
as one side is using readlink and the other not.

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

If I am not wrong it also hit a similar problem somewhere
else and adjusting "_topdir" is the simpler solution;
or at least never gave me anymore problem.

Regards
Marco






--- /usr/bin/cygport~   2015-07-20 09:12:08.000000000 +0200
+++ /usr/bin/cygport    2015-11-21 17:45:13.583854800 +0100
@@ -395,7 +395,7 @@
 then
        if [ -f ./${cygportfile} ]
        then
-               _topdir=.;
+               _topdir=$(readlink -f .);
        else
                _topdir=/usr/src;
        fi
--
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

Reply via email to