Hi, i build electron and build failed in poudriere. FreeBSD 13.3 isystem/usr/local/include/glib-2.0 -isystem/usr/local/lib/glib-2.0/include -Wno-redundant-parens -Wno-redundant-parens -DPROTOBUF_ALLOW_DEPRECATED=1 -isystem/usr/local/include -isystem/usr/local/include -isystem/usr/local/include -isystem/usr/local/include/nss -isystem/usr/local/include/nspr -Wenum-compare-conditional -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti -nostdinc++ -isystem../../third_party/libc++/src/include -isystem../../third_party/libc++abi/src/include -fvisibility-inlines-hidden -O2 -pipe -Wno-error=implicit-function-declaration -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -c gen/third_party/blink/public/mojom/file/file_utilities.mojom.cc -o obj/third_party/blink/public/mojom/mojom_platform/file_utilities.mojom.o In file included from gen/third_party/blink/public/mojom/file/file_utilities.mojom.cc:24: ../../base/trace_event/typed_macros.h:19:10: fatal error: 'base/trace_event/typed_macros_internal.h' file not found 19 | #include "base/trace_event/typed_macros_internal.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/devel/electron30 build of devel/electron30 | electron30-30.1.2 ended at Mon Jul 29 02:41:48 CEST 2024 build time: 1D:01:48:11 !!! build failure encountered !!!
(In reply to Martin Filla from comment #0) I have never seen this error. Can you provide a full log?
Created attachment 252361 [details] 133amd64-default.log.xz
(In reply to Martin Filla from comment #0) cat /etc/make.conf DEFAULT_VERSIONS+=ssl=openssl DISABLE_VULNERABILITIES=yes DEVELOPER=yes MAKE_FORCE_JOBS=yes #WITH_DEBUG=yes MAKE_JOBS_UNSAFE=yes #DEFAULT_VERSIONS+=llvm=18 #CC=clang18 #CXX=clang++18
(In reply to Martin Filla from comment #2) I found nothing suspicious in the attached log file. But I noticed that version (30.1.2) you were trying to build was very old. The latest version of electron30 is 30.3.1. Can you try again with the latest ports tree, which might help?
(In reply to Hiroki Tagato from comment #4) I am compiling new version from port tree.
(In reply to Hiroki Tagato from comment #4) I tried new electron30, and other bug. Did you tests in poudriere ? tion.mojom.cc -o obj/third_party/blink/public/mojom/mojom_platform/hyphenation.mojom.o In file included from gen/third_party/blink/public/mojom/hyphenation/hyphenation.mojom.cc:12: In file included from gen/third_party/blink/public/mojom/hyphenation/hyphenation.mojom.h:17: ../../mojo/public/cpp/bindings/clone_traits.h:13:10: fatal error: 'base/containers/flat_map.h' file not found 13 | #include "base/containers/flat_map.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1
Created attachment 252393 [details] electron30-30.3.1.log
Created attachment 252394 [details] electron30-30.3.1.log.xz
(In reply to Martin Filla from comment #6) I always test if the port is buildable with poudriere before I push changes to the ports tree and I have never seen the "file not found" error. Can you make it sure that the file in question (base/containers/flat_map.h) really exists in the working source after poudriere build error? The path should be ${WRKSRC}/base/containers/flat_map.h.
It's been a while since the last time we communicate. Is this PR still relevant?
(In reply to Hiroki Tagato from comment #10) Probably it's some make.conf settings that trigger this problem: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280428#c13
Hi, i have again a problem with electron. I build in poudriere 2 days In file included from gen/third_party/blink/renderer/bindings/core/v8/v8_render_blocking_status_type.cc:11: In file included from gen/third_party/blink/renderer/bindings/core/v8/v8_render_blocking_status_type.h:17: In file included from ../../third_party/blink/renderer/platform/bindings/enumeration_base.h:11: In file included from ../../third_party/blink/renderer/platform/wtf/allocator/allocator.h:12: ../../third_party/blink/renderer/platform/wtf/type_traits.h:30:10: fatal error: 'v8/include/cppgc/type-traits.h' file not found 30 | #include "v8/include/cppgc/type-traits.h" // nogncheck | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
Created attachment 255463 [details] electron30-30.5.1_3.log.xz
/etc/make.conf here: DEFAULT_VERSIONS+=ssl=openssl DISABLE_VULNERABILITIES=yes DEVELOPER=yes MAKE_FORCE_JOBS=yes WITH_DEBUG=yes MAKE_JOBS_UNSAFE=yes
(In reply to Martin Filla from comment #12) Hi Martin, This time I found a suspicious lines in the build log you attached (electron30-30.5.1_3.log.xz). There are following lines: =>> Cleaning up wrkdir ===> Cleaning for electron30-30.5.1_3 in the middle of the log, which I think is very strange. It appears poudriere tries to clean up the working directory during the build phase (before the error). I suspect that is the cause of the "file not found" error.
(In reply to Hiroki Tagato from comment #15) this is from poudriere: Failed: build/timeout 00:01:30] [01] [00:00:00] Builder starting [00:01:31] [01] [00:00:01] Builder started [00:01:31] [01] [00:00:00] Building devel/electron30 | electron30-30.5.1_3 [1D:01:22:32] [01] [1D:01:21:01] Finished devel/electron30 | electron30-30.5.1_3: Failed: build/timeout [1D:01:23:04] Stopping 1 builders [1D:01:23:05] Error: Depends failed to build [1D:01:23:05] Failed ports: devel/electron30:build/timeout
(In reply to Martin Filla from comment #16) > this is from poudriere: Failed: build/timeout Ah OK, that makes sense. Can you increase the value of MAX_EXECUTION_TIME (default is 86400 = 1 day) in poudriere.conf and try again to see if it build OK?
(In reply to Hiroki Tagato from comment #17) ok thank you.