Reproducible builds
AlphaJack opened this issue · 0 comments
AlphaJack commented
The compile-time location of the build is embedded into the binary.
In my case, I am building citadel in the folder /tmp/makepkg/citadel-git
.
This particular path is embedded in the final binary, as seen here with src-tauri/libcalibre/src/application/services/library/service.rs
:
This seems to be the only occurrence.
If you need more context:
0xa0f0dc: 0x4e 0x6f 0x74 0x46 0x6f 0x75 0x6e 0x64 0x42 0x6f NotFoundBo
0xa0f0e6: 0x6f 0x6b 0x46 0x69 0x6c 0x65 0x73 0x4e 0x6f 0x74 okFilesNot
0xa0f0f0: 0x46 0x6f 0x75 0x6e 0x64 0x42 0x6f 0x6f 0x6b 0x4e FoundBookN
0xa0f0fa: 0x6f 0x74 0x46 0x6f 0x75 0x6e 0x64 0x41 0x75 0x74 otFoundAut
0xa0f104: 0x68 0x6f 0x72 0x63 0x61 0x6c 0x6c 0x65 0x64 0x20 horcalled
0xa0f10e: 0x60 0x4f 0x70 0x74 0x69 0x6f 0x6e 0x3a 0x3a 0x75 `Option::u
0xa0f118: 0x6e 0x77 0x72 0x61 0x70 0x28 0x29 0x60 0x20 0x6f nwrap()` o
0xa0f122: 0x6e 0x20 0x61 0x20 0x60 0x4e 0x6f 0x6e 0x65 0x60 n a `None`
0xa0f12c: 0x20 0x76 0x61 0x6c 0x75 0x65 0x2f 0x62 0x75 0x69 value/bui
0xa0f136: 0x6c 0x64 0x2f 0x72 0x75 0x73 0x74 0x2f 0x73 0x72 ld/rust/sr
0xa0f140: 0x63 0x2f 0x72 0x75 0x73 0x74 0x63 0x2d 0x31 0x2e c/rustc-1.
0xa0f14a: 0x37 0x35 0x2e 0x30 0x2d 0x73 0x72 0x63 0x2f 0x6c 75.0-src/l
0xa0f154: 0x69 0x62 0x72 0x61 0x72 0x79 0x2f 0x61 0x6c 0x6c ibrary/all
0xa0f15e: 0x6f 0x63 0x2f 0x73 0x72 0x63 0x2f 0x63 0x6f 0x6c oc/src/col
0xa0f168: 0x6c 0x65 0x63 0x74 0x69 0x6f 0x6e 0x73 0x2f 0x62 lections/b
0xa0f172: 0x74 0x72 0x65 0x65 0x2f 0x6e 0x61 0x76 0x69 0x67 tree/navig
0xa0f17c: 0x61 0x74 0x65 0x2e 0x72 0x73 0x2f 0x74 0x6d 0x70 ate.rs/tmp
0xa0f186: 0x2f 0x6d 0x61 0x6b 0x65 0x70 0x6b 0x67 0x2f 0x63 /makepkg/c
0xa0f190: 0x69 0x74 0x61 0x64 0x65 0x6c 0x2d 0x67 0x69 0x74 itadel-git
0xa0f19a: 0x2f 0x73 0x72 0x63 0x2f 0x63 0x69 0x74 0x61 0x64 /src/citad
0xa0f1a4: 0x65 0x6c 0x2f 0x73 0x72 0x63 0x2d 0x74 0x61 0x75 el/src-tau
0xa0f1ae: 0x72 0x69 0x2f 0x6c 0x69 0x62 0x63 0x61 0x6c 0x69 ri/libcali
0xa0f1b8: 0x62 0x72 0x65 0x2f 0x73 0x72 0x63 0x2f 0x61 0x70 bre/src/ap
0xa0f1c2: 0x70 0x6c 0x69 0x63 0x61 0x74 0x69 0x6f 0x6e 0x2f plication/
0xa0f1cc: 0x73 0x65 0x72 0x76 0x69 0x63 0x65 0x73 0x2f 0x6c services/l
0xa0f1d6: 0x69 0x62 0x72 0x61 0x72 0x79 0x2f 0x73 0x65 0x72 ibrary/ser
0xa0f1e0: 0x76 0x69 0x63 0x65 0x2e 0x72 0x73 0x3c 0x64 0x63 vice.rs<dc
0xa0f1ea: 0x3a 0x63 0x72 0x65 0x61 0x74 0x6f 0x72 0x20 0x6f :creator o
0xa0f1f4: 0x70 0x66 0x3a 0x66 0x69 0x6c 0x65 0x2d 0x61 0x73 pf:file-as
0xa0f1fe: 0x3d 0x22 0x22 0x20 0x6f 0x70 0x66 0x3a 0x72 0x6f ="" opf:ro
0xa0f208: 0x6c 0x65 0x3d 0x22 0x61 0x75 0x74 0x22 0x3e 0x3c le="aut"><
0xa0f212: 0x2f 0x64 0x63 0x3a 0x63 0x72 0x65 0x61 0x74 0x6f /dc:creato
0xa0f21c: 0x72 0x3e 0x3c 0x3f 0x78 0x6d 0x6c 0x20 0x76 0x65 r><?xml ve
0xa0f226: 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x27 0x31 0x2e 0x30 rsion='1.0
0xa0f230: 0x27 0x20 0x65 0x6e 0x63 0x6f 0x64 0x69 0x6e 0x67 ' encoding
0xa0f23a: 0x3d 0x27 0x75 0x74 0x66 0x2d 0x38 0x27 0x3f 0x3e ='utf-8'?>
0xa0f244: 0x0a 0x20 0x20 0x20 0x20 0x3c 0x70 0x61 0x63 0x6b . <pack
0xa0f24e: 0x61 0x67 0x65 0x20 0x78 0x6d 0x6c 0x6e 0x73 0x3d age xmlns=
0xa0f258: 0x22 0x68 0x74 0x74 0x70 0x3a 0x2f 0x2f 0x77 0x77 "http://ww
0xa0f262: 0x77 0x2e 0x69 0x64 0x70 0x66 0x2e 0x6f 0x72 0x67 w.idpf.org
0xa0f26c: 0x2f 0x32 0x30 0x30 0x37 0x2f 0x6f 0x70 0x66 0x22 /2007/opf"
0xa0f276: 0x20 0x75 0x6e 0x69 0x71 0x75 0x65 0x2d 0x69 0x64 unique-id
0xa0f280: 0x65 0x6e 0x74 0x69 0x66 0x69 0x65 0x72 0x3d 0x22 entifier="
0xa0f28a: 0x75 0x75 0x69 0x64 0x5f 0x69 0x64 0x22 0x20 0x76 uuid_id" v
0xa0f294: 0x65 0x72 0x73 0x69 0x6f 0x6e 0x3d 0x22 0x32 0x2e ersion="2.
0xa0f29e: 0x30 0x22 0x3e 0x0a 0x20 0x20 0x20 0x20 0x20 0x20 0">.
0xa0f2a8: 0x3c 0x6d 0x65 0x74 0x61 0x64 0x61 0x74 0x61 0x20 <metadata