Source: krb5
Severity: minor
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

I have not observed this in the tests.reproducible-builds.org history,
although krb5 currently FTBFS, but when building krb5 locally using
reprotest, I am able to consistently produce a different build that is
triggered when the build path is different between two builds.

To reproduce, from the checked out krb5 debian packaging dir:

  reprotest  --min-cpus=1 --vary=-all,+build_path auto -- null

Which should keep everything essentially identical, except the build
path.


For some odd reason the different build path ends up in one build
consistently removing a space in a few places:

./usr/share/doc/krb5-doc/appdev/refs/api/krb5_get_init_creds_opt_set_pa.html

-<p>This function allows thecaller to supply options for...
+<p>This function allows the caller to supply options for...

"thecaller" vs. "the caller".

Full diffoscope output attached.

I have also attached a patch that works around this issue and builds
reproducibly, but it should not actually be used as it obviously leaves
cruft in the documentation that should not be there.

This is presumably actually a bug in sphinx or doxygen... though I'm not
sure I've observed this behavior in another package, so maybe there is
something specific in the krb5 documentation...


I try to avoid submitting bugs without patches, but this one is baffling
enough I hope to get more eyes on it!


live well,
  vagrant

Attachment: experiment-1.diffoscope.out
Description: Binary data

diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index 79761f6d2..93864a04c 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -4045,7 +4045,7 @@ krb5_build_principal_va(krb5_context context,
  * @param [out] princ           Principal structure
  * @param [in]  rlen            Realm name length
  * @param [in]  realm           Realm name
- * @param [in]  ap              List of char * components, ending with NULL
+ * @param [in]  ap              List of char * components, ending withQNULL
  *
  * Similar to krb5_build_principal(), this function builds a principal name,
  * but its name components are specified as a va_list.
@@ -7011,7 +7011,7 @@ typedef struct _krb5_gic_opt_pa_data {
  * @param [in] attr             Preauthentication option name
  * @param [in] value            Preauthentication option value
  *
- * This function allows the caller to supply options for preauthentication.
+ * This function allows theXcaller to supply options for preauthentication.
  * The values of @a attr and @a value are supplied to each preauthentication
  * module available within @a context.
  */

Attachment: signature.asc
Description: PGP signature

Reply via email to