#1076885 gss: FTBFS: FAIL krb5context (exit status: 1)

Package:
src:gss
Source:
src:gss
Submitter:
Santiago Vila
Date:
2025-03-11 07:39:03 UTC
Severity:
normal
Tags:
#1076885#5
Date:
2024-07-24 10:46:33 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --builddirectory=build \
	-O--dbgsym-migration="gss-dbg (<< 1.0.3-4~)"
    dh_testdir -O--builddirectory=build "-O-O--dbgsym-migration=gss-dbg (<< 1.0.3-4~)"
    dh_update_autotools_config -O--builddirectory=build "-O-O--dbgsym-migration=gss-dbg (<< 1.0.3-4~)"
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
    debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_autoreconf
Copying file build-aux/config.rpath
Copying file m4/codeset.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4

[... snipped ...]

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] (./gss.toc [-1])
[-2] (./gss.toc) (./gss.toc) Chapter 1 (./gss.aux) [1]
Writing index file gss.cp

Underfull \hbox (badness 10000) in paragraph at lines 223--231
  @texttt alphaev67-unknown-linux-gnu[]@textrm , @texttt alphaev6-unknown-linux-
gnu[]@textrm , @texttt arm-unknown-

Underfull \hbox (badness 8151) in paragraph at lines 223--231
  @texttt linux-gnu[]@textrm , @texttt hppa-unknown-linux-gnu[]@textrm , @texttt
  hppa64-unknown-linux-gnu[]@textrm , @texttt i686-pc-

Underfull \hbox (badness 10000) in paragraph at lines 223--231
  @texttt linux-gnu[]@textrm , @texttt mipsel-unknown-linux-gnu[]@textrm , @text
tt powerpc-unknown-linux-gnu[]@textrm ,
[2] [3] [4] [5] Chapter 2 [6] [7] Chapter 3 [8] [9] [10] [11] [12] [13]
[14] [15] [16] [17] (/<<PKGBUILDDIR>>/doc/texi/gss_acquire_cred.texi
  [18]) (/<<PKGBUILDDIR>>/doc/texi/gss_add_cred.texi
Underfull \hbox (badness 10000) in paragraph at lines 4--15
  @textsl ini-tia-tor[]time[]req[]@textrm : @textsl ac-cep-tor[]time[]req[]@text
rm : @textsl out-put[]cred[]handle[]@textrm : @textsl ac-tual[]mechs[]@textrm :

) (/<<PKGBUILDDIR>>/doc/texi/gss_inquire_cred.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_inquire_cred_by_mech.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_release_cred.texi) [19]
(/<<PKGBUILDDIR>>/doc/texi/gss_init_sec_context.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_accept_sec_context.texi
Underfull \hbox (badness 10000) in paragraph at lines 4--15
  []@textsl minor[]status[]@textrm : @textsl con-text[]handle[]@textrm : @textsl
  ac-cep-tor[]cred[]handle[]@textrm : @textsl in-put[]token[]buffer[]@textrm :
) (/<<PKGBUILDDIR>>/doc/texi/gss_delete_sec_context.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_process_context_token.texi [20])
(/<<PKGBUILDDIR>>/doc/texi/gss_context_time.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_inquire_context.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_wrap_size_limit.texi
Underfull \hbox (badness 7468) in paragraph at lines 4--10
  []@textsl minor[]status[]@textrm : @textsl con-text[]handle[]@textrm : @textsl
  conf[]req[]flag[]@textrm : @textsl qop[]req[]@textrm : @textsl req[]output[]si
ze[]@textrm :
) (/<<PKGBUILDDIR>>/doc/texi/gss_export_sec_context.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_import_sec_context.texi) [21]
(/<<PKGBUILDDIR>>/doc/texi/gss_get_mic.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_verify_mic.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_wrap.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_unwrap.texi) [22]
(/<<PKGBUILDDIR>>/doc/texi/gss_import_name.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_display_name.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_compare_name.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_release_name.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_inquire_names_for_mech.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_inquire_mechs_for_name.texi [23])
(/<<PKGBUILDDIR>>/doc/texi/gss_canonicalize_name.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_export_name.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_duplicate_name.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_add_oid_set_member.texi [24])
(/<<PKGBUILDDIR>>/doc/texi/gss_display_status.texi
Underfull \hbox (badness 10000) in paragraph at lines 4--10
  []@textsl minor[]status[]@textrm : @textsl sta-tus[]value[]@textrm : @textsl s
ta-tus[]type[]@textrm : @textsl mech[]type[]@textrm : @textsl mes-sage[]context
[]@textrm :
) (/<<PKGBUILDDIR>>/doc/texi/gss_indicate_mechs.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_release_buffer.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_release_oid_set.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_create_empty_oid_set.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_test_oid_set_member.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_encapsulate_token.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_decapsulate_token.texi [25])
(/<<PKGBUILDDIR>>/doc/texi/gss_oid_equal.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_inquire_mech_for_saslname.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_inquire_saslname_for_mech.texi)
Chapter 4 [26] (/<<PKGBUILDDIR>>/doc/texi/gss_check_version.texi)
(/<<PKGBUILDDIR>>/doc/texi/gss_userok.texi) Chapter 5 [27] [28]
Overfull \hbox (3774.41943pt too wide) in paragraph at lines 1585--1585
[][]

