Bug#854745: diffoscope: autopkgtest failures

2017-02-09 Thread Chris Lamb
tags 854745 + pending
thanks

Fixed in Git:

  
https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=520f8c6998c11b0cddefb75a52e877d7930270d3


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

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


Processed: Re: diffoscope: autopkgtest failures

2017-02-09 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 854745 + pending
Bug #854745 [src:diffoscope] diffoscope: autopkgtest failures
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
854745: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854745
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

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


NetBSD run

2017-02-09 Thread Christos Zoulas

Hi,

First thanks very much for hosting NetBSD! It has been really
helpful. I noticed that there was a run today, but unfortunately
our git sync was broken so repository was the same as last week.
We fixed it now so if you can run again it will run with the new
data, and hopefully all the repro issues should be fixed. I know
it will run again next Thursday, but if you can kick it sooner,
I'd really appreciate it.

Thanks,

christos

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


Processed: Re: Bug#854745: diffoscope: autopkgtest failures

2017-02-09 Thread Debian Bug Tracking System
Processing control commands:

> notfound -1 65
Bug #854745 [src:diffoscope] diffoscope: autopkgtest failures
The source 'diffoscope' and version '65' do not appear to match any binary 
packages
No longer marked as found in versions diffoscope/65.
> found -1 75
Bug #854745 [src:diffoscope] diffoscope: autopkgtest failures
Marked as found in versions diffoscope/75.

-- 
854745: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854745
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

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


Bug#854745: diffoscope: autopkgtest failures

2017-02-09 Thread Mattia Rizzolo
Control: notfound -1 65
Control: found -1 75

On Fri, Feb 10, 2017 at 01:30:24AM +0100, Mattia Rizzolo wrote:
> Version: 65

off by ten.

Yes I know v76 is out too (and still untested), but I have no reasons to
think that version fixes it.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


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

Bug#854745: diffoscope: autopkgtest failures

2017-02-09 Thread Mattia Rizzolo
Source: diffoscope
Version: 65
Severity important

https://ci.debian.net/data/packages/unstable/amd64/d/diffoscope/20170209_233402.autopkgtest.log.gz

