Menu

#185 Allow to override build date

Patch
pending
None
5
2024-08-19
2023-10-24
No

Allow to override build date

Without this patch, virtualbox's gsoapH_from_gsoap.h file and resulting .so
files (via build-id hash) always differed between builds.

See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

This patch was done while working on reproducible builds for openSUSE.

1 Attachments

Discussion

  • Robert van Engelen

    Thank you for contributing to the gsoap project. Will update the project soon.

     
  • Robert van Engelen

    • status: open --> pending
     
  • steph96

    steph96 - 2024-08-19

    The generated soapC.cpp has also a timestamp in it. It is in the source code and thus leads to trouble with ccache in our environment. See https://sourceforge.net/p/gsoap2/code/HEAD/tree/gsoap/samples/calc_xcode/soapC.cpp#l21 for example where
    SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.135 2024-07-01 20:02:42 GMT")
    is written to the cpp file. Please also replace the timestamp there.

    The provided path is only for the wsdl2h executable not for soapcpp2. Please add support to soapcpp2 also.

    Thanks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
OSZAR »