zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
19.4k stars 467 forks source link

Can not build on Windows (Locales folder issue) #2645

Open Max-109 opened 3 weeks ago

Max-109 commented 3 weeks ago

Captchas

What happened?

Hi, i've been trying to build the browser for a few days but still can not get it to work. I did everything what the guide told to do (updated languages too) but still it is not working. The last successful step was "sh ./scripts/update-en-US-packs.sh" and on "npm run build" i get the error:

_00:00:07 ERROR: Invalid value --with-l10n-base, /c/Users/Max/Documents/desktop/engine/browser/locales doesn't exist 00:00:07 W Exception when writing resource usage file: [Errno 2] No such file or directory: 'C:/Users/Max/Documents/desktop/engine/obj-x86_64-pc-windows-msvc\.mozbuild\profile_buildresources.json' 00:00:07 Config object not found by mach. 00:00:07 *** Fix above errors and then restart with "./mach build"

So far i've tried:

  1. changing mozconfig ("C:\Users\Max\Documents\desktop\configs\common\mozconfig") 7th line to _ac_addoptions --with-l10n-base="C:\Users\Max\Documents\desktop\engine\browser\locales"
  2. changing mozconfig ("C:\Users\Max\Documents\desktop\engine\mozconfig") 9th line to _ac_addoptions --with-l10n-base="C:\Users\Max\Documents\desktop\engine\browser\locales"
  3. changing .mozconfig.json ("C:\Users\Max\Documents\desktop\engine\obj-x8664-pc-windows-msvc.mozconfig.json") 7th line from "--with-l10n-base=/c/Users/Max/Documents/desktop/engine/browser/locales", to "--with-l10n-base=/c/Users/Max/Documents/desktop/engine/browser/locales"_
  4. Running surfer reset and surfer import - didnt help, i get an infinite loop of "Checking connection"
  5. Tried doing everything from the scratch - did not help.
  6. Updated Language Packs - did not help.

Would be cool if you'd help, thanks!

Reproducible?

Version

1.0.1-a.17 (Latest)

What platform are you seeing the problem on?

Windows

Relevant log output

$ npm run build
(node:8072) ExperimentalWarning: CommonJS module C:\Users\Max\AppData\Roaming\npm\node_modules\npm\node_modules\debug\src\node.js is loading ES Module C:\Users\Max\AppData\Roaming\npm\node_modules\npm\node_modules\supports-color\index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

> zen-core@1.0.0 build
> surfer build

00:00:00 Applying mozconfig...
00:00:00 Dynamic config 'brand not set, defaulting to 'unofficial'
00:00:00 Dynamic config 'buildMode not set, defaulting to 'dev'
00:00:00 Dynamic config 'buildMode not set, defaulting to 'dev'
00:00:00 Building config based on a dev mode
00:00:00 Config for this `windows` build:
00:00:00        --with-app-name=zen
00:00:00        --with-app-basename=Zen
00:00:00        --enable-official-branding
00:00:00        MOZ_USER_DIR="Zen Browser"
00:00:00        MOZ_APP_BASENAME=Zen
00:00:00        MOZ_APP_PROFILE=zen
00:00:00        MOZ_APP_DISPLAYNAME="Zen Browser"
00:00:00        MOZ_BRANDING_DIRECTORY=branding/unofficial
00:00:00        MOZ_OFFICIAL_BRANDING_DIRECTORY=branding/unofficial
00:00:00        MOZ_DISTRIBUTION_ID=com.zen.browser
00:00:00        MOZ_SOURCE_REPO=https://github.com/zen-browser/desktop
00:00:00        MOZ_SOURCE_CHANGESET=cf7af8e3aaa821280e950d7120c5ab1d9047f718
00:00:00        MOZ_INCLUDE_SOURCE_INFO=1
00:00:00        --enable-application=browser
00:00:00        --enable-unverified-updates
00:00:00        --enable-raw
00:00:00        --enable-webrtc
00:00:00        --enable-jxl
00:00:00        --enable-av1
00:00:00        --enable-eme=widevine
00:00:00        --with-unsigned-addon-scopes=app,system
00:00:00        MOZ_DATA_REPORTING=
00:00:00        MOZ_SERVICES_HEALTHREPORT=
00:00:00        MOZ_TELEMETRY_REPORTING=
00:00:00        MOZ_REQUIRE_SIGNING=
00:00:00        MOZ_REQUIRE_SIGNING=
00:00:00        --target=x86_64-pc-windows-msvc
00:00:00        --disable-maintenance-service
00:00:00        --disable-bits-download
00:00:00        VERBOSE=1
00:00:00        --disable-debug
00:00:00        --with-branding=browser/branding/unofficial
00:00:00        --enable-unverified-updates
00:00:00        --enable-update-channel=unofficial
00:00:00        ZEN_FIREFOX_VERSION=132.0.1
00:00:00        MOZ_APPUPDATE_HOST=updates.zen-browser.app
00:00:00 Starting build...
00:00:00 Building for "windows"...
 WARNING If you get any dependency errors, try running |surfer bootstrap|.
