Bug 280488 - devel/electron30: build failed in poudriere electron30-30.3.1
Summary: devel/electron30: build failed in poudriere electron30-30.3.1
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Hiroki Tagato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-29 07:27 UTC by Martin Filla
Modified: 2024-11-26 14:31 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (tagattie)


Attachments
133amd64-default.log.xz (786.14 KB, application/x-xz)
2024-07-30 06:07 UTC, Martin Filla
no flags Details
electron30-30.3.1.log (787.02 KB, application/x-xz)
2024-07-31 12:48 UTC, Martin Filla
no flags Details
electron30-30.3.1.log.xz (787.02 KB, application/x-xz)
2024-07-31 12:49 UTC, Martin Filla
no flags Details
electron30-30.5.1_3.log.xz (808.48 KB, application/x-xz)
2024-11-26 05:06 UTC, Martin Filla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2024-07-29 07:27:01 UTC
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 !!!
Comment 1 Hiroki Tagato freebsd_committer freebsd_triage 2024-07-30 01:52:58 UTC
(In reply to Martin Filla from comment #0)

I have never seen this error. Can you provide a full log?
Comment 2 Martin Filla 2024-07-30 06:07:24 UTC
Created attachment 252361 [details]
133amd64-default.log.xz
Comment 3 Martin Filla 2024-07-30 06:08:56 UTC
(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
Comment 4 Hiroki Tagato freebsd_committer freebsd_triage 2024-07-30 07:14:38 UTC
(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?
Comment 5 Martin Filla 2024-07-30 08:23:33 UTC
(In reply to Hiroki Tagato from comment #4)
I am compiling new version from port tree.
Comment 6 Martin Filla 2024-07-31 12:45:50 UTC
(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
Comment 7 Martin Filla 2024-07-31 12:48:39 UTC
Created attachment 252393 [details]
electron30-30.3.1.log
Comment 8 Martin Filla 2024-07-31 12:49:16 UTC
Created attachment 252394 [details]
electron30-30.3.1.log.xz
Comment 9 Hiroki Tagato freebsd_committer freebsd_triage 2024-07-31 20:27:09 UTC
(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.
Comment 10 Hiroki Tagato freebsd_committer freebsd_triage 2024-09-03 06:09:32 UTC
It's been a while since the last time we communicate. Is this PR still relevant?
Comment 11 Mikael Urankar freebsd_committer freebsd_triage 2024-09-03 08:06:55 UTC
(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
Comment 12 Martin Filla 2024-11-26 05:03:42 UTC
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.
Comment 13 Martin Filla 2024-11-26 05:06:03 UTC
Created attachment 255463 [details]
electron30-30.5.1_3.log.xz
Comment 14 Martin Filla 2024-11-26 05:07:11 UTC
/etc/make.conf here:

DEFAULT_VERSIONS+=ssl=openssl
DISABLE_VULNERABILITIES=yes
DEVELOPER=yes
MAKE_FORCE_JOBS=yes
WITH_DEBUG=yes
MAKE_JOBS_UNSAFE=yes
Comment 15 Hiroki Tagato freebsd_committer freebsd_triage 2024-11-26 12:15:36 UTC
(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.
Comment 16 Martin Filla 2024-11-26 12:24:48 UTC
(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
Comment 17 Hiroki Tagato freebsd_committer freebsd_triage 2024-11-26 12:46:35 UTC
(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?
Comment 18 Martin Filla 2024-11-26 14:31:14 UTC
(In reply to Hiroki Tagato from comment #17)
ok thank you.