Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 15:09:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243544] devel/electron6 fails to build on amd64 12-stable
Message-ID:  <bug-243544-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243544

            Bug ID: 243544
           Summary: devel/electron6 fails to build on amd64 12-stable
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: transitive@gmail.com
                CC: tagattie@yandex.com
             Flags: maintainer-feedback?(tagattie@yandex.com)
                CC: tagattie@yandex.com

The port devel/electron6 fails to build for me using poudriere on my amd64
12-stable system.

Below is an excerpt of the build log with the errors.

In file included from ../../third_party/leveldatabase/port/port_chromium.cc=
:10:
../../third_party/snappy/src/snappy.h:76:59: error: unknown type name 'stri=
ng';
did you mean 'std::string'?
  size_t Compress(const char* input, size_t input_length, string* output);
                                                          ^~~~~~
                                                          std::string
/usr/include/c++/v1/iosfwd:211:65: note: 'std::string' declared here
typedef basic_string<char, char_traits<char>, allocator<char> > string;
                                                                ^
In file included from ../../third_party/leveldatabase/port/port_chromium.cc=
:10:
../../third_party/snappy/src/snappy.h:85:19: error: unknown type name 'stri=
ng';
did you mean 'std::string'?
                  string* uncompressed);
                  ^~~~~~
                  std::string
/usr/include/c++/v1/iosfwd:211:65: note: 'std::string' declared here
typedef basic_string<char, char_traits<char>, allocator<char> > string;
                                                                ^
2 errors generated.
[7204/16384] c++ -MMD -MF
obj/third_party/leveldatabase/leveldatabase/leveldb_chrome.o.d
-DLEVELDB_PLATFORM_CHROMIUM=3D1 -DLEVELDB_COMPILE_LIBRARY -DUSE_AURA=3D1
-DUSE_GLIB=3D1 -DUSE_NSS_CERTS=3D1 -DUSE_X11=3D1 -DNO_TCMALLOC -DFULL_SAFE_=
BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BU=
ILD
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=3D\"361212-67510fac-4\"
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0
-DLEVELDB_PLATFORM_CHROMIUM=3D1 -DLEVELDB_PLATFORM_CHROMIUM=3D1
-DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION_2_32
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_26 -I../.. -Igen
-I../../third_party/leveldatabase -I../../third_party/leveldatabase/src
-I../../third_party/leveldatabase/src/include -Igen/shim_headers/re2_shim
-Igen/shim_headers/snappy_shim -I../../third_party/boringssl/src/include
-fprofile-sample-use=3D../../chrome/android/profiles/afdo.prof
-fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-protector
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants -m64 -march=3Dx86-64 -Xclang
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes -O2 -fno-ident
-fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0
-fvisibility=3Dhidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -Wall -Wno-unused-variable
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-unneeded-internal-declaration -Wno-undefined-var-template
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -std=3Dc++14 -fno-exceptions -fno-rtti
-fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c
../../third_party/leveldatabase/leveldb_chrome.cc -o
obj/third_party/leveldatabase/leveldatabase/leveldb_chrome.o
[7205/16384] c++ -MMD -MF
obj/third_party/leveldatabase/leveldatabase/env_chromium.o.d
-DLEVELDB_PLATFORM_CHROMIUM=3D1 -DLEVELDB_COMPILE_LIBRARY -DUSE_AURA=3D1
-DUSE_GLIB=3D1 -DUSE_NSS_CERTS=3D1 -DUSE_X11=3D1 -DNO_TCMALLOC -DFULL_SAFE_=
BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BU=
ILD
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=3D\"361212-67510fac-4\"
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0
-DLEVELDB_PLATFORM_CHROMIUM=3D1 -DLEVELDB_PLATFORM_CHROMIUM=3D1
-DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION_2_32
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_26 -I../.. -Igen
-I../../third_party/leveldatabase -I../../third_party/leveldatabase/src
-I../../third_party/leveldatabase/src/include -Igen/shim_headers/re2_shim
-Igen/shim_headers/snappy_shim -I../../third_party/boringssl/src/include
-fprofile-sample-use=3D../../chrome/android/profiles/afdo.prof
-fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-protector
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants -m64 -march=3Dx86-64 -Xclang
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes -O2 -fno-ident
-fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0
-fvisibility=3Dhidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -Wall -Wno-unused-variable
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-unneeded-internal-declaration -Wno-undefined-var-template
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -std=3Dc++14 -fno-exceptions -fno-rtti
-fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c
../../third_party/leveldatabase/env_chromium.cc -o
obj/third_party/leveldatabase/leveldatabase/env_chromium.o
[7206/16384] c++ -MMD -MF
obj/components/services/leveldb/public/interfaces/interfaces/interfaces_jum=
bo_1.o.d
-DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_NSS_CERTS=3D1 -DUSE_X11=3D1 -DNO_TCMALL=
OC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DOFFICIAL_BUILD -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOU=
RCE
-D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE
-DCR_CLANG_REVISION=3D\"361212-67510fac-4\" -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=3D2 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION=
_2_32
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_26 -DU_USING_ICU_NAMESPACE=3D0
-DU_ENABLE_DYLOAD=3D0 -DUSE_CHROMIUM_ICU=3D1 -DU_STATIC_IMPLEMENTATION
-DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_FILE -DUCHAR_TYPE=3Duint16_t
-DLEVELDB_PLATFORM_CHROMIUM=3D1 -DLEVELDB_PLATFORM_CHROMIUM=3D1 -I. -I../..=
 -Igen
