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

Bug 931102

Summary: app-text/cuneiform-1.1.0-r3 - /.../stdleo.cpp: error: cannot convert std::nullptr_t to uint32_t {aka unsigned int}
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-text:cuneiform-1.1.0-r3:20240502-112801.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-05-02 17:52:47 UTC
too long lines were shrinked:

FAILED: cuneiform_src/Kern/std/CMakeFiles/std32.dir/src/stdleo.cpp.o 
/usr/bin/x86_64-pc-linux-musl-g++ -D_USE_RVERLINE_ -D__STD__ -Dstd32_EXPORTS -I/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/include -I/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/h -I/var/tmp/portage/app-text
In file included from /var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/include/cfcompat.h:47,
                 from /var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/include/compat_defs.h:418,
                 from /var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/std/src/stdleo.cpp:62:
/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/std/src/stdleo.cpp: In function 'void stdStrUnicodeToAnsi(char*, const int16_t*)':
/var/tmp/portage/app-text/cuneiform-1.1.0-r3/work/cuneiform-linux-1.1.0/cuneiform_src/Kern/std/src/stdleo.cpp:1488:30: error: cannot convert 'std::nullptr_t' to 'uint32_t' {aka 'unsigned int'}
 1488 |   WideCharToMultiByte(CP_ACP,NULL,/*(const char*)*/pUnicode,lstrlenW(pUnicode),pAnsi,lstrlenW(pUnicode),NULL,NULL);
      |                              ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240501-134026

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.4
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.4
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit 68c0ec0878c77dcccbb99430424f54a2d474abe8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu May 2 09:34:19 2024 +0000

    2024-05-02 09:34:18 UTC

emerge -qpvO app-text/cuneiform
[ebuild  N    ] app-text/cuneiform-1.1.0-r3  USE="-debug -graphicsmagick"
Comment 1 Toralf Förster gentoo-dev 2024-05-02 17:52:48 UTC
Created attachment 892163 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-02 17:52:49 UTC
Created attachment 892164 [details]
app-text:cuneiform-1.1.0-r3:20240502-112801.log
Comment 3 Toralf Förster gentoo-dev 2024-05-02 17:52:50 UTC
Created attachment 892165 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-02 17:52:51 UTC
Created attachment 892166 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-02 17:52:52 UTC
Created attachment 892167 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-02 17:52:53 UTC
Created attachment 892168 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-02 17:52:54 UTC
Created attachment 892169 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-05-02 17:52:55 UTC
Created attachment 892170 [details]
temp.tar.xz