adt-run [23:40:53]: test command1: debian/tests/pytest
adt-run [23:40:53]: test command1: [---
= test session starts ==
platform linux -- Python 3.5.3, pytest-3.0.6, py-1.4.32, pluggy-0.4.0 -- 
/usr/bin/python3
cachedir: .cache
rootdir: /tmp/autopkgtest-virt-lxc.shared.f_roa_k1/downtmp/autopkgtest_tmp, 
inifile: 
collecting ... collected 286 items

...

=== short test summary info 
FAIL tests/comparators/test_debian.py::test_dot_changes_invalid
FAIL 
tests/comparators/test_debian.py::test_dot_changes_no_differences_exclude_buildinfo
FAIL 
tests/comparators/test_debian.py::test_dot_changes_identical_contents_and_different_files
FAIL 
tests/comparators/test_debian.py::test_dot_changes_different_contents_and_identical_files
FAIL tests/comparators/test_debian.py::test_dot_dsc_invalid
FAIL tests/comparators/test_debian.py::test_dot_dsc_internal_diff
FAIL tests/comparators/test_debian.py::test_dot_dsc_compare_non_existing
FAIL tests/comparators/test_debian.py::test_dot_buildinfo_invalid
FAIL tests/comparators/test_debian.py::test_dot_buildinfo_internal_diff
FAIL tests/comparators/test_debian.py::test_dot_buildinfo_compare_non_existing
FAIL tests/comparators/test_elf.py::test_differences_with_dbgsym

...

=== FAILURES ===
___ test_dot_changes_invalid ___

tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0')

@skip_unless_module_exists('debian.deb822')
def test_dot_changes_invalid(tmpdir):
tmpdir.mkdir('a')
dot_changes_path = str(tmpdir.join('a/test_1.changes'))
shutil.copy(TEST_DOT_CHANGES_FILE1_PATH, dot_changes_path)
# we don't copy the referenced .deb
identified = specialize(FilesystemFile(dot_changes_path))
>   assert not isinstance(identified, DotChangesFile)
E   assert not True
E+  where True = isinstance(< 
/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0/a/test_1.changes>, 
DotChangesFile)

dot_changes_path = 
'/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0/a/test_1.changes'
identified = < 
/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0/a/test_1.changes>
tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0')

tests/comparators/test_debian.py:96: AssertionError
__ test_dot_changes_no_differences_exclude_buildinfo ___

dot_changes1 = < 
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/a/test_1.changes>
dot_changes3 = < 
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/c/test_3.changes>

@skip_unless_module_exists('debian.deb822')
def test_dot_changes_no_differences_exclude_buildinfo(dot_changes1, 
dot_changes3):
difference = dot_changes1.compare(dot_changes3)
>   assert difference is None
E   assert  is None

difference = 
dot_changes1 = < 
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/a/test_1.changes>
dot_changes3 = < 
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/c/test_3.changes>

tests/comparators/test_debian.py:126: AssertionError
___ test_dot_changes_identical_contents_and_different_files 

dot_changes_differences_identical_contents_and_different_files = []

@skip_unless_module_exists('debian.deb822')
def 
test_dot_changes_identical_contents_and_different_files(dot_changes_differences_identical_contents_and_different_files):
>   assert dot_changes_differences_identical_contents_and_different_files[0]
E   IndexError: list index out of range

dot_changes_differences_identical_contents_and_different_files = []

tests/comparators/test_debian.py:130: IndexError
___ test_dot_changes_different_contents_and_identical_files 

dot_changes_differences_different_contents_and_identical_files = []

@skip_unless_module_exists('debian.deb822')
def 
test_dot_changes_different_contents_and_identical_files(dot_changes_differences_different_contents_and_identical_files):
>   assert dot_changes_differences_different_contents_and_identical_files[0]
E   IndexError: list index out of range

dot_changes_differences_different_contents_and_identical_files = []

tests/comparators/test_debian.py:136: IndexError
_ test_dot_dsc_invalid _

tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0')
dot_dsc2 = < 
/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0/b/test_1.dsc>

@skip_unless_module_exists('debian.deb822')
def test_dot_dsc_invalid(tmpdir, dot_dsc2):
tmpdir.mkdir('a')
dot_dsc_path = str(tmpdir.join('a/test_1.dsc'))
shutil.copy(TEST_D

Bug#854723: diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive

2017-02-09 Thread Chris Lamb
Ximin Luo wrote:

> this particular scheme might not work so well with large archives
> with lots and lots of members

Mm although unlikely to be a serious problem as we aren't iterating
over the directory. 

> Also, are you sure this doesn't interfere with the detection of
> order-only differences, or the ability to match up
> similar-member-names?

We still use the archive's member name throughout diffoscope; the
unpacked path shouldn't leak outside of that comparator. Also, the
tests pass… *g*


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

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

Bug#854723: diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive

2017-02-09 Thread Ximin Luo
Ximin Luo:
> Chris Lamb:
>> tags 854723 + pending
>> thanks
>>
>>> diffoscope may write to arbitrary locations on disk depending on the 
>>> contents
>>> of an untrusted archive
>>
>> We can actually avoid all edge-cases of sanitisation by simply not using
>> the supplied filename and maintaining our own mapping.
>>
>> Given this is both safer (and has far less code) I've gone ahead and 
>> committed
>> that here:
>>
>>   
>> https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=632a40828a54b399787c25e7fa243f732aef7e05
>>
> 
> Thanks, this is better.
> 
> However this particular scheme might not work so well with large archives 
> with lots and lots of members (>many thousands), depending on what filesystem 
> the tempdir contained in. I'd suggest to use names like $x/$y where $x = idx 
> // 4096, $y = idx % 4096.
> 

Also, are you sure this doesn't interfere with the detection of order-only 
differences, or the ability to match up similar-member-names?

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git

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


Bug#854723: diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive

2017-02-09 Thread Ximin Luo
Chris Lamb:
> tags 854723 + pending
> thanks
> 
>> diffoscope may write to arbitrary locations on disk depending on the contents
>> of an untrusted archive
> 
> We can actually avoid all edge-cases of sanitisation by simply not using
> the supplied filename and maintaining our own mapping.
> 
> Given this is both safer (and has far less code) I've gone ahead and committed
> that here:
> 
>   
> https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=632a40828a54b399787c25e7fa243f732aef7e05
> 

Thanks, this is better.

However this particular scheme might not work so well with large archives with 
lots and lots of members (>many thousands), depending on what filesystem the 
tempdir contained in. I'd suggest to use names like $x/$y where $x = idx // 
4096, $y = idx % 4096.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git

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


Bug#854723: diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive

2017-02-09 Thread Chris Lamb
tags 854723 + pending
thanks

> diffoscope may write to arbitrary locations on disk depending on the contents
> of an untrusted archive

We can actually avoid all edge-cases of sanitisation by simply not using
the supplied filename and maintaining our own mapping.

Given this is both safer (and has far less code) I've gone ahead and committed
that here:

  
https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=632a40828a54b399787c25e7fa243f732aef7e05


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

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


Processed: Re: Bug#854723: diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive

2017-02-09 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 854723 + pending
Bug #854723 [diffoscope] diffoscope writes to arbitrary locations on disk based 
on the contents of an untrusted archive
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
854723: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854723
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

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


Bug#854723: diffoscope writes to arbitrary locations on disk based on the contents of an untrusted archive

2017-02-09 Thread Ximin Luo
Package: diffoscope
Version: 67
Severity: grave
Tags: patch security
Justification: user security hole

Dear Maintainer,

5fdfe91e71f1c520d902350b18f793b8c69d9118 introduced a security hole where
diffoscope may write to arbitrary locations on disk depending on the contents
of an untrusted archive. For example, comparing the following two files:

https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=843811;filename=libBrokenLocale.a.0;msg=5
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;bug=843811;filename=libBrokenLocale.a.1;msg=5

Traceback (most recent call last):
  File "/home/infinity0/xx/diffoscope/diffoscope/main.py", line 281, in main
sys.exit(run_diffoscope(parsed_args))
[..]
  File 
"/home/infinity0/xx/diffoscope/diffoscope/comparators/utils/libarchive.py", 
line 174, in extract
self.ensure_unpacked()
  File 
"/home/infinity0/xx/diffoscope/diffoscope/comparators/utils/libarchive.py", 
line 219, in ensure_unpacked
os.makedirs(os.path.dirname(dst), exist_ok=True)
  File "/usr/lib/python3.5/os.py", line 241, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/SYM64'

Note that this could easily have been something like /home/infinity0/.profile.

I have pushed a nearly-complete fix to git (after version 75 was just released)
which prevents the writes. However reads are still done using the uncleaned
names, but this is a much less severe issue. So, if I don't supply a fix for
the second lesser issue soon, the existing fix should be released ASAP.

X

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (300, 'unstable'), (200, 'experimental'), (1, 
'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages diffoscope depends on:
ii  python3-libarchive-c   2.1-3.1
ii  python3-magic  1:5.29-3
ii  python3-pkg-resources  33.1.1-1
pn  python3:any

Versions of packages diffoscope recommends:
ii  acl2.2.52-3
ii  apktool2.2.1+dfsg-2
ii  binutils-multiarch 2.27.90.20170124-2
ii  bzip2  1.0.6-8.1
ii  caca-utils 0.99.beta19-2+b1
ii  colord 1.3.3-2
ii  cpio   2.11+dfsg-6
ii  default-jdk [java-sdk] 2:1.8-58
ii  default-jdk-headless   2:1.8-58
ii  enjarify   1:1.0.3-3
ii  fontforge-extras   0.3-4
ii  fp-utils   3.0.0+dfsg-10
ii  fp-utils-3.0.0 [fp-utils]  3.0.0+dfsg-10
ii  genisoimage9:1.1.11-3
ii  gettext0.19.8.1-2
ii  ghc8.0.1-17
ii  ghostscript9.20~dfsg-2
ii  gnupg  2.1.18-3
ii  jsbeautifier   1.6.4-6
ii  llvm   1:3.8-34+b1
ii  mono-utils 4.6.2.7+dfsg-1
ii  openjdk-8-jdk [java-sdk]   8u121-b13-2
ii  openssh-client 1:7.4p1-6
ii  pdftk  2.02-4+b1
ii  poppler-utils  0.48.0-2
ii  python3-argcomplete1.8.1-1
ii  python3-debian 0.1.30
ii  python3-guestfs1:1.34.3-7
ii  python3-progressbar2.3-4
ii  python3-rpm4.12.0.2+dfsg1-1
ii  python3-tlsh   3.4.4+20151206-1+b1
ii  rpm2cpio   4.12.0.2+dfsg1-1
ii  sng1.1.0-1+b1
ii  sqlite33.16.2-2
ii  squashfs-tools 1:4.3-3
ii  unzip  6.0-21
ii  vim-common 2:8.0.0197-1
ii  xxd2:8.0.0197-1
ii  xz-utils   5.2.2-1.2

Versions of packages diffoscope suggests:
ii  libjs-jquery  3.1.1-2

-- no debconf information

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


Bug#854670: marked as done (diffoscope: autopkgtest failures)

2017-02-09 Thread Debian Bug Tracking System
Your message dated Thu, 09 Feb 2017 20:49:18 +
with message-id 
and subject line Bug#854670: fixed in diffoscope 75
has caused the Debian Bug report #854670,
regarding diffoscope: autopkgtest failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
854670: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854670
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: diffoscope
Version: 74
Severity: important

autopkgtest still fails:
https://ci.debian.net/data/packages/unstable/amd64/d/diffoscope/20170209_062723.autopkgtest.log.gz

adt-run [06:33:34]: test command1: debian/tests/pytest
adt-run [06:33:34]: test command1: [---
= test session starts ==
platform linux -- Python 3.5.3, pytest-3.0.6, py-1.4.32, pluggy-0.4.0 -- 
/usr/bin/python3
cachedir: .cache
rootdir: /tmp/autopkgtest-virt-lxc.shared.u49x4h5t/downtmp/autopkgtest_tmp, 
inifile: 
collecting ... collected 259 items / 2 errors

=== short test summary info 
ERROR tests/comparators/test_debian.py
ERROR tests/comparators/test_elf.py
 ERRORS 
__ ERROR collecting tests/comparators/test_debian.py ___
ImportError while importing test module 
'/tmp/autopkgtest-virt-lxc.shared.u49x4h5t/downtmp/autopkgtest_tmp/tests/comparators/test_debian.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:418: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:662: in pyimport
__import__(modname)
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
py.builtin.exec_(co, mod.__dict__)
tests/comparators/test_debian.py:89: in 
@skip_unless_module_exists('debian.deb822')
tests/comparators/utils/tools.py:66: in skip_unless_module_exists
importlib.util.find_spec(name) is None,
/usr/lib/python3.5/importlib/util.py:88: in find_spec
parent = __import__(parent_name, fromlist=['__path__'])
E   ImportError: No module named 'debian'
 ERROR collecting tests/comparators/test_elf.py 
ImportError while importing test module 
'/tmp/autopkgtest-virt-lxc.shared.u49x4h5t/downtmp/autopkgtest_tmp/tests/comparators/test_elf.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:418: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:662: in pyimport
__import__(modname)
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
py.builtin.exec_(co, mod.__dict__)
tests/comparators/test_elf.py:123: in 
@skip_unless_module_exists('debian.deb822')
tests/comparators/utils/tools.py:66: in skip_unless_module_exists
importlib.util.find_spec(name) is None,
/usr/lib/python3.5/importlib/util.py:88: in find_spec
parent = __import__(parent_name, fromlist=['__path__'])
E   ImportError: No module named 'debian'
!!! Interrupted: 2 errors during collection 
=== 2 error in 0.91 seconds 
adt-run [06:33:36]: test command1: ---]
adt-run [06:33:36]: test command1:  - - - - - - - - - - results - - - - - - - - 
- -
command1 FAIL non-zero exit status 2


-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: diffoscope
Source-Version: 75

We believe that the bug you reported is fixed in the latest version of
diffoscope, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 854...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb  (supplier of updated diffoscope package)

(This message was gener

diffoscope_75_amd64.changes ACCEPTED into unstable

2017-02-09 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Fri, 10 Feb 2017 09:28:47 +1300
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 75
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks 

Changed-By: Chris Lamb 
Description:
 diffoscope - in-depth comparison of files, archives, and directories
Closes: 854670
Changes:
 diffoscope (75) unstable; urgency=medium
 .
   [ Chris Lamb ]
   * Fix ImportError in Debian comparator tests. This was caused by not
 handling the case where ``importlib.find_spec`` was testing for a submodule
 (ie. ``debian.Deb822``) where it will attempt to import the ``debian``
 module and raise an exception if it does not exist. Thanks to Iain Lane for
 initial patches. (Closes: #854670)
 .
   [ Ximin Luo ]
   * Remove pointless use of a thread
Checksums-Sha1:
 e0a80b66cc90795aa0c31daebb88c6df5661e711 2972 diffoscope_75.dsc
 1e976f5912edc348b48ef734da280fdb4afd41b9 340324 diffoscope_75.tar.xz
 8b6b805c2397ac858571ce8c325107960814 16033 diffoscope_75_amd64.buildinfo
Checksums-Sha256:
 55d8d34a3e389463604320037cb188495d210960782bce34349c168bccc1290e 2972 
diffoscope_75.dsc
 9b1becfaefabe47ddf821d9c943dd3320938a4dbe7e545f5b27baa35b80fafc0 340324 
diffoscope_75.tar.xz
 d09db1a6d41eaae979de7b2a424d92af5e5520d8bcefd4e857ca26720acbfd98 16033 
diffoscope_75_amd64.buildinfo
Files:
 0d5a0aa31ba4a78a139e9aa115578472 2972 devel optional diffoscope_75.dsc
 8d507328985f8ecca0008e09df0bb720 340324 devel optional diffoscope_75.tar.xz
 4163145eaed680c91d839f955472a575 16033 devel optional 
diffoscope_75_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlic0uMACgkQHpU+J9Qx
Hlj0lhAAxW18N3xbgJdcMVvhovrskMSYgaT3UsaYANYT+Zh26Ctw71KGrepmbkPZ
Wp/b+mjdVG1PLANeJyxN6EmWpcXBzr9sNitWNyc9OfPd6M4mdfu+qATcqI+91zNQ
t0Ifml6/Vb3ehs76XtaFnhgA/JrDn3kHJgbF+oHL+6m25zuIcOQaFcAd84iE13DG
lM0rnkeDf7mmPbuzajt86w2wbyUSp8cd67m0WORO32uufrd7PHLOUkw91uxqxo/Y
43av66aUxsrPEaOgeEcWsRwhph+ssjqzEb2EJ+YdRSvBCge26ZEXHZfIYvHzjNuG
fidm+zn8Vd2f7bstZGudypfNM0zOQddmp/hqsaKU0roZx5vgnv4Aa142oyxXEdDZ
qn9/vwepJOjeSWFsLC3SEPDzujUwYbz+AJSpH+VeHyvVH+5toFUXosNwO5BqLdAZ
JVFL0S2z/agwOY17dy+Oyd5XnAQBuW2VbDe2frT0GBV1+gGQVXlKZg9xm+AHqCyk
Ha2QM4LJH210IGCjakEO7S+jfJcBb8WarBiOPQIrTDFo4XDSLIb5j+OsICzKItBm
MF6QpnubpVejMOUPdFhfGMI0SaJHsuUBWHxT4iqKt1IfoL+9e3sMDsslYctAs5Vb
+LIy85n9ubrt0DQrC6yAnQRN1pAPynAzfdu7h652Y0jvtXLhetg=
=hjLZ
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

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


Processing of diffoscope_75_amd64.changes

2017-02-09 Thread Debian FTP Masters
diffoscope_75_amd64.changes uploaded successfully to localhost
along with the files:
  diffoscope_75.dsc
  diffoscope_75.tar.xz
  diffoscope_75_amd64.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)

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


Bug#854670: diffoscope: autopkgtest failures

2017-02-09 Thread Chris Lamb
tags 854670 + pending
thanks

Fixed in Git:

  
https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=541de9e1f69f2fec5451584359c5f0c2aad1f172


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

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


Processed: Re: diffoscope: autopkgtest failures

2017-02-09 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 854670 + pending
Bug #854670 [src:diffoscope] diffoscope: autopkgtest failures
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
854670: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854670
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

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


Bug#852013: Patch to prevent segfaults on signal

2017-02-09 Thread Ximin Luo
The bug is closed, but I took a closer look at the issue to learn more about 
the situation.

Chris' commit fixed the cleanup issue, but I think Brett's FIFO patch was 
probably also needed to deal with the segfaults.

Brett Smith:
> [..] While I was debugging, I added the line
> `traceback.print_stack(stack_frame, file=sys.stderr)` to the top of
> sigterm_handler, before the exit.
> 
> When Python *did* segfault, it was always in the middle of trying to
> acquire a threading.Lock object.  [..]
> 
> I bring all this up to say, I'm not shocked that we might see different
> results on different systems.  Python itself and potentially glibc are
> involved here too.  For example, one theory I had is that the glibc call
> underlying the lock.acquire() method is not reentrant, but Python was
> trying to reenter it after handling SIGTERM in the main thread.
> 
> [..]

I'm not sure if your method of adding pdb calls will reliably catch SEGV at the 
right place exactly where they occur. It's better to use gdb:


$ diffoscope --version
diffoscope 67
$ apt-get install libc6-dbg python3-dbg
$ apt-get source glibc python3.5
$ diffoscope /usr/bin/pandoc /usr/bin/git-annex &
[..]

$ gdb -q python3 $(pgrep -f diffoscope) -d glibc-2.24/debian -d 
python3.5-3.5.3/debian
Reading symbols from python3...Reading symbols from 
/usr/lib/debug/.build-id/db/fc2e1a3c58b6d241b3f9af7b2fb3a24b81b90e.debug...done.
done.
Attaching to program: /usr/bin/python3, process 19406
[New LWP 19444]
[New LWP 19447]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x7fa48b9f3536 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, 
expected=0, futex_word=0x564087d107b0) at 
../sysdeps/unix/sysv/linux/futex-internal.h:205
205   int err = lll_futex_timed_wait_bitset (futex_word, expected, abstime,


# Send INT to python3
# Have to do it this way when gdb is attached, kill(1) doesn't work
(gdb) signal 2
Continuing with signal SIGINT.

Thread 3 "diffoscope" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa4794ce700 (LWP 19447)]
__memmove_sse2_unaligned_erms () at 
../sysdeps/x86_64/multiarch/../multiarch/memmove-vec-unaligned-erms.S:333
333 VMOVU   %VEC(0), (%rdi)


# Python stack trace
(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 209, in 
feeder
out_file.write(out)
  File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 186, in 
feeder
end_nl = make_feeder_from_raw_reader(command.stdout, 
command.filter)(out_file)
  File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 197, in feed
end_nl = feeder(f)
  File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/diff.py", line 213, in run
super().run(*args, **kwargs)
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
  File "/usr/lib/python3.5/threading.py", line 882, in _bootstrap
self._bootstrap_inner()

(gdb) py-locals
out_file = <_io.BufferedWriter at remote 0x7fa47ac099e8>
max_lines = 1048576
line_count = 287187
end_nl = False
h = <_hashlib.HASH at remote 0x7fa47abea328>
buf = b'04295240  0008 R_X86_64_RELATIVE
 4295202\n'
out = b'04295240  0008 R_X86_64_RELATIVE
 4295202\n'

(gdb) py-bt-full
#5 Frame 0x7fa47abdea20, for file 
/usr/lib/python3/dist-packages/diffoscope/difference.py, line 209, in feeder 
(out_file=<_io.BufferedWriter at remote 0x7fa47ac099e8>, max_lines=1048576, 
line_count=287187, end_nl=False, h=<_hashlib.HASH at remote 0x7fa47abea328>, 
buf=b'04295240  0008 R_X86_64_RELATIVE  
   4295202\n', out=b'04295240  0008 R_X86_64_RELATIVE   
  4295202\n')
out_file.write(out)
#9 Frame 0x7fa474001e88, for file 
/usr/lib/python3/dist-packages/diffoscope/difference.py, line 186, in feeder 
(out_file=<_io.BufferedWriter at remote 0x7fa47ac099e8>)
end_nl = make_feeder_from_raw_reader(command.stdout, 
command.filter)(out_file)
#13 Frame 0x7fa474001c78, for file 
/usr/lib/python3/dist-packages/diffoscope/diff.py, line 197, in feed 
(feeder=, f=<_io.BufferedWriter at remote 
0x7fa47ac099e8>, end_nl_q=, [.. etc ..] ...(truncated)
end_nl = feeder(f)
#19 Frame 0x7fa47a98b238, [.. etc ..]


# Machine stack trace
# Frames 0-5 are Python executing `out_file.write(out)`
(gdb) bt
#0  __memmove_sse2_unaligned_erms () at 
../sysdeps/x86_64/multiarch/../multiarch/memmove-vec-unaligned-erms.S:333
#1  0x5640852b72e7 in memcpy () at 
/usr/include/x86_64-linux-gnu/bits/string3.h:53
#2  _io_BufferedWriter_write_impl.isra.2 (self=0x7fa47ac099e8) at 
../Modules/_io/bufferedio.c:1952
#3  _io_BufferedWriter_write () at ../Modules/_io/clinic/bufferedio.c.h:376
#4  0x564085

Bug#854670: diffoscope: autopkgtest failures

2017-02-09 Thread Iain Lane
On Thu, Feb 09, 2017 at 05:45:35PM +, Iain Lane wrote:
> On Thu, Feb 09, 2017 at 11:52:50AM +0100, Mattia Rizzolo wrote:
> > E   ImportError: No module named 'debian'
> 
> Hmm, looks like skip_unless_module_exists() needs to catch the
> exception. Patch attached - I don't like the "skip" variable, so if you
> know of a nicer way (the function needs to return a callable so you
> can't use mark.skip AFAICS) then please do it.
> 
> The way I read the docs is that it should return None here; not sure why
> it doesn't - bug in python?

No, it says "If name is for a submodule (contains a dot), the parent
module is automatically imported."

But that means my patch is a bit wrong - try this version.

-- 
Iain Lane  [ i...@orangesquash.org.uk ]
Debian Developer   [ la...@debian.org ]
Ubuntu Developer   [ la...@ubuntu.com ]
From 9d6214228e41adc5b120ff7c36563765fc0c2b21 Mon Sep 17 00:00:00 2001
From: Iain Lane 
Date: Thu, 9 Feb 2017 17:36:36 +
Subject: [PATCH] tests: Catch ImportError when looking to see if a module is
 installed

importlib.util.find_spec raises this exception when the module isn't
there.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854670
---
 tests/comparators/utils/tools.py | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/comparators/utils/tools.py b/tests/comparators/utils/tools.py
index f0a0113..d49e178 100644
--- a/tests/comparators/utils/tools.py
+++ b/tests/comparators/utils/tools.py
@@ -62,7 +62,13 @@ def get_supported_elf_formats():
 ).decode('utf-8').splitlines())
 
 def skip_unless_module_exists(name):
+try:
+found = importlib.util.find_spec(name)
+skip = found is None
+except ImportError:
+skip = True
+
 return pytest.mark.skipif(
-importlib.util.find_spec(name) is None,
+skip,
 reason="requires {} module".format(name),
 )
-- 
2.10.2



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

Bug#854670: diffoscope: autopkgtest failures

2017-02-09 Thread Iain Lane
On Thu, Feb 09, 2017 at 05:45:35PM +, Iain Lane wrote:
> BTW, maybe it would be nice if the 'debian' tests were run in
> autopkgtest; add a test-dep on python3-debian?

Oho, mapreri pointed me to the other tests which do run this
(needs-recommends), so nm.

-- 
Iain Lane  [ i...@orangesquash.org.uk ]
Debian Developer   [ la...@debian.org ]
Ubuntu Developer   [ la...@ubuntu.com ]


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

Bug#854670: diffoscope: autopkgtest failures

2017-02-09 Thread Iain Lane
On Thu, Feb 09, 2017 at 11:52:50AM +0100, Mattia Rizzolo wrote:
> E   ImportError: No module named 'debian'

Hmm, looks like skip_unless_module_exists() needs to catch the
exception. Patch attached - I don't like the "skip" variable, so if you
know of a nicer way (the function needs to return a callable so you
can't use mark.skip AFAICS) then please do it.

The way I read the docs is that it should return None here; not sure why
it doesn't - bug in python?

BTW, maybe it would be nice if the 'debian' tests were run in
autopkgtest; add a test-dep on python3-debian?

Cheers,

-- 
Iain Lane  [ i...@orangesquash.org.uk ]
Debian Developer   [ la...@debian.org ]
Ubuntu Developer   [ la...@ubuntu.com ]
From eaa0885689df96a5fe8139be42ea53009625bf6c Mon Sep 17 00:00:00 2001
From: Iain Lane 
Date: Thu, 9 Feb 2017 17:36:36 +
Subject: [PATCH] tests: Catch ImportError when looking to see if a module is
 installed

importlib.util.find_spec raises this exception when the module isn't
there.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854670
---
 tests/comparators/utils/tools.py | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/comparators/utils/tools.py b/tests/comparators/utils/tools.py
index f0a0113..e798ed8 100644
--- a/tests/comparators/utils/tools.py
+++ b/tests/comparators/utils/tools.py
@@ -62,7 +62,13 @@ def get_supported_elf_formats():
 ).decode('utf-8').splitlines())
 
 def skip_unless_module_exists(name):
+try:
+importlib.util.find_spec(name)
+skip = False
+except ImportError:
+skip = True
+
 return pytest.mark.skipif(
-importlib.util.find_spec(name) is None,
+skip,
 reason="requires {} module".format(name),
 )
-- 
2.10.2



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

Please review the draft for week 93's blog post

2017-02-09 Thread Ximin Luo
https://reproducible.alioth.debian.org/blog/drafts/93/

Feel free to commit fixes directly to drafts/93.mdwn in

https://anonscm.debian.org/git/reproducible/blog.git/

I will publish this in 24 hours.

X
-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git

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


Bug#854670: diffoscope: autopkgtest failures

2017-02-09 Thread Mattia Rizzolo
Source: diffoscope
Version: 74
Severity: important

autopkgtest still fails:
https://ci.debian.net/data/packages/unstable/amd64/d/diffoscope/20170209_062723.autopkgtest.log.gz

adt-run [06:33:34]: test command1: debian/tests/pytest
adt-run [06:33:34]: test command1: [---
= test session starts ==
platform linux -- Python 3.5.3, pytest-3.0.6, py-1.4.32, pluggy-0.4.0 -- 
/usr/bin/python3
cachedir: .cache
rootdir: /tmp/autopkgtest-virt-lxc.shared.u49x4h5t/downtmp/autopkgtest_tmp, 
inifile: 
collecting ... collected 259 items / 2 errors

=== short test summary info 
ERROR tests/comparators/test_debian.py
ERROR tests/comparators/test_elf.py
 ERRORS 
__ ERROR collecting tests/comparators/test_debian.py ___
ImportError while importing test module 
'/tmp/autopkgtest-virt-lxc.shared.u49x4h5t/downtmp/autopkgtest_tmp/tests/comparators/test_debian.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:418: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:662: in pyimport
__import__(modname)
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
py.builtin.exec_(co, mod.__dict__)
tests/comparators/test_debian.py:89: in 
@skip_unless_module_exists('debian.deb822')
tests/comparators/utils/tools.py:66: in skip_unless_module_exists
importlib.util.find_spec(name) is None,
/usr/lib/python3.5/importlib/util.py:88: in find_spec
parent = __import__(parent_name, fromlist=['__path__'])
E   ImportError: No module named 'debian'
 ERROR collecting tests/comparators/test_elf.py 
ImportError while importing test module 
'/tmp/autopkgtest-virt-lxc.shared.u49x4h5t/downtmp/autopkgtest_tmp/tests/comparators/test_elf.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:418: in _importtestmodule
mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:662: in pyimport
__import__(modname)
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
py.builtin.exec_(co, mod.__dict__)
tests/comparators/test_elf.py:123: in 
@skip_unless_module_exists('debian.deb822')
tests/comparators/utils/tools.py:66: in skip_unless_module_exists
importlib.util.find_spec(name) is None,
/usr/lib/python3.5/importlib/util.py:88: in find_spec
parent = __import__(parent_name, fromlist=['__path__'])
E   ImportError: No module named 'debian'
!!! Interrupted: 2 errors during collection 
=== 2 error in 0.91 seconds 
adt-run [06:33:36]: test command1: ---]
adt-run [06:33:36]: test command1:  - - - - - - - - - - results - - - - - - - - 
- -
command1 FAIL non-zero exit status 2


-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


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

УПРАВЛЕНИЕ НА ПРОЕКТИ

2017-02-09 Thread Проджекта














































































 












Здравейте,Независимо дали
нямате опит в управлението на
проекти или искате да
систематизирате и надградите своите
познания и опит, нашите обучения са
доказано ефективни и са преминати от
хиляди участници от водещи фирми и
организации.
Разгледайте някои от
най-интересните ни предстоящи обучения
по управление на проекти и се
възползвайте от преференциалните цени. 












 








































































 













Управление на
проекти - Подготовка за успех (3
дни)09-11.03.2017 г.,
София - на преференциална цена
от 470 лв.
без ДДС вместо стандартна цена
от 580 лв. без ДДС. Най-успешното обучение по
Управление на проекти в България,
проведено досега повече от 120
пъти!

Организираме отново най-успешното
обучение по Управление на проекти в
България, проведено досега
повече от 120 пъти! Обучението
е по лиценз на TenStep Inc., САЩ (www.tenstep.com). Методът TenStep се
ползва със световно признание,
благодарение на това, че е ясен, лесен за
приложение, с практическа насоченост и
съдържа най-модерните концепции в
управлението на проекти.Обучението е подходящо както за хора
без опит, така и за хора, които искат да
систематизират и надградят своите
познания и опит по управление на
проекти! 












 































 


















Виж повече за
обучението 


















 








































































 













Практическо
обучение: Разработване на проекти по
програмите на ЕС06-08.04.2017
г., София - на преференциална
цена от 450
лв. без ДДС вместо стандартна
цена от 550 лв. без ДДС.

Обучението е с практическа
насоченост, като участниците ще
работят по примерни проекти. Ще бъдат
представени всички актуални възможности
за финансиране от ЕС по програмите за
България. Обучението е интерактивно и
включва презентации, дискусии, тестове и
групова работа. Това е най-подробното
обучение по разработване на проекти за
финансиране от ЕС, което сме провели
досега повече от 35 пъти. На обучението ще
бъдат представени в пълен обем успеши
проекти.По време на
обучението има възможност за
консултации по ваши проектни идеи! 












 































 


















Виж повече за
обучението 


















 






























 












За да видите всички
актуални обучения и сертификации по
Управление на проекти, моля посетете www.projecta.bg. 










Виж всички актуални обучения по
Управление на проекти, PMP®, PRINCE2®, IPMA,
Scrum, Agile, SixSigma и ITIL® 









Поздрави,


ПРОДЖЕКТА
ООДул. Веслец 45, офис 13, София, 1202тел./факс +359 (2) 983 53 24; 489 44 58i...@projecta.bgwww.projecta.bgКниги по управление на
проекти – виж всички книги тукВиж всички
актуални обучения тукНамерете ни във Facebook: www.facebook.com/UpravlenieNaProekti 

- Разработване на проекти и
управление на проекти за бизнеса и
администрацията- Лидер в
сертифицирането по управление на
проекти – PRINCE2®, PMP®, IPMA, Scrum,
Agile- Съдействие за реализация
на проекти по програмите на Европейския
съюз- Разработване и въвеждане
на методологии за управление на
проекти- Най-успешните обучения по
управление на проекти 












 























Съглaсно закона за електрoнна търговия
Чл. 6, ал. 1 Ви уведомяваме, че е възможно
това да е непoискано търгoвско съобщeние.
 То е eднократно изпрaтено писмо до
Вaшия e-mail адрес, който е взет от
публичнoто прoстранство.Извиняваме
се за причиненото неудобство, ако сме Ви
притеснили с нашето предложение.Ако не желаете да пoлучавaте
съoбщeния от "ПРОДЖЕКТА", моля кликнете ОТПИСВАНЕ
за автоматично отписване! 















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

Bug#852517: marked as done (strip-nondeterminism: Not running full testsuite on ci.debian.net)

2017-02-09 Thread Debian Bug Tracking System
Your message dated Thu, 09 Feb 2017 09:34:47 +
with message-id 
and subject line Bug#852517: fixed in strip-nondeterminism 0.030-1
has caused the Debian Bug report #852517,
regarding strip-nondeterminism: Not running full testsuite on ci.debian.net
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
852517: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852517
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: strip-nondeterminism
Version: 0.029-2
Severity: normal

Hi,

It looks like the autopkgtests are misconfigured so we are not running
the full testsuite on ci.debian.net. See, for example:

  
https://ci.debian.net/data/packages/unstable/amd64/s/strip-nondeterminism/20170121_202634.autopkgtest.log.gz

Whilst we see:

  ok 1 - bin/dh_strip_nondeterminism --help returns 1
  ok 2 - bin/strip-nondeterminism --help returns 0

 … notice it is not running the (far more important!) fixture tests such
as t/fixtures/png/tEXt.png.in etc. etc.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- End Message ---
--- Begin Message ---
Source: strip-nondeterminism
Source-Version: 0.030-1

We believe that the bug you reported is fixed in the latest version of
strip-nondeterminism, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 852...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb  (supplier of updated strip-nondeterminism package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 09 Feb 2017 22:11:16 +1300
Source: strip-nondeterminism
Binary: libfile-stripnondeterminism-perl strip-nondeterminism 
dh-strip-nondeterminism
Architecture: source
Version: 0.030-1
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks 

Changed-By: Chris Lamb 
Description:
 dh-strip-nondeterminism - file non-deterministic information stripper — 
Debhelper add-on
 libfile-stripnondeterminism-perl - file non-deterministic information stripper 
— Perl module
 strip-nondeterminism - file non-deterministic information stripper — 
stand-alone tool
Closes: 777239 852517
Changes:
 strip-nondeterminism (0.030-1) unstable; urgency=medium
 .
   * Print log entry when fixing a file. (Closes: #777239)
   * Run our entire testsuite in autopkgtests; `perl -MExtUtils::Command::MM
 -MTest::Harness` was ignoring all but the first argument. (Closes: #852517)
   * Use error() from Dh_Lib.pm over manual die().
   * Add watch file with cryptographic signature verification.
   * Add documentation regarding uploading a signed tarball.
   * Add myself to AUTHORS and debian/copyright.
Checksums-Sha1:
 0f6d263c6b3e8a62dc27fc3a27230169a7d6aef9 2428 strip-nondeterminism_0.030-1.dsc
 455dcb0a9bd2e63db243d74ccdd7e97fdb7e1c00 170068 
strip-nondeterminism_0.030.orig.tar.gz
 eddebf5e59d90b913a27918c1562c70d5267671b 10428 
strip-nondeterminism_0.030-1.debian.tar.xz
 61b8ad592106b6fba5744917fb58007a098fa44b 5610 
strip-nondeterminism_0.030-1_amd64.buildinfo
Checksums-Sha256:
 f946d7607fc48c729678140b83e9ff5549f45388dc175f3f894f8cb8445d25cd 2428 
strip-nondeterminism_0.030-1.dsc
 ee339e5595aaec99cdf9f0050c62d30ceb2647f30efdb67cb5ac059d9c80aa17 170068 
strip-nondeterminism_0.030.orig.tar.gz
 5d1d9bcad7b7ced993192bd241c80c155ae5e70870e85fd5d654b6c95e755a4a 10428 
strip-nondeterminism_0.030-1.debian.tar.xz
 016ff6db994c73b8828311bbc5c94f7a40c631c811e7e3869e605b830a851fa8 5610 
strip-nondeterminism_0.030-1_amd64.buildinfo
Files:
 5043c9796a8a18f621ddc0ca970acd35 2428 devel optional 
strip-nondeterminism_0.030-1.dsc
 ebe49c43e03d1a1ca3bf5cc3b686c6fb 170068 devel optional 
strip-nondeterminism_0.030.orig.tar.gz
 6e542fe5392cdbcaa18b4b3be4c0dd79 10428 devel optional 
strip-nondeterminism_0.030-1.debian.tar.xz
 379f8c77373a0631b6ef8f0449c71b32 5610 devel optional 
strip-nondeterminism_0.030-1_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlicMn4ACgkQHpU+J9Qx
HljV5Q/+NAMlAq6RdEogt4OoZlzyvhOkNfwxxiCS6xPoc3ZRQcH40zo+H2hGkc/6
shTqpqOWVvn6uaCibRnCl4k54ujgPDKZAqD0TKMnLgUDBNXS5xFjdZS5zDVOS0Cs
FOXx6Xar5a7ksBIbJrAWdXQOvHChyz6H

Bug#777239: marked as done (strip-nondeterminism: print log entry when fixing a file)

2017-02-09 Thread Debian Bug Tracking System
Your message dated Thu, 09 Feb 2017 09:34:47 +
with message-id 
and subject line Bug#777239: fixed in strip-nondeterminism 0.030-1
has caused the Debian Bug report #777239,
regarding strip-nondeterminism: print log entry when fixing a file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
777239: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777239
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: strip-nondeterminism
Severity: wishlist

strip-nondeterminism should print a log line when it fixes a file, so
we can track what needs to be done upstream, at some point.
--- End Message ---
--- Begin Message ---
Source: strip-nondeterminism
Source-Version: 0.030-1

We believe that the bug you reported is fixed in the latest version of
strip-nondeterminism, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 777...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb  (supplier of updated strip-nondeterminism package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 09 Feb 2017 22:11:16 +1300
Source: strip-nondeterminism
Binary: libfile-stripnondeterminism-perl strip-nondeterminism 
dh-strip-nondeterminism
Architecture: source
Version: 0.030-1
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks 

Changed-By: Chris Lamb 
Description:
 dh-strip-nondeterminism - file non-deterministic information stripper — 
Debhelper add-on
 libfile-stripnondeterminism-perl - file non-deterministic information stripper 
— Perl module
 strip-nondeterminism - file non-deterministic information stripper — 
stand-alone tool
Closes: 777239 852517
Changes:
 strip-nondeterminism (0.030-1) unstable; urgency=medium
 .
   * Print log entry when fixing a file. (Closes: #777239)
   * Run our entire testsuite in autopkgtests; `perl -MExtUtils::Command::MM
 -MTest::Harness` was ignoring all but the first argument. (Closes: #852517)
   * Use error() from Dh_Lib.pm over manual die().
   * Add watch file with cryptographic signature verification.
   * Add documentation regarding uploading a signed tarball.
   * Add myself to AUTHORS and debian/copyright.
Checksums-Sha1:
 0f6d263c6b3e8a62dc27fc3a27230169a7d6aef9 2428 strip-nondeterminism_0.030-1.dsc
 455dcb0a9bd2e63db243d74ccdd7e97fdb7e1c00 170068 
strip-nondeterminism_0.030.orig.tar.gz
 eddebf5e59d90b913a27918c1562c70d5267671b 10428 
strip-nondeterminism_0.030-1.debian.tar.xz
 61b8ad592106b6fba5744917fb58007a098fa44b 5610 
strip-nondeterminism_0.030-1_amd64.buildinfo
Checksums-Sha256:
 f946d7607fc48c729678140b83e9ff5549f45388dc175f3f894f8cb8445d25cd 2428 
strip-nondeterminism_0.030-1.dsc
 ee339e5595aaec99cdf9f0050c62d30ceb2647f30efdb67cb5ac059d9c80aa17 170068 
strip-nondeterminism_0.030.orig.tar.gz
 5d1d9bcad7b7ced993192bd241c80c155ae5e70870e85fd5d654b6c95e755a4a 10428 
strip-nondeterminism_0.030-1.debian.tar.xz
 016ff6db994c73b8828311bbc5c94f7a40c631c811e7e3869e605b830a851fa8 5610 
strip-nondeterminism_0.030-1_amd64.buildinfo
Files:
 5043c9796a8a18f621ddc0ca970acd35 2428 devel optional 
strip-nondeterminism_0.030-1.dsc
 ebe49c43e03d1a1ca3bf5cc3b686c6fb 170068 devel optional 
strip-nondeterminism_0.030.orig.tar.gz
 6e542fe5392cdbcaa18b4b3be4c0dd79 10428 devel optional 
strip-nondeterminism_0.030-1.debian.tar.xz
 379f8c77373a0631b6ef8f0449c71b32 5610 devel optional 
strip-nondeterminism_0.030-1_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlicMn4ACgkQHpU+J9Qx
HljV5Q/+NAMlAq6RdEogt4OoZlzyvhOkNfwxxiCS6xPoc3ZRQcH40zo+H2hGkc/6
shTqpqOWVvn6uaCibRnCl4k54ujgPDKZAqD0TKMnLgUDBNXS5xFjdZS5zDVOS0Cs
FOXx6Xar5a7ksBIbJrAWdXQOvHChyz6H6pp8lFXAnimIRJudwv/ImTDEcqlZi/LE
KlVIHNtqtwGzXR5KJZ+N9qIcoAHiRs5NPKnnD1HPc4XIXzM/DxGLHA7HFPOJvuDt
bFBgurRWIm1tzsNBnvZAJAmC/kZkz+Qea5pzbeMSfKSArMJ+xpeYNReojrFH8cmr
TGajGi9f4VQdi9KnmCg43iLZQvTHruRHU5rz10Y80Esuj/pUJLt5F/pgcY971LAC
I15wG9wHNZq/nTotX4OkEtOt/8QC6G0IUrZo55rMKByJ5SyDHv7Eu+iUZToqgWCG
I4dcqZtGJq+2moK8WR/sjdlZI1vIbD6lPyK6aW96uug2l/Ahx9zWG8iYSLeYTgmJ
acP8IiOVkzL2P0da05sOK2SST5HIcyRLuOiEIC7GJvfMewAvqnPLxBFW8iQpbmd0
37gBWT0rlN/rdNB+UbgJEbUQ5uzYV5nBoLgKhxz4JnhxXlUlY8grnKPYiaeCG5vJ
wx/j0

strip-nondeterminism_0.030-1_amd64.changes ACCEPTED into unstable

2017-02-09 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 09 Feb 2017 22:11:16 +1300
Source: strip-nondeterminism
Binary: libfile-stripnondeterminism-perl strip-nondeterminism 
dh-strip-nondeterminism
Architecture: source
Version: 0.030-1
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks 

Changed-By: Chris Lamb 
Description:
 dh-strip-nondeterminism - file non-deterministic information stripper — 
Debhelper add-on
 libfile-stripnondeterminism-perl - file non-deterministic information stripper 
— Perl module
 strip-nondeterminism - file non-deterministic information stripper — 
stand-alone tool
Closes: 777239 852517
Changes:
 strip-nondeterminism (0.030-1) unstable; urgency=medium
 .
   * Print log entry when fixing a file. (Closes: #777239)
   * Run our entire testsuite in autopkgtests; `perl -MExtUtils::Command::MM
 -MTest::Harness` was ignoring all but the first argument. (Closes: #852517)
   * Use error() from Dh_Lib.pm over manual die().
   * Add watch file with cryptographic signature verification.
   * Add documentation regarding uploading a signed tarball.
   * Add myself to AUTHORS and debian/copyright.
Checksums-Sha1:
 0f6d263c6b3e8a62dc27fc3a27230169a7d6aef9 2428 strip-nondeterminism_0.030-1.dsc
 455dcb0a9bd2e63db243d74ccdd7e97fdb7e1c00 170068 
strip-nondeterminism_0.030.orig.tar.gz
 eddebf5e59d90b913a27918c1562c70d5267671b 10428 
strip-nondeterminism_0.030-1.debian.tar.xz
 61b8ad592106b6fba5744917fb58007a098fa44b 5610 
strip-nondeterminism_0.030-1_amd64.buildinfo
Checksums-Sha256:
 f946d7607fc48c729678140b83e9ff5549f45388dc175f3f894f8cb8445d25cd 2428 
strip-nondeterminism_0.030-1.dsc
 ee339e5595aaec99cdf9f0050c62d30ceb2647f30efdb67cb5ac059d9c80aa17 170068 
strip-nondeterminism_0.030.orig.tar.gz
 5d1d9bcad7b7ced993192bd241c80c155ae5e70870e85fd5d654b6c95e755a4a 10428 
strip-nondeterminism_0.030-1.debian.tar.xz
 016ff6db994c73b8828311bbc5c94f7a40c631c811e7e3869e605b830a851fa8 5610 
strip-nondeterminism_0.030-1_amd64.buildinfo
Files:
 5043c9796a8a18f621ddc0ca970acd35 2428 devel optional 
strip-nondeterminism_0.030-1.dsc
 ebe49c43e03d1a1ca3bf5cc3b686c6fb 170068 devel optional 
strip-nondeterminism_0.030.orig.tar.gz
 6e542fe5392cdbcaa18b4b3be4c0dd79 10428 devel optional 
strip-nondeterminism_0.030-1.debian.tar.xz
 379f8c77373a0631b6ef8f0449c71b32 5610 devel optional 
strip-nondeterminism_0.030-1_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlicMn4ACgkQHpU+J9Qx
HljV5Q/+NAMlAq6RdEogt4OoZlzyvhOkNfwxxiCS6xPoc3ZRQcH40zo+H2hGkc/6
shTqpqOWVvn6uaCibRnCl4k54ujgPDKZAqD0TKMnLgUDBNXS5xFjdZS5zDVOS0Cs
FOXx6Xar5a7ksBIbJrAWdXQOvHChyz6H6pp8lFXAnimIRJudwv/ImTDEcqlZi/LE
KlVIHNtqtwGzXR5KJZ+N9qIcoAHiRs5NPKnnD1HPc4XIXzM/DxGLHA7HFPOJvuDt
bFBgurRWIm1tzsNBnvZAJAmC/kZkz+Qea5pzbeMSfKSArMJ+xpeYNReojrFH8cmr
TGajGi9f4VQdi9KnmCg43iLZQvTHruRHU5rz10Y80Esuj/pUJLt5F/pgcY971LAC
I15wG9wHNZq/nTotX4OkEtOt/8QC6G0IUrZo55rMKByJ5SyDHv7Eu+iUZToqgWCG
I4dcqZtGJq+2moK8WR/sjdlZI1vIbD6lPyK6aW96uug2l/Ahx9zWG8iYSLeYTgmJ
acP8IiOVkzL2P0da05sOK2SST5HIcyRLuOiEIC7GJvfMewAvqnPLxBFW8iQpbmd0
37gBWT0rlN/rdNB+UbgJEbUQ5uzYV5nBoLgKhxz4JnhxXlUlY8grnKPYiaeCG5vJ
wx/j07RpRRttiU0QSfkd7TzsDiNBnZUUassMOdUkuTkXjwkHUGA=
=jSqs
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

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

Processing of strip-nondeterminism_0.030-1_amd64.changes

2017-02-09 Thread Debian FTP Masters
strip-nondeterminism_0.030-1_amd64.changes uploaded successfully to localhost
along with the files:
  strip-nondeterminism_0.030-1.dsc
  strip-nondeterminism_0.030.orig.tar.gz
  strip-nondeterminism_0.030-1.debian.tar.xz
  strip-nondeterminism_0.030-1_amd64.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)

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


Processed: Re: strip-nondeterminism: print log entry when fixing a file

2017-02-09 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 777239 + pending
Bug #777239 [strip-nondeterminism] strip-nondeterminism: print log entry when 
fixing a file
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
777239: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777239
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

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


Bug#777239: strip-nondeterminism: print log entry when fixing a file

2017-02-09 Thread Chris Lamb
tags 777239 + pending
thanks

Fixed in Git:

  
https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git/commit/?id=506fc41


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

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