Package Details: firedragon 100.0-3

Git Clone URL: https://aur.archlinux.org/firedragon.git (read-only, click to copy)
Package Base: firedragon
Description: Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE
Upstream URL: https://gitlab.com/dr460nf1r3/settings/
Keywords: browser firedragon firefox librewolf plasmafox
Licenses: GPL, MPL, LGPL
Conflicts: firedragon-hg
Submitter: polyzen
Maintainer: dr460nf1r3
Last Packager: dr460nf1r3
Votes: 16
Popularity: 1.08
First Submitted: 2021-04-22 10:57 (UTC)
Last Updated: 2022-05-15 08:40 (UTC)

Dependencies (57)

Sources (4)

Pinned Comments

dr460nf1r3 commented on 2021-07-16 15:52 (UTC)

Pre-built binaries are available at Chaotic-AUR. We use patches from Librewolf and OpenSUSE which means the package will be updated after they update their patches.

Latest Comments

Neko-san commented on 2022-04-11 22:39 (UTC)

No problem Also fails to patch though with:

patching file services/settings/Utils.jsm
Hunk #1 FAILED at 64.
1 out of 1 hunk FAILED -- saving rejects to file services/settings/Utils.jsm.rej
patching file toolkit/components/search/SearchUtils.jsm

dr460nf1r3 commented on 2022-04-08 17:00 (UTC) (edited on 2022-04-09 12:46 (UTC) by dr460nf1r3)

@Neko-san thanks for reporting, this was due to that particular patch containing an svg which I replace with a FireDragon one.

Neko-san commented on 2022-04-07 06:28 (UTC)

The build fails when patching in the Librewolf patches section:

---- Librewolf patches - UI
patching file browser/locales/en-US/browser/preferences/preferences.ftl
Hunk #2 succeeded at 420 (offset 9 lines).
Hunk #3 succeeded at 583 (offset 13 lines).
Hunk #4 succeeded at 612 (offset 13 lines).
Hunk #5 succeeded at 656 (offset 4 lines).
patching file browser/components/preferences/privacy.inc.xhtml
Hunk #4 succeeded at 1031 (offset 15 lines).
patching file browser/locales/en-US/browser/preferences/preferences.ftl
Hunk #1 succeeded at 1113 (offset 6 lines).
patching file browser/locales/en-US/browser/browser.ftl
Hunk #1 succeeded at 543 with fuzz 1.
patching file browser/components/preferences/main.inc.xhtml
Hunk #1 succeeded at 679 (offset 14 lines).
patching file browser/components/preferences/preferences.js
Hunk #1 succeeded at 234 with fuzz 1 (offset 73 lines).
patching file browser/components/newtab/lib/AboutPreferences.jsm
patching file browser/locales/en-US/browser/sanitize.ftl
patching file browser/components/preferences/main.inc.xhtml
patching file browser/components/preferences/main.js
patching file browser/components/preferences/privacy.js
patching file toolkit/mozapps/extensions/content/aboutaddons.js
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 1997 with fuzz 1.
patching file .gitlab-ci.yml
patching file browser/components/preferences/jar.mn
patching file browser/components/preferences/librewolf.inc.xhtml
patching file browser/components/preferences/librewolf.js
patching file browser/components/preferences/preferences.js
Hunk #1 succeeded at 8 with fuzz 1.
Hunk #2 succeeded at 192 (offset 74 lines).
patching file browser/components/preferences/preferences.xhtml
Hunk #1 succeeded at 13 (offset 1 line).
Hunk #2 succeeded at 130 (offset 1 line).
Hunk #3 succeeded at 223 (offset 10 lines).
patching file browser/locales/en-US/browser/preferences/preferences.ftl
Hunk #1 succeeded at 1370 (offset 23 lines).
patching file browser/themes/shared/jar.inc.mn
Hunk #1 succeeded at 79 with fuzz 1 (offset -26 lines).
Hunk #2 succeeded at 98 with fuzz 1 (offset -22 lines).
patching file browser/themes/shared/preferences/category-librewolf.svg
patching file browser/themes/shared/preferences/librewolf.css
patching file browser/themes/shared/preferences/preferences.inc.css
Hunk #1 succeeded at 206 (offset 5 lines).
The next patch would create the file browser/themes/shared/preferences/category-librewolf.svg,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
==> ERROR: A failure occurred in prepare().
    Aborting...

dr460nf1r3 commented on 2022-03-14 06:58 (UTC)

The PKGBUILD itself didn't change because the actual change happened in the common repo :)

prg commented on 2022-03-14 01:11 (UTC)

just pointing out that the PKGBUILD did not change

dr460nf1r3 commented on 2022-03-13 16:34 (UTC)

Sorry for the late answer @prg! The reason is quite simple, in this case a patch (located in the common repo) changed. Likely this corresponding commit.

prg commented on 2022-02-20 15:53 (UTC)

What's the deal with c8cb6a5a5d63 ? It bumps the pkgrel, but changes nothing. The commit log comment mentions something about changing the svg, but nothing changed...?

prg commented on 2022-01-28 16:05 (UTC) (edited on 2022-01-28 16:05 (UTC) by prg)

As of 96.0.3, the builds reference the $srcdir:

==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/firedragon/libmozavcodec.so
usr/lib/firedragon/omni.ja
usr/lib/firedragon/firedragon
usr/lib/firedragon/plugin-container
usr/lib/firedragon/libxul.so
usr/lib/firedragon/libmozsandbox.so
usr/lib/firedragon/libmozavutil.so

dr460nf1r3 commented on 2022-01-05 20:02 (UTC)

The application works just fine on X. I'm using it myself in fact :)

missingSleepDeps commented on 2022-01-02 01:48 (UTC)

Is there a way to build this without wayland? I'm pretty sure I'm still dependent on X for a lot of apps I regularly use

dr460nf1r3 commented on 2021-12-22 16:03 (UTC)

Thanks for keeping us updated, I also pushed a patch which simply disables the pip check (taken from Gentoo forum) :)

prg commented on 2021-12-21 14:40 (UTC) (edited on 2021-12-22 03:18 (UTC) by prg)

UPDATE3 (TLDR): firedragon 95.0.2-2 PKGBUILD works for me after removing python-pip from the build system. Thanks for the updates!

Current PKGBUILD doesn't build Looks like line 56 needs to be updated from "firefox-kde.patch" to "mozilla-kde.patch"

sed: can't read /home/user/.cache/yay/firedragon/src/common/patches/kde/firefox-kde.patch: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

UPDATE: After fixing that, the build fails with pip errors:

Found link https://files.pythonhosted.org/packages/da/f6/c83229dcc3635cdeb51874184241a9508ada15d8baa337a41093fab58011/pip-21.3.1.tar.gz#sha256=fd11ba3d0fdb4c07fbc5ecbba0b1b719809420f25038f8ee3cd913d3faa3033a (from https://pypi.org/simple/pip/) (requires-python:>=3.6), version: 21.3.1
Given no hashes to check 181 links for project 'pip': discarding no candidates
Traceback (most recent call last):
  File "/home/user/.cache/yay/firedragon/src/firefox-95.0.2/./mach", line 167, in <module>
    main(sys.argv[1:])
  File "/home/user/.cache/yay/firedragon/src/firefox-95.0.2/./mach", line 159, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/home/user/.cache/yay/firedragon/src/firefox-95.0.2/./mach", line 146, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/home/user/.cache/yay/firedragon/src/firefox-95.0.2/./mach", line 134, in load_mach
    return mach_initialize.initialize(dir_path)
  File "/home/user/.cache/yay/firedragon/src/firefox-95.0.2/build/mach_initialize.py", line 291, in initialize
    _activate_python_environment(topsrcdir)
  File "/home/user/.cache/yay/firedragon/src/firefox-95.0.2/build/mach_initialize.py", line 233, in _activate_python_environment
    raise Exception(
Exception: According to "pip check", the current Python environment has package-compatibility issues.
==> ERROR: A failure occurred in build().
    Aborting...

Looks like the python-pip stuff still needs to get ironed out

UPDATE2: As of 95.0.2-2, I'm able to start compiling after uninstalling the python-pip package from my build VM

Neko-san commented on 2021-12-16 21:33 (UTC) (edited on 2021-12-16 21:35 (UTC) by Neko-san)

Seems the python-pip dependency must've been some fluke; Idk quite what caused it but the new PKGBUILD doesn't need it, so... :/

And the old PKGBUILDs used to actually need !lto but I left it enabled as a test last night and that wasn't necessary - though, I'd still leave it disabled in case it does ever become an issue again, since it was an issue for a long time before?

Either way, leaving it disabled to shouldn't be detrimental to the script because the script does the heavy lifting with that

dr460nf1r3 commented on 2021-12-16 08:53 (UTC)

Sounds good, I added both :)

Neko-san commented on 2021-12-16 08:25 (UTC) (edited on 2021-12-16 08:35 (UTC) by Neko-san)

Also... options+=(!lto) should be added to make sure that any global makepkg.conf override a random, unaware, user so that doesn't interfere with the build-script's handling of LTO/PGO

Unless the new PKGBUILD handles that?

prg commented on 2021-12-15 17:18 (UTC)

I can confirm that I'm able to build as of firedragon 95.0-2. Huzzah! \o/

Neko-san commented on 2021-12-15 09:40 (UTC) (edited on 2021-12-16 08:25 (UTC) by Neko-san)

@dr460nf1r3 Unfortunately, this was the case

In a chroot, it would fail if I didn't have it as a makedepend, with an error message about pip, but it actually built if I added it to both the PKGBUILD and the .SRCINFO

I originally found this out though when trying to build it locally with makepkg and it decided to look for all the python-packages on my system (from the repos and AUR) and wanted to "update" them, then it spewed out a wall of text about contacting URLs for that and whatnot - though, I will try again

dr460nf1r3 commented on 2021-12-15 08:07 (UTC) (edited on 2021-12-15 08:09 (UTC) by dr460nf1r3)

Hey guys, the build has finally been fixed! There were several showstoppers this time but I'm glad they are resolved now :) Also @Neko-san thanks for the ongoing suggestens, they are pretty helpful! A question concerning python-pip though, is this really required? If there are pip install attempts, it would be quite suboptimal actually <.<

Neko-san commented on 2021-12-12 10:02 (UTC) (edited on 2021-12-12 10:38 (UTC) by Neko-san)

python-pip is required as a makedepend for this package with this build; I verified it with a chroot (building it outside of the chroot almost flooded my system with wonderful pip install attempts... o_o)

But, as @prg said, there's an error:

6:27.34 In file included from Unified_cpp_dom_media_platforms0.cpp:65:
 6:27.34 /build/firedragon/src/firefox-95.0/dom/media/platforms/agnostic/DAV1DDecoder.cpp:40:12: error: no member named 'n_threads' in 'Dav1dSettings'
 6:27.34   settings.n_threads =
 6:27.34   ~~~~~~~~ ^
 6:27.34 1 error generated.
6:27.34 make[4]: *** [/build/firedragon/src/firefox-95.0/config/rules.mk:662: Unified_cpp_dom_media_platforms0.o] Error 1
 6:27.34 make[4]: *** Waiting for unfinished jobs....
 6:27.35 dom/media/webaudio/blink
 6:29.16 dom/media/webaudio
 6:32.37 make[3]: *** [/build/firedragon/src/firefox-95.0/config/recurse.mk:72: dom/media/platforms/target-objects] Error 2
 6:32.37 make[3]: *** Waiting for unfinished jobs....

prg commented on 2021-12-10 15:47 (UTC)

Looks like firedragon 95.0-1 is currently failing to build:

8:30.12    Compiling neqo_glue v0.1.0 (/home/user/.cache/yay/firedragon/src/firefox-95.0/netwerk/socket/neqo_glue)
 9:16.10 warning: In file included from src/gl.cc:2664:
 9:16.10 warning: In file included from /home/user/.cache/yay/firedragon/src/firefox-95.0/obj/x86_64-unknown-linux-gnu/release/build/swgl-b4692cee3be69717/out/load_shader.h:58:
 9:16.10 warning: /home/user/.cache/yay/firedragon/src/firefox-95.0/obj/x86_64-unknown-linux-g
nu/release/build/swgl-b4692cee3be69717/out/cs_clip_rectangle_FAST_PATH.h:697:7: warning: variable 'start_corner' set but not used [-Wunused-but-set-variable]
 9:16.10 warning:  bool start_corner = false;
 9:16.10 warning:       ^
 9:16.10 warning: /home/user/.cache/yay/firedragon/src/firefox-95.0/obj/x86_64-unknown-linux-gnu/release/build/swgl-b4692cee3be69717/out/cs_clip_rectangle_FAST_PATH.h:698:7: warning: variable 'end_corner' set but not used [-Wunused-but-set-variable]
 9:16.10 warning:  bool end_corner = false;
 9:16.10 warning:       ^
 9:16.10 warning: 2 warnings generated.
 9:24.39    Compiling geckoservo v0.0.1 (/home/user/.cache/yay/firedragon/src/firefox-95.0/servo/ports/geckolib)
 9:25.20    Compiling webrender_bindings v0.1.0 (/home/user/.cache/yay/firedragon/src/firefox-95.0/gfx/webrender_bindings)
 9:25.80    Compiling gkrust-shared v0.1.0 (/home/user/.cache/yay/firedragon/src/firefox-95.0/toolkit/library/rust/shared)
12:06.71    Compiling gkrust v0.1.0 (/home/user/.cache/yay/firedragon/src/firefox-95.0/toolkit/library/rust)
12:07.29     Finished release [optimized] target(s) in 11m 28s
12:07.45 make[2]: *** [/home/user/.cache/yay/firedragon/src/firefox-95.0/config/recurse.mk:34: compile] Error 2
12:07.45 make[1]: *** [/home/user/.cache/yay/firedragon/src/firefox-95.0/config/rules.mk:352: default] Error 2
12:07.45 make: *** [client.mk:63: build] Error 2
12:07.45 0 compiler warnings present.
12:07.48 Failed to parse ccache stats output: Summary:
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: firedragon

electricprism commented on 2021-12-02 06:13 (UTC)

WARNING: At least one completion condition is taking too long to complete. Conditions: [{"name":"MediaTrackGraph 7f5f46123000 shutdown","state":"(none)","filename":"/home/main/.cache/paru/clone/firedragon/src/firefox-94.0.2/dom/media/MediaTrackGraph.cpp","lineNumber":1809,"stack":"MediaTrackGraph shutdown"}] Barrier: xpcom-will-shutdown
JavaScript error: resource:///modules/sessionstore/SessionStore.jsm, line 5098: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIWindowMediator.getEnumerator]

Neko-san commented on 2021-11-30 02:02 (UTC) (edited on 2021-11-30 02:04 (UTC) by Neko-san)

Seems to be an unexpected LTO error going on:

13:41.29 toolkit/library/build/libxul.so
16:51.66 ld.lld: warning: Linking two modules of different target triples: '/build/firedragon/src/firefox-94.0.2/obj/x86_64-unknown-linux-gnu/release/libgkrust.a(gl.o at 367984618)' is 'x86_64-unknown-linux-gnu' whereas 'ld-temp.o' is 'x86_64-pc-linux-gnu'
16:53.51 ld.lld: warning: Linking two modules of different target triples: '/build/firedragon/src/firefox-94.0.2/obj/x86_64-unknown-linux-gnu/release/libgkrust.a(wrappers.o at 475807754)' is 'x86_64-unknown-linux-gnu' whereas 'ld-temp.o' is 'x86_64-pc-linux-gnu'
16:53.56 ld.lld: warning: Linking two modules of different target triples: '/build/firedragon/src/firefox-94.0.2/obj/x86_64-unknown-linux-gnu/release/libgkrust.a(mdb.o at 554103838)' is 'x86_64-unknown-linux-gnu' whereas 'ld-temp.o' is 'x86_64-pc-linux-gnu'
16:53.63 ld.lld: warning: Linking two modules of different target triples: '/build/firedragon/src/firefox-94.0.2/obj/x86_64-unknown-linux-gnu/release/libgkrust.a(midl.o at 554605362)' is 'x86_64-unknown-linux-gnu' whereas 'ld-temp.o' is 'x86_64-pc-linux-gnu'
17:18.71 fragment is larger than or outside of variable
17:26.56   call void @llvm.dbg.value(metadata i32 0, metadata !39456699, metadata !DIExpression(DW_OP_LLVM_fragment, 0, 32)), !dbg !39456700
17:26.59 !39456699 = !DILocalVariable(name: "s", scope: !39456694, file: !6030965, line: 1414, type: !3320370)
17:26.59 fragment is larger than or outside of variable
17:26.72   call void @llvm.dbg.value(metadata %class.nsISupports* ()* null, metadata !39456699, metadata !DIExpression(DW_OP_LLVM_fragment, 64, 64)), !dbg !39456700
17:26.72 !39456699 = !DILocalVariable(name: "s", scope: !39456694, file: !6030965, line: 1414, type: !3320370)
17:26.72 fragment is larger than or outside of variable
17:26.85   call void @llvm.dbg.value(metadata i32 %0, metadata !39456699, metadata !DIExpression(DW_OP_LLVM_fragment, 0, 32)), !dbg !39456700
17:26.85 !39456699 = !DILocalVariable(name: "s", scope: !39456694, file: !6030965, line: 1414, type: !3320370)
17:28.74 LLVM ERROR: Broken module found, compilation aborted!
17:28.77 PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
17:28.77 Stack dump:
17:28.77 0.     Program arguments: /usr/bin/ld.lld --eh-frame-hdr -m elf_x86_64 -shared -o libxul.so /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/crti.o /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/crtbeginS.o -L/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0 -L/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/bin/../lib -L/lib -L/usr/lib -plugin-opt=mcpu=znver2 -plugin-opt=O3 -plugin-opt=-function-sections -plugin-opt=-data-sections -z defs -h libxul.so /build/firedragon/src/firefox-94.0.2/obj/toolkit/library/build/libxul_so.list -lpthread -O3 --sort-common --as-needed -z relro -z now -z noexecstack -z text -z relro -z nocopyreloc -Bsymbolic-functions --build-id=sha1 -rpath-link /build/firedragon/src/firefox-94.0.2/obj/dist/bin -rpath-link /usr/lib ../../../js/src/build/libjs_static.a /build/firedragon/src/firefox-94.0.2/obj/x86_64-unknown-linux-gnu/release/libgkrust.a ../../../security/sandbox/linux/libmozsandbox.so ../../../config/external/lgpllibs/liblgpllibs.so ../../../config/external/sqlite/libmozsqlite3.so ../../../widget/gtk/mozgtk/libmozgtk.so ../../../widget/gtk/mozwayland/libmozwayland.so --version-script symverscript -ldl -licui18n -licuuc -licudata -laom -ldav1d -lrt -lm -lX11 -lX11-xcb -lxcb -lXcomposite -lXcursor -lXdamage -lXext -lXfixes -lXi -lXrender -lpthread -ldl -lc -lffi -lplds4 -lplc4 -lnspr4 -lz -lssl3 -lsmime3 -lnss3 -lnssutil3 -lfreetype -lfontconfig -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgraphite2 -lwebpdemux -lwebp -levent -lvpx -lpixman-1 -ldbus-glib-1 -ldbus-1 -lxcb-shm -lXrandr -u__llvm_profile_runtime /usr/lib/clang/13.0.0/lib/linux/libclang_rt.profile-x86_64.a -lstdc++ -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/crtendS.o /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/crtn.o
17:30.11  #0 0x00007f460a01fc93 (/usr/bin/../lib/libLLVM-13.so+0xba2c93)
17:30.11  #1 0x00007f460a01d4a6 (/usr/bin/../lib/libLLVM-13.so+0xba04a6)
17:30.11  #2 0x00007f460946f870 __restore_rt sigaction.c:0:0
17:30.11  #3 0x00007f46090b6d22 raise (/usr/bin/../lib/libc.so.6+0x3cd22)
17:30.11  #4 0x00007f46090a0862 abort (/usr/bin/../lib/libc.so.6+0x26862)
17:30.11  #5 0x00007f4609f390d4 llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/bin/../lib/libLLVM-13.so+0xabc0d4)
17:30.11  #6 0x00007f4609f39268 (/usr/bin/../lib/libLLVM-13.so+0xabc268)
17:30.11  #7 0x00007f460a1ff68c (/usr/bin/../lib/libLLVM-13.so+0xd8268c)
17:30.11  #8 0x00007f460b999b52 (/usr/bin/../lib/libLLVM-13.so+0x251cb52)
17:30.11  #9 0x00007f460b99ca96 llvm::lto::opt(llvm::lto::Config const&, llvm::TargetMachine*, unsigned int, llvm::Module&, bool, llvm::ModuleSummaryIndex*, llvm::ModuleSummaryIndex const*, std::vector<unsigned char, std::allocator<unsigned char> > const&) (/usr/bin/../lib/libLLVM-13.so+0x251fa96)
17:30.11 #10 0x00007f460b99dc92 llvm::lto::backend(llvm::lto::Config const&, std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>, unsigned int, llvm::Module&, llvm::ModuleSummaryIndex&) (/usr/bin/../lib/libLLVM-13.so+0x2520c92)
17:30.11 #11 0x00007f460b9925a2 llvm::lto::LTO::runRegularLTO(std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>) (/usr/bin/../lib/libLLVM-13.so+0x25155a2)
17:30.11 #12 0x00007f460b992ace llvm::lto::LTO::run(std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>, std::function<std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)> (unsigned int, llvm::StringRef)>) (/usr/bin/../lib/libLLVM-13.so+0x2515ace)
17:30.11 #13 0x000056014deb134b lld::elf::BitcodeCompiler::compile() (/usr/bin/ld.lld+0x28e34b)
17:30.11 #14 0x000056014de10447 void lld::elf::LinkerDriver::compileBitcodeFiles<llvm::object::ELFType<(llvm::support::endianness)1, true> >() (/usr/bin/ld.lld+0x1ed447)
17:30.11 #15 0x000056014de25180 void lld::elf::LinkerDriver::link<llvm::object::ELFType<(llvm::support::endianness)1, true> >(llvm::opt::InputArgList&) (/usr/bin/ld.lld+0x202180)
17:30.11 #16 0x000056014de2c0e2 lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) (/usr/bin/ld.lld+0x2090e2)
17:30.11 #17 0x000056014de2c478 lld::elf::link(llvm::ArrayRef<char const*>, bool, llvm::raw_ostream&, llvm::raw_ostream&) (/usr/bin/ld.lld+0x209478)
17:30.11 #18 0x000056014dd1c186 (/usr/bin/ld.lld+0xf9186)
17:30.11 #19 0x000056014dd17e66 main (/usr/bin/ld.lld+0xf4e66)
17:30.11 #20 0x00007f46090a1b25 __libc_start_main (/usr/bin/../lib/libc.so.6+0x27b25)
17:30.11 #21 0x000056014dd1af7e _start (/usr/bin/ld.lld+0xf7f7e)
17:31.38 clang-13: error: unable to execute command: Aborted (core dumped)
17:31.40 clang-13: error: linker command failed due to signal (use -v to see invocation)
17:31.55 make[4]: *** [/build/firedragon/src/firefox-94.0.2/config/rules.mk:545: libxul.so] Error 254
17:31.70 make[3]: *** [/build/firedragon/src/firefox-94.0.2/config/recurse.mk:72: toolkit/library/build/target] Error 2
17:31.70 make[2]: *** [/build/firedragon/src/firefox-94.0.2/config/recurse.mk:34: compile] Error 2
17:31.72 make[1]: *** [/build/firedragon/src/firefox-94.0.2/config/rules.mk:358: default] Error 2
17:31.86 make: *** [client.mk:54: build] Error 2
17:31.88 136 compiler warnings present.
17:34.03 Failed to parse ccache stats output: Summary:
 Config object not found by mach.
