Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839252 - app-misc/clockywock-0.3.1a - clockywock.cpp: error: operands to ?: have different types int and std::nullptr_t
Summary: app-misc/clockywock-0.3.1a - clockywock.cpp: error: operands to ?: have diffe...
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:
Depends on:
Blocks: 839975
  Show dependency tree
 
Reported: 2022-04-18 11:54 UTC by Toralf Förster
Modified: 2022-04-21 21:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.38 KB, text/plain)
2022-04-18 11:54 UTC, Toralf Förster
Details
app-misc:clockywock-0.3.1a:20220418-115317.log (app-misc:clockywock-0.3.1a:20220418-115317.log,6.84 KB, text/plain)
2022-04-18 11:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,137.91 KB, text/plain)
2022-04-18 11:54 UTC, Toralf Förster
Details
environment (environment,56.53 KB, text/plain)
2022-04-18 11:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,6.06 KB, application/x-bzip)
2022-04-18 11:54 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,14.99 KB, application/x-bzip)
2022-04-18 11:54 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-04-18 11:54:14 UTC
make -j4 
x86_64-gentoo-linux-musl-g++ -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o clockywock clockywock.cpp -lncurses -ltinfo  -lpthread
In file included from clockywock.cpp:12:
clockywock.cpp: In member function 'void clockywock::Info()':
clockywock.cpp:398:45: error: operands to '?:' have different types 'int' and 'std::nullptr_t'
  398 |         mvwchgat(iwin,1,32,1,A_BOLD,color==1?hour_color+8:NULL,NULL);
      |                                             ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20220417-080841

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

php cli:

  HEAD of ::gentoo
commit 484450b1fe86e287f659aeffdb3b84cbb750a70c
Merge: af360e9cd193 4f4190751bbb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 18 10:53:36 2022 +0000

    Merge updates from master

emerge -qpvO app-misc/clockywock
[ebuild  N    ] app-misc/clockywock-0.3.1a
Comment 1 Toralf Förster gentoo-dev 2022-04-18 11:54:15 UTC
Created attachment 771581 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-18 11:54:16 UTC
Created attachment 771584 [details]
app-misc:clockywock-0.3.1a:20220418-115317.log
Comment 3 Toralf Förster gentoo-dev 2022-04-18 11:54:18 UTC
Created attachment 771587 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-18 11:54:19 UTC
Created attachment 771590 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-18 11:54:20 UTC
Created attachment 771593 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-18 11:54:21 UTC
Created attachment 771596 [details]
temp.tar.bz2