Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811501 - games-arcade/ri-li-2.0.1-r1 - tableau.cc: error: ordered comparison of pointer with integer zero (unsigned char* and int)
Summary: games-arcade/ri-li-2.0.1-r1 - tableau.cc: error: ordered comparison of pointe...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-09-03 18:55 UTC by Toralf Förster
Modified: 2022-02-05 21:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.12 KB, text/plain)
2021-09-03 18:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,127.45 KB, text/plain)
2021-09-03 18:55 UTC, Toralf Förster
Details
environment (environment,92.50 KB, text/plain)
2021-09-03 18:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.31 KB, application/x-bzip)
2021-09-03 18:55 UTC, Toralf Förster
Details
games-arcade:ri-li-2.0.1-r1:20210903-175226.log (games-arcade:ri-li-2.0.1-r1:20210903-175226.log,8.89 KB, text/plain)
2021-09-03 18:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.22 KB, application/x-bzip)
2021-09-03 18:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.65 KB, application/x-bzip)
2021-09-03 18:55 UTC, Toralf Förster
Details
ri-li-2.0.1-gcc11.patch (ri-li-2.0.1-gcc11.patch,1.19 KB, patch)
2022-02-05 15:36 UTC, Samuel Bauer
Details | Diff
ri-li-2.0.1-r2.ebuild (ri-li-2.0.1-r1.ebuild,777 bytes, text/plain)
2022-02-05 15:37 UTC, Samuel Bauer
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-09-03 18:55:25 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -DDATA_DIR="\"/usr/share/Ri-li\"" -Wno-deprecated -DLINUX  -pipe -march=native -fno-diagnostics-color -O2 -c -o utils.o utils.cc
tableau.cc: In member function ‘bool Tableau::Save()’:
tableau.cc:90:9: error: ordered comparison of pointer with integer zero (‘unsigned char*’ and ‘int’)
   90 |   if(Buf<=0) return false;
      |      ~~~^~~
make[2]: *** [Makefile:385: tableau.o] Error 1
make[2]: *** Waiting for unfinished jobs....

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20210902-230016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 4b33da749520b4366897c88cc09777e2930213b2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 3 16:21:54 2021 +0000

    2021-09-03 16:21:53 UTC

emerge -qpvO games-arcade/ri-li
[ebuild  N    ] games-arcade/ri-li-2.0.1-r1
Comment 1 Toralf Förster gentoo-dev 2021-09-03 18:55:26 UTC
Created attachment 737278 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-03 18:55:28 UTC
Created attachment 737281 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-09-03 18:55:30 UTC
Created attachment 737284 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-09-03 18:55:31 UTC
Created attachment 737287 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-09-03 18:55:33 UTC
Created attachment 737290 [details]
games-arcade:ri-li-2.0.1-r1:20210903-175226.log
Comment 6 Toralf Förster gentoo-dev 2021-09-03 18:55:34 UTC
Created attachment 737293 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-09-03 18:55:35 UTC
Created attachment 737296 [details]
temp.tar.bz2
Comment 8 Samuel Bauer 2022-02-05 15:36:32 UTC
Created attachment 764403 [details, diff]
ri-li-2.0.1-gcc11.patch

gcc-11 patch, derived from debian sid package
Comment 9 Samuel Bauer 2022-02-05 15:37:37 UTC
Created attachment 764404 [details]
ri-li-2.0.1-r2.ebuild

Updated ebuild