← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2124992] [NEW] mhash ftbfs in questing archive rebuild

 

Public bug reported:

The package fails to build in the recent archive rebuild
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/mutils -I../include -DMHASH_ROBUST -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/mhash-0.9.9.9-10 -c keygen_asis.c -o keygen_asis.o >/dev/null 2>&1
keygen.c:29:16: error: conflicting types for 'mhash_keygen_uses_hash_algorithm'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'}
   29 | mutils_boolean mhash_keygen_uses_hash_algorithm(keygenid type)
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from keygen.c:25:
./mhash_int.h:50:16: note: previous declaration of 'mhash_keygen_uses_hash_algorithm' with type '_Bool(void)'
   50 | mutils_boolean mhash_keygen_uses_hash_algorithm();
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keygen.c:37:16: error: conflicting types for 'mhash_keygen_uses_count'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'}
   37 | mutils_boolean mhash_keygen_uses_count(keygenid type)
      |                ^~~~~~~~~~~~~~~~~~~~~~~
./mhash_int.h:49:16: note: previous declaration of 'mhash_keygen_uses_count' with type '_Bool(void)'
   49 | mutils_boolean mhash_keygen_uses_count();
      |                ^~~~~~~~~~~~~~~~~~~~~~~
keygen.c:45:16: error: conflicting types for 'mhash_keygen_uses_salt'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'}
   45 | mutils_boolean mhash_keygen_uses_salt(keygenid type)
      |                ^~~~~~~~~~~~~~~~~~~~~~
./mhash_int.h:48:16: note: previous declaration of 'mhash_keygen_uses_salt' with type '_Bool(void)'
   48 | mutils_boolean mhash_keygen_uses_salt();
      |                ^~~~~~~~~~~~~~~~~~~~~~
keygen.c:67:15: error: conflicting types for 'mhash_get_keygen_salt_size'; have 'uint32_t(keygenid)' {aka 'unsigned int(enum __keygenid)'}
   67 | mutils_word32 mhash_get_keygen_salt_size(keygenid type)
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
./mhash_int.h:46:15: note: previous declaration of 'mhash_get_keygen_salt_size' with type 'uint32_t(void)' {aka 'unsigned int(void)'}
   46 | mutils_word32 mhash_get_keygen_salt_size();
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
keygen.c:87:15: error: conflicting types for 'mhash_get_keygen_name'; have 'uint8_t *(hashid)' {aka 'unsigned char *(enum __hashid)'}
   87 | mutils_word8 *mhash_get_keygen_name(hashid type)
      |               ^~~~~~~~~~~~~~~~~~~~~
./mhash_int.h:45:15: note: previous declaration of 'mhash_get_keygen_name' with type 'uint8_t *(void)' {aka 'unsigned char *(void)'}
   45 | mutils_word8 *mhash_get_keygen_name();
      |               ^~~~~~~~~~~~~~~~~~~~~
keygen.c:118:14: error: conflicting types for 'mhash_keygen'; have 'uint32_t(keygenid,  hashid,  uint64_t,  void *, uint32_t,  void *, uint32_t,  uint8_t *, uint32_t)' {aka 'unsigned int(enum __keygenid,  enum __hashid,  long unsigned int,  void *, unsigned int,  void *, unsigned int,  unsigned char *, unsigned int)'}
  118 | mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm,
      |              ^~~~~~~~~~~~
./mhash_int.h:43:14: note: previous declaration of 'mhash_keygen' with type 'uint32_t(void)' {aka 'unsigned int(void)'}
   43 | mutils_error mhash_keygen();
      |              ^~~~~~~~~~~~
keygen.c:171:14: error: conflicting types for 'mhash_keygen_ext'; have 'uint32_t(keygenid,  KEYGEN,  void *, uint32_t,  uint8_t *, uint32_t)' {aka 'unsigned int(enum __keygenid,  struct __KEYGEN,  void *, unsigned int,  unsigned char *, unsigned int)'}
  171 | mutils_error mhash_keygen_ext(keygenid algorithm, KEYGEN data,
      |              ^~~~~~~~~~~~~~~~
./mhash_int.h:44:14: note: previous declaration of 'mhash_keygen_ext' with type 'uint32_t(void)' {aka 'unsigned int(void)'}
   44 | mutils_error mhash_keygen_ext();
      |              ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:510: keygen.lo] Error 1

** Affects: mhash (Ubuntu)
     Importance: Undecided
     Assignee: Ural Tunaboyu (uralt)
         Status: New


** Tags: dcr-incoming ftbfs

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to mhash in Ubuntu.
https://bugs.launchpad.net/bugs/2124992

