You are not logged in.

#1 2023-05-27 18:36:20

Yew
Member
Registered: 2023-02-07
Posts: 9

Error building seamonkey init_py3

The first error is:

ERROR: The executable seamonkey/src/seamonkey-2.53.15/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/bin/python3 is not functioning
ERROR: It thinks sys.prefix is '/usr' ...   [etc]

The last error is:

Exception: Failed to create virtualenv:

src/seamonkey-2.53.15/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3 (virtualenv.py retcode: 100)
0:19.14 *** Fix above errors and then restart with\
0:19.14                "./mach build"
0:19.14 make: *** [client.mk:114: configure] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Offline

#2 2023-05-27 20:21:47

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: Error building seamonkey init_py3

Offline

#3 2023-05-28 19:33:29

Yew
Member
Registered: 2023-02-07
Posts: 9

Re: Error building seamonkey init_py3

Thanks, I got a bit further...

Offline

#4 2023-05-28 19:46:06

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: Error building seamonkey init_py3

Yew wrote:

Thanks, I got a bit further...

It built for me in a clean chroot after applying the linked patch,  without any other changes.  If it is not building for you please post an updated build failure in code tags.

Offline

#5 2023-06-02 10:29:45

screenfox
Member
Registered: 2023-05-13
Posts: 49

Re: Error building seamonkey init_py3

(Edit 2) So i found the -e parameter for makepkg, and this way i can apply the patch and have it used. But this is not a reproducible build - ok for playing around a bit, but not ok for replacing firefox with seamonkey for day-to-day usage. Can we do something about this? I'm not experienced with the infrastructure here.

(Edit) Ok, so i noticed i can apply the patch from src/seamonkey<version>/, but if i makepkg, it just unpacks the source tarball again. Same problem as before. 

I am wondering why this is a patch and does not get checked in to the repo?


So i tried 'git apply 1018_seamonkey_2.53.15-PY3.11_support.patch' in the repository root and got

Fehler: dom/base/usecounters.py: Datei oder Verzeichnis nicht gefunden
Fehler: python/mozbuild/mozbuild/action/process_define_files.py: Datei oder Verzeichnis nicht gefunden
Fehler: python/mozbuild/mozbuild/backend/base.py: Datei oder Verzeichnis nicht gefunden
Fehler: python/mozbuild/mozbuild/virtualenv.py: Datei oder Verzeichnis nicht gefunden
Fehler: python/mozbuild/mozpack/files.py: Datei oder Verzeichnis nicht gefunden
Fehler: third_party/python/virtualenv/virtualenv.py: Datei oder Verzeichnis nicht gefunden

(This says "Error: [...]: File or directory not found")

Do i have to navigate to some subfolder or give another parameter to git apply?

Last edited by screenfox (2023-06-02 10:40:01)

Offline

#6 2023-06-04 21:15:38

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: Error building seamonkey init_py3

screenfox wrote:

(Edit 2) So i found the -e parameter for makepkg, and this way i can apply the patch and have it used. But this is not a reproducible build - ok for playing around a bit, but not ok for replacing firefox with seamonkey for day-to-day usage. Can we do something about this? I'm not experienced with the infrastructure here.

See https://bbs.archlinux.org/viewtopic.php … 6#p2102796 for a PKGBUILD which applies the patch produced by  giannis-arch.  See also Patching_packages#Applying_patches.

screenfox wrote:

I am wondering why this is a patch and does not get checked in to the repo?

Only the current maintainer can do that.

Offline

#7 2023-07-30 08:09:52

Yew
Member
Registered: 2023-02-07
Posts: 9

Re: Error building seamonkey init_py3

loqs wrote:
Yew wrote:

Thanks, I got a bit further...

It built for me in a clean chroot after applying the linked patch,  without any other changes.  If it is not building for you please post an updated build failure in code tags.

I waited two months and then updated the system, and that seemed to solve whatever problem I was having. Now it has been compiling for two days and nights. I think maybe it is not viable if I have to do this for every new version.

The update to the system failed because of some keys to python-markdown, mercurial, among others. I removed these packages, upgraded, then re-installed them, which may have solved some problems, hard to say for sure.

Offline

Board footer

Powered by FluxBB