
Code: Select all
CMake Warning at 3rdparty/llvm.cmake:29 (find_package):
Could not find a configuration file for package "LLVM" that is compatible
with requested version "9.0".didnt build again here is build.logfedeliallalinea wrote:It seems that program need llvm-9 (in portage I think is 9999). Try to disable llvm use flagCode: Select all
CMake Warning at 3rdparty/llvm.cmake:29 (find_package): Could not find a configuration file for package "LLVM" that is compatible with requested version "9.0".

Version 0.0.6 need llvm-8 that is in tree, try with it.picarica wrote:didnt build again here is build.log
where is verions 0.0.6 ? you mena version of rpcs3 right ? there is only 0.0.5 and then 9999 which is the one i tired , now i am compiling llvm 9999 so i hope it will work with it as i said i tried version 0.0.5 i edited my post with new info and u sent u build.log from 9999 fron pinkipiee (0.0.6i) i hopefedeliallalinea wrote:Version 0.0.6 need llvm-8 that is in tree, try with it.picarica wrote:didnt build again here is build.log

ye but where is version 0.0.06 i dont see it anywhere but i merged that llvm 9999 the error is different but still unable to compilefedeliallalinea wrote:rpcs3-9999 require llvm-9 but this version isn't in tree, not sure if llvm-9999 can be considered version 9.
rpcs3-0.0.6 require llvm-8 that is in portage.
The error in rpcs3-0.0.5 is that the module Vulkan-LoaderAndValidationLayers is a deprecated repository and commit 28d93dfc0f24d65237fd773d74a284bf6e399222 cannot be find.

You can try to simply rename ebuild in rpcs3-0.0.6.ebuild in your local overlay.picarica wrote:and yes version llvm 8 is in portage i have it right now but i dont see 0.0.6 anywhere
so i can just simplyfedeliallalinea wrote:You can try to simply rename ebuild in rpcs3-0.0.6.ebuild in your local overlay.picarica wrote:and yes version llvm 8 is in portage i have it right now but i dont see 0.0.6 anywhere
Sorry about the confusing.
Code: Select all
cd /var/lib/layman/pinkpieea/games-emulation/rpcs3
doas cp rpcs3-9999.ebuild rpcs3-0.0.6.ebuild
// then
doas ebuild rpcs3-0.0.6.ebuild digest
doas ebuild rpcs3-0.0.6.ebuild clean manifest merge

This work but next overlay sync you can lost the ebuild (or if you delete overlay)picarica wrote:so i can just simply???Code: Select all
cd /var/lib/layman/pinkpieea/games-emulation/rpcs3 doas cp rpcs3-9999.ebuild rpcs3-0.0.6.ebuild // then doas ebuild rpcs3-0.0.6.ebuild digest doas ebuild rpcs3-0.0.6.ebuild clean manifest merge
because that doesnt work, can you be more specific ?
i did that but it didnt workedfedeliallalinea wrote:This work but next overlay sync you can lost the ebuild (or if you delete overlay)picarica wrote:so i can just simply???Code: Select all
cd /var/lib/layman/pinkpieea/games-emulation/rpcs3 doas cp rpcs3-9999.ebuild rpcs3-0.0.6.ebuild // then doas ebuild rpcs3-0.0.6.ebuild digest doas ebuild rpcs3-0.0.6.ebuild clean manifest merge
because that doesnt work, can you be more specific ?

What not work? The creation of new ebuild or the compilation?picarica wrote:i did that but it didnt worked
i have succsefuklly made the new ebuild but the merge procces failed again i am putting the results here:fedeliallalinea wrote:What not work? The creation of new ebuild or the compilation?picarica wrote:i did that but it didnt worked

