Bug 242078

Summary: devel/genie: add MAKE_JOBS_UNSAFE=yes
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
Status: Closed FIXED    
Severity: Affects Only Me CC: swills
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch swills: maintainer-approval+

Description Piotr Kubaj freebsd_committer 2019-11-19 13:27:21 UTC
Created attachment 209251 [details]
patch

When doing a threaded build, I get:
==== Building genie (release) ====
lauxlib.c
Creating ../../bin/bsd
lbitlib.c
ldblib.c
lcode.c
lapi.c
lcorolib.c
lfunc.c
lbaselib.c
Creating obj/Release/src/host/lua-5.3.0/src
ldebug.c
Creating obj/Release/src/host
ldump.c
ldo.c
Creating obj/Release
lctype.c
Assembler messages:
Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lcode.o: No such file or directory
Assembler messages:
Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/ldblib.o: No such file or directory
Assembler messages:
Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lapi.o: No such file or directory
Assembler messages:
Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lcorolib.o: No such file or directory
Assembler messages:
Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lfunc.o: No such file or directory
Assembler messages:
Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lauxlib.o: No such file or directory
Assembler messages:
Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/ldump.o: No such file or directory
gmake[2]: *** [genie.make:292: obj/Release/src/host/lua-5.3.0/src/ldblib.o] Error 2
gmake[2]: *** Waiting for unfinished jobs....
lgc.c
gmake[2]: *** [genie.make:308: obj/Release/src/host/lua-5.3.0/src/lfunc.o] Error 2
gmake[2]: *** [genie.make:280: obj/Release/src/host/lua-5.3.0/src/lcode.o] Error 2
gmake[2]: *** [genie.make:284: obj/Release/src/host/lua-5.3.0/src/lcorolib.o] Error 2
gmake[2]: *** [genie.make:304: obj/Release/src/host/lua-5.3.0/src/ldump.o] Error 2
gmake[2]: *** [genie.make:264: obj/Release/src/host/lua-5.3.0/src/lapi.o] Error 2
gmake[2]: *** [genie.make:268: obj/Release/src/host/lua-5.3.0/src/lauxlib.o] Error 2
gmake[1]: *** [Makefile:17: genie] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/genie/work/GENie-d054bb1/build/gmake.freebsd'

This is on 12.1-RELEASE on powerpc64 (32 threads).
Comment 1 commit-hook freebsd_committer 2019-11-27 20:00:44 UTC
A commit references this bug:

Author: pkubaj
Date: Wed Nov 27 20:00:33 UTC 2019
New revision: 518533
URL: https://svnweb.freebsd.org/changeset/ports/518533

Log:
  devel/genie: add MAKE_JOBS_UNSAFE=yes

  When doing a threaded build, I get:Assembler messages:
  Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lcode.o: No such file or directory
  Assembler messages:
  Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/ldblib.o: No such file or directory
  Assembler messages:
  Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lapi.o: No such file or directory
  Assembler messages:
  Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lcorolib.o: No such file or directory
  Assembler messages:
  Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lfunc.o: No such file or directory
  Assembler messages:
  Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/lauxlib.o: No such file or directory
  Assembler messages:
  Fatal error: can't create obj/Release/src/host/lua-5.3.0/src/ldump.o: No such file or directory

  PR:		242078
  Approved by:	swills (maintainer), mentors (implicit approval)

Changes:
  head/devel/genie/Makefile