!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

Load older messages


SenderMessageTime
23 Apr 2023
@raitobezarius:matrix.orgraitobezariusI thought it was a Make limitation14:01:38
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu

This is the makefile:

install: $(PCF)
	mkdir -p $(DESTDIR)$(x11dir)
	for i in $(PCF) ; do gzip -c $$i > $(DESTDIR)$(x11dir)/$$i.gz ; done

fontdir:
	mkfontscale $(DESTDIR)$(x11dir)
	mkfontdir $(DESTDIR)$(x11dir)
	fc-cache -f $(DESTDIR)$(x11dir)

This should be ideally fontdir: install, however you can't use a phony prerequisite, so it's a bi more complicated

14:13:13
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu *

This is the makefile:

install: $(PCF)
	mkdir -p $(DESTDIR)$(x11dir)
	for i in $(PCF) ; do gzip -c $$i > $(DESTDIR)$(x11dir)/$$i.gz ; done

fontdir:
	mkfontscale $(DESTDIR)$(x11dir)
	mkfontdir $(DESTDIR)$(x11dir)
	fc-cache -f $(DESTDIR)$(x11dir)

This should be ideally fontdir: install, however you can't use a phony prerequisite, so it's a bit more complicated

14:13:30
@raboof:matrix.orgraboof
In reply to @rnhmjoj:maxwell.ydns.eu
uhm, does that mean there's a prerequisite missing in some target?
correct, creating a patch that adds all the installed outputs as requirements for the fontdir target would also make it deterministic, but I'm not sure if it's worth it tbh
14:14:43
@raboof:matrix.orgraboofas you'd also have to teach it that the install target produces these outputs14:15:09
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu
In reply to @raboof:matrix.org
correct, creating a patch that adds all the installed outputs as requirements for the fontdir target would also make it deterministic, but I'm not sure if it's worth it tbh
fair enough, I don't think parallel install gives anything significant in this case
14:16:01
@raboof:matrix.orgraboofperhaps you could create the fontdir/fontscale from the build dir instead of the target dir, but then it's a tradeoff between a slightly neater makefile and a larger difference to upstream. given that upstream is still hosted on sourceforge I'm not sure what the odds of getting it accepted there would be :) 14:17:31
26 Apr 2023
@errisnotnil:matrix.orgYuddite G changed their display name from Yuddite Pilot to Yuddite Groyper.04:49:07
@errisnotnil:matrix.orgYuddite G changed their display name from Yuddite Groyper to Yuddite G.21:02:33
27 Apr 2023
@eisfunke:eisfunke.com@eisfunke:eisfunke.com joined the room.15:00:02
@artturin:matrix.orgartturinhttp://reproducible.nixos.org/ doesn't redirect to https18:05:03
28 Apr 2023
@aloisw:kde.org@aloisw:kde.org joined the room.12:42:36
30 Apr 2023
@shapeshifting_loki:matrix.orgMichael van Slingerland joined the room.13:50:32
1 May 2023
@emilytrau:matrix.orgemilytrau joined the room.14:08:16
@delroth:delroth.netdelrothis there documentation somewhere on how to produce the reports that get published to https://reproducible.nixos.org/ ? couldn't seem to find the scripts anywhere14:52:19
@delroth:delroth.netdelrothoh, https://codeberg.org/raboof/nix-reproducible-builds-report nvm, not sure how I missed it the first time I looked around...14:55:30
2 May 2023
@pyrox:pyrox.devdish [Fox/It/She] joined the room.03:47:13
@raboof:matrix.orgraboofupdated https://reproducible.nixos.org/nixos-iso-minimal-r13y/ and https://github.com/orgs/NixOS/projects/3007:45:55
@raboof:matrix.orgraboofanyone know how to easily reproduce the /nix/store/4rll8l0q3ycfpykwn1wqk93x1jqayqkl-x86_64-unknown-linux-musl-stage-static-gcc-12.2.0.drv problem?07:46:12
@artturin:matrix.orgartturin
In reply to @raboof:matrix.org
anyone know how to easily reproduce the /nix/store/4rll8l0q3ycfpykwn1wqk93x1jqayqkl-x86_64-unknown-linux-musl-stage-static-gcc-12.2.0.drv problem?
pkgsStatic.buildPackages.gccCrossStageStatic
12:32:49
@artturin:matrix.orgartturin
In reply to @raboof:matrix.org
anyone know how to easily reproduce the /nix/store/4rll8l0q3ycfpykwn1wqk93x1jqayqkl-x86_64-unknown-linux-musl-stage-static-gcc-12.2.0.drv problem?
* pkgsStatic.buildPackages.gccCrossStageStatic.cc
12:33:04
@raboof:matrix.orgraboof👍️ thx added to https://github.com/orgs/NixOS/projects/3012:36:14
@pyrox:pyrox.devdish [Fox/It/She] joined the room.13:29:08
@raboof:matrix.orgraboof in what cases does set-source-date-epoch-to-latest.sh do something useful? isn't the input almost always a NAR where the timestamps have been canonicalized? 16:34:40
@trofi:matrix.org@trofi:matrix.orgI had an impression tarballs (most derivations use them) are never canonicalized. You always unpack them in unpackThase.18:34:47
@delroth:delroth.netdelroth
In reply to @raboof:matrix.org
anyone know how to easily reproduce the /nix/store/4rll8l0q3ycfpykwn1wqk93x1jqayqkl-x86_64-unknown-linux-musl-stage-static-gcc-12.2.0.drv problem?
FWIW I ran an ISO minimal check yesterday and that issue with info pages showed up on the standard gcc too (not just that weird static/cross one): https://delroth.net/report-iso_minimal/diff/0df39133dd4f690d589da01198afb5f2e0c2a900966fb43f94df21fe17503827-ecdf7e846db1a64dcf5b054641ec61d3d69d1330c4944185042f441163501639.html
21:30:05
@delroth:delroth.netdelrothI also got a diff on rustc which isn't in your report so it might be sporadic, if someone wants to investigate and try to repro: https://delroth.net/report-iso_minimal/diff/a0aa598dfe85be4a554c1ed73eb217db8b5f7faeea62b5d8cd5996d8b509550f-80e6fbc77b1d0b38d3dcf1c27ccdea5e1b2906aa2189e24d3a1d24fdfe2406bf.html21:30:38
@raitobezarius:matrix.orgraitobezariusis this new or has been present in rustc 1.68.2 ?21:30:58
@delroth:delroth.netdelrothno idea!21:31:08
@raitobezarius:matrix.orgraitobezariusmaximum fun :>21:31:16

Show newer messages


Back to Room ListRoom Version: 6