Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 742263

Summary: net-libs/mbedtls-2.24.0 : /.../gen_random_havege.c: error: format %X expects argument of type unsigned int, but argument 2 has typ
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-libs:mbedtls-2.24.0:20200912-222856.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-09-13 07:18:43 UTC
/var/tmp/portage/net-libs/mbedtls-2.24.0/work/mbedtls-mbedtls-2.24.0/programs/random/gen_random_havege.c: In function ‘main’:
/var/tmp/portage/net-libs/mbedtls-2.24.0/work/mbedtls-mbedtls-2.24.0/programs/random/gen_random_havege.c:83:81: error: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘int’ [-Werror=format=]
   83 |             mbedtls_printf( " failed\n  !  mbedtls_havege_random returned -0x%04X",
      |                                                                              ~~~^
      |                                                                                 |

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl-20200911-101604

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.46.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Sep 12 10:05:32 PM UTC 2020
/var/db/repos/libressl	Sat Sep 12 05:22:43 PM UTC 2020

emerge -qpvO net-libs/mbedtls
[ebuild  N    ] net-libs/mbedtls-2.24.0  USE="havege libressl programs -doc -static-libs -test -threads -zlib" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2020-09-13 07:18:45 UTC
Created attachment 659916 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-09-13 07:18:46 UTC
Created attachment 659919 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-09-13 07:18:48 UTC
Created attachment 659922 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-09-13 07:18:49 UTC
Created attachment 659925 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-09-13 07:18:51 UTC
Created attachment 659928 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-09-13 07:18:52 UTC
Created attachment 659931 [details]
net-libs:mbedtls-2.24.0:20200912-222856.log
Comment 7 Toralf Förster gentoo-dev 2020-09-13 07:18:54 UTC
Created attachment 659934 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-20 04:56:43 UTC
*** Bug 734310 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-20 04:57:08 UTC

*** This bug has been marked as a duplicate of bug 732968 ***