Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644354 - dev-cpp/catch-2.1.0 : /.../catch_commandline.cpp:138:67: error: temp may be used uninitialized in this function [-Werror=maybe-uninitialized]
Summary: dev-cpp/catch-2.1.0 : /.../catch_commandline.cpp:138:67: error: temp may be u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-12 17:58 UTC by Toralf Förster
Modified: 2018-01-26 16:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.00 KB, text/plain)
2018-01-12 17:58 UTC, Toralf Förster
Details
dev-cpp:catch-2.1.0:20180112-114225.log (dev-cpp:catch-2.1.0:20180112-114225.log,21.57 KB, text/plain)
2018-01-12 17:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,104.91 KB, text/plain)
2018-01-12 17:58 UTC, Toralf Förster
Details
environment (environment,116.33 KB, text/plain)
2018-01-12 17:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.10 KB, application/x-bzip)
2018-01-12 17:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.52 KB, application/x-bzip)
2018-01-12 17:58 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.45 KB, application/x-bzip)
2018-01-12 17:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-01-12 17:58:02 UTC
/var/tmp/portage/dev-cpp/catch-2.1.0/work/Catch2-2.1.0/include/internal/catch_commandline.cpp: In member function ‘Catch::clara::detail::ParserResult Catch::clara::detail::BoundLambda<L>::setValue(const string&) [with L = Catch::makeCommandLineParser(Catch::ConfigData&)::<lambda(bool)>]’:
/var/tmp/portage/dev-cpp/catch-2.1.0/work/Catch2-2.1.0/include/internal/catch_commandline.cpp:138:67: error: ‘temp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
             | Opt( [&]( bool flag ) { config.showDurations = flag ? ShowDurations::Always : ShowDurations::Never; }, "yes|no" )
                                                              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/dev-cpp/catch-2.1.0/work/Catch2-2.1.0/include/internal/catch_clara.h:26:0,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_libressl-test_20180108-214514

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-cpp/catch
[ebuild     U ] dev-cpp/catch-2.0.1 [1.11.0] USE="{test%*}"
Comment 1 Toralf Förster gentoo-dev 2018-01-12 17:58:05 UTC
Created attachment 514522 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-12 17:58:07 UTC
Created attachment 514524 [details]
dev-cpp:catch-2.1.0:20180112-114225.log
Comment 3 Toralf Förster gentoo-dev 2018-01-12 17:58:10 UTC
Created attachment 514526 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-01-12 17:58:14 UTC
Created attachment 514528 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-01-12 17:58:16 UTC
Created attachment 514530 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-12 17:58:20 UTC
Created attachment 514532 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-01-12 17:58:22 UTC
Created attachment 514534 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-01-19 13:04:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9397ad9f85b5f881f85c9ffb022c3987ae075c71

commit 9397ad9f85b5f881f85c9ffb022c3987ae075c71
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2018-01-19 13:02:04 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-01-19 13:04:01 +0000

    dev-cpp/catch: Update live ebuild
    
    * Can now disable building with -Werror
    
    Bug: https://bugs.gentoo.org/644354
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-cpp/catch/catch-9999.ebuild | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)}
Comment 9 Larry the Git Cow gentoo-dev 2018-01-26 16:33:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2ff4f3f63f68e90287e41b134a5cdfabf549f1

commit bf2ff4f3f63f68e90287e41b134a5cdfabf549f1
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2018-01-26 16:33:38 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-01-26 16:33:38 +0000

    dev-cpp/catch: Remove old
    
    Closes: https://bugs.gentoo.org/644354
    Package-Manager: Portage-2.3.20, Repoman-2.3.6

 dev-cpp/catch/Manifest           |  2 --
 dev-cpp/catch/catch-2.0.1.ebuild | 31 -------------------------------
 dev-cpp/catch/catch-2.1.0.ebuild | 31 -------------------------------
 3 files changed, 64 deletions(-)