Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853883 - sys-block/partimage-0.6.9-r3 - partimaged-client.cpp: error: cannot convert std::nullptr_t to int in assignment
Summary: sys-block/partimage-0.6.9-r3 - partimaged-client.cpp: error: cannot convert s...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 885107
Blocks: 839975
  Show dependency tree
 
Reported: 2022-06-23 09:59 UTC by Toralf Förster
Modified: 2022-12-10 03:02 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2022-06-23 09:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,171.26 KB, text/plain)
2022-06-23 09:59 UTC, Toralf Förster
Details
environment (environment,91.29 KB, text/plain)
2022-06-23 09:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.39 KB, application/x-bzip)
2022-06-23 09:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.90 KB, application/x-bzip)
2022-06-23 09:59 UTC, Toralf Förster
Details
sys-block:partimage-0.6.9-r3:20220623-095214.log (sys-block:partimage-0.6.9-r3:20220623-095214.log,57.02 KB, text/plain)
2022-06-23 09:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.53 KB, application/x-bzip)
2022-06-23 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 2022-06-23 09:59:13 UTC
                 from ../../src/shared/net.h:31,
                 from partimaged-client.h:18,
                 from partimaged-client.cpp:18:
partimaged-client.cpp: In member function 'void CPartimagedClients::Release(unsigned int)':
partimaged-client.cpp:92:26: error: cannot convert 'std::nullptr_t' to 'int' in assignment
   92 |   Clients[client].Sock = NULL;
      |                          ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220621-170011

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
clang version 14.0.5
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.5
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17  system-vm

php cli:

  HEAD of ::gentoo
commit c0ba6a5d62d1bd9b797b67ae0e4abfa5bca31518
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 23 09:32:48 2022 +0000

    2022-06-23 09:32:48 UTC

emerge -qpvO sys-block/partimage
[ebuild  N    ] sys-block/partimage-0.6.9-r3  USE="nls pam ssl -nologin -static"
Comment 1 Toralf Förster gentoo-dev 2022-06-23 09:59:14 UTC
Created attachment 787079 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-23 09:59:16 UTC
Created attachment 787082 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-06-23 09:59:17 UTC
Created attachment 787085 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-23 09:59:18 UTC
Created attachment 787088 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-23 09:59:19 UTC
Created attachment 787091 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-23 09:59:20 UTC
Created attachment 787094 [details]
sys-block:partimage-0.6.9-r3:20220623-095214.log
Comment 7 Toralf Förster gentoo-dev 2022-06-23 09:59:22 UTC
Created attachment 787097 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-12-10 00:22:08 UTC
The bug has been referenced in the following commit(s):

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

commit 3d26a94093a87892edea7a69ff38722ad03954b6
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2022-12-09 22:32:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-10 00:21:45 +0000

    sys-block/partimage: fix musl build failure
    
    Additionally, this should let us treeclean partimage from ::musl, fixing
    the CI failure due to partimage::musl's use of user.eclass.
    
    Bug: https://bugs.gentoo.org/853883
    Bug: https://bugs.gentoo.org/884993
    Signed-off-by: John Helmert III <ajak@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/28621
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/partimage-0.6.9-musl-null-type.patch     |  34 +++++
 sys-block/partimage/partimage-0.6.9-r4.ebuild      | 142 +++++++++++++++++++++
 2 files changed, 176 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2022-12-10 03:02:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/musl.git/commit/?id=127bd4daaae3a83dc1a0079cd8a6c16ef2bf0c91

commit 127bd4daaae3a83dc1a0079cd8a6c16ef2bf0c91
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2022-12-10 02:57:35 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-12-10 02:57:35 +0000

    sys-block/partimage: treeclean
    
    Bug: https://bugs.gentoo.org/853883
    Closes: https://bugs.gentoo.org/884993
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 sys-block/partimage/Manifest                       |   1 -
 .../files/partimage-0.6.9-minor-typo.patch         |  13 --
 .../files/partimage-0.6.9-missing-includes.patch   |  37 ------
 ...partimage-0.6.9-openssl-1.1-compatibility.patch |  41 ------
 .../files/partimage-0.6.9-zlib-1.2.5.2.patch       |  33 -----
 sys-block/partimage/files/partimaged.conf          |   9 --
 sys-block/partimage/files/partimaged.init.2        |  28 ----
 sys-block/partimage/files/partimaged.pam.2         |   7 -
 sys-block/partimage/files/servercert.cnf           |  36 ------
 sys-block/partimage/metadata.xml                   |  14 --
 sys-block/partimage/partimage-0.6.9-r1.ebuild      | 143 ---------------------
 11 files changed, 362 deletions(-)