Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new package: firefox #12394

Merged
merged 2 commits into from Oct 29, 2022
Merged

new package: firefox #12394

merged 2 commits into from Oct 29, 2022

Conversation

kawanakaiku
Copy link
Contributor

No description provided.

@2096779623
Copy link
Member

~ $ DISPLAY=:1 firefox
[Parent 23134, Main Thread] WARNING: read-only dup failed (Permission denied); not using memfd: file /home/builder/.termux-build/firefox/src/ipc/chromium/src/base/shared_memory_posix.cc:318
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=4.98816) [GFX1-]: glxtest: cannot access /sys/bus/pci
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=4.98816) |[1][GFX1-]: glxtest: libEGL missing (t=4.98835) [GFX1-]: glxtest: libEGL missing
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=4.98816) |[1][GFX1-]: glxtest: libEGL missing (t=4.98835) |[2][GFX1-]: glxtest: libEGL missing (t=4.9884) [GFX1-]: glxtest: libEGL missing
JavaScript error: chrome://browser/content/browser-sync.js, line 8: NS_ERROR_NOT_AVAILABLE:
console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /data/data/com.termux/files/home/.mozilla/firefox/6oac6y26.dev-edition-default/search.json.mozlz4", (void 0)))
JavaScript error: resource://gre/modules/PromiseWorker.jsm, line 108: Error: Could not get children of file(/data/data/com.termux/files/home/.mozilla/firefox/6oac6y26.dev-edition-default/thumbnails) because it does not exist
[Child 23250, Main Thread] WARNING: read-only dup failed (Permission denied); not using memfd: file /home/builder/.termux-build/firefox/src/ipc/chromium/src/base/shared_memory_posix.cc:318
JavaScript error: resource:///modules/BrowserGlue.jsm, line 806: TypeError: can't access property "getService", Cc['@mozilla.org/weave/service;1'] is undefined
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
JavaScript error: chrome://browser/content/browser-sync.js, line 1: SyntaxError: redeclaration of const UIState
[Child 23338, Main Thread] WARNING: read-only dup failed (Permission denied); not using memfd: file /home/builder/.termux-build/firefox/src/ipc/chromium/src/base/shared_memory_posix.cc:318
JavaScript error: resource://gre/modules/XULStore.jsm, line 58: Error: Can't find profile directory.
JavaScript error: resource:///modules/PanelMultiView.jsm, line 1270: TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined
JavaScript error: resource:///modules/PanelMultiView.jsm, line 1270: TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined
JavaScript error: resource:///modules/PanelMultiView.jsm, line 1270: TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined
JavaScript error: resource:///modules/PanelMultiView.jsm, line 1270: TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined
JavaScript error: resource:///modules/PanelMultiView.jsm, line 1270: TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined
JavaScript error: resource:///modules/PanelMultiView.jsm, line 1270: TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined
[Child 23357, Main Thread] WARNING: read-only dup failed (Permission denied); not using memfd: file /home/builder/.termux-build/firefox/src/ipc/chromium/src/base/shared_memory_posix.cc:318
JavaScript warning: https://hectorstatic.baidu.com/96c9c06653ba892e.js, line 3: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.
JavaScript warning: https://dlswbr.baidu.com/heicha/mw/abclite-2036-s.js, line 1: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.
[Child 23357, MediaDecoderStateMachine #1] WARNING: Decoder=7aa1a58600 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for audio/mp4a-latm: file /home/builder/.termux-build/firefox/src/dom/media/MediaDecoderStateMachineBase.cpp:151
[Child 23357, MediaDecoderStateMachine #1] WARNING: Decoder=7aa1a58600 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - Error no decoder found for video/avc: file /home/builder/.termux-build/firefox/src/dom/media/MediaDecoderStateMachineBase.cpp:151
JavaScript error: , line 0: AbortError: The fetching process for the media resource was aborted by the user agent at the user's request.
JavaScript error: , line 0: AbortError: The fetching process for the media resource was aborted by the user agent at the user's request.
JavaScript error: resource:///modules/PanelMultiView.jsm, line 1270: TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined
JavaScript error: resource:///modules/PanelMultiView.jsm, line 1270: TypeError: can't access property "descriptionHeightWorkaround", mainPanelView is undefined

(firefox-default:23134): Gtk-WARNING **: 09:13:02.714: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.
^CExiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=208.39) Exiting due to channel error.

Screenshot_20221016-091037

There are still many "problems",but it's still a feat, thanks!

@T-Dynamos
Copy link
Contributor

Closes #10075

@2096779623 2096779623 linked an issue Oct 16, 2022 that may be closed by this pull request
1 task
@2096779623
Copy link
Member

2096779623 commented Oct 18, 2022

Don't update upstream like this.
First use git reset to roll back to the previous commit.
Use git remote add upstream https://github.com/termux/termux-packages && git pull upstream master --rebase && git push origin firefox -f to make it upto date.
Or
image

Also need to change #12307 .

@kawanakaiku
Copy link
Contributor Author

@2096779623 Thank you for your help.

@sylirre sylirre merged commit 7a27d8c into termux:master Oct 29, 2022
vhqtvn pushed a commit to vhqtvn/termux-packages that referenced this pull request Oct 29, 2022
termux-pacman-bot referenced this pull request in termux-pacman/termux-packages Oct 29, 2022
@agnostic-apollo
Copy link
Member

@kawanakaiku Hi, we contacted Mozilla to get permission to distribute Termux as per their distribution policy. They said we don't need permission if we use unofficial branding, but we can also go with the official way, but had questions. They asked why MOZ_NORMANDY and MOZ_SERVICES_HEALTHREPORT were disabled, you didn't mention the reasons in the commit messages, but I assume that standard linux distro configs shouldn't be changed remotely if running in termux and maybe there should be some different internal variant in firefox for us. Health reporting would probably mess with their logs too without a different variant too. If there was some other reason, let me know. Although, they have been re-enabled by @truboxl in #18392.

They were also interested in our use case and asked if patches can be done in a way that they can be added directly in upstream, and since you did the initial port, would you be interested in doing that? Or some other known contributor here. Thanks

@kawanakaiku
Copy link
Contributor Author

@agnostic-apollo Thank you for your efforts.

They asked why MOZ_NORMANDY and MOZ_SERVICES_HEALTHREPORT were disabled

Sorry for the confusion. I was just trying to reduce the build time by disabling options like that. At that time, I was thinking that all I needed was for the build to succeed. Please feel free to modify it as necessary.

would you be interested in doing that?

Unfortunately I can't code well, so I'll leave it to you.

@agnostic-apollo
Copy link
Member

Welcome. Ah, okay, no worries. Thanks for the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Package]: Firefox ??
5 participants