[Reproducible-builds] Bug#823138: Bug#823138: python-djvulibre: please make the build reproducible on i386

Jakub Wilk jwilk at debian.org
Sun May 1 11:31:37 UTC 2016


* Mattia Rizzolo <mattia at debian.org>, 2016-05-01, 11:07:
>│   │   │   │   │ -  1	build/temp.linux-i686-2.7-pydebug/src
>│   │   │   │   │ +  1	build/temp.linux-x86_64-2.7-pydebug/src

From the upstream changelog:

>   + Put files that vary with Python version (*.c, config.pxi) into a
>     version-specific temporary directory.

The problem is that, as seen above, distutils puts the platform name in 
the temporary build directory name; and the platform name depends on 
uname:

$ linux32 python -c 'import distutils.util as u; print u.get_platform()'
linux-i686
$ linux64 python -c 'import distutils.util as u; print u.get_platform()'
linux-x86_64

So ideally this should be fixed in distutils. But it should be possible 
to work around this by passing appropriate --build-temp to "setup.py 
build".

(No clue about the Debian package, just being upstream.)

-- 
Jakub Wilk



More information about the Reproducible-builds mailing list