Bug 237890

Summary: x11-wm/i3: fix build
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (bapt)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (bapt)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-05-13 20:33:40 UTC
Created attachment 204365 [details]
patch

Add MAKE_JOBS_UNSAFE=yes to fix build.

Errors:
/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3-config-wizard/main.c:109:10: fatal error: GENERATED_config_enums.h: No such file or directory
 #include "GENERATED_config_enums.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2019-05-14 08:21:02 UTC
how do you reproduce that? how many cores?
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2019-05-14 09:19:15 UTC
(In reply to Baptiste Daroussin from comment #1)
4 cores (16 threads).
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-05-28 18:23:22 UTC
A commit references this bug:

Author: pkubaj
Date: Tue May 28 18:23:16 UTC 2019
New revision: 502904
URL: https://svnweb.freebsd.org/changeset/ports/502904

Log:
  x11-wm/i3: fix build with many threads

  i3 needs MAKE_JOBS_UNSAFE=yes to build.

  Errors:
  /wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3-config-wizard/main.c:109:10: fatal error: GENERATED_config_enums.h: No such file or directory
   #include "GENERATED_config_enums.h"

    ^~~~~~~~~~~~~~~~~~~~~~~~~~

  compilation terminated.

  PR:	237890
  Approved by:	tcberner (mentor), bapt (maintainer timeout)
  Differential Revision:	https://reviews.freebsd.org/D20438

Changes:
  head/x11-wm/i3/Makefile