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

Bug 734310

Summary: net-libs/mbedtls-2.23.0-r1 : /.../gen_random_havege.c: error: format %X expects argument of type unsigned int, but argument 2 has
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.23.0-r1:20200728-153957.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-07-28 16:36:28 UTC
/var/tmp/portage/net-libs/mbedtls-2.23.0-r1/work/mbedtls-mbedtls-2.23.0/programs/random/gen_random_havege.c: In function ‘main’:
/var/tmp/portage/net-libs/mbedtls-2.23.0-r1/work/mbedtls-mbedtls-2.23.0/programs/random/gen_random_havege.c:85:81: error: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘int’ [-Werror=format=]
   85 |             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_desktop_gnome_systemd-libressl-20200727-131833

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.262_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Jul 28 03:05:27 PM UTC 2020
/var/db/repos/libressl	Fri Jul 24 09:42:51 PM UTC 2020

emerge -qpvO net-libs/mbedtls
[ebuild  N    ] net-libs/mbedtls-2.23.0-r1  USE="havege libressl programs -doc -static-libs -test -threads -zlib" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2020-07-28 16:36:31 UTC
Created attachment 651282 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-28 16:36:34 UTC
Created attachment 651284 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-07-28 16:36:36 UTC
Created attachment 651286 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-07-28 16:36:39 UTC
Created attachment 651288 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-07-28 16:36:44 UTC
Created attachment 651290 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-28 16:36:52 UTC
Created attachment 651292 [details]
net-libs:mbedtls-2.23.0-r1:20200728-153957.log
Comment 7 Toralf Förster gentoo-dev 2020-07-28 16:36:57 UTC
Created attachment 651294 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-20 04:56:43 UTC

*** This bug has been marked as a duplicate of bug 742263 ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-20 04:57:20 UTC

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