Configure complete!
Be sure to run |mach build| to pick up any changes
==> ERROR: A failure occurred in build().
    Aborting...

Prior to the new PKGBUILD and others' recent comments, I had it building fine; here's mine with a few minor edits (that shouldn't affect this issue):

# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
# Contributor: torvic9 AT mailbox DOT org
# Contributor: lsf

pkgname=firedragon
_pkgname=FireDragon
pkgver=94.0.2
pkgrel=3
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
arch=(x86_64 x86_64_v3 aarch64)
backup=('usr/lib/firedragon/firedragon.cfg'
        'usr/lib/firedragon/distribution/policies.json')
license=(MPL GPL LGPL)
url="https://gitlab.com/dr460nf1r3/settings/"
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss nspr ttf-font libpulse
        libwebp libvpx libjpeg zlib icu libevent pipewire aom harfbuzz
        graphite dav1d kfiredragonhelper)
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
             rust ccache autoconf2.13 clang llvm jack nodejs cbindgen nasm
             python-setuptools python-psutil python-zstandard git binutils lld dump_syms)
optdepends=('firejail-git: Sandboxing the browser using the included profiles'
            'profile-sync-daemon: Load the browser profile into RAM'
            'whoogle: Searching the web using a locally running Whoogle instance'
            'searx: Searching the web using a locally running searX instance'
            'networkmanager: Location detection via available WiFi networks'
            'libnotify: Notification integration'
            'pulseaudio: Audio support'
            'speech-dispatcher: Text-to-Speech'
            'hunspell-en_US: Spell checking, American English'
            'libappindicator-gtk3: Global menu support for GTK apps'
            'appmenu-gtk-module-git: Appmenu for GTK only'
            'plasma5-applets-window-appmenu: Appmenu for Plasma only')
options=(!emptydirs !makeflags !strip !lto)
conflicts=('firedragon-hg')
install=$pkgname.install
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz
        $pkgname.desktop
        "git+https://gitlab.com/dr460nf1r3/common.git"
        "git+https://gitlab.com/dr460nf1r3/settings.git")

sha256sums=('899ba1c806549034793d7e8ca53f4c845d783c810338f314f3d653d39649e575'
            '158152bdb9ef6a83bad62ae03a3d9bc8ae693b34926e53cc8c4de07df20ab22d'
            'SKIP'
            'SKIP')

