vimer linux kernel 爱好者

debian port(packaging) firefox

2022-03-29

source code.

目前,firefox局部升级确实遇到一些困难,不过,好消息是,社区目前正式承认这个问题。

以下内容是我打包过程中遇到的一些raw data,供后面学习、复盘时使用。

===========>&==========

the right way to update is cargo update -p nix, then ./mach vendor rust But since nix is probably used by some other dependency, you probably need to update that as well It seems nix is used by alsa and midir So you’d need to update it in those crates

for reference, the minimal patch to update nix locally would be this: 0001-Update-nix…patch (1004.5 KB) vimer: ^, that’s on central, but the important changes are in the top level Cargo.toml then in the individual crates that use nix vimer: but the right thing to do is to send PRs to the relevant crates and then update them in Gecko That is, send a PR updating nix in https://github.com/mozilla/midir, https://github.com/mozilla/alsa and https://github.com/msirringhaus/minidump_writer_linux

Oh, that is cool. thank you very!!!
emilio You can probably do the local thing for now, and send the PR so that when we update those crates we update nix as well vimer I will send PR as you said emilio Sweet, thanks! msirringhaus vimer I will send PR as you said For the record: minidump_writer_linux is already on nix 0.23, but it’s not yet vendored in the FF-tree. vimer msirringhaus: Ok, will notice it. BTW, Where is FF-tree source code pubilc? I google a lot but nothing :-( msirringhaus vimer msirringhaus: Ok, will notice it. There has been some changes to it lately that need proper testing. I have handed over ownership of the crate to a newly created rust-minidump org (but I’m still involved). If you want to vendor it with the nix-dependency, either open an issue there (the link above will redirect correctly) and/or hop over to #crashreporting:mozilla.org vimer BTW, Where is FF-tree source code pubilc? I google a lot but nothing :-( https://hg.mozilla.org/ hg.mozilla.org index hg.mozilla.org repository index emilio also https://searchfox.org for a searchable version vimer The url it reports: ERR_CONNECTION_CLOSED from hg emilio The trunk repo is https://hg.mozilla.org/mozilla-central/ mozilla-central summary A summary of repository state for mozilla-central See https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html#clone-the-sources Firefox Contributors’ Quick Reference — Firefox Source Docs documentation » Working on Firefox » Firefox Contributors’ Quick Reference Report an issue / View page source Firefox Contributors’ Quick Reference¶ Some parts of this process, including cloning and vimer Ok, will look into. Thank all again

=========&>========

firebox code架构

toolchain的配置

build/moz.configure/toolchain.configure.

fix log

../../../../../config/nsinstall -R -m 644 'libipcclientcerts.so' '../../../../../dist/bin'
make[5]: Leaving directory '/home/vimer/build/firefox/build-browser/security/manager/ssl/ipcclientcerts/dynamic-library'
^[[B^[[B
clang: error: unable to execute command: Killed
clang: error: linker command failed due to signal (use -v to see invocation)
make[5]: *** [/home/vimer/build/firefox/config/rules.mk:531: libxul.so] Error 254
make[5]: Leaving directory '/home/vimer/build/firefox/build-browser/toolkit/library/build'
make[4]: *** [/home/vimer/build/firefox/config/recurse.mk:72: toolkit/library/build/target] Error 2
make[4]: Leaving directory '/home/vimer/build/firefox/build-browser'
make[3]: *** [/home/vimer/build/firefox/config/recurse.mk:34: compile] Error 2
make[3]: Leaving directory '/home/vimer/build/firefox/build-browser'
make[2]: *** [/home/vimer/build/firefox/config/rules.mk:352: default] Error 2
make[2]: Leaving directory '/home/vimer/build/firefox/build-browser'
dh_auto_build: error: cd build-browser && make -j16 LD_LIBS=-Wl,--no-gc-sections _LEAKTEST_FILES=leaktest.py returned exit code 2
make[1]: *** [debian/rules:256: stamps/build-browser] Error 255
make[1]: Leaving directory '/home/vimer/build/firefox'
make: *** [debian/rules:351: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

Comments

Content