Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787119 - x11-misc/rss-glx-0.9.1-r3 - ../.../impSurface.h: error: size_t does not name a type (maybe gcc-11 related)
Summary: x11-misc/rss-glx-0.9.1-r3 - ../.../impSurface.h: error: size_t does not name ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexander Miller
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-30 13:18 UTC by Toralf Förster
Modified: 2021-06-03 07:01 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.93 KB, text/plain)
2021-04-30 13:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,445.83 KB, text/plain)
2021-04-30 13:18 UTC, Toralf Förster
Details
environment (environment,71.90 KB, text/plain)
2021-04-30 13:18 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,45.69 KB, application/x-bzip)
2021-04-30 13:18 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.65 KB, application/x-bzip)
2021-04-30 13:18 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.18 KB, application/x-bzip)
2021-04-30 13:18 UTC, Toralf Förster
Details
x11-misc:rss-glx-0.9.1-r3:20210429-222232.log (x11-misc:rss-glx-0.9.1-r3:20210429-222232.log,13.75 KB, text/plain)
2021-04-30 13:18 UTC, Toralf Förster
Details
rss-glx-0.9.1-missing-include.patch (rss-glx-0.9.1-missing-include.patch,180 bytes, patch)
2021-04-30 15:31 UTC, Alexander Miller
Details | Diff
rss-glx-0.9.1-missing-include.patch (rss-glx-0.9.1-missing-include.patch,188 bytes, patch)
2021-04-30 23:13 UTC, Alexander Miller
Details | Diff
what I did for this (rss-gfx_fixes.patch,2.17 KB, patch)
2021-06-02 18:27 UTC, Adjudicator Darren
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-04-30 13:18:21 UTC
In file included from ../Implicit/impCubeVolume.h:26,
                 from impCubeVolume.cpp:21:
../Implicit/impSurface.h:52:9: error: ‘size_t’ does not name a type
   52 |         size_t vertex_data_size;
      |         ^~~~~~
../Implicit/impSurface.h:30:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
   29 | #include <GL/gl.h>

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20210415-101632

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] 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.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.18.0 [icedtea-8]
2)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   jamvm 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr 29 22:05:30 UTC 2021

emerge -qpvO x11-misc/rss-glx
[ebuild  N    ] x11-misc/rss-glx-0.9.1-r3  USE="bzip2 -openal -quesoglc"
Comment 1 Toralf Förster gentoo-dev 2021-04-30 13:18:22 UTC
Created attachment 704325 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-30 13:18:24 UTC
Created attachment 704328 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-30 13:18:26 UTC
Created attachment 704331 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-30 13:18:27 UTC
Created attachment 704334 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-30 13:18:28 UTC
Created attachment 704337 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-30 13:18:29 UTC
Created attachment 704340 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-30 13:18:30 UTC
Created attachment 704343 [details]
x11-misc:rss-glx-0.9.1-r3:20210429-222232.log
Comment 8 Alexander Miller 2021-04-30 15:31:10 UTC
Created attachment 704550 [details, diff]
rss-glx-0.9.1-missing-include.patch

Toralf, can you test if the attached patch is enough to fix the build? I don't have a box with gcc-11 available right now.
Comment 9 Alexander Miller 2021-04-30 23:13:42 UTC
Created attachment 704769 [details, diff]
rss-glx-0.9.1-missing-include.patch

Oops, the previous patch was relative to the wrong directory. Please test this one instead.
Comment 10 Adjudicator Darren 2021-06-02 18:27:52 UTC
Created attachment 713325 [details, diff]
what I did for this
Comment 11 Larry the Git Cow gentoo-dev 2021-06-03 07:01:28 UTC
The bug has been closed via the following commit(s):

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

commit 5582b9fc1dc658e8920c30827df01789bc470d91
Author:     Alexander Miller <alex.miller@gmx.de>
AuthorDate: 2021-04-30 20:40:07 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-06-03 07:01:11 +0000

    x11-misc/rss-glx: Add missing #include for GCC 11
    
    Closes: https://bugs.gentoo.org/787119
    Signed-off-by: Alexander Miller <alex.miller@gmx.de>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 x11-misc/rss-glx/files/rss-glx-0.9.1-missing-include.patch | 10 ++++++++++
 x11-misc/rss-glx/rss-glx-0.9.1-r3.ebuild                   |  1 +
 2 files changed, 11 insertions(+)