This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bmwiedemann
Recipients bmwiedemann
Date 2017-05-24.19:29:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495654171.99.0.785764793517.issue30461@psf.upfronthosting.co.za>
In-reply-to
Content
because POSIX readdir does not guarantee any order
glob often gives unexpectedly random results.

Some background:
for openSUSE Linux we build packages in the Open Build Service (OBS)
which tracks dependencies, so when e.g. a new glibc is submitted,
all packages depending on glibc are rebuilt
and if those depending binaries changed,
the new version is pushed to the mirrors.

Many python modules build their .so files from a glob.glob(path, "*.cpp")

The old glob behaviour would often lead to the linker
randomly ordering functions in resulting object files,
thus we were not able to auto-detect
that the package did not actually change
which wastes bandwidth of distribution mirrors and users.

See also https://reproducible-builds.org/ on that topic.

There are plenty affected packages out there
https://github.com/pytries/datrie/blob/master/setup.py#L10
https://github.com/jonashaag/bjoern/blob/master/setup.py#L6
https://github.com/scipy/scipy/blob/master/scipy/sparse/linalg/dsolve/setup.py#L28
History
Date User Action Args
2017-05-24 19:29:32bmwiedemannsetrecipients: + bmwiedemann
2017-05-24 19:29:31bmwiedemannsetmessageid: <1495654171.99.0.785764793517.issue30461@psf.upfronthosting.co.za>
2017-05-24 19:29:31bmwiedemannlinkissue30461 messages
2017-05-24 19:29:31bmwiedemanncreate