00:00:02 warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/app/profile/firefox.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/app/splash.rc', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/aboutDialog.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/aboutDialog.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/aboutRestartRequired.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/browser-box.inc.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/browser-development-helpers.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/browser-init.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/browser-places.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/browser-sets.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/browser-siteIdentity.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/browser.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/browser.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/main-popupset.inc.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/navigator-toolbox.inc.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/base/content/nsContextMenu.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/BrowserGlue.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/aboutlogins/content/aboutLogins.html', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/aboutlogins/content/components/login-list.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/controlcenter/content/identityPanel.inc.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/customizableui/CustomizableUI.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/customizableui/CustomizeMode.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/customizableui/content/panelUI.inc.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/migration/MigrationUtils.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/moz.build', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/newtab/content-src/components/CustomizeMenu/ContentSection/ContentSection.jsx', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/newtab/data/content/abouthomecache/page.html.template', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/newtab/lib/AboutPreferences.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/newtab/lib/ActivityStream.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/places/content/bookmarkProperties.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/places/content/browserPlacesViews.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/places/content/editBookmarkPanel.inc.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/places/jar.mn', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/preferences/dialogs/syncChooseWhatToSync.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/preferences/jar.mn', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/preferences/main.inc.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/preferences/main.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/preferences/preferences.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/preferences/preferences.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/preferences/sync.inc.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/sessionstore/TabState.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/sessionstore/content/aboutSessionRestore.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/sidebar/browser-sidebar.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/components/tabbrowser/content/tabbrowser.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 W Clobber not needed.
00:00:02 warning: in the working copy of 'browser/components/tabbrowser/content/tabs.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/extensions/moz.build', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/installer/package-manifest.in', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/BuiltInThemes.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/addons/dark/manifest.json', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/addons/light/manifest.json', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/linux/browser.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/shared/browser-shared.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/shared/controlcenter/panel.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/shared/customizableui/panelUI-shared.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/shared/identity-block/identity-block.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/shared/preferences/preferences.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/shared/tabbrowser/fullscreen-and-pointerlock.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/shared/tabbrowser/tabs.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'browser/themes/windows/browser.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'build/application.ini.in', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'build/moz.build', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'docshell/base/nsAboutRedirector.cpp', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'dom/script/ScriptLoader.cpp', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'gfx/wr/webrender/src/picture.rs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'netwerk/protocol/http/moz.build', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/actors/SelectParent.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/components/aboutconfig/content/aboutconfig.html', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/components/aboutprocesses/content/aboutProcesses.html', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/components/pictureinpicture/PictureInPicture.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/components/printing/content/print.html', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/components/prompts/content/commonDialog.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/content/aboutAbout.html', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/content/aboutProfiles.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/content/aboutProfiles.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/content/aboutSupport.xhtml', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/content/widgets/browser-custom-element.js', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/content/widgets/infobar.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/content/widgets/moz-toggle/moz-toggle.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/content/xul.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/locales/en-US/toolkit/about/aboutProfiles.ftl', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/modules/AppConstants.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/modules/LightweightThemeConsumer.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/modules/UpdateUtils.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/modules/moz.build', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/moz.configure', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/mozapps/extensions/AddonManager.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/mozapps/extensions/content/aboutaddons.html', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/mozapps/extensions/internal/AddonSettings.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/mozapps/extensions/internal/AddonUpdateChecker.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/mozapps/extensions/internal/XPIProvider.sys.mjs', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/mozapps/update/updater/updater-common.build', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/profile/nsIToolkitProfile.idl', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/profile/nsToolkitProfileService.cpp', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/profile/nsToolkitProfileService.h', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/themes/shared/aboutReader.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/themes/shared/in-content/common-shared.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/themes/shared/menu-shared.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/themes/shared/menulist-shared.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 warning: in the working copy of 'toolkit/themes/shared/popup.css', LF will be replaced by CRLF the next time Git touches it
00:00:02 Using Python 3.11.7 from C:\mozbuild\srcdirs\engine-e6321ee46eeb\_virtualenvs\build\Scripts\python.exe
00:00:02 Adding configure options from C:\Users\Max\Documents\Zen\desktop\engine\mozconfig
00:00:02   --with-app-name=zen
00:00:02   --with-app-basename=Zen
00:00:02   --enable-official-branding
00:00:02   --with-l10n-base=/c/Users/Max/Documents/desktop/engine/browser/locales
00:00:02   --enable-application=browser
00:00:02   --enable-unverified-updates
00:00:02   --enable-raw
00:00:02   --enable-webrtc
00:00:02   --enable-jxl
00:00:02   --enable-av1
00:00:02   --enable-eme=widevine
00:00:02   --with-unsigned-addon-scopes=app,system
00:00:02   --target=x86_64-pc-windows-msvc
00:00:02   --disable-maintenance-service
00:00:02   --disable-bits-download
00:00:02   --enable-optimize=-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -ftree-vectorize -Xclang -w
00:00:02   --enable-wasm-avx
00:00:02   --disable-debug
00:00:02   --with-branding=browser/branding/unofficial
00:00:02   --enable-unverified-updates
00:00:02   --enable-update-channel=unofficial
00:00:02   MOZ_SOURCE_CHANGESET=cf7af8e3aaa821280e950d7120c5ab1d9047f718
00:00:02   CXXFLAGS=-O2 -flto=thin -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3
00:00:02   LDFLAGS=-Wl,-O3 -march=x86-64-v3
00:00:02   VERBOSE=1
00:00:02   MOZ_APPUPDATE_HOST=updates.zen-browser.app
00:00:02   MOZ_BRANDING_DIRECTORY=branding/unofficial
00:00:02   MOZ_DISTRIBUTION_ID=com.zen.browser
00:00:02   MOZ_USER_DIR=Zen Browser
00:00:02   MOZ_SOURCE_REPO=https://github.com/zen-browser/desktop
00:00:02   MOZ_APP_BASENAME=Zen
00:00:02   CFLAGS=-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3
00:00:02   MOZ_REQUIRE_SIGNING=
00:00:02   MOZ_APP_DISPLAYNAME=Zen Browser
00:00:02   MOZ_OFFICIAL_BRANDING_DIRECTORY=branding/unofficial
00:00:02   ZEN_FIREFOX_VERSION=132.0.1
00:00:02   CPPFLAGS=-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -mfma -maes -march=x86-64-v3
00:00:02   MOZ_INCLUDE_SOURCE_INFO=1
00:00:02   MOZ_APP_PROFILE=zen
00:00:02   RUSTFLAGS=-Clink-args=--icf=safe -C target-feature=+avx2 -C codegen-units=1 -Ctarget-cpu=x86-64-v3
00:00:02 checking for vcs source checkout... git
00:00:02 checking for a shell... C:/mozilla-build/msys2/usr/bin/sh.exe
00:00:02 checking for host system type... x86_64-pc-windows-msvc
00:00:02 checking for target system type... x86_64-pc-windows-msvc
00:00:02 checking whether cross compiling... no
00:00:02 checking for Python 3... C:/mozbuild/srcdirs/engine-e6321ee46eeb/_virtualenvs/build/Scripts/python.exe (3.11.7)
00:00:02 checking for git... C:/PROGRA~1/Git/cmd/git.exe
00:00:02 checking for Git version... 2.47.0.windows.2
00:00:02 checking for MozillaBuild directory... C:\mozilla-build\
00:00:02 checking for MozillaBuild version... 4.1
00:00:02 checking for wget... C:/mozilla-build/msys2/usr/bin/wget.exe
00:00:02 checking for ccache... not found
00:00:02 checking for the target C compiler... C:/mozbuild/clang/bin/clang-cl.exe
00:00:03 checking whether the target C compiler can be used... yes
00:00:03 checking the target C compiler version... 18.1.7
00:00:03 checking the target C compiler works... yes
00:00:03 checking for the target C++ compiler... C:/mozbuild/clang/bin/clang-cl.exe
00:00:03 checking whether the target C++ compiler can be used... yes
00:00:03 checking the target C++ compiler version... 18.1.7
00:00:03 checking the target C++ compiler works... yes
00:00:03 checking for the host C compiler... C:/mozbuild/clang/bin/clang-cl.exe
00:00:03 checking whether the host C compiler can be used... yes
00:00:03 checking the host C compiler version... 18.1.7
00:00:03 checking the host C compiler works... yes
00:00:03 checking for the host C++ compiler... C:/mozbuild/clang/bin/clang-cl.exe
00:00:03 checking whether the host C++ compiler can be used... yes
00:00:03 checking the host C++ compiler version... 18.1.7
00:00:03 checking the host C++ compiler works... yes
00:00:03 checking for 64-bit OS... yes
00:00:03 checking for Windows SDK... 0x0a00 in 'C:/mozbuild/vs/Windows Kits/10'
00:00:03 checking for Universal CRT SDK... 10.0.22621.0 in 'C:/mozbuild/vs/Windows Kits/10'
00:00:03 checking for linker... C:/mozbuild/clang/bin/lld-link.exe
00:00:03 checking for host_linker... C:/mozbuild/clang/bin/lld-link.exe
00:00:03 checking for the assembler... C:/mozbuild/vs/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/ml64.exe
00:00:03 checking for llvm-objdump... C:/mozbuild/clang/bin/llvm-objdump.exe
00:00:03 checking for rc... C:/mozbuild/clang/bin/llvm-rc.exe
00:00:03 checking for ar... C:/mozbuild/clang/bin/llvm-lib.exe
00:00:03 checking whether ar supports response files... no
00:00:03 checking for host_ar... C:/mozbuild/clang/bin/llvm-lib.exe
00:00:03 checking for -mavxvnni support... yes
00:00:03 checking for -mavx512bw support... yes
00:00:03 checking for -mavx512vnni support... yes
00:00:03 checking for malloc.h... yes
00:00:03 checking for stdint.h... yes
00:00:03 checking for inttypes.h... yes
00:00:03 checking for alloca.h... no
00:00:03 checking for sys/byteorder.h... no
00:00:03 checking for getopt.h... no
00:00:03 checking for unistd.h... no
00:00:03 checking for nl_types.h... no
00:00:03 checking for cpuid.h... yes
00:00:03 checking for fts.h... no
00:00:03 checking for sys/statvfs.h... no
00:00:03 checking for sys/statfs.h... no
00:00:03 checking for sys/vfs.h... no
00:00:03 checking for sys/mount.h... no
00:00:03 checking for sys/quota.h... no
00:00:03 checking for sys/queue.h... no
00:00:03 checking for sys/types.h... yes
00:00:03 checking for netinet/in.h... no
00:00:04 checking for byteswap.h... no
00:00:04 checking for memfd_create in sys/mman.h... no
00:00:04 checking whether the C compiler supports -Wbitfield-enum-conversion... yes
00:00:04 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes
00:00:04 checking whether the C compiler supports -Wformat-type-confusion... yes
00:00:04 checking whether the C++ compiler supports -Wformat-type-confusion... yes
00:00:04 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes
00:00:04 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes
00:00:04 checking whether the C compiler supports -Wtautological-constant-in-range-compare... yes
00:00:04 checking whether the C++ compiler supports -Wtautological-constant-in-range-compare... yes
00:00:04 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes
00:00:04 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes
00:00:04 checking whether the C compiler supports -Wunreachable-code-return... yes
00:00:04 checking whether the C++ compiler supports -Wunreachable-code-return... yes
00:00:04 checking whether the C compiler supports -Wunused-but-set-parameter... yes
00:00:04 checking whether the C++ compiler supports -Wunused-but-set-parameter... yes
00:00:04 checking whether the C compiler supports -Wclass-varargs... yes
00:00:04 checking whether the C++ compiler supports -Wclass-varargs... yes
00:00:04 checking whether the C++ compiler supports -Wempty-init-stmt... yes
00:00:04 checking whether the C compiler supports -Wfloat-overflow-conversion... yes
00:00:04 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes
00:00:04 checking whether the C compiler supports -Wfloat-zero-conversion... yes
00:00:04 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes
00:00:04 checking whether the C compiler supports -Wloop-analysis... yes
00:00:04 checking whether the C++ compiler supports -Wloop-analysis... yes
00:00:04 checking whether the C compiler supports -Wno-range-loop-analysis... yes
00:00:04 checking whether the C++ compiler supports -Wno-range-loop-analysis... yes
00:00:04 checking whether the C++ compiler supports -Wcomma-subscript... no
00:00:04 checking whether the C compiler supports -Wenum-compare-conditional... yes
00:00:04 checking whether the C++ compiler supports -Wenum-compare-conditional... yes
00:00:04 checking whether the C compiler supports -Wenum-float-conversion... yes
00:00:04 checking whether the C++ compiler supports -Wenum-float-conversion... yes
00:00:04 checking whether the C++ compiler supports -Wvolatile... yes
00:00:04 checking whether the C++ compiler supports -Wno-deprecated-anon-enum-enum-conversion... yes
00:00:04 checking whether the C++ compiler supports -Wno-deprecated-enum-enum-conversion... yes
00:00:04 checking whether the C++ compiler supports -Wno-deprecated-this-capture... yes
00:00:04 checking whether the C++ compiler supports -Wcomma... yes
00:00:05 checking whether the C compiler supports -Wduplicated-cond... no
00:00:05 checking whether the C++ compiler supports -Wduplicated-cond... no
00:00:05 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
00:00:05 checking whether the C compiler supports -Wlogical-op... no
00:00:05 checking whether the C++ compiler supports -Wlogical-op... no
00:00:05 checking whether the C compiler supports -Wstring-conversion... yes
00:00:05 checking whether the C++ compiler supports -Wstring-conversion... yes
00:00:05 checking whether the C++ compiler supports -Wno-inline-new-delete... yes
00:00:05 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
00:00:05 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
00:00:05 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
00:00:05 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
00:00:05 checking whether the C compiler supports -Wno-error=array-bounds... yes
00:00:05 checking whether the C++ compiler supports -Wno-error=array-bounds... yes
00:00:05 checking whether the C compiler supports -Wno-error=free-nonheap-object... yes
00:00:05 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes
00:00:05 checking whether the C compiler supports -Wno-multistatement-macros... no
00:00:05 checking whether the C++ compiler supports -Wno-multistatement-macros... no
00:00:05 checking whether the C compiler supports -Wno-error=class-memaccess... no
00:00:05 checking whether the C++ compiler supports -Wno-error=class-memaccess... no
00:00:05 checking whether the C compiler supports -Wno-error=atomic-alignment... yes
00:00:05 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes
00:00:05 checking whether the C compiler supports -Wno-error=deprecated-builtins... yes
00:00:05 checking whether the C++ compiler supports -Wno-error=deprecated-builtins... yes
00:00:05 checking whether the C compiler supports -Wno-unknown-pragmas... yes
00:00:05 checking whether the C++ compiler supports -Wno-unknown-pragmas... yes
00:00:05 checking whether the C compiler supports -Wno-ignored-pragmas... yes
00:00:05 checking whether the C++ compiler supports -Wno-ignored-pragmas... yes
00:00:05 checking whether the C compiler supports -Wno-deprecated-declarations... yes
00:00:05 checking whether the C++ compiler supports -Wno-deprecated-declarations... yes
00:00:05 checking whether the C++ compiler supports -Wno-microsoft-enum-value... yes
00:00:05 checking whether the C++ compiler supports -Wno-microsoft-include... yes
00:00:05 checking whether the C compiler supports -Wno-invalid-noreturn... yes
00:00:05 checking whether the C++ compiler supports -Wno-invalid-noreturn... yes
00:00:05 checking whether the C++ compiler supports -Wno-inconsistent-missing-override... yes
00:00:05 checking whether the C++ compiler supports -Wno-implicit-exception-spec-mismatch... yes
00:00:05 checking whether the C++ compiler supports -Wno-microsoft-exception-spec... yes
00:00:05 checking whether the C++ compiler supports -Wno-unused-local-typedef... yes
00:00:06 checking whether the C++ compiler supports -Wno-ignored-attributes... yes
00:00:06 checking whether the C++ compiler supports -Wno-used-but-marked-unused... yes
00:00:06 checking whether the C compiler supports -Werror=implicit-function-declaration... yes
00:00:06 checking whether the C compiler supports -Wno-psabi... yes
00:00:06 checking whether the C++ compiler supports -Wno-psabi... yes
00:00:06 checking whether the C compiler supports -Wthread-safety... yes
00:00:06 checking whether the C++ compiler supports -Wthread-safety... yes
00:00:06 checking whether the C compiler supports -Wno-error=builtin-macro-redefined... yes
00:00:06 checking whether the C++ compiler supports -Wno-error=builtin-macro-redefined... yes
00:00:06 checking whether the C++ compiler supports -Wno-vla-cxx-extension... yes
00:00:06 checking whether the C compiler supports -Wno-unknown-warning-option... yes
00:00:06 checking whether the C++ compiler supports -Wno-unknown-warning-option... yes
00:00:06 checking whether the C++ compiler supports -fno-sized-deallocation... no
00:00:06 checking whether the C++ compiler supports -fno-aligned-new... no
00:00:06 checking what kind of list files are supported by the linker... list
00:00:06 checking for llvm_profdata... C:/mozbuild/clang/bin/llvm-profdata.exe
00:00:06 checking whether llvm-profdata supports 'order' subcommand... yes
00:00:06 checking for rustc... C:/Users/Max/.cargo/bin/rustc.exe
00:00:06 checking for cargo... C:/Users/Max/.cargo/bin/cargo.exe
00:00:06 Actually using 'C:\Users\Max\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe'
00:00:06 Actually using 'C:\Users\Max\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\cargo.exe'
00:00:06 checking rustc version... 1.82.0
00:00:06 checking cargo version... 1.82.0
00:00:06 checking for rust host triplet... x86_64-pc-windows-msvc
00:00:06 checking for rust target triplet... x86_64-pc-windows-msvc
00:00:06 checking for rustdoc... C:/Users/Max/.cargo/bin/rustdoc.exe
00:00:06 checking for cbindgen... C:/mozbuild/cbindgen/cbindgen.exe
00:00:06 checking for rustfmt... C:/Users/Max/.cargo/bin/rustfmt.exe
00:00:07 checking for clang for bindgen... C:/mozbuild/clang/bin/clang.exe
00:00:07 checking for libclang for bindgen... C:/mozbuild/clang/bin/libclang.dll
00:00:07 checking that libclang is new enough... yes
00:00:07 checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DWIN32=1 -D_CRT_USE_BUILTIN_OFFSETOF -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -std=gnu++17
00:00:07 checking for tm_zone and tm_gmtoff in struct tm... no
00:00:07 checking for _getc_nolock... yes
00:00:07 checking for localeconv... yes
00:00:07 checking for nodejs... C:\mozbuild\node\node.EXE (18.19.0)
00:00:07 ERROR: Invalid value --with-l10n-base, /c/Users/Max/Documents/desktop/engine/browser/locales doesn't exist
00:00:07 W Exception when writing resource usage file: [Errno 2] No such file or directory: 'C:/Users/Max/Documents/desktop/engine/obj-x86_64-pc-windows-msvc\\.mozbuild\\profile_build_resources.json'
00:00:07  Config object not found by mach.
00:00:07 *** Fix above errors and then restart with "./mach build"
dosubot[bot] commented 3 weeks ago

