This is completely impossible for any operating system package
distribution. "Functionally" is the best you can get.
I just wanted to clarify, perhaps what I wrote wasn't exactly clear in
regard to what I am trying to achieve.
My "humble" initial goal is to either:
1. Rebuild a package locally, compare it to upstream, record whether the
result is the same or not, output statistics. I want to do this for a
subset of ports initially. I am aware about the issues with timestamps,
worker hostnames etc, these all needs to be addressed in the process.
2. Alternatively, freeze my local tree to a specific commit, build a
package twice, see if the result is the same.
Whether I get a 1% success rate or 90% success rate is besides the point
for me personally at this stage, I just want to collect the information.
Getting the whole ports tree reproducible is probably a decades long
project if anyone wanted to do it (e.g. Debian efforts).
I got some encouraging information regarding at least the second
scenario so I definitely got some good feedback so far.
Best regards