Package: diffoscope
Version: 30
Severity: normal
Tags: upstream

The usecase is probably quite obscure 

$> diffoscope tmpznwsj7es tmpZu3RvY
Traceback (most recent call last):
  File "/usr/bin/diffoscope", line 115, in <module>
    sys.exit(main())
  File "/usr/bin/diffoscope", line 102, in main
    parsed_args.file1, parsed_args.file2)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/__init__.py", 
line 65, in compare_root_paths
    return compare_directories(path1, path2)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/directory.py", 
line 94, in compare_directories
    return FilesystemDirectory(path1).compare(FilesystemDirectory(path2))
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/directory.py", 
line 145, in compare
    meta_differences = compare_meta(my_file.path, other_file.path)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/directory.py", 
line 76, in compare_meta
    differences.append(Difference.from_command(Stat, path1, path2))
  File "/usr/lib/python2.7/dist-packages/diffoscope/difference.py", line 319, 
in from_command
    command1 = cls(path1, *command_args)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/utils.py", line 
62, in __init__
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
TypeError: execv() arg 2 must contain only strings


$> tree tmpznwsj7es tmpZu3RvY          
tmpznwsj7es
├── 1.tar.gz -> 
.git/annex/objects/pK/F7/SHA256E-s177--c78db6f93459e0c49cbbe493ad9b077c98a4b2c77f2ed813a483c71e47cefbef.tar.gz/SHA256E-s177--c78db6f93459e0c49cbbe493ad9b077c98a4b2c77f2ed813a483c71e47cefbef.tar.gz
├── 2
│   ├── d
│   │   └── 1d -> 
../../.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
│   └── f
│       └── 1d -> 
../../.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
├──  "';a&b&cd `|  -> 
.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
└── test.txt -> 
.git/annex/objects/0k/kp/SHA256E-s11--045babdcd2118960e8c8b8e0ecf65b734686e1b18f58710c9646779f49e942ae.txt/SHA256E-s11--045babdcd2118960e8c8b8e0ecf65b734686e1b18f58710c9646779f49e942ae.txt
tmpZu3RvY
├── 1.tar.gz -> 
.git/annex/objects/9J/w5/SHA256E-s177--c625c6584fbeee7475e7f30e774050f278918b86f459d235f1db2ff1add37d61.tar.gz/SHA256E-s177--c625c6584fbeee7475e7f30e774050f278918b86f459d235f1db2ff1add37d61.tar.gz
├── 2
│   ├── d
│   │   └── 1d -> 
../../.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
│   └── f
│       └── 1d -> 
../../.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
├──  "';a&b&cd `|  -> 
.git/annex/objects/pX/ZJ/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
└── test.txt -> 
.git/annex/objects/0k/kp/SHA256E-s11--045babdcd2118960e8c8b8e0ecf65b734686e1b18f58710c9646779f49e942ae.txt/SHA256E-s11--045babdcd2118960e8c8b8e0ecf65b734686e1b18f58710c9646779f49e942ae.txt

6 directories, 10 files


and I am attaching a tarball with those two directories


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages diffoscope depends on:
ii  python               2.7.9-1
ii  python-debian        0.1.27
ii  python-libarchive-c  2.1-1
ii  python-magic         1:5.22+15-2
ii  python-rpm           4.12.0.1+dfsg1-3
ii  python-ssdeep        3.1+dfsg-1
pn  python:any           <none>

Versions of packages diffoscope recommends:
ii  acl                       2.2.52-2
ii  binutils-multiarch        2.25.1-1
ii  bzip2                     1.0.6-8
ii  cpio                      2.11+dfsg-4.1
ii  default-jdk [java-sdk]    2:1.7-52
ii  fontforge-extras          0.3-4
ii  genisoimage               9:1.1.11-3
ii  gettext                   0.19.4-1
ii  ghc                       7.8.4-9
ii  gnupg                     1.4.19-3
ii  mono-utils                3.2.8+dfsg-10
ii  openjdk-7-jdk [java-sdk]  7u75-2.5.4-2
ii  pdftk                     2.02-3
ii  poppler-utils             0.26.5-2
ii  rpm2cpio                  4.12.0.1+dfsg1-3
ii  sng                       1.0.6-2
ii  sqlite3                   3.8.11.1-1
ii  squashfs-tools            1:4.2+20130409-2.1
ii  unzip                     6.0-17
ii  vim-common                2:7.4.712-3
ii  xz-utils                  5.1.1alpha+20120614-2.1

diffoscope suggests no packages.

-- no debconf information

Attachment: diffoscope-usecase.tar.gz
Description: application/gzip

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

Reply via email to