Overfull \hbox (3774.41943pt too wide) in paragraph at lines 1606--1606
[][]

Overfull \hbox (463.1753pt too wide) in paragraph at lines 1606--1606
[][]

Overfull \hbox (463.1753pt too wide) in paragraph at lines 1616--1616
[][]
Chapter 6 [29] Appendix A [30] [31] Appendix B [32]
(/<<PKGBUILDDIR>>/doc/fdl-1.3.texi [33] [34] [35] [36] [37] [38]
[39]) (Concept Index) [40] (./gss.cps) (API Index) [41] (./gss.fns) [42] )
(see the transcript file for additional information)</usr/share/texlive/texmf-d
ist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texlive/texmf-dist/fo
nts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texlive/texmf-dist/fonts/ty
pe1/public/amsfonts/cm/cmmi12.pfb></usr/share/texlive/texmf-dist/fonts/type1/pu
blic/amsfonts/cm/cmmi9.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/am
sfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/
cm/cmr9.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsl1
0.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsltt10.pf
b></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmss10.pfb></us
r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/shar
e/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></usr/share/texl
ive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt9.pfb>
Output written on gss.pdf (46 pages, 283248 bytes).
Transcript written on gss.log.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/doc'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test -O--builddirectory=build "-O-O--dbgsym-migration=gss-dbg (<< 1.0.3-4~)"
	cd build && make -j2 check "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/build'
if test -d ../.git				\
	&& git --version >/dev/null 2>&1; then			\
   cd .. &&						\
   git submodule --quiet foreach					\
       'test "$(git rev-parse "$sha1")"			\
	  = "$(git merge-base origin "$sha1")"'		\
     || { echo 'maint.mk: found non-public submodule commit' >&2;	\
	 exit 1; };						\
else								\
   : ;								\