Code: Select all
src_configure() {
CMAKE_BUILD_TYPE="RELEASE"
local mycmakeargs=(
-DWITHOUT_LLVM="$(usex llvm OFF ON)"
-DUSE_ALSA="$(usex alsa)"
-DUSE_PULSE="$(usex pulseaudio)"
-DUSE_LIBEVDEV="$(usex evdev)"
-DUSE_VULKAN="$(usex vulkan)"
-DWITH_GDB="$(usex gdb)"
-DUSE_SYSTEM_LIBPNG=ON
-DUSE_SYSTEM_FFMPEG=ON
)
cmake-utils_src_configure
}Code: Select all
llvm? ( sys-devel/llvm:4 )Code: Select all
llvm? ( sys-devel/llvm:8 )it fialed again, i did waht u suggester here is my ebuild file its just like u said, just to make sure i am using stefantalpalaru overlay beacau'se pinkipiee's didnt had llvm:4 dependency but llvm:9 i thinkfedeliallalinea wrote:In function src_configure add CMAKE_BUILD_TYPE="RELEASE"EDIT: change also llvm dependency fromCode: Select all
src_configure() { CMAKE_BUILD_TYPE="RELEASE" local mycmakeargs=( -DWITHOUT_LLVM="$(usex llvm OFF ON)" -DUSE_ALSA="$(usex alsa)" -DUSE_PULSE="$(usex pulseaudio)" -DUSE_LIBEVDEV="$(usex evdev)" -DUSE_VULKAN="$(usex vulkan)" -DWITH_GDB="$(usex gdb)" -DUSE_SYSTEM_LIBPNG=ON -DUSE_SYSTEM_FFMPEG=ON ) cmake-utils_src_configure }toCode: Select all
llvm? ( sys-devel/llvm:4 )Code: Select all
llvm? ( sys-devel/llvm:8 )

Code: Select all
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils git-r3
DESCRIPTION="Open source PlayStation 3 emulator"
HOMEPAGE="https://rpcs3.net/"
EGIT_REPO_URI="https://github.com/RPCS3/rpcs3.git"
EGIT_COMMIT="v${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="alsa pulseaudio evdev vulkan +llvm gdb libav"
RDEPEND=">=dev-qt/qtcore-5.10:5=
>=dev-qt/qtgui-5.10:5=
>=dev-qt/qtdbus-5.10:5=
>=dev-qt/qtwidgets-5.10:5=
media-libs/libpng:0=
virtual/opengl
virtual/glu
media-libs/glew:0=
x11-libs/libX11
virtual/libudev:=
sys-libs/zlib:=
media-libs/openal
llvm? ( sys-devel/llvm:8 )
alsa? ( media-libs/alsa-lib )
pulseaudio? ( media-sound/pulseaudio )
evdev? ( dev-libs/libevdev )
vulkan? ( media-libs/vulkan-loader )
libav? ( media-video/libav:= )
!libav? ( media-video/ffmpeg:= )"
DEPEND="${RDEPEND}
>=sys-devel/gcc-5.1"
DOCS=( README.md CONTRIBUTING.md )
src_configure() {
CMAKE_BUILD_TYPE="RELEASE"
local mycmakeargs=(
-DWITHOUT_LLVM="$(usex llvm OFF ON)"
-DUSE_ALSA="$(usex alsa)"
-DUSE_PULSE="$(usex pulseaudio)"
-DUSE_LIBEVDEV="$(usex evdev)"
-DUSE_VULKAN="$(usex vulkan)"
-DWITH_GDB="$(usex gdb)"
-DUSE_SYSTEM_LIBPNG=ON
-DUSE_SYSTEM_FFMPEG=ON
)
cmake-utils_src_configure
}yes i didit everything u did i even made my own local overlay and it was compiling very loong i thought it was finally working but then it crashed again, the compilaton and no furrther acces , i am posting the output of commadn nowfedeliallalinea wrote:I used rpcs3-0.0.5.ebuild from jm-overlay, I renamed it in rpcs3-0.0.6.ebuild and applied my proposed changes and program has compiled fine.Code: Select all
# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit cmake-utils git-r3 DESCRIPTION="Open source PlayStation 3 emulator" HOMEPAGE="https://rpcs3.net/" EGIT_REPO_URI="https://github.com/RPCS3/rpcs3.git" EGIT_COMMIT="v${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="alsa pulseaudio evdev vulkan +llvm gdb libav" RDEPEND=">=dev-qt/qtcore-5.10:5= >=dev-qt/qtgui-5.10:5= >=dev-qt/qtdbus-5.10:5= >=dev-qt/qtwidgets-5.10:5= media-libs/libpng:0= virtual/opengl virtual/glu media-libs/glew:0= x11-libs/libX11 virtual/libudev:= sys-libs/zlib:= media-libs/openal llvm? ( sys-devel/llvm:8 ) alsa? ( media-libs/alsa-lib ) pulseaudio? ( media-sound/pulseaudio ) evdev? ( dev-libs/libevdev ) vulkan? ( media-libs/vulkan-loader ) libav? ( media-video/libav:= ) !libav? ( media-video/ffmpeg:= )" DEPEND="${RDEPEND} >=sys-devel/gcc-5.1" DOCS=( README.md CONTRIBUTING.md ) src_configure() { CMAKE_BUILD_TYPE="RELEASE" local mycmakeargs=( -DWITHOUT_LLVM="$(usex llvm OFF ON)" -DUSE_ALSA="$(usex alsa)" -DUSE_PULSE="$(usex pulseaudio)" -DUSE_LIBEVDEV="$(usex evdev)" -DUSE_VULKAN="$(usex vulkan)" -DWITH_GDB="$(usex gdb)" -DUSE_SYSTEM_LIBPNG=ON -DUSE_SYSTEM_FFMPEG=ON ) cmake-utils_src_configure }

