Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662804 - app-misc/ddcutil-0.9.1 : execution_stats.c:686:22: error: statement will never be executed [-Werror=switch-unreachable]
Summary: app-misc/ddcutil-0.9.1 : execution_stats.c:686:22: error: statement will neve...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-04 20:48 UTC by Toralf Förster
Modified: 2020-07-30 23:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.02 KB, text/plain)
2018-08-04 20:48 UTC, Toralf Förster
Details
app-misc:ddcutil-0.9.1:20180804-192522.log (app-misc:ddcutil-0.9.1:20180804-192522.log,28.70 KB, text/plain)
2018-08-04 20:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,281.75 KB, text/plain)
2018-08-04 20:48 UTC, Toralf Förster
Details
environment (environment,137.49 KB, text/plain)
2018-08-04 20:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.75 KB, application/x-bzip)
2018-08-04 20:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.78 KB, application/x-bzip)
2018-08-04 20:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.75 KB, application/x-bzip)
2018-08-04 20:48 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-08-04 20:48:09 UTC
In file included from execution_stats.c:31:0:
execution_stats.c: In function ‘call_tuned_sleep’:
execution_stats.c:686:22: error: statement will never be executed [-Werror=switch-unreachable]
    assert(event_type != SE_DDC_NULL);
           ~~~~~~~~~~~^~~~
cc1: all warnings being treated as errors

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20180727-195151

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.5
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-misc/ddcutil
[ebuild  N    ] app-misc/ddcutil-0.9.1  USE="X -drm -usb-monitor -user-permissions" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2018-08-04 20:48:11 UTC
Created attachment 542382 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-04 20:48:14 UTC
Created attachment 542384 [details]
app-misc:ddcutil-0.9.1:20180804-192522.log
Comment 3 Toralf Förster gentoo-dev 2018-08-04 20:48:17 UTC
Created attachment 542386 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-04 20:48:20 UTC
Created attachment 542388 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-04 20:48:23 UTC
Created attachment 542390 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-04 20:48:26 UTC
Created attachment 542392 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-08-04 20:48:29 UTC
Created attachment 542394 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-07-30 23:07:48 UTC
The bug has been closed via the following commit(s):

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

commit b6a980e776954dbc69640c3afc2d1204c3a8d8f5
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2020-07-30 23:05:33 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2020-07-30 23:07:42 +0000

    app-misc/ddcutil: version bump
    
    Fixes: https://bugs.gentoo.org/713176
    Fixes: https://bugs.gentoo.org/666094
    Fixes: https://bugs.gentoo.org/662804
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 app-misc/ddcutil/Manifest             |   1 +
 app-misc/ddcutil/ddcutil-0.9.9.ebuild | 114 ++++++++++++++++++++++++++++++++++
 app-misc/ddcutil/metadata.xml         |   5 +-
 3 files changed, 119 insertions(+), 1 deletion(-)