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

Re: hoogle autopkgtest



On Thu, Jul 10, 2014 at 10:05:19PM +0200, Joachim Breitner wrote:
> Hi,
> 
> Am Donnerstag, den 10.07.2014, 21:30 +0200 schrieb Iustin Pop:
> > The reason I ask is because I see this:
> > 
> > # hoogle.tar.gz (for downloads/hoogle.tar.gz)
> > 2014-07-05 16:31:29 URL:http://hackage.haskell.org/packages/hoogle.tar.gz [16414141/16414141] -> "downloads/hoogle.tar.gz" [1]
> > Downloaded downloads/hoogle.tar.gz
> > # hoogle.tar (for downloads/hoogle.tar)
> > Extracting tar file downloads/hoogle.index
> > # hoogle.tar (for downloads/hoogle.index)
> > Finished extracting tar file downloads/hoogle.index
> > 
> > So it looks like, while non-hermetic, this is not what breaks the test.
> > 
> > Looking at the autotest definition, it seems that the non-hermeticism is
> > not the problem at all. The tests fail with:
> > 
> > apt0t-install-remove FAIL status: 0, stderr: 2014-07-05…
> > 
> > And this is because the control file doesn't specify 'allow-stderr' - so
> > this is only failing because the downloader writes to stderr.
> 
> good catch.
> 
> Still, can we prevent it from downloading? Its not nice if programs
> fetch stuff from the internet without asking. And if we can get it to be
> silent on stderr this way, even better. "allow-stderr" might make use
> miss real errors.

The test suite here runs with -e, so I think that's good enough. I think
a stop-gap of making the test suite pass, and only then see why it wants
to download the database - I'm not familiar with the debianization of
hoogle, does it do this even on end-user machines?

I see that already the package includes the jquery sources in its
debian/ dir. Is that an acceptable way to include the database? Or do
you mean to generate it from the installed packages?

> > Now to send this small patch… debcheckout haskell-hoogle fails,
> https://alioth.debian.org/tracker/index.php?func=detail&aid=314757
> 
> > and I
> > fear I'll have to learn darcs again… I'll send a patch after I confirm
> > autopkgtest works.
> 
> If you have our tools repo checked out
> (from git+ssh://git.debian.org/git/pkg-haskell/tools), then
> $ pkg-haskell-checkout haddock
> is more convenient.

Thanks, will try to use that.

iustin

Attachment: signature.asc
Description: Digital signature


Reply to: