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

Bug 919400

Summary: dev-util/umockdev-0.17.18 - umockdev-record.p/.../umockdev-record.c: error: unused variable _line_collection_size_ [-Werror=unused-variable]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:umockdev-0.17.18:20231207-095527.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-07 09:59:38 UTC
      |              ^~~~~~~~~~~~~
umockdev-record.p/src/umockdev-record.c: In function print_device_attributes:
umockdev-record.p/src/umockdev-record.c:884:54: warning: variable _contents_size_ set but not used [-Wunused-but-set-variable]
  884 |                                                 gint _contents_size_ = 0;
      |                                                      ^~~~~~~~~~~~~~~
umockdev-record.p/src/umockdev-record.c: In function record_device:
umockdev-record.p/src/umockdev-record.c:1141:22: error: unused variable _line_collection_size_ [-Werror=unused-variable]
 1141 |                 gint _line_collection_size_ = 0;
      |                      ^~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-170505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 7f14a760d97bd6399f068d6296a7ee947e8011be
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 7 09:31:57 2023 +0000

    2023-12-07 09:31:56 UTC

emerge -qpvO dev-util/umockdev
[ebuild  N    ] dev-util/umockdev-0.17.18  USE="-test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-12-07 09:59:39 UTC
Created attachment 878095 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-07 09:59:40 UTC
Created attachment 878096 [details]
dev-util:umockdev-0.17.18:20231207-095527.log
Comment 3 Toralf Förster gentoo-dev 2023-12-07 09:59:42 UTC
Created attachment 878097 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-07 09:59:43 UTC
Created attachment 878098 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-07 09:59:44 UTC
Created attachment 878099 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-07 09:59:45 UTC
Created attachment 878100 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-07 09:59:46 UTC
Created attachment 878101 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-07 09:59:47 UTC
Created attachment 878102 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-07 09:59:48 UTC
Created attachment 878103 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-07 17:22:55 UTC

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