cygport debuginfo extraction

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Sep 21 17:33:00 GMT 2012


On 2012-09-21 08:06, Achim Gratz wrote:
> I'm re-packaging the perl module DBI::Dumper as a Cygwin package for internal
> distribution and the debuginfo package is not produced.  This is because
> /usr/src/debug stays empty, while the .dll.dbg file is produced.  I can't figure
> out what's keeping the source information from being extracted, there are
> literally dozens of other perl module packages where this works correctly.

The C extension included in DBI::Dumper is precompiled by Inline::C 
rather than the usual MakeMaker-controlled XS->C->dll dance, so the 
usual means of getting debuginfo (via the OPTIMIZE Makefile variable) 
doesn't work.  AFAICS the solution would have to be package-specific 
(although I'm not sure exactly how yet).  I wouldn't spend too much time 
trying to figure this one out though.

BTW, in the future (and this goes for everyone), if you have a question 
about cygport, it would be helpful if you attach the .cygport in 
question, even if it's not perfect, so I don't have to recreate it myself.


Yaakov


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