Title:
  mhash ftbfs in questing archive rebuild

Status in mhash package in Ubuntu:
  New

Bug description:
  The package fails to build in the recent archive rebuild
  https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/mutils -I../include -DMHASH_ROBUST -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/mhash-0.9.9.9-10 -c keygen_asis.c -o keygen_asis.o >/dev/null 2>&1
  keygen.c:29:16: error: conflicting types for 'mhash_keygen_uses_hash_algorithm'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'}
     29 | mutils_boolean mhash_keygen_uses_hash_algorithm(keygenid type)
        |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from keygen.c:25:
  ./mhash_int.h:50:16: note: previous declaration of 'mhash_keygen_uses_hash_algorithm' with type '_Bool(void)'
     50 | mutils_boolean mhash_keygen_uses_hash_algorithm();
        |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  keygen.c:37:16: error: conflicting types for 'mhash_keygen_uses_count'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'}
     37 | mutils_boolean mhash_keygen_uses_count(keygenid type)
        |                ^~~~~~~~~~~~~~~~~~~~~~~
  ./mhash_int.h:49:16: note: previous declaration of 'mhash_keygen_uses_count' with type '_Bool(void)'
     49 | mutils_boolean mhash_keygen_uses_count();
        |                ^~~~~~~~~~~~~~~~~~~~~~~
  keygen.c:45:16: error: conflicting types for 'mhash_keygen_uses_salt'; have '_Bool(keygenid)' {aka '_Bool(enum __keygenid)'}
     45 | mutils_boolean mhash_keygen_uses_salt(keygenid type)
        |                ^~~~~~~~~~~~~~~~~~~~~~
  ./mhash_int.h:48:16: note: previous declaration of 'mhash_keygen_uses_salt' with type '_Bool(void)'
     48 | mutils_boolean mhash_keygen_uses_salt();
        |                ^~~~~~~~~~~~~~~~~~~~~~
  keygen.c:67:15: error: conflicting types for 'mhash_get_keygen_salt_size'; have 'uint32_t(keygenid)' {aka 'unsigned int(enum __keygenid)'}
     67 | mutils_word32 mhash_get_keygen_salt_size(keygenid type)
        |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
  ./mhash_int.h:46:15: note: previous declaration of 'mhash_get_keygen_salt_size' with type 'uint32_t(void)' {aka 'unsigned int(void)'}
     46 | mutils_word32 mhash_get_keygen_salt_size();
        |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
  keygen.c:87:15: error: conflicting types for 'mhash_get_keygen_name'; have 'uint8_t *(hashid)' {aka 'unsigned char *(enum __hashid)'}
     87 | mutils_word8 *mhash_get_keygen_name(hashid type)
        |               ^~~~~~~~~~~~~~~~~~~~~
  ./mhash_int.h:45:15: note: previous declaration of 'mhash_get_keygen_name' with type 'uint8_t *(void)' {aka 'unsigned char *(void)'}
     45 | mutils_word8 *mhash_get_keygen_name();
        |               ^~~~~~~~~~~~~~~~~~~~~
  keygen.c:118:14: error: conflicting types for 'mhash_keygen'; have 'uint32_t(keygenid,  hashid,  uint64_t,  void *, uint32_t,  void *, uint32_t,  uint8_t *, uint32_t)' {aka 'unsigned int(enum __keygenid,  enum __hashid,  long unsigned int,  void *, unsigned int,  void *, unsigned int,  unsigned char *, unsigned int)'}
    118 | mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm,
        |              ^~~~~~~~~~~~
  ./mhash_int.h:43:14: note: previous declaration of 'mhash_keygen' with type 'uint32_t(void)' {aka 'unsigned int(void)'}
     43 | mutils_error mhash_keygen();
        |              ^~~~~~~~~~~~
  keygen.c:171:14: error: conflicting types for 'mhash_keygen_ext'; have 'uint32_t(keygenid,  KEYGEN,  void *, uint32_t,  uint8_t *, uint32_t)' {aka 'unsigned int(enum __keygenid,  struct __KEYGEN,  void *, unsigned int,  unsigned char *, unsigned int)'}
    171 | mutils_error mhash_keygen_ext(keygenid algorithm, KEYGEN data,
        |              ^~~~~~~~~~~~~~~~
  ./mhash_int.h:44:14: note: previous declaration of 'mhash_keygen_ext' with type 'uint32_t(void)' {aka 'unsigned int(void)'}
     44 | mutils_error mhash_keygen_ext();
        |              ^~~~~~~~~~~~~~~~
  make[2]: *** [Makefile:510: keygen.lo] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mhash/+bug/2124992/+subscriptions