prepare() {
  if [[ ! -d mozbuild ]];then
      mkdir mozbuild
  fi
  cd firefox-$pkgver

  local _patches_dir="${srcdir}/common/patches"

  sed -i 's/\"BrowserApplication\"\, \"firefox\"/\"BrowserApplication\"\, \"firedragon\"/g' ${_patches_dir}/kde/firefox-kde.patch
  sed -i 's/kmozillahelper/kfiredragonhelper/g' ${_patches_dir}/kde/mozilla-kde.patch

  # Arch patches
  echo "---- Arch patches"
  patch -Np1 -i ${_patches_dir}/arch/0001-Use-remoting-name-for-GDK-application-names.patch

  # KDE patches (W. Rosenauer)
  echo "---- Patching for KDE"
  patch -Np1 -i ${_patches_dir}/kde/mozilla-nongnome-proxies.patch
  patch -Np1 -i ${_patches_dir}/kde/mozilla-kde.patch
  #patch -Np1 -i ${_patches_dir}/kde/firefox-kde.patch Currently broken with PGO

  # Ubuntu patches
  echo "---- Misc patches"
  patch -Np1 -i ${_patches_dir}/misc/fix-hidden-buttons-with-csd-menubar.patch

  # Rust
  patch -Np1 -i ${_patches_dir}/misc/reduce-rust-debuginfo.patch

  # Gentoo patches
  echo "---- Gentoo patches"
  patch -Np1 -i ${_patches_dir}/gentoo/0021-bmo-1516081-Disable-watchdog-during-PGO-builds.patch
  patch -Np1 -i ${_patches_dir}/gentoo/0029-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch

  # Use more system libs
  echo "---- Patching for system libs"
  patch -Np1 -i ${_patches_dir}/gentoo/0004-bmo-847568-Support-system-harfbuzz.patch
  patch -Np1 -i ${_patches_dir}/gentoo/0005-bmo-847568-Support-system-graphite2.patch
  patch -Np1 -i ${_patches_dir}/gentoo/0006-bmo-1559213-Support-system-av1.patch

  # Remove some pre-installed addons that might be questionable
  echo "---- Librewolf patches"
  patch -Np1 -i ${_patches_dir}/librewolf/remove_addons.patch

  # Disable (some) megabar functionality
  # Adapted from https://github.com/WesleyBranton/userChrome.css-Customizations
  patch -Np1 -i ${_patches_dir}/librewolf/megabar.patch

  # Debian patch to enable global menubar
  patch -Np1 -i ${_patches_dir}/librewolf/unity-menubar.patch

  # Custom link in about dialogue
  patch -Np1 -i ${_patches_dir}/librewolf/about-dialog.patch

  # Disabling Pocket
  patch -Np1 -i ${_patches_dir}/sed-patches/disable-pocket.patch

  # Remove Mozilla VPN ads
  patch -Np1 -i ${_patches_dir}/librewolf/mozilla-vpn-ad.patch

  # Allow overriding the color scheme light/dark preference with RFP
  patch -Np1 -i ${_patches_dir}/librewolf/allow_dark_preference_with_rfp.patch  

  # Remove Internal Plugin Certificates
  # => breaks profiled builds since 90.0, it seems
  # patch -Np1 -i ${_patches_dir}/sed-patches/remove-internal-plugin-certs.patch

  # Allow SearchEngines option in non-ESR builds
  patch -Np1 -i ${_patches_dir}/sed-patches/allow-searchengines-non-esr.patch

  # Stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10)
  patch -Np1 -i ${_patches_dir}/sed-patches/stop-undesired-requests.patch

  echo "---- Librewolf patches - UI"
  # Show a warning saying that changing language is not allowed through the UI,
  # and that it requires to visit our FAQ, instead of telling the user to check his connection.
  patch -Np1 -i ${_patches_dir}/librewolf-ui/add-language-warning.patch

  # Remove references to Firefox from the settings UI, change text in some of the links,
  # explain that we force en-US and suggest enabling history near the session restore checkbox.
  patch -Np1 -i ${_patches_dir}/librewolf-ui/pref-naming.patch

  # Remove Firefox references in the urlbar, when suggesting opened tabs.
  patch -Np1 -i ${_patches_dir}/librewolf-ui/remove-branding-urlbar.patch

  # Remove cfr UI elements, as they are disabled and locked already.
  patch -Np1 -i ${_patches_dir}/librewolf-ui/remove-cfrprefs.patch

  # Do not display your browser is being managed by your organization in the settings.
  patch -Np1 -i ${_patches_dir}/librewolf-ui/remove-organization-policy-banner.patch

  # Hide "snippets" section from the home page settings, as it was already locked.
  patch -Np1 -i ${_patches_dir}/librewolf-ui/remove-snippets-from-home.patch

  # Add warning that sanitizing exceptions are bypassed by the options in History > Clear History when LibreWolf closes > Settings
  patch -Np1 -i ${_patches_dir}/librewolf-ui/sanitizing-description.patch

  echo "---- Fixing build with Wayland"
  # Needed patch to have build working
  patch -Np1 -i ${_patches_dir}/misc/fix-wayland.patch

  cat >../mozconfig <<END
ac_add_options --enable-application=browser
mk_add_options MOZ_OBJDIR=${PWD@Q}/obj

ac_add_options --prefix=/usr
ac_add_options --enable-linker=lld
ac_add_options --enable-release
ac_add_options --enable-hardening
ac_add_options --enable-rust-simd
ac_add_options --with-ccache
export AR=llvm-ar
export CC='clang'
export CXX='clang++'
export MOZ_APP_REMOTINGNAME=$_pkgname
export MOZ_REQUIRE_SIGNING=
export NM=llvm-nm
export OBJCOPY='/usr/bin/llvm-objcopy'
export RANLIB=llvm-ranlib
export STRIP=llvm-strip

# Branding
ac_add_options --enable-update-channel=release
ac_add_options --with-app-name=${pkgname}
ac_add_options --with-app-basename='${_pkgname}'
ac_add_options --with-branding=browser/branding/firedragon
ac_add_options --with-distribution-id=org.garudalinux
ac_add_options --with-unsigned-addon-scopes=app,system
ac_add_options --allow-addon-sideload

# System libraries
ac_add_options --disable-libproxy
ac_add_options --enable-system-pixman
ac_add_options --with-system-av1
ac_add_options --with-system-ffi
ac_add_options --with-system-graphite2
ac_add_options --with-system-harfbuzz
ac_add_options --with-system-icu
ac_add_options --with-system-jpeg
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-webp
ac_add_options --with-system-zlib

# Features
ac_add_options --disable-crashreporter
#ac_add_options --disable-debug
#ac_add_options --disable-debug-js-modules
#ac_add_options --disable-debug-symbols
ac_add_options --disable-gpsd
#ac_add_options --disable-ipdl-tests
#ac_add_options --disable-necko-wifi
#ac_add_options --disable-rust-tests
#ac_add_options --disable-synth-speechd
ac_add_options --disable-tests
#ac_add_options --disable-trace-logging
ac_add_options --disable-updater
#ac_add_options --disable-warnings-as-errors
#ac_add_options --disable-webspeech
#ac_add_options --disable-webspeechtestbackend
ac_add_options --enable-alsa
ac_add_options --enable-jack
ac_add_options --enable-pulseaudio
ac_add_options --enable-strip

# Disables crash reporting, telemetry and other data gathering tools
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=0

# options for ci / weaker build systems
mk_add_options MOZ_MAKE_FLAGS="-j$(nproc)"
# ac_add_options --enable-linker=gold
END

if [[ $CARCH == 'aarch64' ]]; then
  cat >>../mozconfig <<END
# taken from manjaro build:
ac_add_options --enable-optimize="-g0 -O3"
# from ALARM
# ac_add_options --disable-webrtc

END

  export MOZ_DEBUG_FLAGS=" "
  export CFLAGS+=" -g0"
  export CXXFLAGS+=" -g0"
  export RUSTFLAGS+="-C debuginfo=0 -C opt-level=3 -C target-cpu=native"

  # we should have more than enough RAM on the CI spot instances.
  # ...or maybe not?
  export LDFLAGS+=" -Wl,--no-keep-memory"
  patch -Np1 -i ${_patches_dir}/librewolf/arm.patch
  patch -Np1 -i ${_patches_dir}/arch/build-arm-libopus.patch

else

  cat >>../mozconfig <<END
# probably not needed, enabled by default?
ac_add_options --enable-optimize
END
fi

  rm -f ${srcdir}/common/source_files/mozconfig
  cp -r ${srcdir}/common/source_files/* ./
}


build() {
  cd firefox-$pkgver

  export MOZ_NOSPAM=1
  export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
  export MOZ_ENABLE_FULL_SYMBOLS=1
  export MACH_USE_SYSTEM_PYTHON=1

  # LTO needs more open files
  ulimit -n 4096

  # -fno-plt with cross-LTO causes obscure LLVM errors
  # LLVM ERROR: Function Import: link error
  CFLAGS="${CFLAGS/-fno-plt/}"
  CXXFLAGS="${CXXFLAGS/-fno-plt/}"

  # Do 3-tier PGO
  echo "Building instrumented browser..."

if [[ $CARCH == 'aarch64' ]]; then

  cat >.mozconfig ../mozconfig - <<END
ac_add_options --enable-profile-generate
END

else

  cat >.mozconfig ../mozconfig - <<END
ac_add_options --enable-profile-generate=cross
END

fi

  ./mach build

  echo "Profiling instrumented browser..."
  ./mach package
  LLVM_PROFDATA=llvm-profdata \
    JARLOG_FILE="$PWD/jarlog" \
    xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" \
    ./mach python build/pgo/profileserver.py

  stat -c "Profile data found (%s bytes)" merged.profdata
  test -s merged.profdata

  stat -c "Jar log found (%s bytes)" jarlog
  test -s jarlog

  echo "Removing instrumented browser..."
  ./mach clobber

  echo "Building optimized browser..."

if [[ $CARCH == 'aarch64' ]]; then

  cat >.mozconfig ../mozconfig - <<END
ac_add_options --enable-lto
ac_add_options --enable-profile-use
ac_add_options --with-pgo-profile-path=${PWD@Q}/merged.profdata
ac_add_options --with-pgo-jarlog=${PWD@Q}/jarlog
ac_add_options --enable-linker=lld
END

else

  cat >.mozconfig ../mozconfig - <<END
ac_add_options --enable-lto=cross
ac_add_options --enable-profile-use=cross
ac_add_options --with-pgo-profile-path=${PWD@Q}/merged.profdata
ac_add_options --with-pgo-jarlog=${PWD@Q}/jarlog
ac_add_options --enable-linker=lld
ac_add_options --disable-elf-hack
ac_add_options --disable-bootstrap
END

fi

  ./mach build

  echo "Building symbol archive..."
  ./mach buildsymbols
}

package() {
  cd firefox-$pkgver
  DESTDIR="$pkgdir" ./mach install

  install -Dvm644 "$srcdir/settings/$pkgname.psd" "$pkgdir/usr/share/psd/browsers/$pkgname"

  local vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"

  install -Dvm644 /dev/stdin "$vendorjs" <<END
// Use system-provided dictionaries
pref("spellchecker.dictionary_path", "/usr/share/hunspell");

// Don't disable extensions in the application directory
// done in librewolf.cfg
// pref("extensions.autoDisableScopes", 11);
END

  # cd ${srcdir}/settings
  # git checkout ${_settings_commit}
  cd ${srcdir}/firefox-$pkgver
  cp -r ${srcdir}/settings/* ${pkgdir}/usr/lib/${pkgname}/

  local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"
  install -Dvm644 /dev/stdin "$distini" <<END
[Global]
id=garudalinux
version=${pkgver}
about=${_pkgname} for Arch Linux

[Preferences]
app.distributor=garudalinux
app.distributor.channel=${pkgname}
app.partner.garudalinux=garudalinux
END

  for i in 16 32 48 64 128; do
    install -Dvm644 browser/branding/${pkgname}/default$i.png \
      "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png"
  done
  install -Dvm644 browser/branding/${pkgname}/content/about-logo.png \
    "$pkgdir/usr/share/icons/hicolor/192x192/apps/$pkgname.png"

  # Arch upstream provides a separate svg for this. we don't have that, so let's re-use 16.png
  install -Dvm644 browser/branding/${pkgname}/default16.png \
    "$pkgdir/usr/share/icons/hicolor/symbolic/apps/$pkgname-symbolic.png"

  install -Dvm644 ../$pkgname.desktop \
    "$pkgdir/usr/share/applications/$pkgname.desktop"

  # Install a wrapper to avoid confusion about binary path
  install -Dvm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
#!/bin/sh
exec /usr/lib/$pkgname/$pkgname "\$@"
END

  # Replace duplicate binary with wrapper
  # https://bugzilla.mozilla.org/show_bug.cgi?id=658850
  ln -srfv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/$pkgname-bin"
  # Use system certificates
  local nssckbi="$pkgdir/usr/lib/$pkgname/libnssckbi.so"
  if [[ -e $nssckbi ]]; then
    ln -srfv "$pkgdir/usr/lib/libnssckbi.so" "$nssckbi"
  fi

  # Delete unneeded things from settings repo
  rm "$pkgdir/usr/lib/firedragon/LICENSE.txt"
  rm "$pkgdir/usr/lib/firedragon/about.png"
  rm "$pkgdir/usr/lib/firedragon/firedragon.psd"
  rm "$pkgdir/usr/lib/firedragon/home.png"
  rm "$pkgdir/usr/lib/firedragon/tabliss.json"
}

prg commented on 2021-11-28 17:50 (UTC) (edited on 2021-11-28 22:25 (UTC) by prg)

Anyone able to get this to build recently?

edit: I was able to get 92.0.2-3 to build on a clean build VM. Not sure why it was failing for me in my previous post

prg commented on 2021-11-25 06:35 (UTC)

My builds seem to be freezing at this point. It doesn't actually fail, but stalls here forever

 0:26.34 make: Leaving directory '/home/user/firedragon/src/firefox-94.0.2/obj'
created virtual environment CPython3.9.7.final.0-64 in 81ms
  creator CPython3Posix(dest=/home/user/firedragon/src/firefox-94.0.2/obj/_virtualenvs/common, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/user/.local/share/virtualenv)
    added seed packages: pip==21.2.3, setuptools==51.2.0, wheel==0.37.0
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmp9d4dgsgo/search.json.mozlz4", (void 0)))

###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

jarlog: /home/user/firedragon/src/firefox-94.0.2/jarlog
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
1637821649868   addons.xpi      ERROR   System addon update list error Error: got node name: parsererror, expected: updates

Neko-san commented on 2021-11-05 21:49 (UTC)

@dr460f1r3 can you merge the PKGBUILD I mentioned?

Neko-san commented on 2021-10-30 22:36 (UTC) (edited on 2021-10-31 05:30 (UTC) by Neko-san)

I managed to find the issue; some edits to the PKGBUILD fixed it, but it does still end up resulting in what @prg mentioned with the rust errors:

# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
# Contributor: torvic9 AT mailbox DOT org
# Contributor: lsf

pkgname=firedragon
_pkgname=FireDragon
pkgver=93.0
pkgrel=3
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
arch=(x86_64 x86_64_v3 aarch64)
backup=('usr/lib/firedragon/firedragon.cfg'
        'usr/lib/firedragon/distribution/policies.json')
license=(MPL GPL LGPL)
url="https://gitlab.com/dr460nf1r3/settings/"
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss nspr ttf-font libpulse
        libwebp libvpx libjpeg zlib icu libevent pipewire aom harfbuzz
        graphite dav1d kfiredragonhelper)
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
             rust ccache autoconf2.13 clang llvm jack nodejs cbindgen nasm
             python-setuptools python-psutil python-zstandard git binutils lld dump_syms)
optdepends=('firejail-git: Sandboxing the browser using the included profiles'
            'profile-sync-daemon: Load the browser profile into RAM'
            'whoogle: Searching the web using a locally running Whoogle instance'
            'searx: Searching the web using a locally running searX instance'
            'networkmanager: Location detection via available WiFi networks'
            'libnotify: Notification integration'
            'pulseaudio: Audio support'
            'speech-dispatcher: Text-to-Speech'
            'hunspell-en_US: Spell checking, American English'
            'libappindicator-gtk3: Global menu support for GTK apps'
            'appmenu-gtk-module-git: Appmenu for GTK only'
            'plasma5-applets-window-appmenu: Appmenu for Plasma only')
options=(!emptydirs !makeflags !strip !lto)
conflicts=('firedragon-hg')
install=$pkgname.install
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz
        $pkgname.desktop
        "git+https://gitlab.com/dr460nf1r3/common.git"
        "git+https://gitlab.com/dr460nf1r3/settings.git")

sha256sums=('a78f080f5849bc284b84299f3540934a12e961a7ea368b592ae6576ea1f97102'
            '158152bdb9ef6a83bad62ae03a3d9bc8ae693b34926e53cc8c4de07df20ab22d'
            'SKIP'
            'SKIP')

prepare() {
  if [[ ! -d mozbuild ]];then
      mkdir mozbuild
  fi
  cd firefox-$pkgver

  local _patches_dir="${srcdir}/common/patches"

  sed -i 's/\"BrowserApplication\"\, \"firefox\"/\"BrowserApplication\"\, \"firedragon\"/g' ${_patches_dir}/kde/firefox-kde.patch
  sed -i 's/kmozillahelper/kfiredragonhelper/g' ${_patches_dir}/kde/mozilla-kde.patch

  # Arch patches
  echo "---- Arch patches"
  patch -Np1 -i ${_patches_dir}/arch/0001-Use-remoting-name-for-GDK-application-names.patch

  # KDE patches (W. Rosenauer)
  echo "---- Patching for KDE"
  patch -Np1 -i ${_patches_dir}/kde/mozilla-nongnome-proxies.patch
  patch -Np1 -i ${_patches_dir}/kde/mozilla-kde.patch
  #patch -Np1 -i ${_patches_dir}/kde/firefox-kde.patch Currently broken with PGO

  # Ubuntu patches
  echo "---- Misc patches"
  patch -Np1 -i ${_patches_dir}/misc/fix-hidden-buttons-with-csd-menubar.patch

  # Rust
  patch -Np1 -i ${_patches_dir}/misc/reduce-rust-debuginfo.patch

  # Gentoo patches
  echo "---- Gentoo patches"
  patch -Np1 -i ${_patches_dir}/gentoo/0021-bmo-1516081-Disable-watchdog-during-PGO-builds.patch
  patch -Np1 -i ${_patches_dir}/gentoo/0029-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch

  # Use more system libs
  echo "---- Patching for system libs"
  patch -Np1 -i ${_patches_dir}/gentoo/0004-bmo-847568-Support-system-harfbuzz.patch
  patch -Np1 -i ${_patches_dir}/gentoo/0005-bmo-847568-Support-system-graphite2.patch
  patch -Np1 -i ${_patches_dir}/gentoo/0006-bmo-1559213-Support-system-av1.patch

  # Remove some pre-installed addons that might be questionable
  echo "---- Librewolf patches"
  patch -Np1 -i ${_patches_dir}/librewolf/remove_addons.patch

  # Disable (some) megabar functionality
  # Adapted from https://github.com/WesleyBranton/userChrome.css-Customizations
  patch -Np1 -i ${_patches_dir}/librewolf/megabar.patch

  # Debian patch to enable global menubar
  patch -Np1 -i ${_patches_dir}/librewolf/unity-menubar.patch

  # Disabling Pocket
  patch -Np1 -i ${_patches_dir}/sed-patches/disable-pocket.patch

  # Remove Mozilla VPN ads
  patch -Np1 -i ${_patches_dir}/librewolf/mozilla-vpn-ad.patch

  # Allow overriding the color scheme light/dark preference with RFP
  patch -Np1 -i ${_patches_dir}/librewolf/allow_dark_preference_with_rfp.patch

  # Remove Internal Plugin Certificates
  # => breaks profiled builds since 90.0, it seems
  # patch -Np1 -i ${_patches_dir}/sed-patches/remove-internal-plugin-certs.patch

  # Allow SearchEngines option in non-ESR builds
  patch -Np1 -i ${_patches_dir}/sed-patches/allow-searchengines-non-esr.patch

  # Stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10)
  patch -Np1 -i ${_patches_dir}/sed-patches/stop-undesired-requests.patch

  # Needed patch to have build working
  patch -Np1 -i ${_patches_dir}/misc/fix-wayland.patch

  cat >../mozconfig <<END
ac_add_options --enable-application=browser
mk_add_options MOZ_OBJDIR=${PWD@Q}/obj

ac_add_options --prefix=/usr
ac_add_options --enable-release
ac_add_options --enable-hardening
ac_add_options --enable-rust-simd
ac_add_options --with-ccache
export CC=clang
export CXX=clang++
export RANLIB=llvm-ranlib
export STRIP=llvm-strip
export AR=llvm-ar
export NM=llvm-nm
export LD=lld
export OBJCOPY='/usr/bin/llvm-objcopy'
ac_add_options --enable-linker=lld

# Branding
ac_add_options --enable-update-channel=release
ac_add_options --with-app-name=${pkgname}
ac_add_options --with-app-basename='${_pkgname}'
ac_add_options --with-branding=browser/branding/firedragon
ac_add_options --with-distribution-id=org.garudalinux
ac_add_options --with-unsigned-addon-scopes=app,system
ac_add_options --allow-addon-sideload

#export STRIP_FLAGS="--strip-debug --strip-unneeded"

# System libraries
#ac_add_options --disable-libproxy
ac_add_options --enable-system-pixman
ac_add_options --with-system-av1
ac_add_options --with-system-ffi
ac_add_options --with-system-graphite2
ac_add_options --with-system-harfbuzz
ac_add_options --with-system-icu
ac_add_options --with-system-jpeg
ac_add_options --with-system-libevent
#ac_add_options --with-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-webp
ac_add_options --with-system-zlib

# Features
ac_add_options --disable-crashreporter
#ac_add_options --disable-debug
#ac_add_options --disable-debug-js-modules
#ac_add_options --disable-debug-symbols
ac_add_options --disable-gpsd
#ac_add_options --disable-ipdl-tests
#ac_add_options --disable-necko-wifi
#ac_add_options --disable-rust-tests
#ac_add_options --disable-synth-speechd
ac_add_options --disable-tests
#ac_add_options --disable-trace-logging
ac_add_options --disable-updater
#ac_add_options --disable-warnings-as-errors
#ac_add_options --disable-webspeech
#ac_add_options --disable-webspeechtestbackend
ac_add_options --enable-alsa
ac_add_options --enable-jack
ac_add_options --enable-pulseaudio
ac_add_options --enable-strip

# Disables crash reporting, telemetry and other data gathering tools
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=0

# options for ci / weaker build systems
# mk_add_options MOZ_MAKE_FLAGS="-j4"
# ac_add_options --enable-linker=gold
END

if [[ $CARCH == 'aarch64' ]]; then
  cat >>../mozconfig <<END
# taken from manjaro build:
ac_add_options --enable-optimize="-g0 -O2"
# from ALARM
# ac_add_options --disable-webrtc

END

  export MOZ_DEBUG_FLAGS=" "
  export CFLAGS+=" -g0"
  export CXXFLAGS+=" -g0"
  export RUSTFLAGS+="-C debuginfo=0"

  # we should have more than enough RAM on the CI spot instances.
  # ...or maybe not?
  export LDFLAGS+=" -Wl,--no-keep-memory"
  patch -Np1 -i ${_patches_dir}/librewolf/arm.patch
  patch -Np1 -i ${_patches_dir}/arch/build-arm-libopus.patch

else

  cat >>../mozconfig <<END
# probably not needed, enabled by default?
ac_add_options --enable-optimize
END
fi

  rm -f ${srcdir}/common/source_files/mozconfig
  cp -r ${srcdir}/common/source_files/* ./
}

build() {
  cd firefox-$pkgver

  export MOZ_NOSPAM=1
  export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
  export MOZ_ENABLE_FULL_SYMBOLS=1
  export MACH_USE_SYSTEM_PYTHON=1
    export CC=clang
    export CXX=clang++
    export RANLIB=llvm-ranlib
    export STRIP=llvm-strip
    export AR=llvm-ar
    export NM=llvm-nm
    export LD=lld
    export OBJCOPY='/usr/bin/llvm-objcopy'

  # LTO needs more open files
  ulimit -n 4096

  # -fno-plt with cross-LTO causes obscure LLVM errors
  # LLVM ERROR: Function Import: link error
  CFLAGS="${CFLAGS/-fno-plt/}"
  CXXFLAGS="${CXXFLAGS/-fno-plt/}"

  # Do 3-tier PGO
  echo "Building instrumented browser..."

if [[ $CARCH == 'aarch64' ]]; then

  cat >.mozconfig ../mozconfig - <<END
ac_add_options --enable-profile-generate
END

else

  cat >.mozconfig ../mozconfig - <<END
ac_add_options --enable-profile-generate=cross
END

fi

  ./mach build

  echo "Profiling instrumented browser..."
  ./mach package
  LLVM_PROFDATA=llvm-profdata \
    JARLOG_FILE="$PWD/jarlog" \
    xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" \
    ./mach python build/pgo/profileserver.py

  stat -c "Profile data found (%s bytes)" merged.profdata
  test -s merged.profdata

  stat -c "Jar log found (%s bytes)" jarlog
  test -s jarlog

  echo "Removing instrumented browser..."
  ./mach clobber

  echo "Building optimized browser..."

    if [[ $CARCH == 'aarch64' ]]; then

      cat >.mozconfig ../mozconfig - <<END
    ac_add_options --enable-lto
    ac_add_options --enable-profile-use
    ac_add_options --with-pgo-profile-path=${PWD@Q}/merged.profdata
    ac_add_options --with-pgo-jarlog=${PWD@Q}/jarlog
    ac_add_options --enable-linker=lld
END

    else

      cat >.mozconfig ../mozconfig - <<END
    ac_add_options --enable-lto=cross
    ac_add_options --enable-profile-use=cross
    ac_add_options --with-pgo-profile-path=${PWD@Q}/merged.profdata
    ac_add_options --with-pgo-jarlog=${PWD@Q}/jarlog
    ac_add_options --enable-linker=lld
    ac_add_options --disable-elf-hack
    ac_add_options --disable-bootstrap
END

    fi

  ./mach build

  echo "Building symbol archive..."
  ./mach buildsymbols
}

package() {
  cd firefox-$pkgver
  DESTDIR="$pkgdir" ./mach install

  install -Dvm644 "$srcdir/settings/$pkgname.psd" "$pkgdir/usr/share/psd/browsers/$pkgname"

  local vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"

  install -Dvm644 /dev/stdin "$vendorjs" <<END
// Use system-provided dictionaries
pref("spellchecker.dictionary_path", "/usr/share/hunspell");

// Don't disable extensions in the application directory
// done in librewolf.cfg
// pref("extensions.autoDisableScopes", 11);
END

  # cd ${srcdir}/settings
  # git checkout ${_settings_commit}
  cd ${srcdir}/firefox-$pkgver
  cp -r ${srcdir}/settings/* ${pkgdir}/usr/lib/${pkgname}/

  local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"
  install -Dvm644 /dev/stdin "$distini" <<END
[Global]
id=garudalinux
version=${pkgver}
about=${_pkgname} for Arch Linux

[Preferences]
app.distributor="Garuda Linux"
app.distributor.channel=$pkgname
app.partner.archlinux=garudalinux
END

  for i in 16 32 48 64 128; do
    install -Dvm644 browser/branding/${pkgname}/default$i.png \
      "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png"
  done
  install -Dvm644 browser/branding/${pkgname}/content/about-logo.png \
    "$pkgdir/usr/share/icons/hicolor/192x192/apps/$pkgname.png"

  # Arch upstream provides a separate svg for this. we don't have that, so let's re-use 16.png
  install -Dvm644 browser/branding/${pkgname}/default16.png \
    "$pkgdir/usr/share/icons/hicolor/symbolic/apps/$pkgname-symbolic.png"

  install -Dvm644 ../$pkgname.desktop \
    "$pkgdir/usr/share/applications/$pkgname.desktop"

  # Install a wrapper to avoid confusion about binary path
  install -Dvm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
#!/bin/sh
exec /usr/lib/$pkgname/$pkgname "\$@"
END

  # Replace duplicate binary with wrapper
  # https://bugzilla.mozilla.org/show_bug.cgi?id=658850
  ln -srfv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/$pkgname-bin"
  # Use system certificates
  local nssckbi="$pkgdir/usr/lib/$pkgname/libnssckbi.so"
  if [[ -e $nssckbi ]]; then
    ln -srfv "$pkgdir/usr/lib/libnssckbi.so" "$nssckbi"
  fi

  # Delete unneeded things from settings repo
  rm "$pkgdir/usr/lib/firedragon/LICENSE.txt"
  rm "$pkgdir/usr/lib/firedragon/about.png"
  rm "$pkgdir/usr/lib/firedragon/firedragon.psd"
  rm "$pkgdir/usr/lib/firedragon/home.png"
  rm "$pkgdir/usr/lib/firedragon/tabliss.json"
}

prg commented on 2021-10-27 13:01 (UTC)

Unfortunately, firedragon is failing to build on bare-metal also. It seems that its likely a separate issue from the failing-to-build in a chroot issue, though.

1:09.89    Compiling iovec v0.1.4                                                                                                                                                                                                                                                                                              
 1:09.89 For more information about this error, try `rustc --explain E0557`.                                                                                                                                                                                                                                                    
 1:09.91 The following warnings were emitted during compilation:                                                                                                                                                                                                                                                                
 1:09.91 warning: Cannot set `RUSTC_BOOTSTRAP=1` from build script of `packed_simd v0.3.4 (https://github.com/hsivonen/packed_simd?rev=6a16f954950401b92b4e220fbf2dfaf6f00e1fb2#6a16f954)`.                                                                                                                                     
 1:09.92 note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would subvert the stability guarantees of Rust for your project.                                                                                                                                                                                     
 1:09.92 error: could not compile `packed_simd` due to 13 previous errors                                                                                                                                                                                                                                                       
 1:09.92 warning: build failed, waiting for other jobs to finish...                                                                                                                                                                                                                                                             
 1:09.93 image/encoders/ico                                                                                                                                                                                                                                                                                                     
 1:09.95 image/encoders/jpeg                                                                                                                                                                                                                                                                                                    
 1:09.98 image/encoders/png                                                                                                                                                                                                                                                                                                     
 1:10.01 image                                                                                                                                                                                                                                                                                                                  
 1:10.13 intl/components                                                                                                                                                                                                                                                                                                        
 1:10.13 intl/hyphenation/glue                                                                                                                                                                                                                                                                                                  
 1:10.18 intl/l10n                                                                                                                                                                                                                                                                                                              
 1:10.19 intl/locale/gtk                                                                                                                                                                                                                                                                                                        
 1:10.21 intl/locale                                                                                                                                                                                                                                                                                                            
 1:10.22 intl/lwbrk                                                                                                                                                                                                                                                                                                             
 1:10.24 intl/strres                                                                                                                                                                                                                                                                                                            
 1:10.25 intl/uconv                                                                                                                                                                                                                                                                                                             
 1:10.26 intl/unicharutil/util                                                                                                                                                                                                                                                                                                  
 1:10.27 ipc/app                                                                                                                                                                                                                                                                                                                
 1:10.55 toolkit/library/build/symverscript.stub                                                                                                                                                                                                                                                                                
 1:10.56 media/libsoundtouch/src                                                                                                                                                                                                                                                                                                
 1:10.56 config/external/sqlite/libmozsqlite3.so.symbols.stub                                                                                                                                                                                                                                                                   
 1:10.57 In file included from Unified_cpp_libsoundtouch_src0.cpp:20:                                                                                                                                                                                                                                                           
 1:10.57 /home/user/firedragon/src/firefox-93.0/media/libsoundtouch/src/FIRFilter.cpp:81:12: warning: unused variable 'dScaler' [-Wunused-variable]                                                                                                                                                                            
 1:10.57     double dScaler = 1.0 / (double)resultDivider;                                                                                                                                                                                                                                                                      
 1:10.57            ^                                                                                                                                                                                                                                                                                                           
 1:10.57 /home/user/firedragon/src/firefox-93.0/media/libsoundtouch/src/FIRFilter.cpp:127:12: warning: unused variable 'dScaler' [-Wunused-variable]                                                                                                                                                                           
 1:10.57     double dScaler = 1.0 / (double)resultDivider;                                                                                                                                                                                                                                                                      
 1:10.57            ^                                                                                                                                                                                                                                                                                                           
 1:10.57 /home/user/firedragon/src/firefox-93.0/media/libsoundtouch/src/FIRFilter.cpp:166:12: warning: unused variable 'dScaler' [-Wunused-variable]                                                                                                                                                                           
 1:10.57     double dScaler = 1.0 / (double)resultDivider;                                                                                                                                                                                                                                                                      
 1:10.57            ^                                                                                                                                                                                                                                                                                                           
 1:10.57 In file included from Unified_cpp_libsoundtouch_src0.cpp:47:                                                                                                                                                                                                                                                           
 1:10.57 /home/user/firedragon/src/firefox-93.0/media/libsoundtouch/src/InterpolateShannon.cpp:71:9: warning: 'PI' macro redefined [-Wmacro-redefined]                                                                                                                                                                         
 1:10.57 #define PI 3.1415926536                                                                                                                                                                                                                                                                                                
 1:10.57         ^                                                                                                                                                                                                                                                                                                              
 1:10.57 /home/user/firedragon/src/firefox-93.0/media/libsoundtouch/src/AAFilter.cpp:45:9: note: previous definition is here                                                                                                                                                                                                   
 1:10.57 #define PI       M_PI                                                                                                                                                                                                                                                                                                  
 1:10.57         ^                                                                                                                                                                                                                                                                                                              
 1:10.57 In file included from Unified_cpp_libsoundtouch_src0.cpp:92:                                                                                                                                                                                                                                                           
 1:10.57 /home/user/firedragon/src/firefox-93.0/media/libsoundtouch/src/cpu_detect_x86.cpp:48:12: warning: 'bit_MMX' macro redefined [-Wmacro-redefined]                                                                                                                                                                       
 1:10.57    #define bit_MMX     (1 << 23)                                                                                                                                                                                                                                                                                       
 1:10.57            ^                                                                                                                                                                                                                                                                                                           
 1:10.57 /usr/lib/clang/12.0.1/include/cpuid.h:133:9: note: previous definition is here                                                                                                                                                                                                                                         
 1:10.57 #define bit_MMX         0x00800000                                                                                                                                                                                                                                                                                     
 1:10.57         ^                                                                                                                                                                                                                                                                                                              
 1:10.57 In file included from Unified_cpp_libsoundtouch_src0.cpp:92:                                                                                                                                                                                                                                                           
 1:10.57 /home/user/firedragon/src/firefox-93.0/media/libsoundtouch/src/cpu_detect_x86.cpp:49:12: warning: 'bit_SSE' macro redefined [-Wmacro-redefined]                                                                                                                                                                       
 1:10.57    #define bit_SSE     (1 << 25)                                                                                                                                                                                                                                                                                       
 1:10.57            ^                                                                                                                                                                                                                                                                                                           
 1:10.57 /usr/lib/clang/12.0.1/include/cpuid.h:136:9: note: previous definition is here                                                                                                                                                                                                                                         
 1:10.57 #define bit_SSE         0x02000000                                                                                                                                                                                                                                                                                     
 1:10.57         ^                                                                                                                                                                                                                                                                                                              
 1:10.57 In file included from Unified_cpp_libsoundtouch_src0.cpp:92:                                                                                                                                                                                                                                                           
 1:10.57 /home/user/firedragon/src/firefox-93.0/media/libsoundtouch/src/cpu_detect_x86.cpp:50:12: warning: 'bit_SSE2' macro redefined [-Wmacro-redefined]                                                                                                                                                                      
 1:10.57    #define bit_SSE2    (1 << 26)                                                                                                                                                                                                                                                                                       
 1:10.57            ^                                                                                                                                                                           
 1:10.57 /usr/lib/clang/12.0.1/include/cpuid.h:137:9: note: previous definition is here                                                                                                         
 1:10.57 #define bit_SSE2        0x04000000                                                                                                                                                     
 1:10.57         ^                                                                                                                                                                              
 1:10.57 7 warnings generated.                                                                                                                                                                  
 1:10.57 third_party/sqlite3/src                                                                                                                                                                
 1:10.59 ipc/chromium                                                                                                                                                                           
 1:10.71 ipc/glue                                                                                                                                                                               
 1:10.72 ipc/ipdl                                                                                                                                                                               
 1:21.62 ipc/testshell                                                                                                                                                                          
 1:27.83 js/ductwork/debugger                                                                                                                                                                   
 1:29.50 js/src/debugger                                                                                                                                                                        
 1:30.60 js/src/frontend                                                                                                                                                                        
 1:32.75 js/src/gc/StatsPhasesGenerated.inc.stub                                                                                                                                                
 1:32.93 js/src/irregexp                                                                                                                                                                        
 1:33.76 js/src/jit                                                                                                                                                                             
 1:35.12 js/src                                                                                                                                                                                 
 1:36.94 js/src/wasm                                                                                                                                                                            
 1:40.84 modules/fdlibm/src                                                                                                                                                                     
 1:43.10 error: build failed                                                                                                                                                                    
 1:43.11 make[4]: *** [/home/user/firedragon/src/firefox-93.0/config/makefiles/rust.mk:408: force-cargo-library-build] Error 101                                                               
 1:43.11 make[3]: *** [/home/user/firedragon/src/firefox-93.0/config/recurse.mk:72: toolkit/library/rust/target] Error 2                                                                       
 1:43.11 make[3]: *** Waiting for unfinished jobs....                                                                                                                                           
 2:16.98 /home/user/firedragon/src/firefox-93.0/third_party/sqlite3/src/sqlite3.c:161544:9: warning: code will never be executed [-Wunreachable-code]                                          
 2:16.98         YYMINORTYPE yylhsminor;                                                                                                                                                        
 2:16.98         ^~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                        
 2:16.98 1 warning generated.                                                                                                                                                                   
 3:08.11 make[2]: *** [/home/user/firedragon/src/firefox-93.0/config/recurse.mk:34: compile] Error 2                                                                                           
 3:08.11 make[1]: *** [/home/user/firedragon/src/firefox-93.0/config/rules.mk:358: default] Error 2                                                                                            
 3:08.11 make: *** [client.mk:65: build] Error 2                                                                                                                                                
 3:08.13 34 compiler warnings present.                                                                                                                                                          
 3:08.18 Failed to parse ccache stats output: Summary:                                                                  
==> ERROR: A failure occurred in build().                                                                               
    Aborting...                                  

Neko-san commented on 2021-10-25 20:03 (UTC) (edited on 2021-10-27 20:07 (UTC) by Neko-san)

@dr460nf1r3 I managed to set up a chroot (with Paru) and it fails even in that environment for me (I really hope I can get help with this; I've never been able to compile it and my chroot log is essentially identical to my bare-metal one):

==> Starting build()...
Building instrumented browser...
 0:01.01 Failed to parse ccache stats output: Summary:
 0:01.02 Clobber not needed.
 0:01.02 /usr/bin/python3 /build/firedragon/src/firefox-93.0/configure.py
 0:01.13 Creating Python 3 environment
 0:01.46 created virtual environment CPython3.9.7.final.0-64 in 164ms
 0:01.46   creator CPython3Posix(dest=/build/firedragon/src/firefox-93.0/obj/_virtualenvs/common, clear=False, no_vcs_ignore=False, global=False)
 0:01.46   seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv)
 0:01.46     added seed packages: pip==20.3.1, setuptools==51.0.0, wheel==0.36.1
 0:01.46   activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
 0:01.52 Re-executing in the virtualenv
 0:01.68 Adding configure options from /build/firedragon/src/firefox-93.0/.mozconfig
 0:01.68   --enable-application=browser
 0:01.68   --prefix=/usr
 0:01.68   --enable-release
 0:01.68   --enable-hardening
 0:01.68   --enable-rust-simd
 0:01.68   --with-ccache
 0:01.68   --enable-update-channel=release
 0:01.68   --with-app-name=firedragon
 0:01.68   --with-app-basename=FireDragon
 0:01.68   --with-branding=browser/branding/firedragon
 0:01.68   --with-distribution-id=org.garudalinux
 0:01.68   --with-unsigned-addon-scopes=app,system
 0:01.68   --allow-addon-sideload
 0:01.68   --enable-system-pixman
 0:01.68   --with-system-av1
 0:01.68   --with-system-ffi
 0:01.68   --with-system-graphite2
 0:01.68   --with-system-harfbuzz
 0:01.68   --with-system-icu
 0:01.68   --with-system-jpeg
 0:01.68   --with-system-libevent
 0:01.68   --with-system-nspr
 0:01.68   --with-system-nss
 0:01.68   --with-system-webp
 0:01.68   --with-system-zlib
 0:01.68   --disable-crashreporter
 0:01.68   --disable-gpsd
 0:01.68   --disable-tests
 0:01.68   --disable-updater
 0:01.68   --enable-alsa
 0:01.68   --enable-jack
 0:01.68   --enable-pulseaudio
 0:01.68   --enable-strip
 0:01.68   --enable-optimize
 0:01.68   --enable-profile-generate=cross
 0:01.68   NM=llvm-nm
 0:01.68   RANLIB=llvm-ranlib
 0:01.68   OBJCOPY=/usr/bin/llvm-objcopy
 0:01.68   STRIP=llvm-strip
 0:01.68 checking for vcs source checkout... no
 0:01.70 checking for a shell... /usr/bin/sh
 0:01.73 checking for host system type... x86_64-pc-linux-gnu
 0:01.73 checking for target system type... x86_64-pc-linux-gnu
 0:02.02 checking whether cross compiling... no
 0:02.10 checking for pkg_config... /usr/bin/pkg-config
 0:02.11 checking for aom >= 1.0.0... yes
 0:02.11 checking MOZ_SYSTEM_LIBAOM_CFLAGS...
 0:02.11 checking MOZ_SYSTEM_LIBAOM_LIBS... -laom
 0:02.11 checking for dav1d >= 0.1.1... yes
 0:02.12 checking MOZ_SYSTEM_LIBDAV1D_CFLAGS...
 0:02.12 checking MOZ_SYSTEM_LIBDAV1D_LIBS... -ldav1d
 0:02.12 checking for Python 3... /build/firedragon/src/firefox-93.0/obj/_virtualenvs/common/bin/python (3.9.7)
 0:02.13 checking for wget... not found
 0:02.14 checking for ccache... /usr/bin/ccache
 0:02.16 checking for the target C compiler... /usr/bin/clang
 0:03.80 checking whether the target C compiler can be used... yes
 0:03.80 checking the target C compiler version... 12.0.1
 0:03.93 checking the target C compiler works... yes
 0:03.93 WARNING: The value of LD is not used by this build system.
 0:03.94 checking for the target C++ compiler... /usr/bin/clang++
 0:03.97 checking whether the target C++ compiler can be used... yes
 0:03.97 checking the target C++ compiler version... 12.0.1
 0:04.00 checking the target C++ compiler works... yes
 0:04.00 checking for the host C compiler... /usr/bin/clang
 0:04.04 checking whether the host C compiler can be used... yes
 0:04.04 checking the host C compiler version... 12.0.1
 0:04.07 checking the host C compiler works... yes
 0:04.07 checking for the host C++ compiler... /usr/bin/clang++
 0:04.10 checking whether the host C++ compiler can be used... yes
 0:04.10 checking the host C++ compiler version... 12.0.1
 0:04.13 checking the host C++ compiler works... yes
 0:04.17 checking for 64-bit OS... yes
 0:04.23 checking for new enough STL headers from libstdc++... yes
 0:04.29 checking for linker... bfd
 0:04.29 checking for the assembler... /usr/bin/clang
 0:04.30 checking for ar... /usr/bin/llvm-ar
 0:04.31 checking for nm... /usr/bin/llvm-nm
 0:04.32 checking for pkg-config version... 1.8.0
 0:04.37 checking for stdint.h... yes
 0:04.43 checking for inttypes.h... yes
 0:04.47 checking for malloc.h... yes
 0:04.51 checking for alloca.h... yes
 0:04.53 checking for sys/byteorder.h... no
 0:04.57 checking for getopt.h... yes
 0:04.61 checking for unistd.h... yes
 0:04.65 checking for nl_types.h... yes
 0:04.70 checking for cpuid.h... yes
 0:04.75 checking for fts.h... yes
 0:04.78 checking for sys/statvfs.h... yes
 0:04.82 checking for sys/statfs.h... yes
 0:04.85 checking for sys/vfs.h... yes
 0:04.90 checking for sys/mount.h... yes
 0:04.94 checking for sys/quota.h... yes
 0:04.98 checking for linux/quota.h... yes
 0:05.04 checking for linux/if_addr.h... yes
 0:05.09 checking for linux/rtnetlink.h... yes
 0:05.13 checking for sys/queue.h... yes
 0:05.16 checking for sys/types.h... yes
 0:05.20 checking for netinet/in.h... yes
 0:05.23 checking for byteswap.h... yes
 0:05.27 checking for memfd_create in sys/mman.h... yes
 0:05.33 checking for linux/perf_event.h... yes
 0:05.36 checking for perf_event_open system call... yes
 0:05.39 checking whether the C compiler supports -Wbitfield-enum-conversion... yes
 0:05.43 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes
 0:05.46 checking whether the C++ compiler supports -Wdeprecated-this-capture... yes
 0:05.49 checking whether the C compiler supports -Wformat-type-confusion... yes
 0:05.52 checking whether the C++ compiler supports -Wformat-type-confusion... yes
 0:05.55 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes
 0:05.58 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes
 0:05.61 checking whether the C++ compiler supports -Wshadow-uncaptured-local... yes
 0:05.64 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:05.67 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:05.70 checking whether the C compiler supports -Wunreachable-code-return... yes
 0:05.73 checking whether the C++ compiler supports -Wunreachable-code-return... yes
 0:05.76 checking whether the C compiler supports -Wclass-varargs... yes
 0:05.79 checking whether the C++ compiler supports -Wclass-varargs... yes
 0:05.82 checking whether the C++ compiler supports -Wempty-init-stmt... yes
 0:05.85 checking whether the C compiler supports -Wfloat-overflow-conversion... yes
 0:05.88 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes
 0:05.91 checking whether the C compiler supports -Wfloat-zero-conversion... yes
 0:05.94 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes
 0:05.97 checking whether the C compiler supports -Wloop-analysis... yes
 0:06.00 checking whether the C++ compiler supports -Wloop-analysis... yes
 0:06.04 checking whether the C compiler supports -Wno-range-loop-analysis... yes
 0:06.07 checking whether the C++ compiler supports -Wno-range-loop-analysis... yes
 0:06.10 checking whether the C++ compiler supports -Wc++2a-compat... yes
 0:06.13 checking whether the C++ compiler supports -Wcomma... yes
 0:06.16 checking whether the C compiler supports -Wduplicated-cond... no
 0:06.18 checking whether the C++ compiler supports -Wduplicated-cond... no
 0:06.21 checking whether the C compiler supports -Wenum-compare-conditional... yes
 0:06.24 checking whether the C++ compiler supports -Wenum-compare-conditional... yes
 0:06.28 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
 0:06.32 checking whether the C compiler supports -Wstring-conversion... yes
 0:06.35 checking whether the C++ compiler supports -Wstring-conversion... yes
 0:06.38 checking whether the C++ compiler supports -Wno-inline-new-delete... yes
 0:06.41 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
 0:06.44 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
 0:06.47 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
 0:06.50 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
 0:06.53 checking whether the C compiler supports -Wno-error=array-bounds... yes
 0:06.56 checking whether the C++ compiler supports -Wno-error=array-bounds... yes
 0:06.59 checking whether the C compiler supports -Wno-error=coverage-mismatch... no
 0:06.61 checking whether the C++ compiler supports -Wno-error=coverage-mismatch... no
 0:06.64 checking whether the C compiler supports -Wno-error=backend-plugin... yes
 0:06.68 checking whether the C++ compiler supports -Wno-error=backend-plugin... yes
 0:06.71 checking whether the C compiler supports -Wno-error=free-nonheap-object... yes
 0:06.74 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes
 0:06.76 checking whether the C compiler supports -Wno-multistatement-macros... no
 0:06.79 checking whether the C++ compiler supports -Wno-multistatement-macros... no
 0:06.82 checking whether the C compiler supports -Wno-error=return-std-move... yes
 0:06.85 checking whether the C++ compiler supports -Wno-error=return-std-move... yes
 0:06.88 checking whether the C compiler supports -Wno-error=class-memaccess... no
 0:06.91 checking whether the C++ compiler supports -Wno-error=class-memaccess... no
 0:06.94 checking whether the C compiler supports -Wno-error=atomic-alignment... yes
 0:06.97 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes
 0:07.00 checking whether the C compiler supports -Wno-error=deprecated-copy... yes
 0:07.04 checking whether the C++ compiler supports -Wno-error=deprecated-copy... yes
 0:07.06 checking whether the C compiler supports -Wno-error=unused-but-set-variable... no
 0:07.09 checking whether the C++ compiler supports -Wno-error=unused-but-set-variable... no
 0:07.12 checking whether the C compiler supports -Wformat... yes
 0:07.16 checking whether the C++ compiler supports -Wformat... yes
 0:07.19 checking whether the C compiler supports -Wformat-security... yes
 0:07.22 checking whether the C++ compiler supports -Wformat-security... yes
 0:07.24 checking whether the C compiler supports -Wformat-overflow=2... no
 0:07.27 checking whether the C++ compiler supports -Wformat-overflow=2... no
 0:07.31 checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes
 0:07.34 checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes
 0:07.37 checking whether the C compiler supports -Werror=implicit-function-declaration... yes
 0:07.40 checking whether the C compiler supports -Wno-psabi... yes
 0:07.43 checking whether the C++ compiler supports -Wno-psabi... yes
 0:07.46 checking whether the C++ compiler supports -fno-sized-deallocation... yes
 0:07.49 checking whether the C++ compiler supports -fno-aligned-new... yes
 0:07.49 checking for llvm_profdata... /usr/bin/llvm-profdata
 0:07.51 checking for alsa... yes
 0:07.52 checking MOZ_ALSA_CFLAGS...
 0:07.52 checking MOZ_ALSA_LIBS... -lasound
 0:07.52 checking for jack... yes
 0:07.52 checking MOZ_JACK_CFLAGS...
 0:07.52 checking MOZ_JACK_LIBS... -ljack
 0:07.52 checking for libpulse... yes
 0:07.52 checking MOZ_PULSEAUDIO_CFLAGS... -D_REENTRANT
 0:07.53 checking MOZ_PULSEAUDIO_LIBS... -lpulse -pthread
 0:07.53 checking for nspr >= 4.32... yes
 0:07.53 checking NSPR_CFLAGS... -I/usr/include/nspr
 0:07.53 checking NSPR_LIBS... -lplds4 -lplc4 -lnspr4
 0:07.53 checking for rustc... /usr/bin/rustc
 0:07.53 checking for cargo... /usr/bin/cargo
 0:08.23 checking rustc version... 1.56.0
 0:08.24 checking cargo version... 1.56.0
 0:09.80 checking for rust host triplet... x86_64-unknown-linux-gnu
 0:09.84 checking for rust target triplet... x86_64-unknown-linux-gnu
 0:09.84 checking for rustdoc... /usr/bin/rustdoc
 0:09.91 checking for cbindgen... /usr/bin/cbindgen
 0:09.91 checking for rustfmt... /usr/bin/rustfmt
 0:09.91 checking for clang for bindgen... /usr/bin/clang++
 0:09.93 checking for libclang for bindgen... /usr/lib/libclang.so
 0:10.58 checking that libclang is new enough... yes
 0:10.58 checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DOS_POSIX=1 -DOS_LINUX=1 -std=gnu++17
 0:10.59 checking for libffi > 3.0.9... yes
 0:10.59 checking MOZ_FFI_CFLAGS...
 0:10.59 checking MOZ_FFI_LIBS... -lffi
 0:10.59 checking for icu-i18n >= 69.1... yes
 0:10.59 checking MOZ_ICU_CFLAGS...
 0:10.59 checking MOZ_ICU_LIBS... -licui18n -licuuc -licudata
 0:13.32 checking for nodejs... /usr/bin/node (16.11.1)
 0:13.48 checking for gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1 libdrm >= 2.4... yes
 0:13.77 checking MOZ_WAYLAND_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libdrm
 0:13.77 checking MOZ_WAYLAND_LIBS... -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxkbcommon -ldrm
 0:13.77 checking for pango >= 1.22.0... yes
 0:13.77 checking MOZ_PANGO_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1
 0:13.78 checking MOZ_PANGO_LIBS... -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz
 0:13.78 checking for fontconfig >= 2.7.0... yes
 0:13.78 checking _FONTCONFIG_CFLAGS... -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:13.78 checking _FONTCONFIG_LIBS... -lfontconfig -lfreetype
 0:13.78 checking for freetype2 >= 6.1.0... yes
 0:13.78 checking _FT2_CFLAGS... -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:13.78 checking _FT2_LIBS... -lfreetype
 0:13.79 checking for graphite2... yes
 0:13.79 checking MOZ_GRAPHITE2_CFLAGS...
 0:13.79 checking MOZ_GRAPHITE2_LIBS... -lgraphite2
 0:13.79 checking for harfbuzz >= 2.7.4... yes
 0:13.79 checking MOZ_HARFBUZZ_CFLAGS... -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:13.79 checking MOZ_HARFBUZZ_LIBS... -lharfbuzz
 0:13.79 checking for tar... /usr/bin/tar
 0:13.79 checking for unzip... /usr/bin/unzip
 0:13.79 checking for zip... /usr/bin/zip
 0:13.79 checking for gn... not found
 0:13.79 checking for the Mozilla API key... no
 0:13.79 checking for the Google Location Service API key... no
 0:13.79 checking for the Google Safebrowsing API key... no
 0:13.79 checking for the Bing API key... no
 0:13.79 checking for the Adjust SDK key... no
 0:13.79 checking for the Leanplum SDK key... no
 0:13.80 checking for the Pocket API key... no
 0:13.80 checking for libwebp >= 1.0.2 libwebpdemux >= 1.0.2... yes
 0:13.80 checking MOZ_WEBP_CFLAGS...
 0:13.80 checking MOZ_WEBP_LIBS... -lwebpdemux -lwebp
 0:13.80 checking for x11 xcb xcb-shm x11-xcb xext xrender xcomposite xcursor xdamage xfixes xi... yes
 0:13.80 checking MOZ_X11_CFLAGS...
 0:13.81 checking MOZ_X11_LIBS... -lxcb-shm -lX11-xcb -lxcb -lXext -lXrender -lX11 -lXcomposite -lXcursor -lXdamage -lXfixes -lXi
 0:14.07 checking for jpeg_destroy_compress... yes
 0:14.30 checking for sufficient jpeg library version... yes
 0:14.34 checking for sufficient libjpeg-turbo JCS_EXTENSIONS... yes
 0:14.34 checking for nasm... /usr/bin/nasm
 0:14.45 checking nasm version... 2.15.05
 0:14.45 checking for dump_syms... /usr/bin/dump_syms
 0:14.49 checking for getcontext... yes
 0:14.49 checking for nss >= 3.70... yes
 0:14.49 checking NSS_CFLAGS... -I/usr/include/nss -I/usr/include/nspr
 0:14.49 checking NSS_LIBS... -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4
 0:14.50 checking for awk... /usr/bin/gawk
 0:14.50 checking for perl... /usr/bin/perl
 0:14.64 checking for minimum required perl version >= 5.006... 5.034000
 0:14.80 checking for full perl installation... yes
 0:14.80 checking for gmake... /usr/bin/make
 0:14.80 checking for watchman... not found
 0:14.80 checking for xargs... /usr/bin/xargs
 0:14.80 checking for rpmbuild... not found
 0:14.80 checking for NSIS version... no
 0:14.81 checking for llvm-objdump... /usr/bin/llvm-objdump
 0:14.82 checking for zlib >= 1.2.3... yes
 0:14.82 checking MOZ_ZLIB_CFLAGS...
 0:14.82 checking MOZ_ZLIB_LIBS... -lz
 0:14.82 checking for m4... /usr/bin/m4
 0:14.82 Refreshing /build/firedragon/src/firefox-93.0/old-configure with /build/firedragon/src/firefox-93.0/build/autoconf/autoconf.sh
 0:15.29 creating cache ./config.cache
 0:15.30 checking host system type... x86_64-pc-linux-gnu
 0:15.31 checking target system type... x86_64-pc-linux-gnu
 0:15.31 checking build system type... x86_64-pc-linux-gnu
 0:15.31 checking for objcopy... /usr/bin/llvm-objcopy
 0:15.34 checking for Cygwin environment... no
 0:15.37 checking for mingw32 environment... no
 0:15.94 checking for executable suffix... no
 0:15.94 checking for gcc... (cached) /usr/bin/ccache /usr/bin/clang -std=gnu99
 0:15.94 checking whether the C compiler (/usr/bin/ccache /usr/bin/clang -std=gnu99 -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) works... (cached) yes
 0:15.94 checking whether the C compiler (/usr/bin/ccache /usr/bin/clang -std=gnu99 -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) is a cross-compiler... no
 0:15.94 checking whether we are using GNU C... (cached) yes
 0:15.94 checking whether /usr/bin/ccache /usr/bin/clang -std=gnu99 accepts -g... (cached) yes
 0:15.94 checking for c++... (cached) /usr/bin/ccache /usr/bin/clang++ -std=gnu++17
 0:15.94 checking whether the C++ compiler (/usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) works... (cached) yes
 0:15.94 checking whether the C++ compiler (/usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) is a cross-compiler... no
 0:15.94 checking whether we are using GNU C++... (cached) yes
 0:15.94 checking whether /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 accepts -g... (cached) yes
 0:15.94 checking for /usr/bin/ccache... (cached) /usr/bin/ccache /usr/bin/clang -std=gnu99
 0:15.94 checking for strip... llvm-strip
 0:15.94 checking for otool... no
 0:16.02 checking for --noexecstack option to as... yes
 0:16.07 checking for -z noexecstack option to ld... yes
 0:16.12 checking for -z text option to ld... yes
 0:16.17 checking for -z relro option to ld... yes
 0:16.22 checking for -z nocopyreloc option to ld... yes
 0:16.26 checking for -Bsymbolic-functions option to ld... yes
 0:16.31 checking for --build-id=sha1 option to ld... yes
 0:16.36 checking for --ignore-unresolved-symbol option to ld... yes
 0:16.39 checking if toolchain supports -mssse3 option... yes
 0:16.43 checking if toolchain supports -msse4.1 option... yes
 0:16.46 checking for x86 AVX2 asm support in compiler... yes
 0:16.49 checking whether the linker supports Identical Code Folding... no
 0:16.52 checking for working const... yes
 0:16.54 checking for mode_t... yes
 0:16.56 checking for off_t... yes
 0:16.57 checking for pid_t... yes
 0:16.59 checking for size_t... yes
 0:17.39 checking whether 64-bits std::atomic requires -latomic... no
 0:17.54 checking for dirent.h that defines DIR... yes
 0:17.58 checking for opendir in -ldir... no
 0:17.66 checking for sockaddr_in.sin_len... false
 0:17.69 checking for sockaddr_in6.sin6_len... false
 0:17.73 checking for sockaddr.sa_len... false
 0:17.77 checking for gethostbyname_r in -lc_r... no
 0:17.87 checking for library containing dlopen... -ldl
 0:18.02 checking for dlfcn.h... yes
 0:18.07 checking for dladdr... yes
 0:18.14 checking for memmem... yes
 0:18.18 checking for socket in -lsocket... no
 0:18.21 checking for pthread_create in -lpthreads... no
 0:18.27 checking for pthread_create in -lpthread... yes
 0:18.30 checking whether /usr/bin/ccache /usr/bin/clang -std=gnu99 accepts -pthread... yes
 0:18.36 checking for pthread.h... yes
 0:18.41 checking for stat64... yes
 0:18.47 checking for lstat64... yes
 0:18.52 checking for truncate64... yes
 0:18.57 checking for statvfs64... yes
 0:18.63 checking for statvfs... yes
 0:18.68 checking for statfs64... yes
 0:18.73 checking for statfs... yes
 0:18.79 checking for getpagesize... yes
 0:18.84 checking for gmtime_r... yes
 0:18.89 checking for localtime_r... yes
 0:18.95 checking for arc4random... no
 0:19.00 checking for arc4random_buf... no
 0:19.05 checking for mallinfo... yes
 0:19.10 checking for gettid... yes
 0:19.16 checking for lchown... yes
 0:19.21 checking for setpriority... yes
 0:19.26 checking for strerror... yes
 0:19.32 checking for syscall... yes
 0:19.37 checking for lutimes... yes
 0:19.42 checking for clock_gettime(CLOCK_MONOTONIC)...
 0:19.46 checking for pthread_cond_timedwait_monotonic_np...
 0:19.56 checking for res_ninit()... yes
 0:19.60 checking for an implementation of va_copy()... yes
 0:19.64 checking whether va_list can be copied by value... no
 0:19.70 checking for __thread keyword for TLS variables... yes
 0:19.75 checking for localeconv... yes
 0:19.79 checking for malloc.h... yes
 0:19.85 checking for strndup... yes
 0:19.90 checking for posix_memalign... yes
 0:19.95 checking for memalign... yes
 0:20.01 checking for malloc_usable_size... yes
 0:20.04 checking whether malloc_usable_size definition can use const argument... no
 0:20.06 checking for valloc in malloc.h... yes
 0:20.08 checking for valloc in unistd.h... no
 0:20.10 checking for _aligned_malloc in malloc.h... no
 0:20.10 checking for libevent... yes
 0:20.10 checking MOZ_LIBEVENT_CFLAGS...
 0:20.10 checking MOZ_LIBEVENT_LIBS... -levent
 0:20.10 checking if app-specific confvars.sh exists... /build/firedragon/src/firefox-93.0/browser/confvars.sh
 0:20.10 checking for gtk+-3.0 >= 3.14.0 gtk+-unix-print-3.0 glib-2.0 gobject-2.0 gio-unix-2.0 ... yes
 0:20.12 checking MOZ_GTK3_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-3.0/unix-print -pthread
 0:20.13 checking MOZ_GTK3_LIBS... -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
 0:20.13 checking for dbus-1 >= 0.60... yes
 0:20.13 checking MOZ_DBUS_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
 0:20.13 checking MOZ_DBUS_LIBS... -ldbus-1
 0:20.13 checking for dbus-glib-1 >= 0.60... yes
 0:20.13 checking MOZ_DBUS_GLIB_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:20.13 checking MOZ_DBUS_GLIB_LIBS... -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
 0:20.22 checking for linux/joystick.h... yes
 0:20.27 checking for fdatasync... yes
 0:20.31 checking for valid C compiler optimization flags... yes
 0:20.40 checking for __cxa_demangle... yes
 0:20.45 checking for unwind.h... yes
 0:20.52 checking for _Unwind_Backtrace... yes
 0:20.52 checking for -pipe support... yes
 0:20.59 checking what kind of list files are supported by the linker... configure: error: Couldn't find one that works
 0:20.60 DEBUG: <truncated - see config.log for full output>
 0:20.60 DEBUG: configure:7511: /usr/bin/ccache /usr/bin/clang -std=gnu99 -c -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -fno-strict-aliasing -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -O2 -Qunused-arguments  conftest.c 1>&5
 0:20.60 DEBUG: configure:7781: checking for __cxa_demangle
 0:20.60 DEBUG: configure:7816: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -o conftest -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.C -ldl  1>&5
 0:20.60 DEBUG: configure:7886: checking for unwind.h
 0:20.60 DEBUG: configure:7899: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -c -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  conftest.C 1>&5
 0:20.60 DEBUG: configure:7916: checking for _Unwind_Backtrace
 0:20.60 DEBUG: configure:7953: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -o conftest -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.C -ldl  1>&5
 0:20.60 DEBUG: configure:8021: checking for -pipe support
 0:20.60 DEBUG: configure:8048: checking what kind of list files are supported by the linker
 0:20.60 DEBUG: configure:8053: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest.o -c  -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -fno-strict-aliasing -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -Qunused-arguments  conftest.c 1>&5
 0:20.60 DEBUG: configure:8060: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.list -ldl  1>&5
 0:20.60 DEBUG: ./conftest.o: file not recognized: file format not recognized
 0:20.60 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:20.60 DEBUG: configure:8064: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 -Wl,-filelist,conftest.list -ldl  1>&5
 0:20.60 DEBUG: /usr/bin/ld: -f may not be used without -shared
 0:20.60 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:20.60 DEBUG: configure:8066: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 @conftest.list -ldl  1>&5
 0:20.60 DEBUG: conftest.o: file not recognized: file format not recognized
 0:20.60 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:20.60 DEBUG: configure: error: Couldn't find one that works
 0:20.60 ERROR: old-configure failed
 Config object not found by mach.
Error running mach:

    ['build']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file build| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

Exception: Process executed with non-0 exit code 1: ['/usr/bin/python3', '/build/firedragon/src/firefox-93.0/configure.py']

  File "/build/firedragon/src/firefox-93.0/python/mozbuild/mozbuild/build_commands.py", line 155, in build
    return driver.build(
  File "/build/firedragon/src/firefox-93.0/python/mozbuild/mozbuild/controller/building.py", line 1144, in build
    config_rc = self.configure(
  File "/build/firedragon/src/firefox-93.0/python/mozbuild/mozbuild/controller/building.py", line 1528, in configure
    status = self._run_command_in_objdir(
  File "/build/firedragon/src/firefox-93.0/python/mozbuild/mozbuild/base.py", line 845, in _run_command_in_objdir
    return self.run_process(cwd=self.topobjdir, **args)
  File "/build/firedragon/src/firefox-93.0/python/mach/mach/mixin/process.py", line 174, in run_process
    raise Exception(
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /mnt/extraStorage/AUR/ParuChroot/neko-san/build
error: failed to build 'firedragon-93.0-3': failed to run: makechrootpkg -r /mnt/extraStorage/AUR/ParuChroot/ -D /mnt/extraStorage/AUR/ParuChroot/repo/aur -d /var/cache/pacman/pkg/ -- -feA --noconfirm --noprepare --holdver: 
error: packages failed to build: firedragon-93.0-3
neko-san@ARCH ~ [1]> 

Neko-san commented on 2021-10-25 04:54 (UTC) (edited on 2021-10-25 05:19 (UTC) by Neko-san)

Ah, I remember why I have difficulty with building in chroots:

It can install everything it needs in preparation for building packages but, every time it needs to grab dependencies for PKGBUILDs, it fails and says:

sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges

But this is weird because neither of these is the case for my system :/

I can't use a chroot for building if doesn't do that

(I use Paru for the AUR, and it has support for chroots, but I always get this problem)

ptr1337 commented on 2021-10-24 23:03 (UTC)

@prg

yes, https://mirror.cachyos.org/?search=firedragon.

compiled in a clean chroot

prg commented on 2021-10-24 22:58 (UTC)

Has anyone been able to get this to build lately?

Neko-san commented on 2021-10-20 14:54 (UTC) (edited on 2021-10-20 19:06 (UTC) by Neko-san)

I would but I've struggled to get makepkg chroots to properly work before (something about the process gave me a hard time but I can't remember exactly what it was)

That aside, I'm quite certain the only thing unconventional about my system is my makepkg.conf, and even then I've reverted it back to default settings and it's still failed for me

#!/hint/bash
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget
# /usr/bin/axel

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'fossil::fossil'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
export CC=clang
export CXX=clang++
export LD=lld
export CC_LD=lld
export CXX_LD=lld
export AR=llvm-ar

#CPPFLAGS=""
CFLAGS="-march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions -Wall \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now"
#LDFLAGS="-Wl -O3 -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc)"
#-- Debugging flags
## The "-fvar-tracking-assignments" flag is for GCC
#DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CLAGS="-g"
#DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g"
#DEBUG_RUSTFLAGS="-C debuginfo=2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#-- lto:        Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)

#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z --threads=0 -)
COMPRESSZST=(zstd -c -z -q --threads=0 -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'

#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=(doas)

dr460nf1r3 commented on 2021-10-20 06:05 (UTC)

I can't help but thinking this is caused by your configuration. Could you try building in a clean chroot, to have a clean environment?

Neko-san commented on 2021-10-16 23:35 (UTC) (edited on 2021-10-16 23:52 (UTC) by Neko-san)

@dr460nf1r3 Mach doesn't detect the correct linker (lld) for compilation; it finds bfd instead (somehow), attempts to use ld, then fails because it's not using what it's supposed to, which is the clang linker:

==> Starting build()...
Building instrumented browser...
 0:00.86 Failed to parse ccache stats output: Summary:
 0:00.86 Clobber not needed.
 Config object not found by mach.
 0:00.86 /usr/bin/python3 /mnt/bigStorage/Paru/firedragon/src/firefox-93.0/configure.py
 0:00.96 Creating Python 3 environment
 0:01.27 created virtual environment CPython3.9.7.final.0-64 in 206ms
 0:01.27   creator CPython3Posix(dest=/mnt/bigStorage/Paru/firedragon/src/firefox-93.0/obj/_virtualenvs/common, clear=False, no_vcs_ignore=False, global=False)
 0:01.27   seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/neko-san/.local/share/virtualenv)
 0:01.27     added seed packages: pip==20.3.1, setuptools==51.0.0, wheel==0.36.1
 0:01.27   activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
 0:01.40 Re-executing in the virtualenv
 0:01.54 Adding configure options from /mnt/bigStorage/Paru/firedragon/src/firefox-93.0/.mozconfig
 0:01.54   --enable-application=browser
 0:01.54   --prefix=/usr
 0:01.54   --enable-release
 0:01.54   --enable-hardening
 0:01.54   --enable-rust-simd
 0:01.54   --with-ccache
 0:01.54   --enable-update-channel=release
 0:01.54   --with-app-name=firedragon
 0:01.54   --with-app-basename=FireDragon
 0:01.54   --with-branding=browser/branding/firedragon
 0:01.54   --with-distribution-id=org.garudalinux
 0:01.54   --with-unsigned-addon-scopes=app,system
 0:01.54   --allow-addon-sideload
 0:01.54   --enable-system-pixman
 0:01.54   --with-system-av1
 0:01.54   --with-system-ffi
 0:01.54   --with-system-graphite2
 0:01.54   --with-system-harfbuzz
 0:01.54   --with-system-icu
 0:01.54   --with-system-jpeg
 0:01.54   --with-system-libevent
 0:01.54   --with-system-libvpx
 0:01.54   --with-system-nspr
 0:01.54   --with-system-nss
 0:01.54   --with-system-webp
 0:01.54   --with-system-zlib
 0:01.54   --disable-crashreporter
 0:01.54   --disable-gpsd
 0:01.54   --disable-tests
 0:01.54   --disable-updater
 0:01.54   --enable-alsa
 0:01.54   --enable-jack
 0:01.54   --enable-pulseaudio
 0:01.54   --enable-strip
 0:01.54   --enable-optimize
 0:01.54   --enable-profile-generate=cross
 0:01.54   RANLIB=llvm-ranlib
 0:01.54   NM=llvm-nm
 0:01.54   OBJCOPY=/usr/bin/llvm-objcopy
 0:01.54   STRIP=llvm-strip
 0:01.54 checking for vcs source checkout... no
 0:01.59 checking for a shell... /usr/bin/sh
 0:01.61 checking for host system type... x86_64-pc-linux-gnu
 0:01.61 checking for target system type... x86_64-pc-linux-gnu
 0:01.90 checking whether cross compiling... no
 0:01.98 checking for pkg_config... /usr/bin/pkg-config
 0:01.98 checking for aom >= 1.0.0... yes
 0:01.98 checking MOZ_SYSTEM_LIBAOM_CFLAGS...
 0:01.99 checking MOZ_SYSTEM_LIBAOM_LIBS... -laom
 0:01.99 checking for dav1d >= 0.1.1... yes
 0:01.99 checking MOZ_SYSTEM_LIBDAV1D_CFLAGS...
 0:01.99 checking MOZ_SYSTEM_LIBDAV1D_LIBS... -ldav1d
 0:01.99 checking for Python 3... /mnt/bigStorage/Paru/firedragon/src/firefox-93.0/obj/_virtualenvs/common/bin/python (3.9.7)
 0:02.00 checking for wget... /usr/bin/wget
 0:02.00 checking for ccache... /usr/bin/ccache
 0:02.01 checking for the target C compiler... /usr/bin/clang
 0:02.05 checking whether the target C compiler can be used... yes
 0:02.05 checking the target C compiler version... 12.0.1
 0:02.08 checking the target C compiler works... yes
 0:02.08 WARNING: The value of LD is not used by this build system.
 0:02.08 checking for the target C++ compiler... /usr/bin/clang++
 0:02.11 checking whether the target C++ compiler can be used... yes
 0:02.11 checking the target C++ compiler version... 12.0.1
 0:02.13 checking the target C++ compiler works... yes
 0:02.13 checking for the host C compiler... /usr/bin/clang
 0:02.17 checking whether the host C compiler can be used... yes
 0:02.17 checking the host C compiler version... 12.0.1
 0:02.19 checking the host C compiler works... yes
 0:02.19 checking for the host C++ compiler... /usr/bin/clang++
 0:02.22 checking whether the host C++ compiler can be used... yes
 0:02.22 checking the host C++ compiler version... 12.0.1
 0:02.25 checking the host C++ compiler works... yes
 0:02.28 checking for 64-bit OS... yes
 0:02.31 checking for new enough STL headers from libstdc++... yes
 0:02.33 checking for linker... bfd
 0:02.33 checking for the assembler... /usr/bin/clang
 0:02.34 checking for ar... /usr/bin/llvm-ar
 0:02.35 checking for nm... /usr/bin/llvm-nm
 0:02.35 checking for pkg-config version... 1.8.0
 0:02.38 checking for stdint.h... yes
 0:02.41 checking for inttypes.h... yes
 0:02.44 checking for malloc.h... yes
 0:02.47 checking for alloca.h... yes
 0:02.50 checking for sys/byteorder.h... no
 0:02.53 checking for getopt.h... yes
 0:02.56 checking for unistd.h... yes
 0:02.59 checking for nl_types.h... yes
 0:02.62 checking for cpuid.h... yes
 0:02.65 checking for fts.h... yes
 0:02.68 checking for sys/statvfs.h... yes
 0:02.71 checking for sys/statfs.h... yes
 0:02.74 checking for sys/vfs.h... yes
 0:02.77 checking for sys/mount.h... yes
 0:02.80 checking for sys/quota.h... yes
 0:02.83 checking for linux/quota.h... yes
 0:02.87 checking for linux/if_addr.h... yes
 0:02.90 checking for linux/rtnetlink.h... yes
 0:02.93 checking for sys/queue.h... yes
 0:02.96 checking for sys/types.h... yes
 0:03.00 checking for netinet/in.h... yes
 0:03.02 checking for byteswap.h... yes
 0:03.05 checking for memfd_create in sys/mman.h... yes
 0:03.09 checking for linux/perf_event.h... yes
 0:03.11 checking for perf_event_open system call... yes
 0:03.14 checking whether the C compiler supports -Wbitfield-enum-conversion... yes
 0:03.17 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes
 0:03.20 checking whether the C++ compiler supports -Wdeprecated-this-capture... yes
 0:03.23 checking whether the C compiler supports -Wformat-type-confusion... yes
 0:03.25 checking whether the C++ compiler supports -Wformat-type-confusion... yes
 0:03.28 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes
 0:03.31 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes
 0:03.33 checking whether the C++ compiler supports -Wshadow-uncaptured-local... yes
 0:03.36 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:03.39 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:03.42 checking whether the C compiler supports -Wunreachable-code-return... yes
 0:03.44 checking whether the C++ compiler supports -Wunreachable-code-return... yes
 0:03.47 checking whether the C compiler supports -Wclass-varargs... yes
 0:03.50 checking whether the C++ compiler supports -Wclass-varargs... yes
 0:03.53 checking whether the C++ compiler supports -Wempty-init-stmt... yes
 0:03.55 checking whether the C compiler supports -Wfloat-overflow-conversion... yes
 0:03.58 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes
 0:03.61 checking whether the C compiler supports -Wfloat-zero-conversion... yes
 0:03.64 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes
 0:03.66 checking whether the C compiler supports -Wloop-analysis... yes
 0:03.69 checking whether the C++ compiler supports -Wloop-analysis... yes
 0:03.72 checking whether the C compiler supports -Wno-range-loop-analysis... yes
 0:03.75 checking whether the C++ compiler supports -Wno-range-loop-analysis... yes
 0:03.77 checking whether the C++ compiler supports -Wc++2a-compat... yes
 0:03.80 checking whether the C++ compiler supports -Wcomma... yes
 0:03.83 checking whether the C compiler supports -Wduplicated-cond... no
 0:03.85 checking whether the C++ compiler supports -Wduplicated-cond... no
 0:03.88 checking whether the C compiler supports -Wenum-compare-conditional... yes
 0:03.91 checking whether the C++ compiler supports -Wenum-compare-conditional... yes
 0:03.94 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
 0:03.97 checking whether the C compiler supports -Wstring-conversion... yes
 0:03.99 checking whether the C++ compiler supports -Wstring-conversion... yes
 0:04.02 checking whether the C++ compiler supports -Wno-inline-new-delete... yes
 0:04.05 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
 0:04.07 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
 0:04.10 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
 0:04.13 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
 0:04.16 checking whether the C compiler supports -Wno-error=array-bounds... yes
 0:04.18 checking whether the C++ compiler supports -Wno-error=array-bounds... yes
 0:04.21 checking whether the C compiler supports -Wno-error=coverage-mismatch... no
 0:04.24 checking whether the C++ compiler supports -Wno-error=coverage-mismatch... no
 0:04.26 checking whether the C compiler supports -Wno-error=backend-plugin... yes
 0:04.29 checking whether the C++ compiler supports -Wno-error=backend-plugin... yes
 0:04.32 checking whether the C compiler supports -Wno-error=free-nonheap-object... yes
 0:04.35 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes
 0:04.37 checking whether the C compiler supports -Wno-multistatement-macros... no
 0:04.40 checking whether the C++ compiler supports -Wno-multistatement-macros... no
 0:04.42 checking whether the C compiler supports -Wno-error=return-std-move... yes
 0:04.45 checking whether the C++ compiler supports -Wno-error=return-std-move... yes
 0:04.48 checking whether the C compiler supports -Wno-error=class-memaccess... no
 0:04.50 checking whether the C++ compiler supports -Wno-error=class-memaccess... no
 0:04.53 checking whether the C compiler supports -Wno-error=atomic-alignment... yes
 0:04.56 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes
 0:04.58 checking whether the C compiler supports -Wno-error=deprecated-copy... yes
 0:04.61 checking whether the C++ compiler supports -Wno-error=deprecated-copy... yes
 0:04.64 checking whether the C compiler supports -Wno-error=unused-but-set-variable... no
 0:04.67 checking whether the C++ compiler supports -Wno-error=unused-but-set-variable... no
 0:04.69 checking whether the C compiler supports -Wformat... yes
 0:04.72 checking whether the C++ compiler supports -Wformat... yes
 0:04.75 checking whether the C compiler supports -Wformat-security... yes
 0:04.78 checking whether the C++ compiler supports -Wformat-security... yes
 0:04.80 checking whether the C compiler supports -Wformat-overflow=2... no
 0:04.83 checking whether the C++ compiler supports -Wformat-overflow=2... no
 0:04.86 checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes
 0:04.89 checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes
 0:04.91 checking whether the C compiler supports -Werror=implicit-function-declaration... yes
 0:04.94 checking whether the C compiler supports -Wno-psabi... yes
 0:04.97 checking whether the C++ compiler supports -Wno-psabi... yes
 0:05.00 checking whether the C++ compiler supports -fno-sized-deallocation... yes
 0:05.02 checking whether the C++ compiler supports -fno-aligned-new... yes
 0:05.02 checking for llvm_profdata... /usr/bin/llvm-profdata
 0:05.03 checking for alsa... yes
 0:05.03 checking MOZ_ALSA_CFLAGS...
 0:05.04 checking MOZ_ALSA_LIBS... -lasound
 0:05.04 checking for jack... yes
 0:05.04 checking MOZ_JACK_CFLAGS...
 0:05.04 checking MOZ_JACK_LIBS... -ljack
 0:05.04 checking for libpulse... yes
 0:05.04 checking MOZ_PULSEAUDIO_CFLAGS... -D_REENTRANT
 0:05.04 checking MOZ_PULSEAUDIO_LIBS... -lpulse -pthread
 0:05.05 checking for nspr >= 4.32... yes
 0:05.05 checking NSPR_CFLAGS... -I/usr/include/nspr
 0:05.05 checking NSPR_LIBS... -lplds4 -lplc4 -lnspr4
 0:05.05 checking for rustc... /home/neko-san/.cargo/bin/rustc
 0:05.05 checking for cargo... /home/neko-san/.cargo/bin/cargo
 0:05.22 Actually using '/home/neko-san/.rustup/toolchains/1.51.0-x86_64-unknown-linux-gnu/bin/rustc'
 0:05.29 Actually using '/home/neko-san/.rustup/toolchains/1.51.0-x86_64-unknown-linux-gnu/bin/cargo'
 0:05.31 checking rustc version... 1.51.0
 0:05.33 checking cargo version... 1.51.0
 0:05.37 checking for rust host triplet... x86_64-unknown-linux-gnu
 0:05.40 checking for rust target triplet... x86_64-unknown-linux-gnu
 0:05.40 checking for rustdoc... /home/neko-san/.cargo/bin/rustdoc
 0:05.41 checking for cbindgen... /usr/bin/cbindgen
 0:05.41 checking for rustfmt... /home/neko-san/.cargo/bin/rustfmt
 0:05.41 checking for clang for bindgen... /usr/bin/clang++
 0:05.42 checking for libclang for bindgen... /usr/lib/libclang.so
 0:05.44 checking that libclang is new enough... yes
 0:05.44 checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DOS_POSIX=1 -DOS_LINUX=1 -std=gnu++17
 0:05.45 checking for libffi > 3.0.9... yes
 0:05.45 checking MOZ_FFI_CFLAGS...
 0:05.45 checking MOZ_FFI_LIBS... -L/usr/lib/../lib -lffi
 0:05.45 checking for icu-i18n >= 69.1... yes
 0:05.45 checking MOZ_ICU_CFLAGS...
 0:05.46 checking MOZ_ICU_LIBS... -licui18n -licuuc -licudata
 0:05.49 checking for nodejs... /usr/bin/node (16.11.1)
 0:05.49 checking for gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1 libdrm >= 2.4... yes
 0:05.50 checking MOZ_WAYLAND_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libdrm
 0:05.51 checking MOZ_WAYLAND_LIBS... -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxkbcommon -ldrm
 0:05.51 checking for pango >= 1.22.0... yes
 0:05.51 checking MOZ_PANGO_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1
 0:05.51 checking MOZ_PANGO_LIBS... -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz
 0:05.51 checking for fontconfig >= 2.7.0... yes
 0:05.52 checking _FONTCONFIG_CFLAGS... -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:05.52 checking _FONTCONFIG_LIBS... -lfontconfig -lfreetype
 0:05.52 checking for freetype2 >= 6.1.0... yes
 0:05.52 checking _FT2_CFLAGS... -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:05.52 checking _FT2_LIBS... -lfreetype
 0:05.52 checking for graphite2... yes
 0:05.52 checking MOZ_GRAPHITE2_CFLAGS...
 0:05.53 checking MOZ_GRAPHITE2_LIBS... -lgraphite2
 0:05.53 checking for harfbuzz >= 2.7.4... yes
 0:05.53 checking MOZ_HARFBUZZ_CFLAGS... -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:05.53 checking MOZ_HARFBUZZ_LIBS... -lharfbuzz
 0:05.53 checking for tar... /usr/bin/tar
 0:05.53 checking for unzip... /usr/bin/unzip
 0:05.53 checking for zip... /usr/bin/zip
 0:05.53 checking for gn... not found
 0:05.53 checking for the Mozilla API key... no
 0:05.53 checking for the Google Location Service API key... no
 0:05.53 checking for the Google Safebrowsing API key... no
 0:05.53 checking for the Bing API key... no
 0:05.53 checking for the Adjust SDK key... no
 0:05.53 checking for the Leanplum SDK key... no
 0:05.53 checking for the Pocket API key... no
 0:05.53 checking for libwebp >= 1.0.2 libwebpdemux >= 1.0.2... yes
 0:05.54 checking MOZ_WEBP_CFLAGS...
 0:05.54 checking MOZ_WEBP_LIBS... -lwebpdemux -lwebp
 0:05.54 checking for x11 xcb xcb-shm x11-xcb xext xrender xcomposite xcursor xdamage xfixes xi... yes
 0:05.54 checking MOZ_X11_CFLAGS...
 0:05.55 checking MOZ_X11_LIBS... -lxcb-shm -lX11-xcb -lxcb -lXext -lXrender -lX11 -lXcomposite -lXcursor -lXdamage -lXfixes -lXi
 0:05.55 checking for vpx >= 1.8.0... yes
 0:05.55 checking MOZ_LIBVPX_CFLAGS...
 0:05.55 checking MOZ_LIBVPX_LIBS... -lvpx -lm
 0:05.58 checking for vpx/vpx_decoder.h... yes
 0:05.62 checking for vpx_codec_dec_init_ver... yes
 0:05.66 checking for jpeg_destroy_compress... yes
 0:05.69 checking for sufficient jpeg library version... yes
 0:05.73 checking for sufficient libjpeg-turbo JCS_EXTENSIONS... yes
 0:05.73 checking for nasm... /usr/bin/nasm
 0:05.73 checking nasm version... 2.15.05
 0:05.73 checking for dump_syms... /usr/bin/dump_syms
 0:05.76 checking for getcontext... yes
 0:05.77 checking for nss >= 3.70... yes
 0:05.77 checking NSS_CFLAGS... -I/usr/include/nss -I/usr/include/nspr
 0:05.77 checking NSS_LIBS... -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4
 0:05.77 checking for awk... /usr/bin/gawk
 0:05.77 checking for perl... /usr/bin/perl
 0:05.78 checking for minimum required perl version >= 5.006... 5.034000
 0:05.78 checking for full perl installation... yes
 0:05.78 checking for gmake... /usr/bin/make
 0:05.78 checking for watchman... not found
 0:05.78 checking for xargs... /usr/bin/xargs
 0:05.78 checking for rpmbuild... not found
 0:05.78 checking for NSIS version... no
 0:05.80 checking for llvm-objdump... /usr/bin/llvm-objdump
 0:05.80 checking for zlib >= 1.2.3... yes
 0:05.80 checking MOZ_ZLIB_CFLAGS...
 0:05.80 checking MOZ_ZLIB_LIBS... -lz
 0:05.80 checking for m4... /usr/bin/m4
 0:05.80 Refreshing /mnt/bigStorage/Paru/firedragon/src/firefox-93.0/old-configure with /mnt/bigStorage/Paru/firedragon/src/firefox-93.0/build/autoconf/autoconf.sh
 0:06.04 creating cache ./config.cache
 0:06.06 checking host system type... x86_64-pc-linux-gnu
 0:06.07 checking target system type... x86_64-pc-linux-gnu
 0:06.08 checking build system type... x86_64-pc-linux-gnu
 0:06.08 checking for objcopy... /usr/bin/llvm-objcopy
 0:06.11 checking for Cygwin environment... no
 0:06.13 checking for mingw32 environment... no
 0:06.18 checking for executable suffix... no
 0:06.18 checking for gcc... (cached) /usr/bin/ccache /usr/bin/clang -std=gnu99
 0:06.18 checking whether the C compiler (/usr/bin/ccache /usr/bin/clang -std=gnu99 -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) works... (cached) yes
 0:06.18 checking whether the C compiler (/usr/bin/ccache /usr/bin/clang -std=gnu99 -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) is a cross-compiler... no
 0:06.18 checking whether we are using GNU C... (cached) yes
 0:06.18 checking whether /usr/bin/ccache /usr/bin/clang -std=gnu99 accepts -g... (cached) yes
 0:06.18 checking for c++... (cached) /usr/bin/ccache /usr/bin/clang++ -std=gnu++17
 0:06.18 checking whether the C++ compiler (/usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) works... (cached) yes
 0:06.18 checking whether the C++ compiler (/usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) is a cross-compiler... no
 0:06.18 checking whether we are using GNU C++... (cached) yes
 0:06.18 checking whether /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 accepts -g... (cached) yes
 0:06.18 checking for /usr/bin/ccache... (cached) /usr/bin/ccache /usr/bin/clang -std=gnu99
 0:06.18 checking for strip... llvm-strip
 0:06.18 checking for otool... no
 0:06.24 checking for --noexecstack option to as... yes
 0:06.29 checking for -z noexecstack option to ld... yes
 0:06.35 checking for -z text option to ld... yes
 0:06.40 checking for -z relro option to ld... yes
 0:06.44 checking for -z nocopyreloc option to ld... yes
 0:06.48 checking for -Bsymbolic-functions option to ld... yes
 0:06.53 checking for --build-id=sha1 option to ld... yes
 0:06.57 checking for --ignore-unresolved-symbol option to ld... yes
 0:06.59 checking if toolchain supports -mssse3 option... yes
 0:06.60 checking if toolchain supports -msse4.1 option... yes
 0:06.62 checking for x86 AVX2 asm support in compiler... yes
 0:06.65 checking whether the linker supports Identical Code Folding... no
 0:06.67 checking for working const... yes
 0:06.68 checking for mode_t... yes
 0:06.70 checking for off_t... yes
 0:06.71 checking for pid_t... yes
 0:06.73 checking for size_t... yes
 0:06.83 checking whether 64-bits std::atomic requires -latomic... no
 0:06.85 checking for dirent.h that defines DIR... yes
 0:06.88 checking for opendir in -ldir... no
 0:06.92 checking for sockaddr_in.sin_len... false
 0:06.95 checking for sockaddr_in6.sin6_len... false
 0:06.98 checking for sockaddr.sa_len... false
 0:07.02 checking for gethostbyname_r in -lc_r... no
 0:07.11 checking for library containing dlopen... -ldl
 0:07.13 checking for dlfcn.h... yes
 0:07.18 checking for dladdr... yes
 0:07.23 checking for memmem... yes
 0:07.26 checking for socket in -lsocket... no
 0:07.30 checking for pthread_create in -lpthreads... no
 0:07.35 checking for pthread_create in -lpthread... yes
 0:07.39 checking whether /usr/bin/ccache /usr/bin/clang -std=gnu99 accepts -pthread... yes
 0:07.41 checking for pthread.h... yes
 0:07.45 checking for stat64... yes
 0:07.50 checking for lstat64... yes
 0:07.56 checking for truncate64... yes
 0:07.61 checking for statvfs64... yes
 0:07.66 checking for statvfs... yes
 0:07.71 checking for statfs64... yes
 0:07.76 checking for statfs... yes
 0:07.81 checking for getpagesize... yes
 0:07.86 checking for gmtime_r... yes
 0:07.91 checking for localtime_r... yes
 0:07.96 checking for arc4random... no
 0:08.01 checking for arc4random_buf... no
 0:08.05 checking for mallinfo... yes
 0:08.10 checking for gettid... yes
 0:08.15 checking for lchown... yes
 0:08.20 checking for setpriority... yes
 0:08.25 checking for strerror... yes
 0:08.31 checking for syscall... yes
 0:08.36 checking for lutimes... yes
 0:08.41 checking for clock_gettime(CLOCK_MONOTONIC)...
 0:08.44 checking for pthread_cond_timedwait_monotonic_np...
 0:08.50 checking for res_ninit()... yes
 0:08.52 checking for an implementation of va_copy()... yes
 0:08.56 checking whether va_list can be copied by value... no
 0:08.62 checking for __thread keyword for TLS variables... yes
 0:08.67 checking for localeconv... yes
 0:08.69 checking for malloc.h... yes
 0:08.74 checking for strndup... yes
 0:08.79 checking for posix_memalign... yes
 0:08.84 checking for memalign... yes
 0:08.89 checking for malloc_usable_size... yes
 0:08.92 checking whether malloc_usable_size definition can use const argument... no
 0:08.94 checking for valloc in malloc.h... yes
 0:08.96 checking for valloc in unistd.h... no
 0:08.97 checking for _aligned_malloc in malloc.h... no
 0:08.98 checking for libevent... yes
 0:08.98 checking MOZ_LIBEVENT_CFLAGS...
 0:08.98 checking MOZ_LIBEVENT_LIBS... -levent
 0:08.98 checking if app-specific confvars.sh exists... /mnt/bigStorage/Paru/firedragon/src/firefox-93.0/browser/confvars.sh
 0:08.98 checking for gtk+-3.0 >= 3.14.0 gtk+-unix-print-3.0 glib-2.0 gobject-2.0 gio-unix-2.0 ... yes
 0:09.00 checking MOZ_GTK3_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-3.0/unix-print -pthread
 0:09.00 checking MOZ_GTK3_LIBS... -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
 0:09.01 checking for dbus-1 >= 0.60... yes
 0:09.01 checking MOZ_DBUS_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
 0:09.01 checking MOZ_DBUS_LIBS... -ldbus-1
 0:09.01 checking for dbus-glib-1 >= 0.60... yes
 0:09.01 checking MOZ_DBUS_GLIB_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:09.01 checking MOZ_DBUS_GLIB_LIBS... -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
 0:09.05 checking for linux/joystick.h... yes
 0:09.10 checking for fdatasync... yes
 0:09.12 checking for valid C compiler optimization flags... yes
 0:09.20 checking for __cxa_demangle... yes
 0:09.22 checking for unwind.h... yes
 0:09.28 checking for _Unwind_Backtrace... yes
 0:09.29 checking for -pipe support... yes
 0:09.39 checking what kind of list files are supported by the linker... configure: error: Couldn't find one that works
 0:09.40 DEBUG: <truncated - see config.log for full output>
 0:09.40 DEBUG: configure:7511: /usr/bin/ccache /usr/bin/clang -std=gnu99 -c -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -fno-strict-aliasing -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -O2 -Qunused-arguments  conftest.c 1>&5
 0:09.40 DEBUG: configure:7781: checking for __cxa_demangle
 0:09.40 DEBUG: configure:7816: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -o conftest -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.C -ldl  1>&5
 0:09.40 DEBUG: configure:7886: checking for unwind.h
 0:09.40 DEBUG: configure:7899: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -c -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  conftest.C 1>&5
 0:09.40 DEBUG: configure:7916: checking for _Unwind_Backtrace
 0:09.40 DEBUG: configure:7953: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -o conftest -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.C -ldl  1>&5
 0:09.40 DEBUG: configure:8021: checking for -pipe support
 0:09.40 DEBUG: configure:8048: checking what kind of list files are supported by the linker
 0:09.40 DEBUG: configure:8053: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest.o -c  -march=native -mtune=native -O3 -pipe  -minline-all-stringops -fexceptions -Wall         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -fno-strict-aliasing -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -Qunused-arguments  conftest.c 1>&5
 0:09.40 DEBUG: configure:8060: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.list -ldl  1>&5
 0:09.40 DEBUG: ./conftest.o: file not recognized: file format not recognized
 0:09.40 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:09.40 DEBUG: configure:8064: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 -Wl,-filelist,conftest.list -ldl  1>&5
 0:09.40 DEBUG: /usr/bin/ld: -f may not be used without -shared
 0:09.40 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:09.40 DEBUG: configure:8066: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 @conftest.list -ldl  1>&5
 0:09.40 DEBUG: conftest.o: file not recognized: file format not recognized
 0:09.40 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:09.40 DEBUG: configure: error: Couldn't find one that works
 0:09.40 ERROR: old-configure failed
Error running mach:

    ['build']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file build| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

Exception: Process executed with non-0 exit code 1: ['/usr/bin/python3', '/mnt/bigStorage/Paru/firedragon/src/firefox-93.0/configure.py']

  File "/mnt/bigStorage/Paru/firedragon/src/firefox-93.0/python/mozbuild/mozbuild/build_commands.py", line 155, in build
    return driver.build(
  File "/mnt/bigStorage/Paru/firedragon/src/firefox-93.0/python/mozbuild/mozbuild/controller/building.py", line 1144, in build
    config_rc = self.configure(
  File "/mnt/bigStorage/Paru/firedragon/src/firefox-93.0/python/mozbuild/mozbuild/controller/building.py", line 1528, in configure
    status = self._run_command_in_objdir(
  File "/mnt/bigStorage/Paru/firedragon/src/firefox-93.0/python/mozbuild/mozbuild/base.py", line 845, in _run_command_in_objdir
    return self.run_process(cwd=self.topobjdir, **args)
  File "/mnt/bigStorage/Paru/firedragon/src/firefox-93.0/python/mach/mach/mixin/process.py", line 174, in run_process
    raise Exception(
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'firedragon-93.0-1'

cadaber commented on 2021-09-10 13:47 (UTC)

patching file widget/gtk/nsClipboardWayland.h
Hunk #1 FAILED at 37.
1 out of 1 hunk FAILED -- saving rejects to file widget/gtk/nsClipboardWayland.h.rej

@ d4360c265986 :(

Pheidologeton commented on 2021-09-08 22:00 (UTC)

Hello. I have this error. Please help me.

23:36.72 LLVM ERROR: Cannot select: intrinsic %llvm.x86.aesni.aesenc
23:36.72 PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
23:36.72 Stack dump:
23:36.72 0. Running pass 'Function Pass Manager' on module '/var/tmp/pamac-build-abdul444/firedragon/src/firefox-91.0.2/obj/x86_64-unknown-linux-gnu/release/libgkrust.a(wgpu_bindings-c4ff0bfbc41e908e.prj89knv98rf4b0.rcgu.o at 15751086)'.
23:36.72 1. Running pass 'X86 DAG->DAG Instruction Selection' on function '@"_ZN9hashbrown3map24HashMap$LT$K$C$V$C$S$GT$7get_mut17h248013afdd5df827E"'
23:36.77  #0 0x00007f5ab4465793 (/usr/bin/../lib/libLLVM-12.so+0xb49793)
23:36.77  #1 0x00007f5ab4462e96 (/usr/bin/../lib/libLLVM-12.so+0xb46e96)
23:36.77  #2 0x00007f5ab390e870 __restore_rt (/usr/bin/../lib/libpthread.so.0+0x13870)
23:36.77  #3 0x00007f5ab3555d22 raise (/usr/bin/../lib/libc.so.6+0x3cd22)
23:36.77  #4 0x00007f5ab353f862 abort (/usr/bin/../lib/libc.so.6+0x26862)
23:36.77  #5 0x00007f5ab4389454 llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/bin/../lib/libLLVM-12.so+0xa6d454)
23:36.77  #6 0x00007f5ab43895ae (/usr/bin/../lib/libLLVM-12.so+0xa6d5ae)
23:36.77  #7 0x00007f5ab4d69bba llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/usr/bin/../lib/libLLVM-12.so+0x144dbba)
23:36.77  #8 0x00007f5ab4d6af9a llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/usr/bin/../lib/libLLVM-12.so+0x144ef9a)
23:36.77  #9 0x00007f5ab728e538 (/usr/bin/../lib/libLLVM-12.so+0x3972538)
23:36.77 #10 0x00007f5ab4d6869f llvm::SelectionDAGISel::DoInstructionSelection() (/usr/bin/../lib/libLLVM-12.so+0x144c69f)
23:36.77 #11 0x00007f5ab4d713b5 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/usr/bin/../lib/libLLVM-12.so+0x14553b5)
23:36.77 #12 0x00007f5ab4d74082 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/usr/bin/../lib/libLLVM-12.so+0x1458082)
23:36.77 #13 0x00007f5ab4d768d9 (/usr/bin/../lib/libLLVM-12.so+0x145a8d9)
23:36.77 #14 0x00007f5ab729838c (/usr/bin/../lib/libLLVM-12.so+0x397c38c)
23:36.77 #15 0x00007f5ab485e2a9 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/bin/../lib/libLLVM-12.so+0xf422a9)
23:36.77 #16 0x00007f5ab45c1af0 llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/bin/../lib/libLLVM-12.so+0xca5af0)
23:36.77 #17 0x00007f5ab45c1c5c llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/bin/../lib/libLLVM-12.so+0xca5c5c)
23:36.77 #18 0x00007f5ab45c347a llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/bin/../lib/libLLVM-12.so+0xca747a)
23:36.77 #19 0x00007f5ab5cb395f (/usr/bin/../lib/libLLVM-12.so+0x239795f)
23:36.77 #20 0x00007f5ab5cb4367 (/usr/bin/../lib/libLLVM-12.so+0x2398367)
23:36.77 #21 0x00007f5ab5cb4e0d llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<std::unique_ptr<llvm::lto::NativeObjectStream, std::default_delete<llvm::lto::NativeObjectStream> > (unsigned int)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::StringMap<std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, llvm::MallocAllocator> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*> > const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, std::vector<std::pair<llvm::StringRef, llvm::BitcodeModule>, std::allocator<std::pair<llvm::StringRef, llvm::BitcodeModule> > > >&, std::vector<unsigned char, std::allocator<unsigned char> > const&) (/usr/bin/../lib/libLLVM-12.so+0x2398e0d)
23:36.77 #22 0x00007f5ab5c9e0f6 (/usr/bin/../lib/libLLVM-12.so+0x23820f6)
23:36.77 #23 0x00007f5ab43e8592 (/usr/bin/../lib/libLLVM-12.so+0xacc592)
23:36.77 #24 0x00007f5ab43c69b9 (/usr/bin/../lib/libLLVM-12.so+0xaaa9b9)
23:36.77 #25 0x00007f5ab390bc27 __pthread_once_slow (/usr/bin/../lib/libpthread.so.0+0x10c27)
23:36.77 #26 0x00007f5ab43e8f25 (/usr/bin/../lib/libLLVM-12.so+0xaccf25)
23:36.77 #27 0x00007f5ab37b83c4 std::default_delete<std::thread::_State>::operator()(std::thread::_State*) const /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:85:2
23:36.77 #28 0x00007f5ab37b83c4 std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >::~unique_ptr() /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:361:17
23:36.77 #29 0x00007f5ab37b83c4 execute_native_thread_routine /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:84:5
23:36.77 #30 0x00007f5ab3904259 start_thread (/usr/bin/../lib/libpthread.so.0+0x9259)
23:36.77 #31 0x00007f5ab36175e3 clone (/usr/bin/../lib/libc.so.6+0xfe5e3)
23:55.25 clang-12: error: unable to execute command: Aborted (core dumped)
23:55.25 clang-12: error: linker command failed due to signal (use -v to see invocation)

Neko-san commented on 2021-08-27 21:49 (UTC)

Can I get help getting this issue resolved?

Neko-san commented on 2021-08-19 20:25 (UTC)

@ptr1337 I'm not sure what the difference the -v3 makes but yeah

Also, not sure what you mean by "overwork," it's literally the default config with some sparse edits (basically just using Clang, O3, lto, march=native, and mtune=native) and I get an error every time without even touching the PKGBUILD

ptr1337 commented on 2021-08-19 14:57 (UTC)

@neko-san

Do you need a built version, with x86-64-v3 and -O3 ? i built it successfully few times.

Also you should overwork your makepkg.conf

Neko-san commented on 2021-08-19 07:41 (UTC)

Even if I disable lto it still fails to compile :/

Neko-san commented on 2021-08-17 21:47 (UTC)

@ptr1337 All that tells me is that it supports LTO with more than one language (namely Rust); that doesn't help solve the problem considering Firefox gaining the feature made headlines in articles that don't elaborate any further than the fact it exists

ptr1337 commented on 2021-08-17 10:56 (UTC)

@Neko-san

Its compiling automatically with LTO and PGO. If you read the PKGBUILD you see it.

Also research "Firefox lto=cross"

Neko-san commented on 2021-08-16 21:48 (UTC)

@dr460nf1r3 I tried compiling with Clang & Clang++ (with some additional optimization flags and lto enabled) in makepkg.conf and the build fails to compile:

My makepkg.conf:

#!/hint/bash
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget
# /usr/bin/axel

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'fossil::fossil'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
export CC=clang
export CXX=clang++

#CPPFLAGS=""
CFLAGS="-march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now"
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc) -e"
#-- Debugging flags
## The "-fvar-tracking-assignments" flag is for GCC
#DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CLAGS="-g"
#DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g"
#DEBUG_RUSTFLAGS="-C debuginfo=2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#-- lto:        Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)

#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z --threads=0 -)
COMPRESSZST=(zstd -c -z -q --threads=0 -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'

#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=(doas)

The terminal output:

==> Making package: firedragon 91.0-2 (Mon 16 Aug 2021 04:41:25 PM CDT)
==> Retrieving sources...
  -> Downloading firefox-91.0.source.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  363M  100  363M    0     0   9.7M      0  0:00:37  0:00:37 --:--:-- 10.7M
  -> Found firedragon.desktop
  -> Cloning common git repo...
Cloning into bare repository '/home/neko-san/.cache/paru/clone/firedragon/common'...
remote: Enumerating objects: 539, done.
remote: Counting objects: 100% (485/485), done.
remote: Compressing objects: 100% (293/293), done.
remote: Total 539 (delta 168), reused 425 (delta 116), pack-reused 54
Receiving objects: 100% (539/539), 4.95 MiB | 5.57 MiB/s, done.
Resolving deltas: 100% (178/178), done.
  -> Cloning settings git repo...
Cloning into bare repository '/home/neko-san/.cache/paru/clone/firedragon/settings'...
remote: Enumerating objects: 583, done.
remote: Counting objects: 100% (568/568), done.
remote: Compressing objects: 100% (216/216), done.
remote: Total 583 (delta 324), reused 531 (delta 296), pack-reused 15
Receiving objects: 100% (583/583), 1.83 MiB | 4.56 MiB/s, done.
Resolving deltas: 100% (328/328), done.
==> Validating source files with sha256sums...
    firefox-91.0.source.tar.xz ... Passed
    firedragon.desktop ... Passed
    common ... Skipped
    settings ... Skipped
==> Making package: firedragon 91.0-2 (Mon 16 Aug 2021 04:42:06 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found firefox-91.0.source.tar.xz
  -> Found firedragon.desktop
  -> Updating common git repo...
Fetching origin
  -> Updating settings git repo...
Fetching origin
==> Validating source files with sha256sums...
    firefox-91.0.source.tar.xz ... Passed
    firedragon.desktop ... Passed
    common ... Skipped
    settings ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting firefox-91.0.source.tar.xz with bsdtar
  -> Creating working copy of common git repo...
Cloning into 'common'...
done.
  -> Creating working copy of settings git repo...
Cloning into 'settings'...
done.
==> Starting prepare()...
---- Arch patches
patching file toolkit/xre/nsAppRunner.cpp
patching file widget/gtk/nsAppShell.cpp
---- Patching for KDE
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file modules/libpref/Preferences.cpp
Hunk #2 succeeded at 4628 (offset -8 lines).
Hunk #3 succeeded at 4723 (offset -8 lines).
patching file modules/libpref/moz.build
Hunk #1 succeeded at 118 (offset 1 line).
patching file python/mozbuild/mozpack/chrome/flags.py
patching file python/mozbuild/mozpack/chrome/manifest.py
patching file toolkit/components/downloads/moz.build
patching file toolkit/mozapps/downloads/HelperAppDlg.jsm
patching file toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
patching file toolkit/xre/moz.build
patching file toolkit/xre/nsKDEUtils.cpp
patching file toolkit/xre/nsKDEUtils.h
patching file uriloader/exthandler/HandlerServiceParent.cpp
patching file uriloader/exthandler/moz.build
patching file uriloader/exthandler/unix/nsCommonRegistry.cpp
patching file uriloader/exthandler/unix/nsCommonRegistry.h
patching file uriloader/exthandler/unix/nsKDERegistry.cpp
patching file uriloader/exthandler/unix/nsKDERegistry.h
patching file uriloader/exthandler/unix/nsMIMEInfoUnix.cpp
patching file uriloader/exthandler/unix/nsOSHelperAppService.cpp
patching file widget/gtk/moz.build
Hunk #1 succeeded at 137 (offset 1 line).
patching file widget/gtk/nsFilePicker.cpp
patching file widget/gtk/nsFilePicker.h
patching file xpcom/components/ManifestParser.cpp
patching file xpcom/components/moz.build
patching file xpcom/io/nsLocalFileUnix.cpp
---- Misc patches
patching file browser/base/content/browser.css
Hunk #1 succeeded at 350 (offset 16 lines).
patching file build/moz.configure/rust.configure
---- Gentoo patches
patching file build/moz.configure/lto-pgo.configure
patching file toolkit/components/terminator/nsTerminator.cpp
Hunk #1 succeeded at 456 with fuzz 2 (offset 38 lines).
patching file config/makefiles/rust.mk
Hunk #1 succeeded at 64 (offset 8 lines).
Hunk #2 succeeded at 78 (offset 7 lines).
---- Patching for system libs
patching file config/system-headers.mozbuild
Hunk #1 succeeded at 1237 (offset 1 line).
patching file dom/base/moz.build
Hunk #1 succeeded at 559 (offset 3 lines).
patching file gfx/moz.build
patching file gfx/skia/generate_mozbuild.py
Hunk #1 succeeded at 97 (offset -1 lines).
patching file gfx/skia/moz.build
Hunk #1 succeeded at 489 (offset -1 lines).
patching file gfx/thebes/moz.build
Hunk #1 succeeded at 293 (offset 3 lines).
patching file intl/unicharutil/util/moz.build
patching file netwerk/dns/moz.build
Hunk #1 succeeded at 106 (offset 2 lines).
patching file toolkit/library/moz.build
Hunk #1 succeeded at 254 (offset 13 lines).
patching file toolkit/moz.configure
patching file config/system-headers.mozbuild
Hunk #1 succeeded at 1244 (offset 1 line).
patching file gfx/graphite2/geckoextra/moz.build
patching file gfx/graphite2/moz-gr-update.sh
patching file gfx/moz.build
patching file gfx/thebes/moz.build
Hunk #1 succeeded at 291 (offset 3 lines).
patching file old-configure.in
Hunk #1 succeeded at 2284 (offset 1 line).
patching file toolkit/library/moz.build
Hunk #1 succeeded at 254 (offset 13 lines).
patching file toolkit/moz.configure
patching file config/external/moz.build
Hunk #1 succeeded at 45 (offset 5 lines).
patching file config/system-headers.mozbuild
Hunk #1 succeeded at 1301 (offset 1 line).
patching file dom/media/platforms/moz.build
patching file toolkit/moz.configure
Hunk #2 succeeded at 591 with fuzz 2.
---- Librewolf patches
patching file browser/extensions/moz.build
patching file browser/locales/Makefile.in
patching file browser/locales/filter.py
patching file browser/locales/l10n.ini
patching file browser/locales/l10n.toml
patching file browser/components/urlbar/UrlbarInput.jsm
Hunk #1 succeeded at 1684 (offset -28 lines).
patching file browser/themes/shared/urlbar-searchbar.inc.css
patching file browser/themes/shared/urlbarView.inc.css
patching file browser/base/content/browser-menubar.inc
patching file browser/base/content/browser.js
Hunk #1 succeeded at 6218 (offset -33 lines).
patching file browser/components/places/content/places.xhtml
patching file dom/xul/XULPopupElement.cpp
Hunk #1 succeeded at 207 (offset -4 lines).
Hunk #2 succeeded at 233 (offset -4 lines).
patching file dom/xul/moz.build
patching file layout/build/moz.build
patching file modules/libpref/init/all.js
Hunk #1 succeeded at 292 (offset -9 lines).
patching file toolkit/content/xul.css
patching file widget/gtk/moz.build
Hunk #4 succeeded at 150 (offset 1 line).
patching file widget/gtk/nsDbusmenu.cpp
patching file widget/gtk/nsDbusmenu.h
patching file widget/gtk/nsMenu.cpp
patching file widget/gtk/nsMenu.h
patching file widget/gtk/nsMenuBar.cpp
patching file widget/gtk/nsMenuBar.h
patching file widget/gtk/nsMenuContainer.cpp
patching file widget/gtk/nsMenuContainer.h
patching file widget/gtk/nsMenuItem.cpp
patching file widget/gtk/nsMenuItem.h
patching file widget/gtk/nsMenuObject.cpp
patching file widget/gtk/nsMenuObject.h
patching file widget/gtk/nsMenuSeparator.cpp
patching file widget/gtk/nsMenuSeparator.h
patching file widget/gtk/nsNativeMenuDocListener.cpp
patching file widget/gtk/nsNativeMenuDocListener.h
patching file widget/gtk/nsNativeMenuService.cpp
patching file widget/gtk/nsNativeMenuService.h
patching file widget/gtk/nsWindow.cpp
Hunk #1 succeeded at 6953 (offset 517 lines).
patching file widget/gtk/nsWindow.h
Hunk #1 succeeded at 26 (offset -13 lines).
Hunk #2 succeeded at 184 (offset 14 lines).
Hunk #3 succeeded at 788 (offset 76 lines).
patching file xpcom/ds/NativeMenuAtoms.py
patching file xpcom/ds/StaticAtoms.py
Hunk #2 succeeded at 2510 (offset 3 lines).
patching file widget/gtk/components.conf
Hunk #1 succeeded at 76 (offset -6 lines).
patching file xpfe/appshell/AppWindow.cpp
patching file widget/gtk/NativeMenuSupport.cpp
patching file widget/gtk/NativeMenuSupport.h
patching file widget/moz.build
Hunk #1 succeeded at 138 (offset -6 lines).
patching file widget/nsINativeMenuService.h
patching file widget/nsWidgetsCID.h
patching file browser/components/BrowserGlue.jsm
Hunk #1 succeeded at 1381 (offset 6 lines).
patching file browser/components/moz.build
Hunk #1 succeeded at 41 (offset -1 lines).
patching file browser/base/content/browser.js
Hunk #1 succeeded at 5200 (offset -46 lines).
patching file browser/components/privatebrowsing/content/aboutPrivateBrowsing.html
patching file dom/base/Document.cpp
Hunk #1 succeeded at 17091 (offset 7 lines).
patching file modules/libpref/init/StaticPrefList.yaml
Hunk #1 succeeded at 10229 (offset 366 lines).
patching file browser/components/enterprisepolicies/schemas/policies-schema.json
Hunk #1 succeeded at 1104 (offset 30 lines).
patching file browser/components/newtab/data/content/activity-stream.bundle.js
Hunk #1 succeeded at 1827 (offset -14 lines).
patching file modules/libpref/init/all.js
Hunk #1 succeeded at 2174 (offset -69 lines).
patching file services/settings/Utils.jsm
patching file toolkit/components/search/SearchUtils.jsm
patching file widget/gtk/nsClipboardWayland.h
==> Sources are ready.
firedragon-91.0-2: parsing pkg list...
==> Making package: firedragon 91.0-2 (Mon 16 Aug 2021 04:42:36 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Building instrumented browser...
 0:00.51 Clobber not needed.
 Config object not found by mach.
 0:00.51 /usr/bin/python3 /home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/configure.py
 0:00.60 Creating Python 3 environment
 0:00.87 created virtual environment CPython3.9.6.final.0-64 in 148ms
 0:00.87   creator CPython3Posix(dest=/home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/obj/_virtualenvs/common, clear=False, no_vcs_ignore=False, global=False)
 0:00.87   seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/neko-san/.local/share/virtualenv)
 0:00.87     added seed packages: pip==21.1.3, setuptools==57.4.0, wheel==0.36.2
 0:00.87   activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
 0:00.94 Re-executing in the virtualenv
 0:01.08 Adding configure options from /home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/.mozconfig
 0:01.08   --enable-application=browser
 0:01.08   --prefix=/usr
 0:01.08   --enable-release
 0:01.08   --enable-hardening
 0:01.08   --enable-rust-simd
 0:01.08   --with-ccache
 0:01.08   --enable-update-channel=release
 0:01.08   --with-app-name=firedragon
 0:01.08   --with-app-basename=FireDragon
 0:01.08   --with-branding=browser/branding/firedragon
 0:01.09   --with-distribution-id=org.garudalinux
 0:01.09   --with-unsigned-addon-scopes=app,system
 0:01.09   --allow-addon-sideload
 0:01.09   --enable-system-pixman
 0:01.09   --with-system-av1
 0:01.09   --with-system-ffi
 0:01.09   --with-system-graphite2
 0:01.09   --with-system-harfbuzz
 0:01.09   --with-system-icu
 0:01.09   --with-system-jpeg
 0:01.09   --with-system-libevent
 0:01.09   --with-system-libvpx
 0:01.09   --with-system-nspr
 0:01.09   --with-system-nss
 0:01.09   --with-system-webp
 0:01.09   --with-system-zlib
 0:01.09   --disable-crashreporter
 0:01.09   --disable-gpsd
 0:01.09   --disable-tests
 0:01.09   --disable-updater
 0:01.09   --enable-alsa
 0:01.09   --enable-jack
 0:01.09   --enable-pulseaudio
 0:01.09   --enable-strip
 0:01.09   --enable-optimize
 0:01.09   --enable-profile-generate=cross
 0:01.09   NM=llvm-nm
 0:01.09   RANLIB=llvm-ranlib
 0:01.09   STRIP=llvm-strip
 0:01.09   AR=llvm-ar
 0:01.09   OBJCOPY=/usr/bin/llvm-objcopy
 0:01.09 checking for vcs source checkout... no
 0:01.11 checking for a shell... /usr/bin/sh
 0:01.14 checking for host system type... x86_64-pc-linux-gnu
 0:01.14 checking for target system type... x86_64-pc-linux-gnu
 0:01.37 checking whether cross compiling... no
 0:01.43 checking for pkg_config... /usr/bin/pkg-config
 0:01.44 checking for aom >= 1.0.0... yes
 0:01.44 checking MOZ_SYSTEM_LIBAOM_CFLAGS...
 0:01.44 checking MOZ_SYSTEM_LIBAOM_LIBS... -laom
 0:01.44 checking for dav1d >= 0.1.1... yes
 0:01.44 checking MOZ_SYSTEM_LIBDAV1D_CFLAGS...
 0:01.45 checking MOZ_SYSTEM_LIBDAV1D_LIBS... -ldav1d
 0:01.45 checking for Python 3... /home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/obj/_virtualenvs/common/bin/python (3.9.6)
 0:01.46 checking for wget... /usr/bin/wget
 0:01.46 checking for ccache... /usr/bin/ccache
 0:01.47 checking for the target C compiler... /usr/bin/clang
 0:01.62 checking whether the target C compiler can be used... yes
 0:01.62 checking the target C compiler version... 12.0.1
 0:01.66 checking the target C compiler works... yes
 0:01.66 checking for the target C++ compiler... /usr/bin/clang++
 0:01.69 checking whether the target C++ compiler can be used... yes
 0:01.69 checking the target C++ compiler version... 12.0.1
 0:01.72 checking the target C++ compiler works... yes
 0:01.72 checking for the host C compiler... /usr/bin/clang
 0:01.76 checking whether the host C compiler can be used... yes
 0:01.76 checking the host C compiler version... 12.0.1
 0:01.79 checking the host C compiler works... yes
 0:01.79 checking for the host C++ compiler... /usr/bin/clang++
 0:01.82 checking whether the host C++ compiler can be used... yes
 0:01.82 checking the host C++ compiler version... 12.0.1
 0:01.85 checking the host C++ compiler works... yes
 0:01.88 checking for 64-bit OS... yes
 0:01.91 checking for new enough STL headers from libstdc++... yes
 0:01.93 checking for linker... bfd
 0:01.93 checking for the assembler... /usr/bin/clang
 0:01.95 checking for ar... /usr/bin/llvm-ar
 0:01.96 checking for nm... /usr/bin/llvm-nm
 0:01.96 checking for pkg-config version... 1.7.3
 0:02.00 checking for stdint.h... yes
 0:02.03 checking for inttypes.h... yes
 0:02.06 checking for malloc.h... yes
 0:02.09 checking for alloca.h... yes
 0:02.12 checking for sys/byteorder.h... no
 0:02.15 checking for getopt.h... yes
 0:02.19 checking for unistd.h... yes
 0:02.22 checking for nl_types.h... yes
 0:02.25 checking for cpuid.h... yes
 0:02.29 checking for fts.h... yes
 0:02.32 checking for sys/statvfs.h... yes
 0:02.35 checking for sys/statfs.h... yes
 0:02.38 checking for sys/vfs.h... yes
 0:02.42 checking for sys/mount.h... yes
 0:02.45 checking for sys/quota.h... yes
 0:02.49 checking for linux/quota.h... yes
 0:02.53 checking for linux/if_addr.h... yes
 0:02.57 checking for linux/rtnetlink.h... yes
 0:02.60 checking for sys/queue.h... yes
 0:02.63 checking for sys/types.h... yes
 0:02.67 checking for netinet/in.h... yes
 0:02.71 checking for byteswap.h... yes
 0:02.74 checking for memfd_create in sys/mman.h... yes
 0:02.78 checking for linux/perf_event.h... yes
 0:02.81 checking for perf_event_open system call... yes
 0:02.84 checking whether the C compiler supports -Wbitfield-enum-conversion... yes
 0:02.86 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes
 0:02.89 checking whether the C++ compiler supports -Wdeprecated-this-capture... yes
 0:02.92 checking whether the C compiler supports -Wformat-type-confusion... yes
 0:02.95 checking whether the C++ compiler supports -Wformat-type-confusion... yes
 0:02.98 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes
 0:03.01 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes
 0:03.04 checking whether the C++ compiler supports -Wshadow-uncaptured-local... yes
 0:03.07 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:03.10 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:03.13 checking whether the C compiler supports -Wunreachable-code-return... yes
 0:03.16 checking whether the C++ compiler supports -Wunreachable-code-return... yes
 0:03.19 checking whether the C compiler supports -Wclass-varargs... yes
 0:03.22 checking whether the C++ compiler supports -Wclass-varargs... yes
 0:03.25 checking whether the C++ compiler supports -Wempty-init-stmt... yes
 0:03.28 checking whether the C compiler supports -Wfloat-overflow-conversion... yes
 0:03.31 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes
 0:03.34 checking whether the C compiler supports -Wfloat-zero-conversion... yes
 0:03.37 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes
 0:03.40 checking whether the C compiler supports -Wloop-analysis... yes
 0:03.43 checking whether the C++ compiler supports -Wloop-analysis... yes
 0:03.47 checking whether the C compiler supports -Wno-range-loop-analysis... yes
 0:03.49 checking whether the C++ compiler supports -Wno-range-loop-analysis... yes
 0:03.52 checking whether the C++ compiler supports -Wc++2a-compat... yes
 0:03.55 checking whether the C++ compiler supports -Wcomma... yes
 0:03.58 checking whether the C compiler supports -Wduplicated-cond... no
 0:03.61 checking whether the C++ compiler supports -Wduplicated-cond... no
 0:03.64 checking whether the C compiler supports -Wenum-compare-conditional... yes
 0:03.67 checking whether the C++ compiler supports -Wenum-compare-conditional... yes
 0:03.70 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
 0:03.73 checking whether the C compiler supports -Wstring-conversion... yes
 0:03.76 checking whether the C++ compiler supports -Wstring-conversion... yes
 0:03.79 checking whether the C++ compiler supports -Wno-inline-new-delete... yes
 0:03.81 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
 0:03.84 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
 0:03.87 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
 0:03.90 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
 0:03.93 checking whether the C compiler supports -Wno-error=array-bounds... yes
 0:03.96 checking whether the C++ compiler supports -Wno-error=array-bounds... yes
 0:03.98 checking whether the C compiler supports -Wno-error=coverage-mismatch... no
 0:04.01 checking whether the C++ compiler supports -Wno-error=coverage-mismatch... no
 0:04.04 checking whether the C compiler supports -Wno-error=backend-plugin... yes
 0:04.07 checking whether the C++ compiler supports -Wno-error=backend-plugin... yes
 0:04.10 checking whether the C compiler supports -Wno-error=free-nonheap-object... yes
 0:04.13 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes
 0:04.15 checking whether the C compiler supports -Wno-multistatement-macros... no
 0:04.18 checking whether the C++ compiler supports -Wno-multistatement-macros... no
 0:04.21 checking whether the C compiler supports -Wno-error=return-std-move... yes
 0:04.24 checking whether the C++ compiler supports -Wno-error=return-std-move... yes
 0:04.26 checking whether the C compiler supports -Wno-error=class-memaccess... no
 0:04.29 checking whether the C++ compiler supports -Wno-error=class-memaccess... no
 0:04.32 checking whether the C compiler supports -Wno-error=atomic-alignment... yes
 0:04.35 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes
 0:04.38 checking whether the C compiler supports -Wno-error=deprecated-copy... yes
 0:04.41 checking whether the C++ compiler supports -Wno-error=deprecated-copy... yes
 0:04.43 checking whether the C compiler supports -Wno-error=unused-but-set-variable... no
 0:04.46 checking whether the C++ compiler supports -Wno-error=unused-but-set-variable... no
 0:04.49 checking whether the C compiler supports -Wformat... yes
 0:04.52 checking whether the C++ compiler supports -Wformat... yes
 0:04.55 checking whether the C compiler supports -Wformat-security... yes
 0:04.58 checking whether the C++ compiler supports -Wformat-security... yes
 0:04.61 checking whether the C compiler supports -Wformat-overflow=2... no
 0:04.64 checking whether the C++ compiler supports -Wformat-overflow=2... no
 0:04.67 checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes
 0:04.70 checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes
 0:04.73 checking whether the C compiler supports -Werror=implicit-function-declaration... yes
 0:04.76 checking whether the C compiler supports -Wno-psabi... yes
 0:04.79 checking whether the C++ compiler supports -Wno-psabi... yes
 0:04.82 checking whether the C++ compiler supports -fno-sized-deallocation... yes
 0:04.85 checking whether the C++ compiler supports -fno-aligned-new... yes
 0:04.85 checking for llvm_profdata... /usr/bin/llvm-profdata
 0:04.86 checking for alsa... yes
 0:04.86 checking MOZ_ALSA_CFLAGS...
 0:04.86 checking MOZ_ALSA_LIBS... -lasound
 0:04.86 checking for jack... yes
 0:04.87 checking MOZ_JACK_CFLAGS...
 0:04.87 checking MOZ_JACK_LIBS... -ljack
 0:04.87 checking for libpulse... yes
 0:04.87 checking MOZ_PULSEAUDIO_CFLAGS... -D_REENTRANT
 0:04.87 checking MOZ_PULSEAUDIO_LIBS... -lpulse -pthread
 0:04.87 checking for nspr >= 4.32... yes
 0:04.88 checking NSPR_CFLAGS... -I/usr/include/nspr
 0:04.88 checking NSPR_LIBS... -lplds4 -lplc4 -lnspr4
 0:04.88 checking for rustc... /home/neko-san/.cargo/bin/rustc
 0:04.88 checking for cargo... /home/neko-san/.cargo/bin/cargo
 0:05.05 Actually using '/home/neko-san/.rustup/toolchains/1.51.0-x86_64-unknown-linux-gnu/bin/rustc'
 0:05.12 Actually using '/home/neko-san/.rustup/toolchains/1.51.0-x86_64-unknown-linux-gnu/bin/cargo'
 0:05.23 checking rustc version... 1.51.0
 0:05.24 checking cargo version... 1.51.0
 0:05.37 checking for rust host triplet... x86_64-unknown-linux-gnu
 0:05.40 checking for rust target triplet... x86_64-unknown-linux-gnu
 0:05.40 checking for rustdoc... /home/neko-san/.cargo/bin/rustdoc
 0:05.41 checking for cbindgen... /usr/bin/cbindgen
 0:05.41 checking for rustfmt... /home/neko-san/.cargo/bin/rustfmt
 0:05.41 checking for clang for bindgen... /usr/bin/clang++
 0:05.42 checking for libclang for bindgen... /usr/lib/libclang.so
 0:05.44 checking that libclang is new enough... yes
 0:05.44 checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DOS_POSIX=1 -DOS_LINUX=1 -std=gnu++17
 0:05.45 checking for libffi > 3.0.9... yes
 0:05.45 checking MOZ_FFI_CFLAGS...
 0:05.45 checking MOZ_FFI_LIBS... -L/usr/lib/../lib -lffi
 0:05.45 checking for icu-i18n >= 69.1... yes
 0:05.45 checking MOZ_ICU_CFLAGS...
 0:05.46 checking MOZ_ICU_LIBS... -licui18n -licuuc -licudata
 0:05.49 checking for nodejs... /usr/bin/node (16.6.2)
 0:05.49 checking for gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1 libdrm >= 2.4... yes
 0:05.51 checking MOZ_WAYLAND_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/libdrm
 0:05.51 checking MOZ_WAYLAND_LIBS... -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxkbcommon -ldrm
 0:05.51 checking for pango >= 1.22.0 pangoft2 >= 1.22.0 pangocairo >= 1.22.0... yes
 0:05.52 checking MOZ_PANGO_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -pthread
 0:05.52 checking MOZ_PANGO_LIBS... -lpangoft2-1.0 -lfontconfig -lfreetype -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo
 0:05.52 checking for fontconfig >= 2.7.0... yes
 0:05.53 checking _FONTCONFIG_CFLAGS... -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:05.53 checking _FONTCONFIG_LIBS... -lfontconfig -lfreetype
 0:05.53 checking for freetype2 >= 6.1.0... yes
 0:05.53 checking _FT2_CFLAGS... -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:05.53 checking _FT2_LIBS... -lfreetype
 0:05.53 checking for graphite2... yes
 0:05.54 checking MOZ_GRAPHITE2_CFLAGS...
 0:05.54 checking MOZ_GRAPHITE2_LIBS... -lgraphite2
 0:05.54 checking for harfbuzz >= 2.7.4... yes
 0:05.54 checking MOZ_HARFBUZZ_CFLAGS... -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:05.54 checking MOZ_HARFBUZZ_LIBS... -lharfbuzz
 0:05.54 checking for tar... /usr/bin/tar
 0:05.54 checking for unzip... /usr/bin/unzip
 0:05.54 checking for zip... /usr/bin/zip
 0:05.54 checking for gn... not found
 0:05.54 checking for the Mozilla API key... no
 0:05.54 checking for the Google Location Service API key... no
 0:05.54 checking for the Google Safebrowsing API key... no
 0:05.54 checking for the Bing API key... no
 0:05.54 checking for the Adjust SDK key... no
 0:05.54 checking for the Leanplum SDK key... no
 0:05.54 checking for the Pocket API key... no
 0:05.55 checking for libwebp >= 1.0.2 libwebpdemux >= 1.0.2... yes
 0:05.55 checking MOZ_WEBP_CFLAGS...
 0:05.55 checking MOZ_WEBP_LIBS... -lwebpdemux -lwebp
 0:05.55 checking for vpx >= 1.8.0... yes
 0:05.55 checking MOZ_LIBVPX_CFLAGS...
 0:05.55 checking MOZ_LIBVPX_LIBS... -lvpx -lm
 0:05.59 checking for vpx/vpx_decoder.h... yes
 0:05.63 checking for vpx_codec_dec_init_ver... yes
 0:05.67 checking for jpeg_destroy_compress... yes
 0:05.71 checking for sufficient jpeg library version... yes
 0:05.74 checking for sufficient libjpeg-turbo JCS_EXTENSIONS... yes
 0:05.74 checking for nasm... /usr/bin/nasm
 0:05.75 checking nasm version... 2.15.05
 0:05.75 checking for dump_syms... /usr/bin/dump_syms
 0:05.78 checking for getcontext... yes
 0:05.78 checking for nss >= 3.68... yes
 0:05.79 checking NSS_CFLAGS... -I/usr/include/nss -I/usr/include/nspr
 0:05.79 checking NSS_LIBS... -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4
 0:05.79 checking for awk... /usr/bin/gawk
 0:05.79 checking for perl... /usr/bin/perl
 0:05.80 checking for minimum required perl version >= 5.006... 5.034000
 0:05.80 checking for full perl installation... yes
 0:05.80 checking for gmake... /usr/bin/make
 0:05.80 checking for watchman... not found
 0:05.80 checking for xargs... /usr/bin/xargs
 0:05.80 checking for rpmbuild... not found
 0:05.80 checking for NSIS version... no
 0:05.82 checking for llvm-objdump... /usr/bin/llvm-objdump
 0:05.82 checking for zlib >= 1.2.3... yes
 0:05.82 checking MOZ_ZLIB_CFLAGS...
 0:05.82 checking MOZ_ZLIB_LIBS... -lz
 0:05.82 checking for m4... /usr/bin/m4
 0:05.83 Refreshing /home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/old-configure with /home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/build/autoconf/autoconf.sh
 0:05.91 creating cache ./config.cache
 0:05.92 checking host system type... x86_64-pc-linux-gnu
 0:05.92 checking target system type... x86_64-pc-linux-gnu
 0:05.93 checking build system type... x86_64-pc-linux-gnu
 0:05.93 checking for objcopy... /usr/bin/llvm-objcopy
 0:05.96 checking for Cygwin environment... no
 0:05.99 checking for mingw32 environment... no
 0:06.04 checking for executable suffix... no
 0:06.04 checking for gcc... (cached) /usr/bin/ccache /usr/bin/clang -std=gnu99
 0:06.04 checking whether the C compiler (/usr/bin/ccache /usr/bin/clang -std=gnu99 -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) works... (cached) yes
 0:06.04 checking whether the C compiler (/usr/bin/ccache /usr/bin/clang -std=gnu99 -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) is a cross-compiler... no
 0:06.04 checking whether we are using GNU C... (cached) yes
 0:06.04 checking whether /usr/bin/ccache /usr/bin/clang -std=gnu99 accepts -g... (cached) yes
 0:06.04 checking for c++... (cached) /usr/bin/ccache /usr/bin/clang++ -std=gnu++17
 0:06.04 checking whether the C++ compiler (/usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) works... (cached) yes
 0:06.04 checking whether the C++ compiler (/usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now ) is a cross-compiler... no
 0:06.04 checking whether we are using GNU C++... (cached) yes
 0:06.04 checking whether /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 accepts -g... (cached) yes
 0:06.04 checking for /usr/bin/ccache... /usr/bin/ccache /usr/bin/clang -std=gnu99
 0:06.04 checking for strip... llvm-strip
 0:06.04 checking for otool... no
 0:06.15 checking for X... libraries /usr/lib64, headers
 0:06.20 checking for dnet_ntoa in -ldnet... no
 0:06.23 checking for dnet_ntoa in -ldnet_stub... no
 0:06.28 checking for gethostbyname... yes
 0:06.33 checking for connect... yes
 0:06.38 checking for remove... yes
 0:06.43 checking for shmat... yes
 0:06.48 checking for IceConnectionNumber in -lICE... yes
 0:06.56 checking for --noexecstack option to as... yes
 0:06.61 checking for -z noexecstack option to ld... yes
 0:06.65 checking for -z text option to ld... yes
 0:06.70 checking for -z relro option to ld... yes
 0:06.75 checking for -z nocopyreloc option to ld... yes
 0:06.80 checking for -Bsymbolic-functions option to ld... yes
 0:06.84 checking for --build-id=sha1 option to ld... yes
 0:06.89 checking for --ignore-unresolved-symbol option to ld... yes
 0:06.92 checking if toolchain supports -mssse3 option... yes
 0:06.95 checking if toolchain supports -msse4.1 option... yes
 0:06.98 checking for x86 AVX2 asm support in compiler... yes
 0:07.02 checking whether the linker supports Identical Code Folding... no
 0:07.05 checking for working const... yes
 0:07.07 checking for mode_t... yes
 0:07.08 checking for off_t... yes
 0:07.10 checking for pid_t... yes
 0:07.12 checking for size_t... yes
 0:07.22 checking whether 64-bits std::atomic requires -latomic... no
 0:07.26 checking for dirent.h that defines DIR... yes
 0:07.30 checking for opendir in -ldir... no
 0:07.33 checking for sockaddr_in.sin_len... false
 0:07.37 checking for sockaddr_in6.sin6_len... false
 0:07.40 checking for sockaddr.sa_len... false
 0:07.45 checking for gethostbyname_r in -lc_r... no
 0:07.55 checking for library containing dlopen... -ldl
 0:07.58 checking for dlfcn.h... yes
 0:07.63 checking for dladdr... yes
 0:07.68 checking for memmem... yes
 0:07.72 checking for socket in -lsocket... no
 0:07.78 checking for XDrawLines in -lX11... yes
 0:07.84 checking for XextAddDisplay in -lXext... yes
 0:07.89 checking for XtFree in -lXt... yes
 0:07.94 checking for xcb_connect in -lxcb... yes
 0:07.99 checking for xcb_shm_query_version in -lxcb-shm... yes
 0:08.05 checking for XGetXCBConnection in -lX11-xcb... yes
 0:08.09 checking for pthread_create in -lpthreads... no
 0:08.14 checking for pthread_create in -lpthread... yes
 0:08.17 checking whether /usr/bin/ccache /usr/bin/clang -std=gnu99 accepts -pthread... yes
 0:08.21 checking for pthread.h... yes
 0:08.26 checking for stat64... yes
 0:08.32 checking for lstat64... yes
 0:08.37 checking for truncate64... yes
 0:08.42 checking for statvfs64... yes
 0:08.47 checking for statvfs... yes
 0:08.52 checking for statfs64... yes
 0:08.58 checking for statfs... yes
 0:08.63 checking for getpagesize... yes
 0:08.68 checking for gmtime_r... yes
 0:08.73 checking for localtime_r... yes
 0:08.79 checking for arc4random... no
 0:08.84 checking for arc4random_buf... no
 0:08.89 checking for mallinfo... yes
 0:08.94 checking for gettid... yes
 0:08.99 checking for lchown... yes
 0:09.04 checking for setpriority... yes
 0:09.10 checking for strerror... yes
 0:09.15 checking for syscall... yes
 0:09.20 checking for lutimes... yes
 0:09.25 checking for clock_gettime(CLOCK_MONOTONIC)...
 0:09.29 checking for pthread_cond_timedwait_monotonic_np...
 0:09.39 checking for res_ninit()... yes
 0:09.43 checking for an implementation of va_copy()... yes
 0:09.46 checking whether va_list can be copied by value... no
 0:09.53 checking for __thread keyword for TLS variables... yes
 0:09.58 checking for localeconv... yes
 0:09.62 checking for malloc.h... yes
 0:09.68 checking for strndup... yes
 0:09.73 checking for posix_memalign... yes
 0:09.78 checking for memalign... yes
 0:09.83 checking for malloc_usable_size... yes
 0:09.87 checking whether malloc_usable_size definition can use const argument... no
 0:09.89 checking for valloc in malloc.h... yes
 0:09.90 checking for valloc in unistd.h... no
 0:09.92 checking for _aligned_malloc in malloc.h... no
 0:09.93 checking for libevent... yes
 0:09.93 checking MOZ_LIBEVENT_CFLAGS...
 0:09.93 checking MOZ_LIBEVENT_LIBS... -levent
 0:09.93 checking if app-specific confvars.sh exists... /home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/browser/confvars.sh
 0:09.93 checking for gtk+-3.0 >= 3.14.0 gtk+-unix-print-3.0 glib-2.0 gobject-2.0 gio-unix-2.0 ... yes
 0:09.95 checking MOZ_GTK3_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-3.0/unix-print -pthread
 0:09.96 checking MOZ_GTK3_LIBS... -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
 0:09.96 checking for dbus-1 >= 0.60... yes
 0:09.96 checking MOZ_DBUS_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
 0:09.96 checking MOZ_DBUS_LIBS... -ldbus-1
 0:09.96 checking for dbus-glib-1 >= 0.60... yes
 0:09.96 checking MOZ_DBUS_GLIB_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 0:09.97 checking MOZ_DBUS_GLIB_LIBS... -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
 0:10.04 checking for linux/joystick.h... yes
 0:10.09 checking for fdatasync... yes
 0:10.13 checking for valid C compiler optimization flags... yes
 0:10.21 checking for __cxa_demangle... yes
 0:10.25 checking for unwind.h... yes
 0:10.32 checking for _Unwind_Backtrace... yes
 0:10.32 checking for -pipe support... yes
 0:10.39 checking what kind of list files are supported by the linker... configure: error: Couldn't find one that works
 0:10.40 DEBUG: <truncated - see config.log for full output>
 0:10.40 DEBUG: configure:8779: /usr/bin/ccache /usr/bin/clang -std=gnu99 -c -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -fno-strict-aliasing -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -O2 -Qunused-arguments  conftest.c 1>&5
 0:10.40 DEBUG: configure:9049: checking for __cxa_demangle
 0:10.40 DEBUG: configure:9084: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -o conftest -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.C -ldl  1>&5
 0:10.40 DEBUG: configure:9154: checking for unwind.h
 0:10.40 DEBUG: configure:9167: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -c -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  conftest.C 1>&5
 0:10.40 DEBUG: configure:9184: checking for _Unwind_Backtrace
 0:10.40 DEBUG: configure:9221: /usr/bin/ccache /usr/bin/clang++ -std=gnu++17 -o conftest -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -Qunused-arguments  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.C -ldl  1>&5
 0:10.40 DEBUG: configure:9289: checking for -pipe support
 0:10.40 DEBUG: configure:9316: checking what kind of list files are supported by the linker
 0:10.40 DEBUG: configure:9321: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest.o -c  -march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto -fno-strict-aliasing -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -Qunused-arguments  conftest.c 1>&5
 0:10.40 DEBUG: configure:9328: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 conftest.list -ldl  1>&5
 0:10.40 DEBUG: ./conftest.o: file not recognized: file format not recognized
 0:10.40 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:10.40 DEBUG: configure:9332: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 -Wl,-filelist,conftest.list -ldl  1>&5
 0:10.40 DEBUG: /usr/bin/ld: -f may not be used without -shared
 0:10.40 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:10.40 DEBUG: configure:9334: /usr/bin/ccache /usr/bin/clang -std=gnu99 -o conftest  -lpthread -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now  -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -Wl,--build-id=sha1 @conftest.list -ldl  1>&5
 0:10.40 DEBUG: conftest.o: file not recognized: file format not recognized
 0:10.40 DEBUG: clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
 0:10.40 DEBUG: configure: error: Couldn't find one that works
 0:10.40 ERROR: old-configure failed
Error running mach:

    ['build']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file build| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

Exception: Process executed with non-0 exit code 1: ['/usr/bin/python3', '/home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/configure.py']

  File "/home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/python/mozbuild/mozbuild/build_commands.py", line 159, in build
    return driver.build(
  File "/home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/python/mozbuild/mozbuild/controller/building.py", line 1144, in build
    config_rc = self.configure(
  File "/home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/python/mozbuild/mozbuild/controller/building.py", line 1528, in configure
    status = self._run_command_in_objdir(
  File "/home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/python/mozbuild/mozbuild/base.py", line 845, in _run_command_in_objdir
    return self.run_process(cwd=self.topobjdir, **args)
  File "/home/neko-san/.cache/paru/clone/firedragon/src/firefox-91.0/python/mach/mach/mixin/process.py", line 176, in run_process
    raise Exception(
==> ERROR: A failure occurred in build().
    Aborting...

dr460nf1r3 commented on 2021-08-16 18:21 (UTC) (edited on 2021-08-16 18:21 (UTC) by dr460nf1r3)

Changed, thanks! The appmenu patch is back as well :)

etircopyh commented on 2021-08-15 16:45 (UTC)

Firefox supports actual PipeWire 0.3.XX now, so there's no need in libpipewire02 dependency.

dr460nf1r3 commented on 2021-08-12 09:13 (UTC) (edited on 2021-08-12 09:14 (UTC) by dr460nf1r3)

Thanks for the headsup, the culprit is the unity-menubar Patch - without it compiles alright. Gotta comment that out for now.

wulfalpha commented on 2021-08-12 02:07 (UTC)

just a heads up the AUR version is 1 version ahead of the chaotic-AUR version and will not build. It fails in one of the final steps. (version that fails 91.0 version in chaotic-aur 90)

dr460nf1r3 commented on 2021-07-16 15:52 (UTC)

Pre-built binaries are available at Chaotic-AUR. We use patches from Librewolf and OpenSUSE which means the package will be updated after they update their patches.

ZorinArch commented on 2021-07-16 09:11 (UTC)

Hi, please add the binary version firedragon-bin.

alium commented on 2021-05-07 07:42 (UTC)

thank you so much!!

FabioLolix commented on 2021-04-05 19:49 (UTC)

You are using source_aarch64=() and source_x86_64=() which are not needed since you are downloading source code not pre-compiled binaries

This pkgbuild need to be called firedragon since "stable" is the default