Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798051 - 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: PullRequest
Depends on:
Blocks:
 
Reported: 2021-06-23 19:32 UTC by Toralf Förster
Modified: 2022-09-03 00:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.02 KB, text/plain)
2021-06-23 19:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,157.94 KB, text/plain)
2021-06-23 19:32 UTC, Toralf Förster
Details
environment (environment,67.08 KB, text/plain)
2021-06-23 19:32 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.05 KB, application/x-bzip)
2021-06-23 19:32 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,26.59 KB, application/x-bzip)
2021-06-23 19:32 UTC, Toralf Förster
Details
sys-cluster:ucx-1.10.0_rc5:20210623-192835.log (sys-cluster:ucx-1.10.0_rc5:20210623-192835.log,270.72 KB, text/plain)
2021-06-23 19:32 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.76 KB, application/x-bzip)
2021-06-23 19:32 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-06-23 19:32:02 UTC
 -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -pipe -march=native -fno-diagnostics-color -O2 -c sys/sys.c -o sys/libucs_la-sys.o
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_desktop_plasma-j3-20210621-104403

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

gcc-config -l:
 [1] 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.9.5
Available Rust versions:
  [1]   rust-bin-1.53.0 *
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
  HEAD of ::gentoo
commit 11204f039a46ecbf35ff4798b8a4be8ad9f3b07f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 23 18:51:25 2021 +0000

    2021-06-23 18:51:24 UTC

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-06-23 19:32:03 UTC
Created attachment 718284 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-23 19:32:05 UTC
Created attachment 718287 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-23 19:32:07 UTC
Created attachment 718290 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-23 19:32:08 UTC
Created attachment 718293 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-23 19:32:09 UTC
Created attachment 718296 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-23 19:32:11 UTC
Created attachment 718299 [details]
sys-cluster:ucx-1.10.0_rc5:20210623-192835.log
Comment 7 Toralf Förster gentoo-dev 2021-06-23 19:32:12 UTC
Created attachment 718302 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2021-06-23 19:33:00 UTC
happens today despite bug 790341
Comment 9 Larry the Git Cow gentoo-dev 2022-09-03 00:08:53 UTC
The bug has been closed via the following commit(s):

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

commit b1701a3522a4a51e4dcd57a531b608a739c620b6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-02 23:46:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-02 23:50:08 +0000

    sys-cluster/ucx: add 1.13.0
    
    Bug: https://bugs.gentoo.org/861653
    Closes: https://bugs.gentoo.org/798051
    Closes: https://bugs.gentoo.org/822132
    Closes: https://bugs.gentoo.org/832966
    Closes: https://bugs.gentoo.org/868117
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/ucx/Manifest                           |   1 +
 .../ucx-1.13.0-binutils-2.39-ptr-typedef.patch     |  25 +++++
 sys-cluster/ucx/files/ucx-1.13.0-drop-werror.patch |  33 +++++++
 .../ucx/files/ucx-1.13.0-fix-bashisms.patch        |  44 +++++++++
 .../files/ucx-1.13.0-fix-fcntl-include-musl.patch  | 103 +++++++++++++++++++++
 sys-cluster/ucx/ucx-1.13.0.ebuild                  |  56 +++++++++++
 6 files changed, 262 insertions(+)