Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outstanding build reproducibility issues #2427

Open
emaste opened this issue Mar 3, 2025 · 6 comments
Open

Outstanding build reproducibility issues #2427

emaste opened this issue Mar 3, 2025 · 6 comments

Comments

@emaste
Copy link
Member

emaste commented Mar 3, 2025

#2410 addressed many sources of non-reproducibility, and reproducible-builds.org's CI now reports 535 (99.4%) out of 538 FreeBSD files were reproducible in our test setup.

The three outstanding failures are:

These are data structure ordering issues

@emaste
Copy link
Member Author

emaste commented Mar 3, 2025

(screenshots as the links will update to the latest results)

Image
Image
Image

@bapt
Copy link
Member

bapt commented Mar 6, 2025

are you sure this was created with pkg 2.0.6

@emaste
Copy link
Member Author

emaste commented Mar 13, 2025

Reproducible CI folks confirmed it is

@emaste
Copy link
Member Author

emaste commented Mar 13, 2025

"deps" are processed like this:

        dbg(4, "Emitting deps");
        map = NULL;
        while (pkg_deps(pkg, &dep) == EPKG_OK) {
                submap = ucl_object_typed_new(UCL_OBJECT);
                MANIFEST_EXPORT_FIELD(submap, dep, origin, string);
                MANIFEST_EXPORT_FIELD(submap, dep, version, string);
                if (map == NULL) 
                        map = ucl_object_typed_new(UCL_OBJECT);
                ucl_object_insert_key(map, submap, dep->name, 0, false);
        }
        if (map)
                ucl_object_insert_key(top, map, "deps", 4, false);

Are we sure ucl will produce stable output (from the ucl_object_insert_keys)?

@emaste
Copy link
Member Author

emaste commented Mar 14, 2025

From IRC discussion @ifreund will take a look

@emaste
Copy link
Member Author

emaste commented Mar 14, 2025

In the most recent run, r-b.org's CI reports "538 (100.0%) out of 538 FreeBSD files were reproducible in our test setup !"
https://tests.reproducible-builds.org/freebsd/freebsd.html

I don't believe pkg has changed from the last run, so there may be something intermittent here. We'll keep an eye on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants