Hello community, here is the log from the commit of package mame for openSUSE:Factory checked in at 2018-02-10 17:59:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mame (Old) and /work/SRC/openSUSE:Factory/.mame.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mame" Sat Feb 10 17:59:30 2018 rev:8 rq:574884 version:0.193 Changes: -------- --- /work/SRC/openSUSE:Factory/mame/mame.changes 2018-02-05 10:53:58.873584525 +0100 +++ /work/SRC/openSUSE:Factory/.mame.new/mame.changes 2018-02-10 17:59:33.693103658 +0100 @@ -1,0 +2,8 @@ +Fri Feb 9 18:50:00 UTC 2018 - [email protected] + +- Add fix_mkdir_order.patch + Fix race condition in directory creation. Due to a missing + dependency in the makefiles objects where created concurrently + with the target directories, leading to sporadic build failures. + +------------------------------------------------------------------- New: ---- fix_mkdir_order.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mame.spec ++++++ --- /var/tmp/diff_new_pack.HTAdHB/_old 2018-02-10 17:59:37.104980147 +0100 +++ /var/tmp/diff_new_pack.HTAdHB/_new 2018-02-10 17:59:37.108980002 +0100 @@ -54,6 +54,7 @@ Source102: mame.appdata.xml Source104: mame-mess.appdata.xml Patch0: treat_gcc73_and_later_like_gcc72.patch +Patch1: fix_mkdir_order.patch BuildRequires: binutils-gold BuildRequires: fdupes BuildRequires: pkgconfig @@ -150,6 +151,7 @@ %prep %setup -q -n mame-mame0%fver %patch0 -p1 +%patch1 -p0 cp %{SOURCE1} whatsnew-%{version}.txt # Fix rpmlint warning "wrong-file-end-of-line-encoding" @@ -205,6 +207,11 @@ USE_SYSTEM_LIB_UTF8PROC=1 \ %endif " +# Bootstrap genie, scripts file has been patched +make %{?_smp_mflags} OPT_FLAGS="%{myoptflags}" $COMMON_FLAGS genie +(cd 3rdparty/genie/; bin/linux/genie embed) +make %{?_smp_mflags} OPT_FLAGS="%{myoptflags}" $COMMON_FLAGS genie + make %{?_smp_mflags} OPT_FLAGS="%{myoptflags}" $COMMON_FLAGS SUBTARGET=arcade TOOLS=1 # Remove static libraries after linking, to save some disk space find build/ -ipath '*mame_arcade/lib*a' -delete ++++++ fix_mkdir_order.patch ++++++ --- 3rdparty/genie/src/actions/make/make_cpp.lua_orig 2018-02-09 19:47:41.045121556 +0100 +++ 3rdparty/genie/src/actions/make/make_cpp.lua 2018-02-09 19:48:38.620847430 +0100 @@ -525,12 +525,12 @@ for _, file in ipairs(prj.allfiles or {}) do if path.issourcefile(file) then if (path.isobjcfile(file)) then - _p('$(OBJDIR)/%s.o: %s $(GCH_OBJC) $(MAKEFILE)' + _p('$(OBJDIR)/%s.o: %s $(GCH_OBJC) $(MAKEFILE) | $(OBJDIRS)' , _MAKE.esc(path.trimdots(path.removeext(file))) , _MAKE.esc(file) ) else - _p('$(OBJDIR)/%s.o: %s $(GCH) $(MAKEFILE)' + _p('$(OBJDIR)/%s.o: %s $(GCH) $(MAKEFILE) | $(OBJDIRS)' , _MAKE.esc(path.trimdots(path.removeext(file))) , _MAKE.esc(file) )