Hi there, @Max-109! I'm here to help you with any bugs, questions, or contributions you may have. Let's work together to resolve the issue you're experiencing.

To resolve the "Invalid value --with-l10n-base" error, ensure that the specified directory for locales exists. The configuration specifies the localization base directory as:

ac_add_options --with-l10n-base="$PWD/browser/locales"

Verify that the directory C:\Users\Max\Documents\desktop\engine\browser\locales exists in your project structure. If it does not exist, you should create it or update the path to point to the correct existing directory that contains the localization files.

Additionally, you may need to initialize and update the l10n submodule to ensure the localization files are correctly fetched. You can do this by running:

git submodule update --init --recursive

This command will clone the l10n submodule from the specified URL into the l10n directory, which you can then use as your localization base. Make sure to adjust the --with-l10n-base path accordingly if needed [1][2].

To continue talking to Dosu, mention @dosu.

Max-109 commented 3 weeks ago

Hi there, @Max-109! I'm here to help you with any bugs, questions, or contributions you may have. Let's work together to resolve the issue you're experiencing.

To resolve the "Invalid value --with-l10n-base" error, ensure that the specified directory for locales exists. The configuration specifies the localization base directory as:

ac_add_options --with-l10n-base="$PWD/browser/locales"

Verify that the directory C:\Users\Max\Documents\desktop\engine\browser\locales exists in your project structure. If it does not exist, you should create it or update the path to point to the correct existing directory that contains the localization files.

