Nicolas François wrote: > Hello, > > On Thu, Jul 06, 2006 at 03:58:53PM +0200, Simone Piccardi wrote: >> Nicolas François wrote: >>> Does "cat debian/changelog | tail -n 40" works nicely? >> Yes, fine, [...] > > Then, does: > > perl -e 'open(STDIN,"< debian/changelog") || die "error1"; > open(P,"tail -n 40 |") || die "error2"; > while(<P>) { } close(P); print "status: $?\n"' > > works too?
Sorry for beeing late. These the results: [EMAIL PROTECTED]:~/Devel/packages/truelite-firewall$ perl -e 'open(STDIN,"< debian/changelog") || die "error1"; > open(P,"tail -n 40 |") || die "error2"; > while(<P>) { } close(P); print "status: $?\n"' status: 0 [EMAIL PROTECTED]:~/Devel/packages/truelite-firewall$ [EMAIL PROTECTED]:~/Devel/packages/truelite-firewall$ dpkg-parsechangelog dpkg-parsechangelog: failure: tail of debian/changelog died from signal 13 > > > Also, your bug report looks like http://bugs.debian.org/338863 > Do you have strange messages in /var/log/messages, or are you using fakeroot? But I'm getting signal 13, that's SIGPIPE, quite different from a segment violation. I looked in the log files, also while making dpkg-parsechangelog, but nothing arises. Regards Simone -- Simone Piccardi Truelite Srl [EMAIL PROTECTED] (email/jabber) Via Monferrato, 6 Tel. +39-347-1032433 50142 Firenze http://www.truelite.it Tel. +39-055-7879597 Fax. +39-055-7333336