Hello, I am using the Sbuild property on a jessie computer.
after installing this
& (Sbuild.built Sbuild.UseCcache $ props
& osDebian (Stable "jessie") X86_64
& Sbuild.update `period` Weekly (Just 1)
& Sbuild.useHostProxy irdrx1)
& Sbuild.userConfig (User "picca")
& Sbuild.usableBy (User "picca")
I get this error message
picca@irdrx1:~/Debian/python-qtconsole/python-qtconsole$ sbuild Error reading configuration: AUTOPKGTEST binary 'autopkgtest' does not exist or is not executable at /usr/share/perl5/Sbuild/Conf.pm line 75.
once autopkgtest
installed it works great.
So to my opinion the autopkgtest dependency is missing.
Cheers and thanks for this new Sbuild which is really nice
Frederic
done --spwhitton
I think that the issue is that under jessie the binary is named
adt-run
notautopkgtest
. In which case, the problem is inSbuild.userConfig
which refers toautopkgtest
. MaybeSbuild.useConfig
's haddock should say that it is for stretch and newer.Sbuild.built
already installsautopkgtest
(by means ofSbuild.preReqsInstalled
). So I don't see how installing that package could have fixed the problem. Possibly you installed from jessie-backports, and maybe that version provides/usr/bin/autopkgtest
?I will be able to check which version of autopkgtest is installed on the computer only monday. Yes the host is the computer that I am configuring, so it is a jessie computer.
cheers
Here the version, I installed
ii autopkgtest 4.4~bpo8+1 all automatic as-installed testing for Debian packages
Either is fine by me. The property could also be made to fail when run on an unsupported version of Debian.
I started preparing a patch so that
Sbuild.userConfig
would install the backport on Jessie, but realised that what is probably going on is that you have a backport of sbuild installed -- I assume that the sbuild that comes with jessie tries to invokeadt-run
notautopkgtest
. SoSbuild.userConfig
would have to check the installed version of sbuild before it could determine whether to install the backport of autopkgtest.I think it would be unwise to incorporate that complexity into Sbuild.hs for the sake of an old release of Debian, so I've mailed a patch to Joey simply documenting the issue.