Package: src:libopaque
Version: 1.0.1-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --sourcedirectory=src --with python3
   dh_auto_clean -O--sourcedirectory=src
        cd src && make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
make -C utils/man clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/utils/man'
rm -f *.1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/utils/man'
rm -f \
        *.o \
        aux_/*.o \
        libopaque.dll \
        libopaque.so \
        libopaque.a \
        tests/opaque-munit \
        tests/opaque-munit.exe \
        tests/opaque-munit.html \
        tests/opaque-munit.js \
        tests/opaque-test \
        tests/opaque-test.exe \
        tests/opaque-test.html \
        tests/opaque-test.js \
        tests/opaque-tv1 \
        tests/opaque-tv1.exe \
        tests/opaque-tv1.html \
        tests/opaque-tv1.js \
        utils/opaque
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
   dh_autoreconf_clean -O--sourcedirectory=src
   dh_clean -O--sourcedirectory=src
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/libopaque-bin.substvars debian/libopaque0.substvars 
debian/libopaque-dev.substvars debian/python3-opaque.substvars debian/files
        rm -fr -- debian/libopaque-bin/ debian/tmp/ debian/libopaque0/ 
debian/libopaque-dev/ debian/python3-opaque/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary --sourcedirectory=src --with python3
   dh_update_autotools_config -O--sourcedirectory=src
   dh_autoreconf -O--sourcedirectory=src
   dh_auto_configure -O--sourcedirectory=src
   dh_auto_build -O--sourcedirectory=src
        cd src && make -j1 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
cc -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 -Wall 
-pedantic -std=c99 -fpic -Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now 
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error 
-fcf-protection=full -fstack-clash-protection -Iaux_ -o common.o -c common.c
cc -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 -Wall 
-pedantic -std=c99 -fpic -Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now 
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error 
-fcf-protection=full -fstack-clash-protection -Iaux_ -I/usr/include/oprf -o 
opaque.o -c opaque.c
opaque.c:81:3: warning: ‘element_count’ attribute directive ignored 
[-Wattributes]
   81 |   uint8_t pwdU[] __bounds(pwdU_len);
      |   ^~~~~~~
opaque.c:96:3: warning: ‘element_count’ attribute directive ignored 
[-Wattributes]
   96 |   uint8_t pwdU[] __bounds(pwdU_len);
      |   ^~~~~~~
opaque.c: In function ‘opaque_CombineCredentialResponses’:
opaque.c:1073:26: warning: invalid use of pointers to arrays with different 
qualifiers in ISO C before C23 [-Wpedantic]
 1073 |   toprf_thresholdmult(t, responses, beta);
      |                          ^~~~~~~~~
opaque.c: In function ‘opaque_CombineRegistrationResponses’:
opaque.c:1540:26: warning: invalid use of pointers to arrays with different 
qualifiers in ISO C before C23 [-Wpedantic]
 1540 |   toprf_thresholdmult(t, responses, beta);
      |                          ^~~~~~~~~
cc -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 -Wall 
-pedantic -std=c99 -fpic -Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now 
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error 
-fcf-protection=full -fstack-clash-protection -Iaux_ -o aux_/kdf_hkdf_sha512.o 
-c aux_/kdf_hkdf_sha512.c
cc -shared -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
-pedantic -std=c99 -fpic -Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now 
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error 
-fcf-protection=full -fstack-clash-protection -Iaux_ -Wl,-soname,libopaque.so.0 
-o libopaque.so common.o opaque.o aux_/kdf_hkdf_sha512.o -g -lsodium -loprf 
ln -fs libopaque.so libopaque.so.0
ar -rcs libopaque.a common.o opaque.o aux_/kdf_hkdf_sha512.o
cc -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 -Wall 
-pedantic -std=c99 -fpic -Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now 
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error 
-fcf-protection=full -fstack-clash-protection -Iaux_ -o tests/opaque-test 
tests/opaque-test.c -L. -lopaque -g -lsodium -loprf
cc -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 -Wall 
-pedantic -std=c99 -fpic -Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now 
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error 
-fcf-protection=full -fstack-clash-protection -Iaux_ -o tests/opaque-munit 
tests/munit/munit.c tests/opaque-munit.c -L. -lopaque -g -lsodium -loprf
cc -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 -Wall 
-pedantic -std=c99 -fpic -Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now 
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error 
-fcf-protection=full -fstack-clash-protection -Iaux_ -I. -o utils/opaque 
utils/main.c -L. -g -lsodium -loprf -lopaque -lsodium
make -C utils/man
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/utils/man'
pandoc -s  -o opaque.1 opaque.md
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/utils/man'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
   dh_auto_test -O--sourcedirectory=src
        cd src && make -j1 test
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
test -x ./tests/opaque-tv1 && ./tests/opaque-tv1 || true
LD_LIBRARY_PATH=. ./tests/opaque-test


private registration


opaque_CreateRegistrationRequest

opaque_CreateRegistrationResponse

opaque_FinalizeRequest

opaque_StoreUserRecord

opaque_CreateCredentialRequest

opaque_CreateCredentialResponse

opaque_RecoverCredentials

opaque_Register

opaque_CreateCredentialRequest

opaque_CreateCredentialResponse

opaque_RecoverCredentials

all ok

LD_LIBRARY_PATH=. ./tests/opaque-munit --fatal-failures
Running test suite with seed 0xec3faa54...
/opaque-tests/server-init            
  pwdU=simple guessable dictionary password, idU=user, idS=server, type=0
[ OK    ] [ 0.12840016 / 0.12829761 CPU ]
  pwdU=simple guessable dictionary password, idU=user, idS=server, type=1
[ OK    ] [ 0.12883609 / 0.12874278 CPU ]
  pwdU=simple guessable dictionary password, idU=user, idS=server, type=2
[ OK    ] [ 0.17144333 / 0.13189582 CPU ]
  pwdU=simple guessable dictionary password, idU=user, idS=server, type=3
[ OK    ] [ 0.14512057 / 0.13033883 CPU ]
  pwdU=simple guessable dictionary password, idU=user, idS=, type=0
[ OK    ] [ 0.12898352 / 0.12882395 CPU ]
  pwdU=simple guessable dictionary password, idU=user, idS=, type=1
[ OK    ] [ 0.13282642 / 0.12974716 CPU ]
  pwdU=simple guessable dictionary password, idU=user, idS=, type=2
[ OK    ] [ 0.12928456 / 0.12916969 CPU ]
  pwdU=simple guessable dictionary password, idU=user, idS=, type=3
[ OK    ] [ 0.12907454 / 0.12856951 CPU ]
  pwdU=simple guessable dictionary password, idU=, idS=server, type=0
[ OK    ] [ 0.12858609 / 0.12850565 CPU ]
  pwdU=simple guessable dictionary password, idU=, idS=server, type=1
[ OK    ] [ 0.12910582 / 0.12901099 CPU ]
  pwdU=simple guessable dictionary password, idU=, idS=server, type=2
[ OK    ] [ 0.12948193 / 0.12928945 CPU ]
  pwdU=simple guessable dictionary password, idU=, idS=server, type=3
[ OK    ] [ 0.13049427 / 0.13035196 CPU ]
  pwdU=simple guessable dictionary password, idU=, idS=, type=0
[ OK    ] [ 0.12931920 / 0.12923902 CPU ]
  pwdU=simple guessable dictionary password, idU=, idS=, type=1
[ OK    ] [ 0.13189777 / 0.12885996 CPU ]
  pwdU=simple guessable dictionary password, idU=, idS=, type=2
[ OK    ] [ 0.12890612 / 0.12879797 CPU ]
  pwdU=simple guessable dictionary password, idU=, idS=, type=3
[ OK    ] [ 0.12930580 / 0.12922831 CPU ]
  pwdU=, idU=user, idS=server, type=0
[ OK    ] [ 0.12872631 / 0.12862001 CPU ]
  pwdU=, idU=user, idS=server, type=1
[ OK    ] [ 0.12867494 / 0.12854575 CPU ]
  pwdU=, idU=user, idS=server, type=2
[ OK    ] [ 0.12932136 / 0.12922999 CPU ]
  pwdU=, idU=user, idS=server, type=3
[ OK    ] [ 0.12904164 / 0.12887462 CPU ]
  pwdU=, idU=user, idS=, type=0      
[ OK    ] [ 0.12876538 / 0.12868751 CPU ]
  pwdU=, idU=user, idS=, type=1      
[ OK    ] [ 0.13508176 / 0.13047859 CPU ]
  pwdU=, idU=user, idS=, type=2      
[ OK    ] [ 0.13156848 / 0.13142093 CPU ]
  pwdU=, idU=user, idS=, type=3      
[ OK    ] [ 0.13140038 / 0.13038263 CPU ]
  pwdU=, idU=, idS=server, type=0    
[ OK    ] [ 0.12969824 / 0.12962434 CPU ]
  pwdU=, idU=, idS=server, type=1    
[ OK    ] [ 0.12827790 / 0.12820110 CPU ]
  pwdU=, idU=, idS=server, type=2    
[ OK    ] [ 0.12846236 / 0.12837079 CPU ]
  pwdU=, idU=, idS=server, type=3    
[ OK    ] [ 0.12914949 / 0.12900018 CPU ]
  pwdU=, idU=, idS=, type=0          
[ OK    ] [ 0.13228121 / 0.12935682 CPU ]
  pwdU=, idU=, idS=, type=1          
[ OK    ] [ 0.12836516 / 0.12825754 CPU ]
  pwdU=, idU=, idS=, type=2          
[ OK    ] [ 0.12939670 / 0.12890240 CPU ]
  pwdU=, idU=, idS=, type=3          
[ OK    ] [ 0.12899750 / 0.12890405 CPU ]
32 of 32 (100%) tests successful, 0 (0%) test skipped.
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
        rm -fr -- /tmp/dh-xdg-rundir-aulZj8Px
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--sourcedirectory=src
   dh_prep -O--sourcedirectory=src
        rm -f -- debian/libopaque-bin.substvars debian/libopaque0.substvars 
debian/libopaque-dev.substvars debian/python3-opaque.substvars
        rm -fr -- debian/.debhelper/generated/libopaque-bin/ 
debian/libopaque-bin/ debian/tmp/ debian/.debhelper/generated/libopaque0/ 
debian/libopaque0/ debian/.debhelper/generated/libopaque-dev/ 
debian/libopaque-dev/ debian/.debhelper/generated/python3-opaque/ 
debian/python3-opaque/
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install --sourcedirectory=python --buildsystem=pybuild 
--package=python3-opaque
        install -m0755 -d /<<PKGBUILDDIR>>/debian/tmp
        pybuild --install -i python{version} -p 3.13 --dir python 
--dest-dir=/<<PKGBUILDDIR>>/debian/tmp
I: pybuild base:311: /usr/bin/python3 setup.py install --root 
/<<PKGBUILDDIR>>/debian/python3-opaque 
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/python/setup.py", line 2, in <module>
    from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'
E: pybuild pybuild:389: install: plugin distutils failed with: exit code=1: 
/usr/bin/python3 setup.py install --root /<<PKGBUILDDIR>>/debian/python3-opaque 
dh_auto_install: error: pybuild --install -i python{version} -p 3.13 --dir 
python --dest-dir=/<<PKGBUILDDIR>>/debian/tmp returned exit code 13
make[1]: *** [debian/rules:18: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
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/202503/

About the archive rebuild: The build was made on virtual machines 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 add an affects on src:libopaque, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to