[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#569784: debootstrap: cannot build a clean Lenny chroot anymore

On Tue, Feb 16, 2010 at 1:16 AM, Frans Pop <elendil@planet.nl> wrote:
> On Monday 15 February 2010, Martin-Éric Racine wrote:
>> Setting -x did not produce any useful result; stdout shows the usual:
> That's because the debug output gets redirected to the log...

Where I looked too, as below.

>> ...meanwhile, tailing the log shows a neverending series of these:
>> + echo ''
>> + :
> Right. That's the debug output. So the segfault and its cause should be
> visible in there as well...

No, it is not. I was constantly monitoring the log. The last line
before that neverending series of echo was the one fetching a package.
It did not show me which binary failed.

>> ...which I presume to be debconf's way of "pressing Enter" into dpkg?
>> Not very useful tracing info, anyhow.
> Not if you only look at the bottom of the file. Try looking at the point
> where the failure originates.

Nope. See above.

>> I suppose this leaves tracking this with strace as a last resort.
>> However, I cannot remember if strace is actually capable of tracking
>> shell scripts?
> Sure it is. Just make sure you use '-f' so that subprocesses also get
> traced.

Noted. I'll try that.


Reply to: