Hello.

I want to create an AUR (and probably a PCR) package iceweasel-xdg similar to
firefox-xdg https://aur.archlinux.org/packages/firefox-xdg. It's intended to
get rid of .mozilla directory in home catalogue and move it to $XDG_CONFIG_HOME.

I use abslibre/libre/iceweasel package build scripts as a starting point
https://git.parabola.nu/abslibre.git/tree/libre/iceweasel. Unfortunately, I
can't even build the vanilla iceweasel from these sources! The first error I
face looks as follows:

  psutil<=5.9.4,>=5.4.2: Installed with unexpected version "5.9.6"

When downgraded to system python-psutil 5.9.5, many other errors like ones
listed below occur:

  cwhy 0.0.4 requires openai-async, which is not installed.
  ratarmount 0.13.0 requires rarfile, which is not installed.
  rich-cli 1.8.0 requires rich-rst, which is not installed.
  trash-cli 0.23.2.13.2 requires typing, which is not installed.
  ledgerwallet 0.3.1.dev2 has requirement click>=8.0, but you have click 7.1.2.
  ledgerwallet 0.3.1.dev2 has requirement protobuf<4,>=3.20, but you have
  protobuf 4.24.3. cwhy 0.0.4 has requirement click>=8.1.3, but you have click 
7.1.2.
  ratarmount 0.13.0 has requirement python-xz~=0.4.0, but you have
  python-xz 0.5.0. parse-type 0.6.1 has requirement six>=1.15, but you have six 
1.13.0.
  rich-cli 1.8.0 has requirement click<9.0.0,>=8.0.0, but you have click 7.1.2.
  rich-cli 1.8.0 has requirement rich<13.0.0,>=12.4.0, but you have rich 13.6.0.
  rich-cli 1.8.0 has requirement textual<0.2.0,>=0.1.18, but you have textual 
0.34.0.
  python-pptx 0.6.22 has requirement Pillow<=9.5.0,>=3.3.2, but you have pillow 
10.1.0.
  poetry 1.6.1 has requirement jsonschema<4.18.0,>=4.10.0, but you have 
jsonschema 4.19.1.
  poetry 1.6.1 has requirement poetry-plugin-export<2.0.0,>=1.5.0, but you have 
poetry-plugin-export 1.3.0.
  poetry 1.6.1 has requirement requests<3.0,>=2.26, but you have requests 
2.25.1.
  black 23.7.0 has requirement click>=8.0.0, but you have click 7.1.2.
  black 23.7.0 has requirement packaging>=22.0, but you have packaging 21.3.
  sphinx 7.2.6 has requirement Jinja2>=3.0, but you have jinja2 2.11.3.

They are mostly related to version mismatch between bundled python packages an
system ones. For example, sphinx 7.2.6 is a system package, but we try to use a
bundled Jinja2=2.11.3 which is too old for system sphinx (while an up-to-date
system Jinja=3.1.2 is actually installed!)

I suppose that I can try to build a package in a clean chroot and it should
help with at least some errors. But I don't think that having a package which
is so reliant on correct environment for proper build is a nice idea. I'm going
to put that to AUR, and people rarely build AUR packages in a clean chroot -
they mostly run makepkg -si or use a helper which does the same.

So, I would be glad if someone could answer at least some of the following
questions.

1. Does everyone face the same issues with python packages when building
   iceweasel without using clean chroot?

2. How is iceweasel binary package shipped in libre repository compiled? Is it
   done in a clean chroot? 

3. Are there any plans to make build possible without chroot to empty
   environment?

4. If I do this part of work, could it be merged to Parabola's iceweasel
   pkgbuild or is that a non-feature/out-of-scope/etc?

5. As far as I understood, Parabola's build of iceweasel tries to use system
   libraries instead of bundled ones as much as possible. Do the errors I get
   indicate that this work is not finished yet?

Thanks!

--
Daniil Kovalev
_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to