Skip to content

_SoapySDR.so / SoapySDRPYTHON_wrap.h reproducible builds issue #428

Open
@bmwiedemann

Description

While working on reproducible builds for openSUSE, I found that
our soapy-sdr 0.8.1 build output can vary, unless we run non-parallel builds.

There is some race condition in the build-system about how the python and python3 files are created.

-/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python 0 (none) 40755 root root 0 4294967295
-/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python/CMakeFiles 0 (none) 40755 root root 0 4294967295
-/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python/CMakeFiles/_SoapySDR.dir 0 (none) 40755 root root 0 4294967295
-/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python/CMakeFiles/_SoapySDR.dir/SoapySDRPYTHON_wrap.cxx 0 (none) 100644 root root 0 4294967295
-/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python/CMakeFiles/_SoapySDR.dir/SoapySDRPYTHON_wrap.h 0 (none) 100644 root root 0 4294967295
+/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python3 0 (none) 40755 root root 0 4294967295
+/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python3/CMakeFiles 0 (none) 40755 root root 0 4294967295
+/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python3/CMakeFiles/SoapySDR3.dir 0 (none) 40755 root root 0 4294967295
+/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python3/CMakeFiles/SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx 0 (none) 100644 root root 0 4294967295
+/usr/src/debug/SoapySDR-soapy-sdr-0.8.1/build/python3/CMakeFiles/SoapySDR3.dir/SoapySDRPYTHON_wrap.h 0 (none) 100644 root root 0 4294967295

Is there a way to always generate the python3 variant after the python one?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions