[Bug 256177] devel/electron12 build failure [missing header]

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 May 2021 23:22:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256177

            Bug ID: 256177
           Summary: devel/electron12 build failure [missing header]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tagattie@FreeBSD.org
          Reporter: tech-lists@zyxst.net
          Assignee: tagattie@FreeBSD.org
             Flags: maintainer-feedback?(tagattie@FreeBSD.org)

Hi,

context:

[00:00:00] =>> Building devel/electron12
[00:00:00] build started at Wed May 26 17:06:51 BST 2021
[00:00:00] port directory: /usr/ports/devel/electron12
[00:00:00] package name: electron12-12.0.9
[00:00:00] building for: FreeBSD desktop 13.0-STABLE FreeBSD 13.0-STABLE
1300505 amd64
[00:00:00] maintained by: tagattie@FreeBSD.org
[00:00:00] Makefile datestamp: -rw-r--r--  1 root  wheel  11740 May 24 03:34
/wd/poudriere/data/.m/desktop-default/01//usr/ports/devel/electron12/Makefile
[00:00:00] Poudriere version: 3.3.99.20210521
[00:00:00] Host OSVERSION: 1300505
[00:00:00] Jail OSVERSION: 1300505
[00:00:00] Job Id: 01

options:

[00:00:00] ---Begin OPTIONS List---
[00:00:00] ===> The following configuration options are available for
electron12-12.0.9:
[00:00:00]      CUPS=on: CUPS printing system support
[00:00:00]      DEBUG=off: Build with debugging support
[00:00:00]      DIST=on: Build distribution zip files
[00:00:00]      DRIVER=on: Install chromedriver
[00:00:00]      KERBEROS=on: Kerberos support
[00:00:00] ====> Options available for the group AUDIO
[00:00:00]      ALSA=on: ALSA audio architecture support
[00:00:00]      PULSEAUDIO=off: PulseAudio sound server support
[00:00:00] ===> Use 'make config' to modify these settings
[00:00:00] ---End OPTIONS List---

build fails here:

[04:41:12] FAILED: obj/sandbox/linux/chrome_sandbox/sandbox.o 
[04:41:12] cc -MMD -MF obj/sandbox/linux/chrome_sandbox/sandbox.o.d
-DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1
-DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE
-DCR_CLANG_REVISION=\"llvmorg-12-init-16296-g5e476061-1\"
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -std=gnu99
-Wno-sign-compare -fno-delete-null-pointer-checks -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics
-fmerge-all-constants -m64 -march=x86-64 -msse3 -Xclang -fdebug-compilation-dir
-Xclang . -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough
-Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers
-Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration
-Wno-undefined-var-template -Wno-ignored-pragma-optimize
-Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class
-Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy
-Wno-thread-safety-analysis -Wno-thread-safety-attributes -O2 -fno-ident
-fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -Xclang
-debug-info-kind=constructor -fvisibility=hidden -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -std=c11 -c
../../sandbox/linux/suid/sandbox.c -o
obj/sandbox/linux/chrome_sandbox/sandbox.o
[04:41:12] ../../sandbox/linux/suid/sandbox.c:12:10: fatal error:
'asm/unistd.h' file not found
[04:41:12] #include <asm/unistd.h>
[04:41:12]          ^~~~~~~~~~~~~~
[04:41:12] 1 error generated.
[04:41:12] [ 55% 12/20] touch
obj/electron/electron_chromedriver_zip__deps.stamp
[04:41:12] [ 60% 12/20] touch obj/electron/electron_mksnapshot_zip__deps.stamp
[04:41:12] ninja: build stopped: subcommand failed.
[04:41:12] *** Error code 1
[04:41:12] 
[04:41:12] Stop.
[04:41:12] make: stopped in /usr/ports/devel/electron12

Full logfile is at
https://cloud.zyxst.net/~john/FreeBSD/ports/electron12/electron12-12.0.9.log
[warning: 107MB!]

-- 
You are receiving this mail because:
You are the assignee for the bug.