Comments (4)
I also had to update the Manifest due to a mismatch in size but afterwards the build process throws this error and fails:
error: ‘cbegin’ is not a member of ‘std’
error: ‘cend’ is not a member of ‘std’
from abendbrot.
error: ‘cbegin’ is not a member of ‘std’
error: ‘cend’ is not a member of ‘std’
As far as I know, this is a problem with C++14 support in GCC 4.X and updating to GCC 5.1 should fix it. I've made a quick patch that fixes it for me, but it's a rather dirty hack and will break building with GCC 5:
diff -ru mame-9359b71e93c20aa27315dfa41f888fc6f49cc7ae_orig/src/lib/util/strformat.h mame-9359b71e93c20aa27315dfa41f888fc6f49cc7ae/src/lib/util/strformat.h
--- mame-9359b71e93c20aa27315dfa41f888fc6f49cc7ae_orig/src/lib/util/strformat.h 2016-09-06 02:53:14.000000000 +0200
+++ mame-9359b71e93c20aa27315dfa41f888fc6f49cc7ae/src/lib/util/strformat.h 2016-11-04 00:46:35.437749021 +0100
@@ -185,7 +185,6 @@
#include <type_traits>
#include <utility>
-#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413)
namespace std
{
template<class _Container>
@@ -198,7 +197,6 @@
cend(const _Container& __cont) noexcept(noexcept(std::end(__cont)))-> decltype(std::end(__cont))
{ return std::end(__cont); }
}
-#endif
namespace util {
namespace detail {
There is compatibility code for GCC versions before 5.1, but MAME seems is disable it too early. This patch just removes the conditional, maybe someone can figure out the correct version? (Or just depend on GCC 5 in the ebuild)
from abendbrot.
Thanks for the reports,
I fixed the checksums and removed the license, seems like it changed to gpl2.
@Jannis234 how does your -j* look like? I'm guessing those requirements change depending on setup.
I can't test it now since I don't have swap and I'm fearing losing my running work when ram hits max.
I just put some checks with 9G ram and 25G disk space in the ebuild. I hope that isn't too overkill.
@dwma @Jannis234 I applied the portage patch from sdlmame from https://bugs.gentoo.org/show_bug.cgi?id=582576
This should do until libretro syncs to upstream since it got fixed with 0.175.
I will close this for now, please open it up again if something is wrong or if I should reduce the ram/disk checks.
from abendbrot.
The memory checks should be ok. I was using a pretty high setting for -j, but it's the final link that uses so much memory, so -j souldn't make any difference.
from abendbrot.
Related Issues (20)
- games-emulation/retroarch-1.7.2.ebuild version bump. HOT 3
- RetroArch ARM64 support HOT 15
- retroarch-1.6.9[qt5] compile error HOT 1
- media-sound/yarock[qt5] cannot be installed with media-libs/phonon-4.10.1
- Microsoft is acquiring GitHub! Time to move to Gitlab!
- parallel-n64-libretro build error
- Add retroarch and libretro to Gentoo HOT 26
- Unnecessary dependencies on games-emulation/libretro-info HOT 2
- games-emulation/dolphin-libretro-9999-r2 fails to build HOT 1
- retroarch: Fetch failed for 'games-emulation/fbalpha-libretro HOT 2
- games-emulation/snes9x-libretro license file moved
- * Fetch failed for 'games-emulation/fbalpha-libretro-1.0_pre20170927' HOT 1
- easyrpg-editor dropped qmake build support
- retroarch-1.6.7 fails when building against ffmpeg 4 HOT 1
- games-emulation/retroarch-9999-r3 all patches broken HOT 1
- games-emulation/bsnes-libretro-cplusplus98: build failure: snes/Makefile:48: *** Recursive variable 't' references itself (eventually). Stop.
- games-emulation/melonds-libretro,fbalpha-libretro,games-emulation/citra-libretro: emerge returns 404 HOT 1
- desmume-libretro-1.0_pre20183011: segfaults
- desmume-libretro-9999: compilation failure
- retroarch-1.6.7 compile fails with missing -lpthread dep HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abendbrot.