<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="generator" content="Osso Notes">
    <title></title></head>
<body>
<p>----- Original message -----
<br>&gt; Hi,
<br>&gt; 
<br>&gt; i booted the Debian installation of the project test machine
<br>&gt;&nbsp; &nbsp; &#32;Linux debian 2.6.26-2-amd64 #1 SMP Tue Jan 12 22:12:20 UTC 2010 x86_64
<br>&gt; (Yeah, luxury. A dedicated modern test machine. Donated.)
<br>&gt; 
<br>&gt; Now i would need instructions for dummies how to create a debuggable
<br>&gt; bsdtar resp. one that gives me opportunity to inject a few fprintf. 
<br>&gt; Internet is reachable from the system. (Not that i could remember
<br>&gt; how i did it a year ago.)
<br>
<br>you might want to start with apt-get update....
<br>
<br>Then try:
<br>mkdir /tmp/foobar &amp;&amp; cd /tmp/foobar
<br>apt-get source libarchive
<br>cd libarchive-2*
<br>DEB_BUILDGOPTIONS="noopt nostrip debug" dpkg-buildpackage -uc -us
<br>
<br>this should spit out .deb packages in /tmp/foobar containing non-optimized debuggage binaries.
<br>
<br>You install them with "dpkg -i /tmp/foobar/*.deb"
<br>
<br>if you want to inject printfs, just edit the source and rerun from the dpkg-buildpackage step.....
<br>
<br>&gt; 
<br>&gt; 
<br>&gt; Have a nice day :)
<br>&gt; 
<br>&gt; Thomas
<br>&gt; 
<br>&gt; 
<br>&gt; 
<br><br></p>
</body>
</html>