lamby / travis.debian.net

Easily build and test your Debian packaging on travis-ci.org
http://travis.debian.net
GNU General Public License v3.0
35 stars 21 forks source link

debian/source/options appears to be ignored for autopkgtests #41

Closed lamby closed 7 years ago

lamby commented 7 years ago

eg. https://travis-ci.org/ReproducibleBuilds/diffoscope

Missing the .a and .o files in the autopkgtests for the above (see also https://github.com/ReproducibleBuilds/diffoscope/blob/master/debian/source/options#L1) so I think it is ignoring debian/source/options but only here (a regular package build doesn't do this).

lamby commented 7 years ago

@evgeni Any ideas here? I don't know much about autopkgtests...

evgeni commented 7 years ago

That's interesting. I'll see what can be done here.

evgeni commented 7 years ago

Ok, so the .o and .a are missing from the build. But that does not seem to be an autopkgtest issue.

a simple:

debcheckout diffoscope
cd diffoscope
gbp buildpackage --git-submodules --git-ignore-branch --git-export-dir=/tmp/build --git-builder='debuild -i -I -uc -us -sa'

yields a /tmp/build/diffoscope_76.tar.xz that lacks test1.a and test1.o.

evgeni commented 7 years ago

That is because we pass -I to debuild.

lamby commented 7 years ago

Ohh!

lamby commented 7 years ago

I thought -I was something to do with lintian info levels!

lamby commented 7 years ago