delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/10/04:59:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: [ANNOUNCEMENT] Updated: cygport-0.10.11-1
Date: Tue, 10 Jul 2012 08:58:53 +0000 (UTC)
Lines: 35
Message-ID: <loom.20120710T105612-19@post.gmane.org>
References: <announce DOT 1341382978 DOT 5108 DOT 20 DOT camel AT YAAKOV04>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

Yaakov (Cygwin/X <yselkowitz <at> users.sourceforge.net> writes:
> * Split debuginfo subpackages are created automatically whenever
> possible.

Thank you.

I suggest the following patch to greatly reduce the amount of temporary storage
needed:

diff -c src_postinst.cygpart.orig src_postinst.cygpart
*** src_postinst.cygpart.orig	2012-07-04 07:49:54.000000000 +0200
--- src_postinst.cygpart	2012-07-10 10:53:25.748594900 +0200
***************
*** 929,935 ****
  			dbg="/usr/lib/debug/${exe}.dbg";
  
  			dodir ${dbg%/*};
! 			${objdump} -dl ${exe} | grep /usr/src/debug | sed -e 's/:[0-9]*$//g' >>
${T}/.dbgsrc.lst;
  
  			# --add-gnu-debuglink will fail if .gnu_debuglink section
  			# already exists, e.g. binutils, which uses hardlinks,
--- 929,935 ----
  			dbg="/usr/lib/debug/${exe}.dbg";
  
  			dodir ${dbg%/*};
! 			${objdump} -dl ${exe} | grep /usr/src/debug | sed -e 's/:[0-9]*$//g' | uniq
>> ${T}/.dbgsrc.lst;
  
  			# --add-gnu-debuglink will fail if .gnu_debuglink section
  			# already exists, e.g. binutils, which uses hardlinks,


Regards,
Achim.


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