fi
make  check-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
Making check in po
make[3]: Entering directory '/<<PKGBUILDDIR>>/build/po'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/po'
Making check in lib
make[3]: Entering directory '/<<PKGBUILDDIR>>/build/lib'
Making check in gl
make[4]: Entering directory '/<<PKGBUILDDIR>>/build/lib/gl'
make  check-recursive
make[5]: Entering directory '/<<PKGBUILDDIR>>/build/lib/gl'
make[6]: Entering directory '/<<PKGBUILDDIR>>/build/lib/gl'
make[6]: Nothing to be done for 'check-am'.
make[6]: Leaving directory '/<<PKGBUILDDIR>>/build/lib/gl'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/lib/gl'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/lib/gl'
Making check in krb5
make[4]: Entering directory '/<<PKGBUILDDIR>>/build/lib/krb5'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/lib/krb5'
make[4]: Entering directory '/<<PKGBUILDDIR>>/build/lib'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/lib'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/lib'
Making check in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/build/src'
make  check-recursive
make[4]: Entering directory '/<<PKGBUILDDIR>>/build/src'
Making check in gl
make[5]: Entering directory '/<<PKGBUILDDIR>>/build/src/gl'
make  check-recursive
make[6]: Entering directory '/<<PKGBUILDDIR>>/build/src/gl'
make[7]: Entering directory '/<<PKGBUILDDIR>>/build/src/gl'
make[7]: Nothing to be done for 'check-am'.
make[7]: Leaving directory '/<<PKGBUILDDIR>>/build/src/gl'
make[6]: Leaving directory '/<<PKGBUILDDIR>>/build/src/gl'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/src/gl'
make[5]: Entering directory '/<<PKGBUILDDIR>>/build/src'
make[5]: Nothing to be done for 'check-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
Making check in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/build/tests'
make  basic saslname krb5context \
   threadsafety.sh
make[4]: Entering directory '/<<PKGBUILDDIR>>/build/tests'
gcc -DHAVE_CONFIG_H -I. -I../../tests -I..  -I../lib/headers -I../../lib/headers -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o basic.o ../../tests/basic.c
gcc -DHAVE_CONFIG_H -I. -I../../tests -I..  -I../lib/headers -I../../lib/headers -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o saslname.o ../../tests/saslname.c
gcc -DHAVE_CONFIG_H -I. -I../../tests -I..  -I../lib/headers -I../../lib/headers -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o krb5context.o ../../tests/krb5context.c
make[4]: Nothing to be done for '../../tests/threadsafety.sh'.
/bin/bash ../libtool  --tag=CC   --mode=link gcc   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-install -Wl,-z,relro -Wl,-z,now -o basic basic.o ../lib/libgss.la
/bin/bash ../libtool  --tag=CC   --mode=link gcc   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-install -Wl,-z,relro -Wl,-z,now -o saslname saslname.o ../lib/libgss.la
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o basic basic.o  ../lib/.libs/libgss.so -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/build/lib/.libs
/bin/bash ../libtool  --tag=CC   --mode=link gcc   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-install -Wl,-z,relro -Wl,-z,now -o krb5context krb5context.o ../lib/libgss.la  -L/usr/lib/x86_64-linux-gnu -lshishi
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o saslname saslname.o  ../lib/.libs/libgss.so -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/build/lib/.libs
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o krb5context krb5context.o  ../lib/.libs/libgss.so -L/usr/lib/x86_64-linux-gnu -lshishi -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/build/lib/.libs
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/tests'
make  check-TESTS
make[4]: Entering directory '/<<PKGBUILDDIR>>/build/tests'
make[5]: Entering directory '/<<PKGBUILDDIR>>/build/tests'
PASS: threadsafety.sh
PASS: saslname
PASS: basic
FAIL: krb5context
==============================================================
    GNU Generic Security Service 1.0.4: tests/test-suite.log
==============================================================

# TOTAL: 4
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: krb5context
=================