-Igen/shim_headers/re2_shim -Igen/shim_headers/snappy_shim
-I../../third_party/boringssl/src/include -I../../third_party/ced/src
-I../../third_party/icu/source/common -I../../third_party/icu/source/i18n
-I../../third_party/leveldatabase -I../../third_party/leveldatabase/src
-I../../third_party/leveldatabase/src/include
-fprofile-sample-use=3D../../chrome/android/profiles/afdo.prof
-fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-protector
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants -m64 -march=3Dx86-64 -Xclang
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra
-Wimplicit-fallthrough -Wthread-safety -Wextra-semi
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-unneeded-internal-declaration -Wno-undefined-var-template -O2 -fno-ide=
nt
-fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0
-fvisibility=3Dhidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -std=3Dc++14
-fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-isystem /usr/local/include  -c
gen/components/services/leveldb/public/interfaces/interfaces_jumbo_1.cc -o
obj/components/services/leveldb/public/interfaces/interfaces/interfaces_jum=
bo_1.o
In file included from
gen/components/services/leveldb/public/interfaces/interfaces_jumbo_1.cc:5:
In file included from
./gen/components/services/leveldb/public/interfaces/leveldb.mojom-test-util=
s.cc:16:
In file included from
gen/components/services/leveldb/public/interfaces/leveldb.mojom-test-utils.=
h:8:
In file included from
gen/components/services/leveldb/public/interfaces/leveldb.mojom.h:14:
In file included from ../../base/callback.h:14:
In file included from ../../base/callback_internal.h:14:
In file included from ../../base/memory/ref_counted.h:19:
In file included from ../../base/sequence_checker.h:10:
In file included from ../../base/sequence_checker_impl.h:13:
In file included from ../../base/synchronization/lock.h:11:
../../base/synchronization/lock_impl.h:71:12: warning: releasing mutex
'native_handle_' that was not held [-Wthread-safety-analysis]
  int rv =3D pthread_mutex_unlock(&native_handle_);
           ^
1 warning generated.
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/electron6
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for electron6-6.1.6
build of devel/electron6 | electron6-6.1.6 ended at Thu Jan 23 09:45:11 EST
2020
build time: 00:44:09
!!! build failure encountered !!!

--=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-243544-7788>