Re: [Crystal-cvs] SF.net SVN: crystal:[39184] CS/trunk/scripts/packaging/deb/ubuntu

Philip Wyett <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.devel
Organization Cohere Technology
Message-ID <1362600272.2500.6.camel@cohere-tech>
On Wed, 2013-03-06 at 18:48 +0100, res wrote:
> On 06.03.2013 12:27, [email protected] wrote:
> > @@ -59,12 +60,12 @@
> >  
> >  	# Move .dbg files from /usr/lib to libcrystalspace-dbg package
> >  	mkdir -p $(CURDIR)/debian/libcrystalspace-dbg/usr/lib/debug/usr/lib && \
> > -		mv $(CURDIR)/debian/libcrystalspace-2.0/usr/lib/*.dbg \
> > +		mv $(CURDIR)/debian/libcrystalspace-2.1/usr/lib/*.dbg \
> >  		$(CURDIR)/debian/libcrystalspace-dbg/usr/lib/debug/usr/lib
> >  
> >  	# Remove .dbg files generated during build
> >  	rm $(CURDIR)/debian/crystalspace/usr/bin/*.dbg
> > -	rm $(CURDIR)/debian/libcrystalspace-2.0/usr/lib/crystalspace-2.0/*.dbg
> > +	rm $(CURDIR)/debian/libcrystalspace-2.1/usr/lib/crystalspace-2.1/*.dbg
> >  
> >  	# Fix extra-license-file lintian warnings:
> >  	-rm $(CURDIR)/debian/crystalspace-doc/usr/share/doc/crystalspace-*/LICENSE
> 
> To me (not really knowing anything about .deb packaging) this looks
> somewhat contradictory – the .dbg files are first moved away, but then
> deleted? Can you shed some light on what's going there?
> 
> Anyhow, it would generally be desirable to provide .dbg files...
> actually not only for the libs, but also for the tools – they may crash
> as well, after all.
> 
> At least on Fedora there's even a pretty automatic mechanism to install
> debug info packages – run a program in gdb and it tells you the command
> to install any missing debug info. Does Debian and/or Ubuntu have a
> similar system? If so, would be great if that could be supported ;)
> 
> -f.r.
> 

The moving of *dbg files in this manner maybe a legacy trait which may
no longer be necessary. I will look at this as part of the whole
updating of the build scripts and making them compliant with debian and
ubuntu policies.

Agreed. We should have the full raft of *.dbg files available for end
user crash reports. Well... When we have a working and viable bug
tracking system that is. ;-)

Not sure if debian/ubuntu has this feature. It would be nice to tell
users that they can run an app etc. with issues in gdb and it prompts
for debug package install. I will research this in time. If no, maybe
will can beef up the docs with a section on effective bug reporting.

Regards

Phil

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAABAgAGBQJRN6FQAAoJECbp4tiSYwR/9XQQAKPhYL3mbVURKHszOrqXlU+8
hEfTsfNxwdH3aE+svKVV/tQmWcGAANv45UvcrtlvDkUf3BOdLUE9conMgcVFmaMW
qz4h2DmrAuCybLkg8wckalm3RoeG+ySsN1j5jonKH9lem6+xdSG2REyJgFey+gM4
i9hnl21w37RKnAbwh/5a1koyll2sZs/p9RZ4z3/XzaTK9BrQiUo2gi863f3BGyRc
2WiQKp5a0G6248mau7cSmLoYl+0Hi+lTGBXY02vKGElwVVi89tRtKZzkNEF436OH
KkCZOu5i9iF4mIk4HdgMEphqJsPEb6MLRA1UCAd1zZm1kgqs6Qph7SCLSpdq4UC+
e+Dpi9NkLCz/rjAyKJEeae6+C1B+iv9KB21b45Mo6qTWa/vuroyyo8+j0vMU/pSC
94Ig3XhL5XJsVGhX0x2TC1BG+Fi+h6HTj91z8Y60y05i+KcqsAgAd42bpzSeRKob
w3D9o34Ly14YXOoZIwAjd3DTQKn7xuobd1cle5PeoxMgoBq5eHhKkmzz+BZ1O4t5
Z7VFphNYU2CGP/2U+u8kCR1ZhkbkLD/RreHH/yPRjwsfBBvmaHU/w0VLJ3ManlYi
BYT5j6xN1yTcn/ywpMxutzKrBBBa/kbQhMP9NhVbE3HyK8tlmvUJywqF2+AnVTHw
R1DLYjOPN7sYIorEuj0r
=S3qX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.