Date: Thu, 09 Jan 2020 09:56:46 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 243208] firefox build error error: variable has incomplete type 'cap_rights_t' (aka 'cap_rights') cap_rights_t rights; Message-ID: <bug-243208-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243208 Bug ID: 243208 Summary: firefox build error error: variable has incomplete type 'cap_rights_t' (aka 'cap_rights') cap_rights_t rights; Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: nick.rozhkov@gmail.com Port build configuration OPTIONS_FILE_SET+=3DCANBERRA OPTIONS_FILE_SET+=3DDBUS OPTIONS_FILE_UNSET+=3DDEBUG OPTIONS_FILE_SET+=3DFFMPEG OPTIONS_FILE_SET+=3DGCONF OPTIONS_FILE_SET+=3DLIBPROXY OPTIONS_FILE_SET+=3DOPTIMIZED_CFLAGS OPTIONS_FILE_SET+=3DPROFILE OPTIONS_FILE_UNSET+=3DTEST OPTIONS_FILE_SET+=3DALSA OPTIONS_FILE_SET+=3DJACK OPTIONS_FILE_SET+=3DPULSEAUDIO OPTIONS_FILE_UNSET+=3DSNDIO Error log ipc/chromium/Unified_cpp_ipc_chromium2.o gmake[5]: Leaving directory '/usr/ports/www/firefox/work/.build/extensions/auth' /usr/local/bin/clang++90 -o BackgroundParentImpl.o -c=20 -I/usr/ports/www/firefox/work/.build/dist/stl_wrappers -I/usr/ports/www/firefox/work/.build/dist/system_wrappers -include /usr/ports/www/firefox/work/firefox-72.0.1/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong -DNDEBUG= =3D1 -DTRIMMED=3D1 -DHAVE_UINT64_T -DWEBRTC_POSIX -DWEBRTC_BUILD_LIBEVENT -DWEBR= TC_BSD -DOS_POSIX=3D1 -DOS_FREEBSD=3D1 -DOS_BSD=3D1 '-DMOZ_CHILD_PROCESS_NAME=3D"plugin-container"' '-DMOZ_CHILD_PROCESS_BUNDLE=3D"plugin-container.app/Contents/MacOS/"' -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/usr/ports/www/firefox/work/firefox-72.0.1/ipc/glue -I/usr/ports/www/firefox/work/.build/ipc/glue -I/usr/ports/www/firefox/work/firefox-72.0.1/caps -I/usr/ports/www/firefox/work/firefox-72.0.1/dom/broadcastchannel -I/usr/ports/www/firefox/work/firefox-72.0.1/dom/indexedDB -I/usr/ports/www/firefox/work/firefox-72.0.1/dom/storage -I/usr/ports/www/firefox/work/firefox-72.0.1/media/webrtc/trunk -I/usr/ports/www/firefox/work/firefox-72.0.1/media/webrtc/trunk/webrtc -I/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/build -I/usr/ports/www/firefox/work/firefox-72.0.1/dom/ipc -I/usr/ports/www/firefox/work/firefox-72.0.1/toolkit/crashreporter -I/usr/ports/www/firefox/work/firefox-72.0.1/toolkit/xre -I/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/base -I/usr/ports/www/firefox/work/firefox-72.0.1/xpcom/threads -I/usr/ports/www/firefox/work/.build/ipc/ipdl/_ipdlheaders -I/usr/ports/www/firefox/work/firefox-72.0.1/ipc/chromium/src -I/usr/ports/www/firefox/work/firefox-72.0.1/ipc/glue -I/usr/ports/www/firefox/work/.build/dist/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/ports/www/firefox/work/.build/dist/include/nss -I/usr/local/include -I/usr/local/include -I/usr/local/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /usr/ports/www/firefox/work/.build/mozilla-config.h -Qunused-argum= ents -DLIBICONV_PLUG -isystem /usr/local/include -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++1z-compat -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-comp= are -Wno-error=3Dtautological-type-limit-compare -Wno-inline-new-delete -Wno-error=3Ddeprecated-declarations -Wno-error=3Darray-bounds -Wno-error=3Dbackend-plugin -Wno-error=3Dreturn-std-move -Wno-error=3Datomic-alignment -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-sized-deallocation -fno-aligned-new -O2 -pi= pe -march=3Dnative -O3 -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -I/usr/local/include -O2 -O3 -fno-omit-frame-pointer -funwind-tables -Wno-error=3Dshadow -Wno-shadow -MD -MP -MF .deps/BackgroundParentImpl.o.p= p=20=20 /usr/ports/www/firefox/work/firefox-72.0.1/ipc/glue/BackgroundParentImpl.cpp ipc/glue/FileDescriptorSetChild.o In file included from Unified_cpp_ipc_chromium0.cpp:137: /usr/ports/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/shared_mem= ory_posix.cc:282:16: error: variable has incomplete type 'cap_rights_t' (aka 'cap_rights') cap_rights_t rights; ^ /usr/include/sys/types.h:249:8: note: forward declaration of 'cap_rights' struct cap_rights; ^ In file included from Unified_cpp_ipc_chromium0.cpp:137: /usr/ports/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/shared_mem= ory_posix.cc:283:28: error: use of undeclared identifier 'CAP_MMAP_R' cap_rights_init(&rights, CAP_MMAP_R); ^ 2 errors generated. gmake[5]: *** [/usr/ports/www/firefox/work/firefox-72.0.1/config/rules.mk:8= 06: Unified_cpp_ipc_chromium0.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243208-7788>