Additionally, you may need to initialize and update the l10n submodule to ensure the localization files are correctly fetched. You can do this by running:

git submodule update --init --recursive

This command will clone the l10n submodule from the specified URL into the l10n directory, which you can then use as your localization base. Make sure to adjust the --with-l10n-base path accordingly if needed [1][2].

To continue talking to Dosu, mention @dosu.

Yes, i already have done what you suggested me

Max-109 commented 3 weeks ago

@mauro-balades Hi, sorry for tagging but your help would definitely help here :)

mr-cheff commented 3 weeks ago

Just remove the line that contains that path in configs/common/mozconfig

Max-109 commented 3 weeks ago

Just remove the line that contains that path in configs/common/mozconfig

I forgot to mentio that but I've tried doing it

Max-109 commented 3 weeks ago

@mauro-balades Nevermind, i removed that line and ye now i dont that error, however, i dont get this _00:00:35 C:\Users\Max\Documents\Zen\desktop\engine\obj-x86_64-pc-windows-msvc\ipc\ipdl\PSocketProcess.ipdl:21: error: can't locate include file `PSandboxTesting.ipdl' 00:00:35 Specification could not be parsed. 00:00:35 mozmake[4]: [Makefile:31: ipdl.track] Error 1 00:00:35 mozmake[3]: [C:/Users/Max/Documents/Zen/desktop/engine/config/recurse.mk:94: ipc/ipdl/export] Error 2 00:00:35 mozmake[3]: * Waiting for unfinished jobs.... 00:00:37 necko_deps_built = C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/mozIThirdPartyUtil.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIArrayBufferInputStream.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAsyncStreamCopier.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAsyncStreamCopier2.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAsyncVerifyRedirectCallback.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAuthInformation.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAuthModule.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAuthPrompt.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAuthPrompt2.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAuthPromptAdapterFactory.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAuthPromptCallback.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIAuthPromptProvider.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIBackgroundFileSaver.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIBaseChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIBufferedStreams.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIByteRangeRequest.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsICacheInfoChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsICachingChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsICancelable.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsICaptivePortalService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIChannelEventSink.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIChildChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIClassOfService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIClassifiedChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIContentSniffer.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIDHCPClient.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIDashboard.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIDashboardEventNotifier.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIDownloader.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIEncodedChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIExternalProtocolHandler.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIFileStreams.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIFileURL.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIForcePendingChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIFormPOSTActionChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIHttpAuthenticatorCallback.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIHttpPushListener.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIIOService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIIncrementalDownload.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIIncrementalStreamLoader.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIInputStreamChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIInputStreamPump.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIInterceptionInfo.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsILoadContextInfo.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsILoadGroup.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsILoadGroupChild.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsILoadInfo.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIMIMEInputStream.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIMultiPartChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINestedURI.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINetAddr.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINetUtil.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINetworkConnectivityService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINetworkInfoService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINetworkInterceptController.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINetworkLinkService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINetworkPredictor.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINetworkPredictorVerifier.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsINullChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIParentChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIParentRedirectingChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIPermission.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIPermissionManager.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIPrivateBrowsingChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProgressEventSink.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIPrompt.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProtocolHandler.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProtocolProxyCallback.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProtocolProxyFilter.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProtocolProxyService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProtocolProxyService2.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProxiedChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProxiedProtocolHandler.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIProxyInfo.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIRandomGenerator.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIRedirectChannelRegistrar.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIRedirectHistoryEntry.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIRedirectResultListener.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIRequest.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIRequestContext.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIRequestObserver.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIRequestObserverProxy.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIResumableChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISecCheckWrapChannel.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISecureBrowserUI.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISensitiveInfoHiddenURI.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISerializationHelper.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIServerSocket.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISimpleStreamListener.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISimpleURIMutator.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISocketFilter.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISocketTransport.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISocketTransportService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISpeculativeConnect.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIStandardURL.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIStreamListener.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIStreamListenerTee.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIStreamLoader.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsIStreamTransportService.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISyncStreamListener.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsISystemProxySettings.idl C:/Users/Max/Documents/Zen/desktop/engine/netwerk/base/nsITLSServerSocket.idl C:/Users/Max/Documen 00:00:37 config/makefiles/xpidl/xptdata.stub 00:00:40 mozmake[2]: * [C:/Users/Max/Documents/Zen/desktop/engine/config/recurse.mk:34: export] Error 2 00:00:40 mozmake[1]: [C:/Users/Max/Documents/Zen/desktop/engine/config/rules.mk:359: default] Error 2 00:00:40 mozmake: [client.mk:60: build] Error 2 00:00:40 W 277 compiler warnings present. 00:00:40 C:/Users/Max/Documents/Zen/desktop/engine/obj-x8664-pc-windows-msvc/config.status is out of date with respect to C:/Users/Max/Documents/Zen/desktop/engine/browser/config/version.txt 00:00:40 Configure complete! 00:00:40 Be sure to run |mach build| to pick up any changes 00:00:40 Parallelism determined by memory: using 16 jobs for 16 cores based on 31.9 GiB RAM and estimated job size of 1.0 GiB 00:00:40 Single process terminated successfully

