!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

485 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30108 Servers

Load older messages


SenderMessageTime
13 Apr 2025
@bot-wxt1221:matrix.orgBot_wxt1221 joined the room.13:32:05
@guider-le-recit:matrix.orgguider-le-recitHi miss Emily, you are aboslutely correct, I edited the package.nix file, removed Berkeley DB from buildInputs and replaced it with kyotocabinet, added a list configureFlags = [ "--with-dbm=KyotoCabinet" ];, and now the build completes no more derivation errors13:32:30
@guider-le-recit:matrix.orgguider-le-recit * Hi miss Emily, you are aboslutely correct, I edited the package.nix file, removed Berkeley DB from buildInputs and replaced it with kyotocabinet, added a list configureFlags = [ "--with-dbm=KyotoCabinet" ];, and now the build completes with no more derivation errors 13:32:51
@guider-le-recit:matrix.orgguider-le-recitThank you13:33:13
@emilazy:matrix.orgemilynice!13:33:45
@guider-le-recit:matrix.orgguider-le-recitI'm gonna make the github issue now and send the link so you can push your solution13:33:55
@emilazy:matrix.orgemilysolving Berkeley DB reproducibility issues would still be valuable in general though, since it's likely there's software that doesn't support anything else :)13:34:18
@emilazy:matrix.orgemilyI know Debian and Fedora have been working on getting rid of it for years, but I don't know if they've fully achieved that13:35:08
@emilazy:matrix.orgemilydocumenting your great deep dive into the internals will definitely be valuable13:36:17
@guider-le-recit:matrix.orgguider-le-recitAre you aware of any links that i can read up on that?13:37:21
@guider-le-recit:matrix.orgguider-le-recitokay13:37:28
@emilazy:matrix.orgemilyhttps://fedoraproject.org/wiki/User:Pkubat/Draft_-_Removing_BerkeleyDB_from_Fedora is an old table from Fedora and https://lists.debian.org/debian-devel/2014/06/msg00338.html is an email from a decade-old mailing list thread in Debian talking about alternatives like LMDB13:39:34
@emilazy:matrix.orgemilyDebian still has a BDB package to this day though: https://packages.debian.org/source/sid/db5.313:39:39
@emilazy:matrix.orgemilyso I assume they didn't completely get rid of it :)13:40:24
@guider-le-recit:matrix.orgguider-le-recitHow did you get that so fast?13:40:44
@emilazy:matrix.orgemilyah, here's a more detailed Fedora change proposal: https://fedoraproject.org/wiki/Changes/Libdb_deprecated (but they still have the package too)13:40:54
@emilazy:matrix.orgemilywell, I found the Fedora thing yesterday, and the Debian link from https://en.wikipedia.org/wiki/Berkeley_DB ("By 2013 there were many alternatives to BDB, and Debian Linux was typical in their decision to completely phase out Berkeley DB, with a preference for the Lightning Memory-Mapped Database (LMDB).[26]") just now when checking if there might be an active fork/API-compatible replacement we could switch to 😆13:42:01
@emilazy:matrix.orgemilyso more like I already had them in tabs/browser history13:42:01
@guider-le-recit:matrix.orgguider-le-recitThis is great 13:43:20
@guider-le-recit:matrix.orgguider-le-recitThank you once more13:43:32
@emilazy:matrix.orgemilythank you for digging into this!13:44:10
@emilazy:matrix.orgemilymoving packages off Berkeley DB to a more maintained database library where possible will be great for both reproducibility and performance/security/etc., and if we can get the reproducibility issue in BDB itself fixed even better :)13:44:47
@guider-le-recit:matrix.orgguider-le-recithttps://github.com/NixOS/nixpkgs/issues/39837514:00:48
@guider-le-recit:matrix.orgguider-le-reciti wanted to comment your solution but wasnt sure if your username on github is emilazy or something else14:01:56
@emilazy:matrix.orgemilyyep, @emilazy14:07:09
@guider-le-recit:matrix.orgguider-le-recitgreat 14:08:06
@fliegendewurst:matrix.orgFliegendeWurst (@GPN23) joined the room.20:14:19
17 Apr 2025
@raboof:matrix.orgraboofhttps://github.com/orgs/NixOS/projects/30 - nice progress on the graphical ISO runtime closure lately!10:40:14
19 Apr 2025
@jopejoe1:matrix.orgjopejoe1 (4094@GPN23) changed their display name from jopejoe1 to jopejoe1 (4094@eh22).13:00:22
@ochoa:matrix.org@ochoa:matrix.org left the room.21:30:33

Show newer messages


Back to Room ListRoom Version: 6