Code: Select all
DOCS=( README.md CONTRIBUTING.md ) Code: Select all
DOCS=( README.md ) that can be issue with me i use gcc 7.4 ill try gcc 84.fedeliallalinea wrote:The only difference is that I compiled with gcc-8.3.0. Just for info I also installed the program an run without problem but change the DOCS line in ebuild fromtoCode: Select all
DOCS=( README.md CONTRIBUTING.md )I see also that package (version 0.0.6) compile also with llvm-7 so I don't know what is the minor version requiredCode: Select all
DOCS=( README.md )
Code: Select all
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
if [[ ${PV} == 9999 ]]
then
EGIT_REPO_URI="https://github.com/RPCS3/rpcs3"
inherit git-r3
else
SRC_URI="https://github.com/RPCS3/rpcs3/archive/v${PV}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Very experimental PS3 emulator"
HOMEPAGE="https://rpcs3.net http://www.emunewz.net/forum/forumdisplay.php?fid=172"
LICENSE="GPL-2"
SLOT="0"
IUSE="alsa gdb joystick +llvm +llvmsub pulseaudio +z3 +test vulkan"
CDEPEND="
vulkan? ( media-libs/vulkan-loader[wayland] )
"
RDEPEND="${CDEPEND}
>=dev-qt/qtcore-5.10
>=dev-qt/qtdbus-5.10
>=dev-qt/qtgui-5.10
>=dev-qt/qtwidgets-5.10
alsa? ( media-libs/alsa-lib )
gdb? ( sys-devel/gdb )
joystick? ( dev-libs/libevdev )
llvm? ( sys-devel/llvm )
media-libs/glew:0
media-libs/libpng:*
media-libs/openal
pulseaudio? ( media-sound/pulseaudio )
sys-libs/zlib
virtual/ffmpeg
virtual/opengl
x11-libs/libX11
z3? ( sci-mathematics/z3 )
test? ( dev-cpp/gtest )
vulkan? ( media-libs/vulkan-loader )
"
DEPEND="${RDEPEND}
>=sys-devel/gcc-5.1
"
src_prepare() {
default
sed -i -e '/find_program(CCACHE_FOUND/d' CMakeLists.txt
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
"-DUSE_SYSTEM_LIBPNG=ON"
"-DUSE_SYSTEM_FFMPEG=ON"
"-DUSE_VULKAN=$(usex vulkan ON OFF)"
"-DUSE_ALSA=$(usex alsa ON OFF)"
"-DUSE_PULSE=$(usex pulseaudio ON OFF)"
"-DUSE_LIBEVDEV=$(usex joystick ON OFF)"
"-DWITH_GDB=$(usex gdb ON OFF)"
"-DWITH_LLVM=$(usex llvm ON OFF)"
"-DBUILD_LLVM_SUBMODULE=$(usex llvmsub ON OFF)"
"-Wno-dev=ON"
)
CCACHE_SLOPPINESS=pch_defines,time_macros
CMAKE_BUILD_TYPE=Release
cmake-utils_src_configure
}

Just some hintshedmo wrote:fedeliallalinea. feel free to comment if there is something that is wrong
Code: Select all
>=dev-qt/qtcore-5.10
>=dev-qt/qtdbus-5.10
>=dev-qt/qtgui-5.10
>=dev-qt/qtwidgets-5.10