Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 765222 Details for
Bug 833444
app-crypt/veracrypt-1.25.7: runtime errors with GLIBCXX_ASSERTIONS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch Attempt #1 Output
build.log (text/x-log), 8.12 KB, created by
Peter
on 2022-02-16 05:59:15 UTC
(
hide
)
Description:
Patch Attempt #1 Output
Filename:
MIME Type:
Creator:
Peter
Created:
2022-02-16 05:59:15 UTC
Size:
8.12 KB
patch
obsolete
> * Package: app-crypt/veracrypt-1.25.7 > * Repository: gentoo > * Maintainer: gokturk@gentoo.org > * USE: X abi_x86_64 amd64 asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 elibc_glibc kernel_linux userland_GNU > * FEATURES: compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > * /etc/portage/package.cflags/veracrypt.conf -> app-crypt/veracrypt: /-O3/-O2 > * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live candy compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr' > * CFLAGS='-march=native -O2 -pipe -D_FORTIFY_SOURCE=2 -falign-functions=32 -Wa,-mbranches-within-32B-boundaries -mfpmath=sse -fgraphite-identity -floop-nest-optimize -flto=auto -ffat-lto-objects -fno-semantic-interposition -fdevirtualize-at-ltrans -fno-plt -fipa-pta -fexceptions -feliminate-unused-debug-types -fasynchronous-unwind-tables -Wall -Wformat -Wformat-security -ggdb3 -grecord-gcc-switches -Wl,-O3 -Wl,--as-needed -Wl,-z,now,-z,relro -Wl,--sort-common -Wl,--enable-new-dtags' > * CXXFLAGS='-march=native -O2 -pipe -D_FORTIFY_SOURCE=2 -falign-functions=32 -Wa,-mbranches-within-32B-boundaries -mfpmath=sse -fgraphite-identity -floop-nest-optimize -flto=auto -ffat-lto-objects -fno-semantic-interposition -fdevirtualize-at-ltrans -fno-plt -fipa-pta -fexceptions -feliminate-unused-debug-types -fasynchronous-unwind-tables -Wall -Wformat -Wformat-security -ggdb3 -grecord-gcc-switches -D_GLIBCXX_ASSERTIONS -Wl,-O3 -Wl,--as-needed -Wl,-z,now,-z,relro -Wl,--sort-common -Wl,--enable-new-dtags' > * FFLAGS='-march=native -O2 -pipe -D_FORTIFY_SOURCE=2 -falign-functions=32 -Wa,-mbranches-within-32B-boundaries -mfpmath=sse -fgraphite-identity -floop-nest-optimize -flto=auto -ffat-lto-objects -fno-semantic-interposition -fdevirtualize-at-ltrans -fno-plt -fipa-pta -fexceptions -feliminate-unused-debug-types -fasynchronous-unwind-tables -Wall -ggdb3 -grecord-gcc-switches -Wl,-O3 -Wl,--as-needed -Wl,-z,now,-z,relro -Wl,--sort-common -Wl,--enable-new-dtags' > * FCFLAGS='-march=native -O2 -pipe -D_FORTIFY_SOURCE=2 -falign-functions=32 -Wa,-mbranches-within-32B-boundaries -mfpmath=sse -fgraphite-identity -floop-nest-optimize -flto=auto -ffat-lto-objects -fno-semantic-interposition -fdevirtualize-at-ltrans -fno-plt -fipa-pta -fexceptions -feliminate-unused-debug-types -fasynchronous-unwind-tables -Wall -ggdb3 -grecord-gcc-switches -Wl,-O3 -Wl,--as-needed -Wl,-z,now,-z,relro -Wl,--sort-common -Wl,--enable-new-dtags' > * F77FLAGS='-march=native -O2 -pipe -D_FORTIFY_SOURCE=2 -falign-functions=32 -Wa,-mbranches-within-32B-boundaries -mfpmath=sse -fgraphite-identity -floop-nest-optimize -flto=auto -ffat-lto-objects -fno-semantic-interposition -fdevirtualize-at-ltrans -fno-plt -fipa-pta -fexceptions -feliminate-unused-debug-types -fasynchronous-unwind-tables -Wall -Wformat -Wformat-security -ggdb3 -grecord-gcc-switches -Wl,-O3 -Wl,--as-needed -Wl,-z,now,-z,relro -Wl,--sort-common -Wl,--enable-new-dtags' > * LDFLAGS='-Wl,-O3 -Wl,--as-needed -Wl,-z,now,-z,relro -Wl,--sort-common -Wl,--enable-new-dtags -march=native -O2 -pipe -D_FORTIFY_SOURCE=2 -falign-functions=32 -Wa,-mbranches-within-32B-boundaries -mfpmath=sse -fgraphite-identity -floop-nest-optimize -flto=auto -ffat-lto-objects -fno-semantic-interposition -fdevirtualize-at-ltrans -fno-plt -fipa-pta -fexceptions -feliminate-unused-debug-types -fasynchronous-unwind-tables -Wall -Wformat -Wformat-security -ggdb3 -grecord-gcc-switches -D_GLIBCXX_ASSERTIONS' > * MAKEOPTS='--jobs 12 --load-average 11' > * gcc (Gentoo 11.2.0 p1) 11.2.0 > * g++ (Gentoo 11.2.0 p1) 11.2.0 > * GNU ld (Gentoo 2.37_p1 p2) 2.37 > * Linux localhost 5.15.19-gentoo #31 SMP Tue Feb 15 13:22:10 PST 2022 x86_64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz GenuineIntel GNU/Linux >app-crypt/veracrypt: 1 minute, 30 seconds average for 5 merges >2022-02-15T13:41:08 >>> app-crypt/veracrypt: 1 minute, 26 seconds >2022-02-15T14:58:10 >>> app-crypt/veracrypt: 1 minute, 15 seconds >2022-02-15T15:38:39 >>> app-crypt/veracrypt: 1 minute, 8 seconds >2022-02-15T16:27:49 >>> app-crypt/veracrypt: 2 minutes, 30 seconds >2022-02-15T21:51:21 >>> app-crypt/veracrypt: 1 minute, 15 seconds >]0;emerge 21:56:22 1|1 veracrypt 01:38 (root@localhost) * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 5.15.19-gentoo > * Checking for suitable kernel configuration options... > [ ok ] >>>> Unpacking source... >>>> Unpacking veracrypt-1.25.7.tar.gz to /var/tmp/portage/app-crypt/veracrypt-1.25.7/work >>>> Source unpacked in /var/tmp/portage/app-crypt/veracrypt-1.25.7/work >>>> Preparing source in /var/tmp/portage/app-crypt/veracrypt-1.25.7/work/VeraCrypt-VeraCrypt_1.25.7/src ... > * ============================================================================================================================================================================================== > * Applying user patches from /etc/portage/patches ... > * Applying fix-glibcxx-assertions.patch ... >can't find file to patch at input line 26 >Perhaps you used the wrong -p or --strip option? >The text leading up to this was: >-------------------------- >|From b1ecb1484c00a0bb1a8cdb4e285b3cf92a1e4489 Mon Sep 17 00:00:00 2001 >|From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@gentoo.org> >|Date: Tue, 15 Feb 2022 20:58:38 -0500 >|Subject: [PATCH v1 1/1] Platform/Unix/Process.cpp: remove calls to >| std::vector::clear() >| >|The method std::vector::clear() is meant to remove all elements and >|set the size to 0. After calling this method, attempting to access an >|element in the vector using operator[] triggers an assertion in glibc >|that is designed to catch accesses to empty vectors at runtime. >| >|Instead, use the fill constructor to initialize buffers with 0 as one >|would do with memset and not call clear() on them. This ensure that >|the size and capacity remains the same, while preventing potential >|information leakage. >| >|Bug: https://bugs.gentoo.org/833444 >|--- >| src/Platform/Unix/Process.cpp | 6 +----- >| 1 file changed, 1 insertion(+), 5 deletions(-) >| >|diff --git a/src/Platform/Unix/Process.cpp b/src/Platform/Unix/Process.cpp >|index d148a68..9d961da 100644 >|--- a/src/Platform/Unix/Process.cpp >|+++ b/src/Platform/Unix/Process.cpp >-------------------------- >No file to patch. Skipping patch. >1 out of 1 hunk ignored > [ !! ] > * ERROR: app-crypt/veracrypt-1.25.7::gentoo failed (prepare phase): > * patch -p1 failed with /etc/portage/patches/app-crypt/veracrypt/fix-glibcxx-assertions.patch > * > * Call stack: > * ebuild.sh, line 127: Called src_prepare > * environment, line 3889: Called default > * phase-functions.sh, line 858: Called default_src_prepare > * phase-functions.sh, line 934: Called __eapi8_src_prepare > * environment, line 1579: Called eapply_user > * environment, line 2292: Called eapply '/etc/portage/patches/app-crypt/veracrypt/fix-glibcxx-assertions.patch' > * environment, line 2255: Called _eapply_patch '/etc/portage/patches/app-crypt/veracrypt/fix-glibcxx-assertions.patch' > * environment, line 2193: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/app-crypt/veracrypt/fix-glibcxx-assertions.patch' > * isolated-functions.sh, line 112: Called die > * The specific snippet of code: > * die "$@" > * > * If you need support, post the output of `emerge --info '=app-crypt/veracrypt-1.25.7::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-crypt/veracrypt-1.25.7::gentoo'`. > * The complete build log is located at '/var/tmp/portage/app-crypt/veracrypt-1.25.7/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-crypt/veracrypt-1.25.7/temp/environment'. > * Working directory: '/var/tmp/portage/app-crypt/veracrypt-1.25.7/work/VeraCrypt-VeraCrypt_1.25.7/src' > * S: '/var/tmp/portage/app-crypt/veracrypt-1.25.7/work/VeraCrypt-VeraCrypt_1.25.7/src'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 833444
:
765215
|
765216
|
765217
|
765219
| 765222 |
765224