Bug#877418: dh-strip-nondeterminism: kills clojure performance

2017-10-06 Thread Daniel Kahn Gillmor
On Fri 2017-10-06 10:00:27 +0100, Chris Lamb wrote:
> If it were hardcoded into the filenames, one wouldn't need to do
> anything onerous, eg.
>
>   -rw-r--r-- 1 0 Oct  6 09:56 
> helloworld.adc83b19e793491b1c6ea0fd8b46cd9f32e592fc.class
>   -rw-r--r-- 1 0 Oct  6 09:56 
> helloworld.adc83b19e793491b1c6ea0fd8b46cd9f32e592fc.clj
>
> (Not entirely serious)

ah!  i hadn't even thought of that :)  I wonder whether any language
would consider such a construct.

> Just to underline, Python in Debian would not be a problem even with <
> unless you consider building a .deb with SOURCE_DATE_EPOCH="$(date +%s)"
> and installing that very same .deb within same second...
>
>  … but I understand you were being more general about this topic!

yep, exactly -- i'm not saying that python is broken in debian, just
citing it as an example of another language that does the same kind of
thing, similarly to elisp, etc.

   --dkg

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

Bug#877887: please package latest upstream version (1.14.x)

2017-10-06 Thread Evgeni Golov
Source: koji
Version: 1.10.0-1
Severity: wishlist

Ohai,

https://pagure.io/koji/releases lists 1.14.0 as latest koji release,
please update the packaging :)

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

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


Bug#877886: fedorahosted.org is deprecated, koji upstream is now at https://pagure.io/koji

2017-10-06 Thread Evgeni Golov
Source: koji
Severity: wishlist

please update d/control, d/copyright and d/watch accordignly :)

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

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


Bug#877418: dh-strip-nondeterminism: kills clojure performance

2017-10-06 Thread Chris Lamb
Hi dkg,

> And there are more questions too: what if multiple source files
> contributed to the creation of the compiled artifact (e.g. "include"
> directives)?

Hm, that's an excellent point.

> You can also imagine a compilation regime that detects changes to a file
> (e.g. via inotify) and immediately triggers recompilation -- with a fast
> compiler and a coarse filesystem/archive timestamp, such a regime would
> end up in the same situation (serious performance impact).

Sure, but that doesn't seem like it would happen as part of a package
build?

> There are also problems with the digest based approach that lamby
> suggests: it's significantly more expensive to do a full source
> extraction and digest than it is to compare timestamp metadata.

If it were hardcoded into the filenames, one wouldn't need to do
anything onerous, eg.

  -rw-r--r-- 1 0 Oct  6 09:56 
helloworld.adc83b19e793491b1c6ea0fd8b46cd9f32e592fc.class
  -rw-r--r-- 1 0 Oct  6 09:56 
helloworld.adc83b19e793491b1c6ea0fd8b46cd9f32e592fc.clj

(Not entirely serious)

> It sounds to me like python has made a sensible tradeoff (accepting that
> equal timestamps means OK)

Just to underline, Python in Debian would not be a problem even with <
unless you consider building a .deb with SOURCE_DATE_EPOCH="$(date +%s)"
and installing that very same .deb within same second...

 … but I understand you were being more general about this topic!


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#877726: test_progress regression with WoLpH/python-progressbar 3.34.3

2017-10-06 Thread Chris Lamb
Hi,

> test_progress regression with WoLpH/python-progressbar 3.34.3

< anthraxx > lamby: h01ger: can anyone give me the output of
 print(err) in def test_progress() in tests/test_progress.py
 would help me creating a patch that works with both versions

Sure. Starting with 70cb725deb12a2eddc4613b5e3af69ed13434bf7 and I apply:

  --- a/tests/test_progress.py
  +++ b/tests/test_progress.py
  @@ -46,6 +46,9 @@ def test_progress(capsys):
   assert ret == 1
   assert "ETA" in err
  +print('---')
  +print(repr(err))
  +print('---')


… I get:


  $ PYTHON3PATH=. py.test-3 -s tests/test_progress.py
  
==
 test session starts 
===
  platform linux -- Python 3.5.4, pytest-3.2.1, py-1.4.34, pluggy-0.4.0
  benchmark: 3.0.0 (defaults: timer=time.perf_counter disable_gc=False 
min_rounds=5 min_time=5.00us max_time=1.00s calibration_precision=10 
warmup=False warmup_iterations=10)
  rootdir: /home/lamby/git/debian/reproducible/diffoscope, inifile:
  plugins: pylint-0.7.1, cov-2.5.1, benchmark-3.0.0
  collected 2 items 


  
  tests/test_progress.py ---
  ' |  |0% ETA:  
--:--:-- \r |###|   86%   dir/text  
ETA:  0:00:00 \r |## |   98%   dir/null 
 ETA:  0:00:00 \r |## |   99%   
dir/link  ETA:  0:00:00 \r |###|  100%  
   ETA:  0:00:00 \r |###|  100% 
ETA:  0:00:00 \r |###|  100%
 Time: 0:00:00 \r\n'
  ---
  ..
  
  

 2 passed in 0.39 seconds 



(Also here: https://gist.github.com/lamby/4045538fa4417b26457d4d29bf72986e/raw)


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