Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790341 - sys-cluster/ucx-1.10.0_rc5 - sys/sock.c: error: fd may be used uninitialized [-Werror=maybe-uninitialized]
Summary: sys-cluster/ucx-1.10.0_rc5 - sys/sock.c: error: fd may be used uninitialized ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-15 09:59 UTC by Toralf Förster
Modified: 2021-06-23 20:02 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.07 KB, text/plain)
2021-05-15 09:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,380.74 KB, text/plain)
2021-05-15 09:59 UTC, Toralf Förster
Details
environment (environment,68.74 KB, text/plain)
2021-05-15 09:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.09 KB, application/x-bzip)
2021-05-15 09:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,26.01 KB, application/x-bzip)
2021-05-15 09:59 UTC, Toralf Förster
Details
sys-cluster:ucx-1.10.0_rc5:20210515-094818.log (sys-cluster:ucx-1.10.0_rc5:20210515-094818.log,262.35 KB, text/plain)
2021-05-15 09:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.19 KB, application/x-bzip)
2021-05-15 09:59 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 2021-05-15 09:59:46 UTC
sys/sock.c: In function ‘ucs_socket_server_init’:
sys/sock.c:383:14: error: ‘fd’ may be used uninitialized [-Werror=maybe-uninitialized]
  383 |     status = ucs_sys_fcntl_modfl(fd, O_NONBLOCK, 0);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sys/sock.c:374:14: note: ‘fd’ declared here
  374 |     int ret, fd;

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j2-20210510-164358

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat May 15 08:50:25 UTC 2021

emerge -qpvO sys-cluster/ucx
[ebuild  N    ] sys-cluster/ucx-1.10.0_rc5  USE="numa openmp"
Comment 1 Toralf Förster gentoo-dev 2021-05-15 09:59:47 UTC
Created attachment 708729 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-15 09:59:49 UTC
Created attachment 708732 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-15 09:59:50 UTC
Created attachment 708735 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-15 09:59:51 UTC
Created attachment 708738 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-15 09:59:52 UTC
Created attachment 708741 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-15 09:59:54 UTC
Created attachment 708744 [details]
sys-cluster:ucx-1.10.0_rc5:20210515-094818.log
Comment 7 Toralf Förster gentoo-dev 2021-05-15 09:59:55 UTC
Created attachment 708747 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-06-15 01:55:09 UTC
The bug has been closed via the following commit(s):

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

commit e1d3c9af5679ed8e493e188620dafde21c012a0f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-15 01:52:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-15 01:54:25 +0000

    sys-cluster/ucx: drop -Werror
    
    Closes: https://bugs.gentoo.org/789762
    Closes: https://bugs.gentoo.org/790341
    Closes: https://bugs.gentoo.org/790332
    Signed-off-by: Sam James <sam@gentoo.org>

 .../ucx/files/ucx-1.10.0_rc5-drop-werror.patch     | 55 ++++++++++++++++++++++
 sys-cluster/ucx/ucx-1.10.0_rc5.ebuild              | 10 ++--
 2 files changed, 61 insertions(+), 4 deletions(-)