Hi,

I am investigating why debian-history package is not reproducible.

I am checking at the moment the creation of the epub using xsltproc in
this step:

xsltproc --novalid --nonet --xinclude 
/home/debian/debian-history/xslt/style-epub.xsl 
/home/debian/debian-history/project-history.en.dbk

if ran twice it creates different files because of the lines such as:

<dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/"; 
id="bookid">_idm45693929660992</dc:identifier>

<dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/"; 
id="bookid">_idm45461544106688</dc:identifier>

But I thought that thanks to:
https://salsa.debian.org/xml-sgml-team/libxslt/-/blob/master/debian/patches/0002-Make-generate-id-deterministic.patch?ref_type=heads

should be deterministic (unsure if that case uses "generate-id" or if
any environment variable needs to be set beforehand).

So, before I dig too much into that: is there any way to make xsltproc
be deterministic?

Do you know of any package of the top of your head that is using
xsltproc in a way that is deterministic?

I've tried / verified setting SOURCE_DATE_EPOCH (was already done),
using faketime and a few more things.

Thank you very much,

-- 
Carles Pina i Estany
https://carles.pina.cat | car...@pina.cat | cp...@debian.org

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to