Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877301 - dev-games/clanlib-0.8.1-r2 - ../.../cl_assert.h: error: NULL was not declared in this scope
Summary: dev-games/clanlib-0.8.1-r2 - ../.../cl_assert.h: error: NULL was not declared...
Status: RESOLVED FIXED
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:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-10-16 11:51 UTC by Toralf Förster
Modified: 2023-02-06 22:19 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.59 KB, text/plain)
2022-10-16 11:51 UTC, Toralf Förster
Details
dev-games:clanlib-0.8.1-r2:20221016-101536.log (dev-games:clanlib-0.8.1-r2:20221016-101536.log,206.09 KB, text/plain)
2022-10-16 11:51 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,122.57 KB, application/x-bzip)
2022-10-16 11:51 UTC, Toralf Förster
Details
environment (environment,28.66 KB, text/plain)
2022-10-16 11:51 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,72.13 KB, application/x-bzip)
2022-10-16 11:51 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.33 KB, application/x-bzip)
2022-10-16 11:52 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.08 KB, application/x-bzip)
2022-10-16 11:52 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-10-16 11:51:52 UTC
too long lines were shrinked:

/bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"ClanLib\" -DPACKAGE_TARNAME=\"clanlib\" -DPACKAGE_VERSION=\"0.8.1\" -DPACKAGE_STRING=\"ClanLib\ 0.8.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clanlib\" -DVERSION=\"0.8.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
In file included from ../../Sources/Display/display_precomp.h:36,
                 from display_window.cpp:30:
/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/stl_iterator_base_funcs.h: In function 'constexpr void std::__advance(_InputIterator&, _Distance, input_iterator_tag)':
../../Sources/API/Core/System/cl_assert.h:51:29: error: 'NULL' was not declared in this scope
   51 | #define __PRETTY_FUNCTION__ NULL
      |                             ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
*)	Eclipse Temurin JRE 8.345_p01 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-jre-bin-8  system-vm
  [5]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit 12161b86df6e33a108a95243d8b9f37a3f5b227b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 16 09:06:16 2022 +0000

    2022-10-16 09:06:16 UTC

emerge -qpvO dev-games/clanlib
Comment 1 Toralf Förster gentoo-dev 2022-10-16 11:51:53 UTC
Created attachment 824415 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-16 11:51:55 UTC
Created attachment 824417 [details]
dev-games:clanlib-0.8.1-r2:20221016-101536.log
Comment 3 Toralf Förster gentoo-dev 2022-10-16 11:51:56 UTC
Created attachment 824419 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-10-16 11:51:58 UTC
Created attachment 824421 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-16 11:51:59 UTC
Created attachment 824423 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-16 11:52:00 UTC
Created attachment 824425 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-16 11:52:01 UTC
Created attachment 824427 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-02-06 22:19:50 UTC
The bug has been closed via the following commit(s):

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

commit a27030c936e32a14b0652aaac02788b9e41a607a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-06 22:13:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-06 22:13:38 +0000

    dev-games/clanlib: fix build w/ gcc 12
    
    Closes: https://bugs.gentoo.org/877301
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-games/clanlib/clanlib-0.8.1-r2.ebuild         |  3 ++-
 dev-games/clanlib/files/clanlib-0.8.1-gcc12.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)