Bug 242556 - games/tome4: add MAKE_JOBS_UNSAFE=yes
Summary: games/tome4: add MAKE_JOBS_UNSAFE=yes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nikolai Lifanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-10 20:22 UTC by Piotr Kubaj
Modified: 2019-12-25 17:54 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (lifanov)


Attachments
patch (308 bytes, patch)
2019-12-10 20:22 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (lifanov)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-12-10 20:22:59 UTC
Created attachment 209842 [details]
patch

I'm hitting race condition on powerpc64 with 32 threads:
==== Building TEngine (release) ====
Creating ../obj/Release/TEngine
noise.c
cc -O2 -pipe -fstack-protector-all -fno-strict-aliasing -std=gnu89   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBL
EBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/TEngine/noise.o" -MF ../obj/Release/TEngine/noise.d -c
"../src/noise.c"
mkdir -p ../obj/Release/TEngine
error: unable to open output file '../obj/Release/TEngine/noise.o': 'No such file or directory'
1 error generated.
core_lua.c
SFMT.c
serial.c
Comment 1 commit-hook freebsd_committer 2019-12-25 17:54:00 UTC
A commit references this bug:

Author: pkubaj
Date: Wed Dec 25 17:53:38 UTC 2019
New revision: 520879
URL: https://svnweb.freebsd.org/changeset/ports/520879

Log:
  games/tome4: add MAKE_JOBS_UNSAFE=yes

  I'm hitting race condition on powerpc64 with 32 threads:
  ==== Building TEngine (release) ====
  Creating ../obj/Release/TEngine
  noise.c
  cc -O2 -pipe -fstack-protector-all -fno-strict-aliasing -std=gnu89   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/TEngine/noise.o" -MF ../obj/Release/TEngine/noise.d -c "../src/noise.c"
  mkdir -p ../obj/Release/TEngine
  error: unable to open output file '../obj/Release/TEngine/noise.o': 'No such file or directory'
  1 error generated.
  core_lua.c
  SFMT.c
  serial.c

  PR:		242556
  Approved by:	lifanov (maintainer timeout)

Changes:
  head/games/tome4/Makefile