Max-109 commented 2 weeks ago

Any ideas? @mauro-balades

mintoya commented 2 weeks ago

yo, i was able to fix it by replacing that line with ac_add_options --with-l10n-base="C:\\""${PWD:2}/browser/locales" the problem is that that line returns /c/{wherever the locales are}, but windows uses c://{something}

Max-109 commented 2 weeks ago

yo, i was able to fix it by replacing that line with ac_add_options --with-l10n-base="C:\\""${PWD:2}/browser/locales" the problem is that that line returns /c/{wherever the locales are}, but windows uses c://{something}

i remove that line and i havent got that error since, however, now i get another error ( check my latest message from above). I will try your method tho, maybe it will solve both errors

mintoya commented 2 weeks ago

Try npm run bootstrap and npm run init, cause from what I can tell it seems like it's just missing a file that's supposed to be there

Max-109 commented 2 weeks ago

Try npm run bootstrap and npm run init, cause from what I can tell it seems like it's just missing a file that's supposed to be there

yeah ive tried that

mintoya commented 1 week ago

Try npm run bootstrap and npm run init, cause from what I can tell it seems like it's just missing a file that's supposed to be there

yeah ive tried that Are you absolutely sure --with-l10n-base Is unnecessary? Because other than that I'd just restart if I were you

