Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
palemoon-32.3.1 from overlay failing compile [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Sun Jul 23, 2023 2:11 pm    Post subject: palemoon-32.3.1 from overlay failing compile [SOLVED] Reply with quote

I've used palemoon out of the https://github.com/deu/palemoon-overlay repo for a long time now. It sucks that they still require python 2.7 for the build...but that said, I've never had any issues before. Today when trying to update from www-client/palemoon-32.2.1 to www-client/palemoon-32.3.1 the compile failed creating a python virtaulenv:
Code:
 0:01.36 Creating Python environment
 0:01.88 New python executable in /var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/o/_virtualenv/bin/python2.7
 0:01.88 Also creating executable in /var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/o/_virtualenv/bin/python
 0:01.88 Installing setuptools, pip, wheel...
 0:01.88   Complete output from command /var/tmp/portage/www...ualenv/bin/python2.7 - setuptools pip wheel:
 0:01.88   Traceback (most recent call last):
 0:01.88   File "<stdin>", line 7, in <module>
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/__init__.py", line 16, in <module>
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/vcs/subversion.py", line 9, in <module>
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/index.py", line 30, in <module>
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/wheel.py", line 39, in <module>
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/_vendor/distlib/scripts.py", line 14, in <module>
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv_support/pip-8.1.2-py2.py3-none-any.whl/pip/_vendor/distlib/compat.py", line 31, in <module>
 0:01.88 ImportError: cannot import name HTTPSHandler
 0:01.88 ----------------------------------------
 0:01.88 ...Installing setuptools, pip, wheel...done.
 0:01.88 Traceback (most recent call last):
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv.py", line 2334, in <module>
 0:01.88     main()
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv.py", line 717, in main
 0:01.88     symlink=options.symlink and hasattr(os, 'symlink')) # MOZ: Make sure we don't use symlink when we don't have it
 0:01.88   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv.py", line 950, in create_environment
 0:01.89     download=download,
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv.py", line 906, in install_wheel
 0:01.89     call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/virtualenv/virtualenv.py", line 801, in call_subprocess
 0:01.89     % (cmd_desc, proc.returncode))
 0:01.89 OSError: Command /var/tmp/portage/www...ualenv/bin/python2.7 - setuptools pip wheel failed with error code 1
 0:01.89 Traceback (most recent call last):
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/configure.py", line 32, in <module>
 0:01.89     sys.exit(main(sys.argv))
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/configure.py", line 24, in main
 0:01.89     sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 335, in run
 0:01.89     self.include_file(path)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 326, in include_file
 0:01.89     exec_(code, self)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/util.py", line 59, in exec_
 0:01.89     exec(object, globals, locals)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/moz.configure", line 6, in <module>
 0:01.89     include('platform/moz.configure')
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 628, in include_impl
 0:01.89     self.include_file(what)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 326, in include_file
 0:01.89     exec_(code, self)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/util.py", line 59, in exec_
 0:01.89     exec(object, globals, locals)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/moz.configure", line 6, in <module>
 0:01.89     include('build/moz.configure/init.configure')
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 628, in include_impl
 0:01.89     self.include_file(what)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 326, in include_file
 0:01.89     exec_(code, self)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/util.py", line 59, in exec_
 0:01.89     exec(object, globals, locals)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/build/moz.configure/init.configure", line 136, in <module>
 0:01.89     @imports('distutils.sysconfig')
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 611, in decorator
 0:01.89     depends = DependsFunction(self, func, dependencies, when=when)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 69, in __init__
 0:01.89     sandbox._value_for(self)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 407, in _value_for
 0:01.89     return self._value_for_depends(obj, need_help_dependency)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/util.py", line 925, in method_call
 0:01.89     cache[args] = self.func(instance, *args)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 417, in _value_for_depends
 0:01.89     return obj.result
# Needed mariadb 10.6 for openssl-3.
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/util.py", line 943, in __get__
 0:01.89     setattr(instance, name, self.func(instance))
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 90, in result
 0:01.89     return self.func(*resolved_args)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/configure/__init__.py", line 933, in wrapped
 0:01.89     return new_func(*args, **kwargs)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/build/moz.configure/init.configure", line 183, in virtualenv_python
 0:01.89     manager.build(python)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/virtualenv.py", line 439, in build
 0:01.89     self.create(python)
 0:01.89   File "/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/platform/python/mozbuild/mozbuild/virtualenv.py", line 203, in create
 0:01.89     'Failed to create virtualenv: %s' % self.virtualenv_root)
 0:01.89 Exception: Failed to create virtualenv: /var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1/o/_virtualenv
 0:01.89 *** Fix above errors and then restart with\
 0:01.89                "/usr/bin/gmake -f client.mk build"
 0:01.89 gmake: *** [client.mk:370: configure] Error 1
 * ERROR: www-client/palemoon-32.3.1::palemoon failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 3259:  Called die
 * The specific snippet of code:
 *       python2 "${S}/platform/mach" build || die
 *
 * If you need support, post the output of `emerge --info '=www-client/palemoon-32.3.1::palemoon'`,
 * the complete build log and the output of `emerge -pqv '=www-client/palemoon-32.3.1::palemoon'`.
 * The complete build log is located at '/var/tmp/portage/www-client/palemoon-32.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/palemoon-32.3.1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1'
 * S: '/var/tmp/portage/www-client/palemoon-32.3.1/work/palemoon-32.3.1'

The significant error there seems to be that "ImportError: cannot import name HTTPSHandler". Anyone else using that overlay having this issue? Thanks!

Tom


Last edited by tld on Sun Jul 23, 2023 3:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Sun Jul 23, 2023 2:59 pm    Post subject: Reply with quote

I also just tried to recompile the existing www-client/palemoon-32.2.1 version and that fails with the same error. I thought this might be related to the update of dev-python/urllib3-1.26.16 to dev-python/urllib3-2.0.3, but downgrading back didn't fix it.

Tom
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1816

PostPosted: Sun Jul 23, 2023 3:21 pm    Post subject: Reply with quote

Oh...for crying out loud...I see what happened:

I had the ssl USE flag for python2.7 temporarily disabled to avoid a previous openssl-3 block. After recompiling it with ssl support the palemoon upgrade got past that.

Tom
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21638

PostPosted: Sun Jul 23, 2023 4:27 pm    Post subject: Reply with quote

It might be worth asking to have the palemoon ebuild changed to require python:2.7[ssl] so that Portage can check this constraint for you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum