/var/tmp/portage/app-crypt/tpm-emulator-0.7.4-r1/work/tpm_emulator-0.7.4/tpm/tpm_deprecated.c: In function ‘TPM_ChangeAuthAsymFinish’: /var/tmp/portage/app-crypt/tpm-emulator-0.7.4-r1/work/tpm_emulator-0.7.4/tpm/tpm_deprecated.c:437:7: error: ‘__builtin_memcmp_eq’ reading 20 bytes from a region of size 8 [-Werror=stringop-overflow=] if (memcmp(&b1, &newAuthLink, sizeof(TPM_HMAC))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-developer_libressl_20180816-174630 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 [2] x86_64-pc-linux-gnu-7.3.1 [3] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) [4] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) [2] ruby25 (with Rubygems) * emerge -qpv app-crypt/tpm-emulator [ebuild N ] app-crypt/tpm-emulator-0.7.4-r1 USE="libressl modules ssl"
Created attachment 544284 [details] emerge-info.txt
Created attachment 544286 [details] app-crypt:tpm-emulator-0.7.4-r1:20180820-231831.log
Created attachment 544288 [details] emerge-history.txt
Created attachment 544290 [details] environment
Created attachment 544292 [details] etc.portage.tbz2
Created attachment 544294 [details] logs.tbz2
Created attachment 544296 [details] temp.tbz2
No response from upstream for almost 10 days, I believe the patch is correct, applying.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b220ce5e246cfee6691af027c86045a9d1fffe21 commit b220ce5e246cfee6691af027c86045a9d1fffe21 Author: Alon Bar-Lev <alonbl@gentoo.org> AuthorDate: 2018-09-09 08:14:32 +0000 Commit: Alon Bar-Lev <alonbl@gentoo.org> CommitDate: 2018-09-09 08:15:58 +0000 app-crypt/tpm-emulator: fix incorrect memcpy Closes: https://bugs.gentoo.org/show_bug.cgi?id=664198 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../files/tpm-emulator-0.7.4-build.patch | 31 ++++++++++++++++++++++ .../tpm-emulator/tpm-emulator-0.7.4-r1.ebuild | 4 +++ 2 files changed, 35 insertions(+)