Max-109 commented 1 week ago

Try npm run bootstrap and npm run init, cause from what I can tell it seems like it's just missing a file that's supposed to be there

yeah ive tried that Are you absolutely sure --with-l10n-base Is unnecessary? Because other than that I'd just restart if I were you

nvm, i just tried doing npm run init and got this _" [FINISH] Apply C:\Users\Max\Documents\Zen\desktop\src\browser\base\content\browser-xhtml.patch [FINISH] Apply C:\Users\Max\Documents\Zen\desktop\src\browser\base\content\main-popupset-inc-xhtml.patch [FAIL] Apply C:\Users\Max\Documents\Zen\desktop\src\browser\base\content\navigator-toolbox-inc-xhtml.patch [FAIL] Apply 108 git patches

ERROR An error occurred while running command ["import"]:

     Error: Command failed with exit code 1: git apply --ignore-space-change --ignore-whitespace --verbose C:\Users\Max\Documents\Zen\desktop\src\browser\base\content\navigator-toolbox-inc-xhtml.patch
     Checking patch browser/base/content/navigator-toolbox.inc.xhtml...
     error: while searching for:
     # License, v. 2.0. If a copy of the MPL was not distributed with this?
     # file, You can obtain one at http://mozilla.org/MPL/2.0/.?
     ?
     <toolbox id="navigator-toolbox">?
     ?
       <vbox id="titlebar">?
         <!-- Menu -->?

     error: patch failed: browser/base/content/navigator-toolbox.inc.xhtml:2
     error: browser/base/content/navigator-toolbox.inc.xhtml: patch does not apply
     error: while searching for:# License, v. 2.0. If a copy of the MPL was not distributed with this?# file, You can obtain one at http://mozilla.org/MPL/2.0/.??<toolbox id="navigator-toolbox">??  <vbox id="titlebar">?    <!-- Menu -->?error: patch failed: browser/base/content/navigator-toolbox.inc.xhtml:2error: browser/base/content/navigator-toolbox.inc.xhtml: patch does not apply
     • makeError (C:\Users\Max\Documents\Zen\desktop\node_modules\execa\lib\error.js:60:11)
     • handlePromise (C:\Users\Max\Documents\Zen\desktop\node_modules\execa\index.js:118:26)
     • process.processTicksAndRejections (node:internal/process/task_queues:105:5)
     • async Object.apply (C:\Users\Max\Documents\Zen\desktop\node_modules\@zen-browser\surfer\dist\commands\patches\git-patch.js:25:34)
     • async C:\Users\Max\Documents\Zen\desktop\node_modules\@zen-browser\surfer\dist\commands\patches\command.js:84:95
     • async TaskList.run (C:\Users\Max\Documents\Zen\desktop\node_modules\@zen-browser\surfer\dist\utils\task-list.js:68:24)
     • async TaskList.run (C:\Users\Max\Documents\Zen\desktop\node_modules\@zen-browser\surfer\dist\utils\task-list.js:74:11)
     • async applyPatches (C:\Users\Max\Documents\Zen\desktop\node_modules\@zen-browser\surfer\dist\commands\patches\command.js:105:5)

00:00:02 Exiting due to error.

"_i have that patch file, and its 1:1 with the latest one - here it is "diff --git a/browser/base/content/navigator-toolbox.inc.xhtml b/browser/base/content/navigator-toolbox.inc.xhtml index 12fa0cf79aade28581016adf96df85386dabdcef..846add9b040abf0f7378ebaaadef007013f5a1ec 100644 --- a/browser/base/content/navigator-toolbox.inc.xhtml +++ b/browser/base/content/navigator-toolbox.inc.xhtml @@ -2,7 +2,7 @@

License, v. 2.0. If a copy of the MPL was not distributed with this

file, You can obtain one at http://mozilla.org/MPL/2.0/.

- +

@@ -32,13 +32,14 @@ - +

@@ -531,6 +538,7 @@ consumeanchor="PanelUI-button" data-l10n-id="appmenu-menu-button-closed2"/> +#include titlebar-items.inc.xhtml

<toolbar id="PersonalToolbar" "i dont really know why would it crash