Re: [Reproducible-builds] Bug#735377: 3.0 (native) silently ignores many binary files by default.

2016-04-27 Thread Holger Levsen
On Wed, Apr 27, 2016 at 11:15:27AM +0200, Raphael Hertzog wrote:
> > DEBUILD_DPKG_BUILDPACKAGE_OPTS="-uc -us -I -i"
> > Is this why?
> Yes. -I and --tar-ignore in debian/source/options are cumulative.

ok, thanks! I've had "-I -i" there for years & have just removed it now,
curious what future uploads of mine this will break ;-)


-- 
cheers,
Holger


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#735377: 3.0 (native) silently ignores many binary files by default.

2016-04-27 Thread Raphael Hertzog
On Tue, 26 Apr 2016, Holger Levsen wrote:
> Having done this, I checked my ~/.devscripts and found this:
> 
> DEBUILD_DPKG_BUILDPACKAGE_OPTS="-uc -us -I -i"
> 
> Is this why?

Yes. -I and --tar-ignore in debian/source/options are cumulative.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] Bug#735377: 3.0 (native) silently ignores many binary files by default.

2016-04-26 Thread Holger Levsen
Hi,

On Tue, Apr 26, 2016 at 10:54:15AM +0200, Guillem Jover wrote:
> That's weird, it does work fine here, just checked with git master to
> make sure there's been no regressions:

we've been seeing the same behavior when uploading diffoscope. When I
build it, tests/data/test(1|2).(o|a) are not part of the source package,
when Rainer or Mattia build it, they are there as they should be…

.../diffoscope$ cat debian/source/options 
# Default ignore patterns contains *.o and *.a. So we need to define our
# own
# patterns to get them included.
--tar-ignore=.*.sw?
--tar-ignore=*/*~
--tar-ignore=,,*
--tar-ignore=.[#~]*
--tar-ignore=.deps
--tar-ignore=.git
--tar-ignore=.gitattributes
--tar-ignore=.gitignore
--tar-ignore=.gitmodules
.../diffoscope$ ls tests/data/*.o
tests/data/test1.o  tests/data/test2.o
.../diffoscope$ ls tests/data/*.a
tests/data/test1.a  tests/data/test2.a

I'm building with plain "debuild -S" and just confirmed this in sid and
jessie. 

Having done this, I checked my ~/.devscripts and found this:

DEBUILD_DPKG_BUILDPACKAGE_OPTS="-uc -us -I -i"

Is this why?


-- 
cheers,
Holger


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds