Summary: | app-emulation/fs-uae-3.1.66 - src/memory.cpp: In function 'bool mapped_malloc(addrbank*)': src/memory.cpp:1875:32: error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] (on musl) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | James Le Cuirot <chewi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/FrodeSolheim/fs-uae/pull/300 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=839972 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702, 839975 | ||
Attachments: |
build.log
emerge --info |
Created attachment 770885 [details]
emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d65847f6bf6ab9b8366eb6c5edcc381309b8ef commit c3d65847f6bf6ab9b8366eb6c5edcc381309b8ef Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2022-04-17 09:39:49 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2022-04-17 09:41:15 +0000 app-emulation/fs-uae: Patch to fix musl build Closes: https://bugs.gentoo.org/838469 Signed-off-by: James Le Cuirot <chewi@gentoo.org> .../fs-uae/files/fs-uae-3.1.66-musl.patch | 35 ++++++++++++++++++++++ app-emulation/fs-uae/fs-uae-3.1.66.ebuild | 1 + 2 files changed, 36 insertions(+) |
Created attachment 770882 [details] build.log Got this since a toolchain upgrade from stable to musl-1.2.3 + binutils-2.38-r1. [...] x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFSUAE -fno-pie -fno-PIE -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./manymouse -I./glad/include -I./prowizard/include -I./softfloat -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -DLUA_USE_POSIX -I/usr/include/AL -I/usr/include/libpng16 -I/usr/include/SDL2 -D_REENTRANT -fno-strict-overflow -fno-strict-aliasing -Wmissing-declarations -Waddress -fvisibility=hidden -O2 -march=btver1 -mtune=btver1 -pipe -c -o src/mame/tm34010/tms34010.o src/mame/tm34010/tms34010.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFSUAE -fno-pie -fno-PIE -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./manymouse -I./glad/include -I./prowizard/include -I./softfloat -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -DLUA_USE_POSIX -I/usr/include/AL -I/usr/include/libpng16 -I/usr/include/SDL2 -D_REENTRANT -fno-strict-overflow -fno-strict-aliasing -Wmissing-declarations -Waddress -fvisibility=hidden -O2 -march=btver1 -mtune=btver1 -pipe -c -o src/memory.o src/memory.cpp In file included from ./src/od-fs/threaddep/sem.h:4, from ./src/od-fs/threaddep/thread.h:5, from ./src/od-fs/defines.h:129, from ./src/od-fs/sysconfig.h:279, from src/memory.cpp:11: src/memory.cpp: In function 'bool mapped_malloc(addrbank*)': src/memory.cpp:1875:32: error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] 1875 | return NULL; | ^~~~ src/memory.cpp:1907:24: error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive] 1907 | return NULL; | ^~~~ make[2]: *** [Makefile:4548: src/memory.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-emulation/fs-uae-3.1.66/work/fs-uae-3.1.66' make[1]: *** [Makefile:4586: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-emulation/fs-uae-3.1.66/work/fs-uae-3.1.66' make: *** [Makefile:2695: all] Error 2 * ERROR: app-emulation/fs-uae-3.1.66::gentoo failed (compile phase):