loop 0 init failure
gss_accept_sec_context failure
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x109446: main (krb5context.c:225)
==2103072==
==2103072== Use of uninitialised value of size 8
==2103072==    at 0x49227AB: _itoa_word (_itoa.c:183)
==2103072==    by 0x492C6A3: __printf_buffer (vfprintf-process-arg.c:155)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1097B0: main (krb5context.c:229)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x49227BC: _itoa_word (_itoa.c:183)
==2103072==    by 0x492C6A3: __printf_buffer (vfprintf-process-arg.c:155)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1097B0: main (krb5context.c:229)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x492C74F: __printf_buffer (vfprintf-process-arg.c:186)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1097B0: main (krb5context.c:229)
==2103072==
loop 0 accept flag failure (3653768960)
gss_accept_sec_context failure
gss_init_sec_context failure (2)
client gss_wrap failure
server gss_unwrap failure
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x10959C: main (krb5context.c:344)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x492D201: __printf_buffer (vfprintf-process-arg.c:58)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x492C74F: __printf_buffer (vfprintf-process-arg.c:186)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x492BEF4: __printf_buffer (vfprintf-process-arg.c:408)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x492C033: __printf_buffer (vfprintf-process-arg.c:430)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x4848C2C: strnlen (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x492C043: __printf_buffer (vfprintf-process-arg.c:433)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Use of uninitialised value of size 8
==2103072==    at 0x4848C39: strnlen (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x492C043: __printf_buffer (vfprintf-process-arg.c:433)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x4848C37: strnlen (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x492C043: __printf_buffer (vfprintf-process-arg.c:433)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x484CD5E: memmove (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4924097: memcpy (string_fortified.h:29)
==2103072==    by 0x4924097: __printf_buffer_write (Xprintf_buffer_write.c:39)
==2103072==    by 0x492BE62: __printf_buffer (vfprintf-process-arg.c:501)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x484CD6B: memmove (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4924097: memcpy (string_fortified.h:29)
==2103072==    by 0x4924097: __printf_buffer_write (Xprintf_buffer_write.c:39)
==2103072==    by 0x492BE62: __printf_buffer (vfprintf-process-arg.c:501)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x484CD78: memmove (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4924097: memcpy (string_fortified.h:29)
==2103072==    by 0x4924097: __printf_buffer_write (Xprintf_buffer_write.c:39)
==2103072==    by 0x492BE62: __printf_buffer (vfprintf-process-arg.c:501)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x484CD89: memmove (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4924097: memcpy (string_fortified.h:29)
==2103072==    by 0x4924097: __printf_buffer_write (Xprintf_buffer_write.c:39)
==2103072==    by 0x492BE62: __printf_buffer (vfprintf-process-arg.c:501)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Use of uninitialised value of size 8
==2103072==    at 0x484CEC0: memmove (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4924097: memcpy (string_fortified.h:29)
==2103072==    by 0x4924097: __printf_buffer_write (Xprintf_buffer_write.c:39)
==2103072==    by 0x492BE62: __printf_buffer (vfprintf-process-arg.c:501)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Use of uninitialised value of size 8
==2103072==    at 0x484CEC3: memmove (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4924097: memcpy (string_fortified.h:29)
==2103072==    by 0x4924097: __printf_buffer_write (Xprintf_buffer_write.c:39)
==2103072==    by 0x492BE62: __printf_buffer (vfprintf-process-arg.c:501)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x484CECD: memmove (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4924097: memcpy (string_fortified.h:29)
==2103072==    by 0x4924097: __printf_buffer_write (Xprintf_buffer_write.c:39)
==2103072==    by 0x492BE62: __printf_buffer (vfprintf-process-arg.c:501)
==2103072==    by 0x492DCA0: __vfprintf_internal (vfprintf-internal.c:1544)
==2103072==    by 0x109F97: vfprintf (stdio2.h:109)
==2103072==    by 0x109F97: fail (utils.c:43)
==2103072==    by 0x1095DF: main (krb5context.c:346)
==2103072==
wrap+unwrap failed (4, 78250098, …ÀuÜB€<3=uÕJ\3H‰Ø[]A\A]A^Ã@)
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x48451A5: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4859980: gss_release_buffer (misc.c:354)
==2103072==    by 0x1095EA: main (krb5context.c:350)
==2103072==
==2103072== Invalid free() / delete / delete[] / realloc()
==2103072==    at 0x48451EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4859980: gss_release_buffer (misc.c:354)
==2103072==    by 0x1095EA: main (krb5context.c:350)
==2103072==  Address 0x4ced220 is 0 bytes inside data symbol "_gnutls_log_level"
==2103072==
==2103072== Conditional jump or move depends on uninitialised value(s)
==2103072==    at 0x48451A5: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4859980: gss_release_buffer (misc.c:354)
==2103072==    by 0x1095F6: main (krb5context.c:351)
==2103072==
==2103072== Invalid free() / delete / delete[] / realloc()
==2103072==    at 0x48451EF: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==2103072==    by 0x4859980: gss_release_buffer (misc.c:354)
==2103072==    by 0x1095F6: main (krb5context.c:351)
==2103072==  Address 0x490f620 is in the Text segment of /usr/lib/x86_64-linux-gnu/libc.so.6
==2103072==    at 0x490F620: getenv (getenv.c:32)
==2103072==
client gss_delete_sec_context failure
server gss_delete_sec_context failure
loop 0 init failure
gss_accept_sec_context failure
gss_accept_sec_context failure
loop 1 ret_flags failure (0)
gss_init_sec_context failure (2)
client gss_wrap failure
server gss_unwrap failure
wrap+unwrap failed (4, 0, )
client gss_delete_sec_context failure
server gss_delete_sec_context failure
loop 2 ret_flags failure (0)
loop 1 init failure
gss_accept_sec_context failure
gss_accept_sec_context failure
gss_init_sec_context failure (2)
client gss_wrap failure
server gss_unwrap failure
wrap+unwrap failed (4, 0, )
client gss_delete_sec_context failure
server gss_delete_sec_context failure
GSS-API error accept_sec_context (major): No credentials were supplied, or the credentials were unavailable or inaccessible
GSS-API error accept_sec_context (minor): Principal in credential cache does not match desired name
GSS-API error accept_sec_context (major): A token was invalid
GSS-API error accept_sec_context (minor): No krb5 error
GSS-API error init_sec_context (major): No credentials were supplied, or the credentials were unavailable or inaccessible
GSS-API error init_sec_context (minor): Principal in credential cache does not match desired name
GSS-API error client wrap (major): No context has been established
GSS-API error client wrap (minor): No krb5 error
GSS-API error client wrap (major): No context has been established
GSS-API error client wrap (minor): No krb5 error
GSS-API error client delete_sec_context (major): No context has been established
GSS-API error client delete_sec_context (major): A parameter was malformed
GSS-API error client delete_sec_context (minor): No krb5 error
GSS-API error server delete_sec_context (major): No context has been established
GSS-API error server delete_sec_context (major): A parameter was malformed
GSS-API error server delete_sec_context (minor): No krb5 error
GSS-API error accept_sec_context (major): No credentials were supplied, or the credentials were unavailable or inaccessible
GSS-API error accept_sec_context (minor): Principal in credential cache does not match desired name
GSS-API error accept_sec_context (major): A token was invalid
GSS-API error accept_sec_context (minor): No krb5 error
GSS-API error init_sec_context (major): No credentials were supplied, or the credentials were unavailable or inaccessible
GSS-API error init_sec_context (minor): Principal in credential cache does not match desired name
GSS-API error client wrap (major): No context has been established
GSS-API error client wrap (minor): No krb5 error
GSS-API error client wrap (major): No context has been established
GSS-API error client wrap (minor): No krb5 error
GSS-API error client delete_sec_context (major): No context has been established
GSS-API error client delete_sec_context (major): A parameter was malformed
GSS-API error client delete_sec_context (minor): No krb5 error
GSS-API error server delete_sec_context (major): No context has been established
GSS-API error server delete_sec_context (major): A parameter was malformed
GSS-API error server delete_sec_context (minor): No krb5 error
GSS-API error accept_sec_context (major): No credentials were supplied, or the credentials were unavailable or inaccessible
GSS-API error accept_sec_context (minor): Principal in credential cache does not match desired name
GSS-API error accept_sec_context (major): A token was invalid
GSS-API error accept_sec_context (minor): No krb5 error
GSS-API error init_sec_context (major): A token was invalid
GSS-API error init_sec_context (minor): No krb5 error
GSS-API error client wrap (major): No context has been established
GSS-API error client wrap (minor): No krb5 error
GSS-API error client wrap (major): No context has been established
GSS-API error client wrap (minor): No krb5 error
GSS-API error client delete_sec_context (major): No context has been established
GSS-API error client delete_sec_context (major): A parameter was malformed
GSS-API error client delete_sec_context (minor): No krb5 error
GSS-API error server delete_sec_context (major): No context has been established
GSS-API error server delete_sec_context (major): A parameter was malformed
GSS-API error server delete_sec_context (minor): No krb5 error
FAIL krb5context (exit status: 1)

============================================================================
Testsuite summary for GNU Generic Security Service 1.0.4
============================================================================
# TOTAL: 4
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-gss@gnu.org
============================================================================
make[5]: *** [Makefile:1839: test-suite.log] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/tests'
make[4]: *** [Makefile:1947: check-TESTS] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/tests'
make[3]: *** [Makefile:2034: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/tests'
make[2]: *** [Makefile:1557: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:1857: check] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_test: error: cd build && make -j2 check "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202407/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

#1076885#10
Date:
2024-09-01 16:13:27 UTC
From:
To:
found 1076885 1.0.3-6+deb11u1
found 1076885 1.0.4-1
thanks

This is now failing in bullseye and bookworm as well.

I hope that at least this can be fixed in a bookworm point release.

The error is not exactly the same, but I suspect the root
cause is very likely to be the same, since both bookworm
and trixie/sid are based on upstream 1.0.4.

See this for a full build log:

https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/gss.html

Thanks.

#1076885#21
Date:
2024-12-29 23:10:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gss, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1076885@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Josefsson <simon@josefsson.org> (supplier of updated gss package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 29 Dec 2024 22:28:36 +0100
Source: gss
Architecture: source
Version: 1.0.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GSS Team <help-gss@gnu.org>
Changed-By: Simon Josefsson <simon@josefsson.org>
Closes: 1076885
Changes:
 gss (1.0.4-4) unstable; urgency=medium
 .
   * Use datefudge to fix time bomb.  Closes: #1076885.
   * Stop using gbp dch id-length.
   * Run wrap-and-sort -satbk.
   * Use /debian/ Vcs-* URL namespace.
   * Use execute_after instead of override for dh_auto_build.
   * Fix timebomb in autopkgtest too.
Checksums-Sha1:
 8e873d5a09b6504c1c4dd93e68b1679c8615b39b 1894 gss_1.0.4-4.dsc
 7416296f2650f9c7209d46b65248025065cfea85 14568 gss_1.0.4-4.debian.tar.xz
 f3aa2c93bfb1cfcc20e6a1241090417f22b452c9 12665 gss_1.0.4-4_amd64.buildinfo
Checksums-Sha256:
 a5ff15db06a155e185e7558baecd51d9e576e46f27e96af246e170e986c533c6 1894 gss_1.0.4-4.dsc
 8e7b1a85dfdba72b978354d2ac161a419882ee7869c594bcc1ff1a8b3796e83c 14568 gss_1.0.4-4.debian.tar.xz
 006105033bafc49154dffc3082918607350ce8c6bdd3e11594a98a9a2c5cf895 12665 gss_1.0.4-4_amd64.buildinfo
Files:
 8cbf3f2207ec81355832b55df362e43a 1894 net optional gss_1.0.4-4.dsc
 83df251abb53a647d0db6f199919c5db 14568 net optional gss_1.0.4-4.debian.tar.xz
 2381e059d01ae44b1a1e497180d57865 12665 net optional gss_1.0.4-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCZ3HD8xQcc2ltb25Aam9z
ZWZzc29uLm9yZwAKCRBRcisI/kdFop8dAP9OSUOKfeKtbnLOGYdRggVeUCNh9TfF
UKgyh/BwnMFSvAD/TiI32Ikx7rUkMEkGBGS7HfAEvxEN1emxd/1y2bZ/ZA0=
=4UAH
-----END PGP SIGNATURE-----

#1076885#26
Date:
2025-01-15 11:32:09 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gss, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1076885@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Josefsson <simon@josefsson.org> (supplier of updated gss package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 29 Dec 2024 22:44:14 +0100
Source: gss
Architecture: source
Version: 1.0.4-1+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian GSS Team <help-gss@gnu.org>
Changed-By: Simon Josefsson <simon@josefsson.org>
Closes: 1076885
Changes:
 gss (1.0.4-1+deb12u1) bookworm; urgency=medium
 .
   * Use datefudge to fix time bomb.  Closes: #1076885.
Checksums-Sha1:
 d631c3babfaab50dfadcae3f7d084e1b27f3c8dc 2920 gss_1.0.4-1+deb12u1.dsc
 97e64c7148a85ded017622f84b7cc6c8753ba4e7 14244 gss_1.0.4-1+deb12u1.debian.tar.xz
 db3916bb1e04ab4bd05be700b299b0e9c38b0712 13514 gss_1.0.4-1+deb12u1_amd64.buildinfo
Checksums-Sha256:
 9216d06a1c1faa6581aa03c8d0f614523b9cb9b952886d39982b09b025f42c50 2920 gss_1.0.4-1+deb12u1.dsc
 a43744c31537f8d320700a41790599b13ee8d1561c41a10ffb3ab586aaf3b9db 14244 gss_1.0.4-1+deb12u1.debian.tar.xz
 56ac8305cf518cc20a318e2b3c1ee4f6889097cd64f321c8e8d40da45ac83149 13514 gss_1.0.4-1+deb12u1_amd64.buildinfo
Files:
 5deb114ae1c7b0aeb429718e174a5f6a 2920 net optional gss_1.0.4-1+deb12u1.dsc
 03036b3907fe638d41030a6080a85c1a 14244 net optional gss_1.0.4-1+deb12u1.debian.tar.xz
 94d3bd9601cc3d9a57c4f7fe55ae217c 13514 net optional gss_1.0.4-1+deb12u1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQNoBAEWCAMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmeCiqoUHHNpbW9uQGpv
c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f
V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z
ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh
BLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgIBQkLehFUAAoJENc89jjFPAa+CboA
+wUa06RD5e5VTCxvSWtPS75Wq2qBeYGZnf0jvUMxa2n4AP4xkUeAPPnNuMsTm2fs
FCDIGaEM2Yn6Vb2huzzT1Fw/BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx
I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0
+MTXPPY4xTwGvgUCZf2IKwUJC3oQqgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R
cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE
8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J
ENc89jjFPAa+GcYA/26YQY05bLtnXiIjTiAzrGQrRXxTHPA8Av7TDFHvIetWAP9s
HSoU8OfTwmTiEnGwLlsV7QJclZg3YNz/Ypcp9TqQBrg4BFySz2oSCisGAQQBl1UB
BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA
JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgwBQkLehDGAAoJENc89jjF
PAa+phoA/jrDqIrl/55vUMBhIQv+TP635d2iCTEnyFmbUcP9+gh6APoDsXalVd2c
OGxQtSC+TF8PkZMn1TLkJKAjVxr+xx40AgAKCRBRcisI/kdFooPLAP0S5iL8Urko
KLU1o1mdiYEHTkKA06OvwKPaU+5l3EgsSwD+MBUo3WEWxl5oDgnsFxhxNkpVpRWX
9btfdiyjK7yw4w4=
=A7Uv
-----END PGP SIGNATURE-----

#1076885#31
Date:
2025-03-09 19:35:53 UTC
From:
To:
This appears stil to affect gss/1.0.4-1+deb12u1 on armel, armhf, i386 and
mipsel.

Thanks,