Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839639 - media-libs/libsfml-2.5.1 - /.../WindowImplX11.cpp: error: invalid cast from type std::nullptr_t to type void
Summary: media-libs/libsfml-2.5.1 - /.../WindowImplX11.cpp: error: invalid cast from t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 839975
  Show dependency tree
 
Reported: 2022-04-20 07:55 UTC by Toralf Förster
Modified: 2022-04-21 23:20 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.44 KB, text/plain)
2022-04-20 07:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,109.81 KB, text/plain)
2022-04-20 07:55 UTC, Toralf Förster
Details
environment (environment,94.26 KB, text/plain)
2022-04-20 07:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.99 KB, application/x-bzip)
2022-04-20 07:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.79 KB, application/x-bzip)
2022-04-20 07:55 UTC, Toralf Förster
Details
media-libs:libsfml-2.5.1:20220419-234219.log (media-libs:libsfml-2.5.1:20220419-234219.log,51.96 KB, text/plain)
2022-04-20 07:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.65 KB, application/x-bzip)
2022-04-20 07:55 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-20 07:55:36 UTC
too long lines were shrinked:

[65/112] /usr/bin/x86_64-gentoo-linux-musl-g++ -DSFML_WINDOW_EXPORTS -I/var/tmp/portage/media-libs/libsfml-2.5.1/work/SFML-2.5.1/include -I/var/tmp/portage/media-libs/libsfml-2.5.1/work/SFML-2.5.1/src  -pipe -march=native -fno-diagnostics-color -O2 -fPIC -fvisibility=hidden -MD -MT src/SFML/Window/C
FAILED: src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/WindowImplX11.cpp.o 
/usr/bin/x86_64-gentoo-linux-musl-g++ -DSFML_WINDOW_EXPORTS -I/var/tmp/portage/media-libs/libsfml-2.5.1/work/SFML-2.5.1/include -I/var/tmp/portage/media-libs/libsfml-2.5.1/work/SFML-2.5.1/src  -pipe -march=native -fno-diagnostics-color -O2 -fPIC -fvisibility=hidden -MD -MT src/SFML/Window/CMakeFiles
/var/tmp/portage/media-libs/libsfml-2.5.1/work/SFML-2.5.1/src/SFML/Window/Unix/WindowImplX11.cpp: In member function 'void sf::priv::WindowImplX11::initialize()':
/var/tmp/portage/media-libs/libsfml-2.5.1/work/SFML-2.5.1/src/SFML/Window/Unix/WindowImplX11.cpp:1559:36: error: invalid cast from type 'std::nullptr_t' to type 'void*'
 1559 |                                    reinterpret_cast<void*>(NULL));
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

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

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 Ruby profiles:
  [1]   ruby26
  [2]   ruby27 *
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 8c95f18d3926f5f801e377687ce7404cb51d5339
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 19 22:53:52 2022 +0000

    2022-04-19 22:53:51 UTC

emerge -qpvO media-libs/libsfml
[ebuild  N    ] media-libs/libsfml-2.5.1  USE="-debug -doc -examples"
Comment 1 Toralf Förster gentoo-dev 2022-04-20 07:55:37 UTC
Created attachment 772043 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-20 07:55:39 UTC
Created attachment 772046 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-20 07:55:41 UTC
Created attachment 772049 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-20 07:55:42 UTC
Created attachment 772052 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-20 07:55:42 UTC
Created attachment 772055 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-20 07:55:44 UTC
Created attachment 772058 [details]
media-libs:libsfml-2.5.1:20220419-234219.log
Comment 7 Toralf Förster gentoo-dev 2022-04-20 07:55:45 UTC
Created attachment 772061 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-04-21 23:20:48 UTC
The bug has been closed via the following commit(s):

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

commit 5a170689c47562cb74f84575d42bd542cfc78fa7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-21 23:20:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-21 23:20:35 +0000

    media-libs/libsfml: fix build with musl 1.2.3
    
    Closes: https://bugs.gentoo.org/839639
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libsfml/files/libsfml-2.5.1-musl-1.2.3-nullptr.patch   | 14 ++++++++++++++
 media-libs/libsfml/libsfml-2.5.1.ebuild                    |  6 +++++-
 2 files changed, 19 insertions(+), 1 deletion(-)