I'm trying to upgrade my system to Next revision but I'm having issues emerging packages like python or openssl. Does anyone know about a fix? Maybe some knows how can I boot into SystemRescueCD or Funtoo LiveCD and chroot into my real system install but being able to use emerge binary and libraries from SystemRescueCD / Funtoo LiveCD but get the packages installed in my system?
Hope someone can help please 🙂
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -L. -Wno-unused-result -Wsign-compare -DNDEBUG -march=nehalem -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -O3 -fno-semantic-interposition -fwrapv build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/_ctypes.o build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/callbacks.o build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/callproc.o build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/stgdict.o build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/cfield.o -L. -L/usr/local/lib64 -lffi -ldl -lpython3.7m -o build/lib.linux-x86_64-3.7/_ctypes.cpython-37m-x86_64-linux-gnu.so
*** WARNING: renaming "_crypt" since importing it failed: build/lib.linux-x86_64-3.7/_crypt.cpython-37m-x86_64-linux-gnu.so: undefined symbol: crypt
Python build finished successfully!
The necessary bits to build these optional modules were not found:
_dbm _gdbm _tkinter
nis
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc atexit pwd
time
Following modules built successfully but were removed because they could not be imported:
_crypt
running build_scripts
creating build/scripts-3.7
copying and adjusting /var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Tools/scripts/pydoc3 -> build/scripts-3.7
copying and adjusting /var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Tools/scripts/idle3 -> build/scripts-3.7
copying and adjusting /var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Tools/scripts/2to3 -> build/scripts-3.7
copying and adjusting /var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Tools/scripts/pyvenv -> build/scripts-3.7
changing mode of build/scripts-3.7/pydoc3 from 644 to 755
changing mode of build/scripts-3.7/idle3 from 644 to 755
changing mode of build/scripts-3.7/2to3 from 644 to 755
changing mode of build/scripts-3.7/pyvenv from 644 to 755
renaming build/scripts-3.7/pydoc3 to build/scripts-3.7/pydoc3.7
renaming build/scripts-3.7/idle3 to build/scripts-3.7/idle3.7
renaming build/scripts-3.7/2to3 to build/scripts-3.7/2to3-3.7
renaming build/scripts-3.7/pyvenv to build/scripts-3.7/pyvenv-3.7
make: *** [Makefile:628: sharedmods] Error 1
* ERROR: dev-lang/python-3.7.17::python-kit failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-3.7.17::python-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-3.7.17::python-kit'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-3.7.17/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.7.17/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17'
* S: '/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17'
>>> Failed to emerge dev-lang/python-3.7.17, Log file:
>>> '/var/tmp/portage/dev-lang/python-3.7.17/temp/build.log'
* Messages for package dev-lang/python-3.7.17:
* ERROR: dev-lang/python-3.7.17::python-kit failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-3.7.17::python-kit'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-3.7.17::python-kit'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-3.7.17/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.7.17/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17'
* S: '/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17'
*
* The following package has failed to build, install, or execute postinst:
*
* (dev-lang/python-3.7.17:3.7/3.7m::python-kit, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/dev-lang/python-3.7.17/temp/build.log'
*
emerge -va1 openssl
* IMPORTANT: config file '/etc/portage/package.use' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.7/emerge", line 53, in <module>
retval = emerge_main()
File "/usr/lib/python3.7/site-packages/_emerge/main.py", line 1299, in emerge_main
return run_action(emerge_config)
File "/usr/lib/python3.7/site-packages/_emerge/actions.py", line 3330, in run_action
retval = action_build(emerge_config, spinner=spinner)
File "/usr/lib/python3.7/site-packages/_emerge/actions.py", line 340, in action_build
settings, trees, myopts, myparams, myaction, myfiles, spinner)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 9771, in backtrack_depgraph
myaction, myfiles, spinner)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 9808, in _backtrack_depgraph
success, favorites = mydepgraph.select_files(myfiles)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 3955, in select_files
return self._select_files(args)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 4298, in _select_files
return self._resolve(myfavorites)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 4449, in _resolve
if not self._create_graph():
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 2694, in _create_graph
allow_unsatisfied=allow_unsatisfied):
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 3449, in _add_pkg_deps
allow_unsatisfied):
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 3465, in _add_pkg_dep_string
allow_unsatisfied)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 3545, in _wrapped_add_pkg_dep_string
pkg, dep_priority, root_config, selected_atoms[pkg]):
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 3744, in _minimize_children
root_config.root, atom, parent=parent)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 5727, in _select_pkg_highest_available
ret = self._select_pkg_highest_available_imp(root, atom, onlydeps=onlydeps, parent=parent)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 5955, in _select_pkg_highest_available_imp
root, atom, onlydeps=onlydeps, parent=parent)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 6259, in _wrapped_select_pkg_highest_available_imp
onlydeps=onlydeps):
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 5645, in _iter_match_pkgs_atom
myrepo=getattr(cpv, 'repo', None))
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 7002, in _pkg
metadata = zip(db_keys, db.aux_get(cpv, db_keys, myrepo=myrepo))
File "/usr/lib/python3.7/site-packages/portage/dbapi/porttree.py", line 614, in aux_get
myrepo=myrepo, loop=loop))
File "/usr/lib/python3.7/site-packages/portage/dbapi/porttree.py", line 702, in async_aux_get
proc.start()
File "/usr/lib/python3.7/site-packages/_emerge/AsynchronousTask.py", line 30, in start
self._start()
File "/usr/lib/python3.7/site-packages/_emerge/EbuildMetadataPhase.py", line 59, in _start
self._async_wait()
File "/usr/lib/python3.7/site-packages/_emerge/AbstractPollTask.py", line 99, in _async_wait
self._unregister()
File "/usr/lib/python3.7/site-packages/_emerge/EbuildMetadataPhase.py", line 147, in _unregister
self.scheduler.remove_reader(self._files.ebuild)
AttributeError: 'NoneType' object has no attribute 'ebuild'
emerge -epvD @system
* IMPORTANT: config file '/etc/portage/package.use' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.7/emerge", line 53, in <module>
retval = emerge_main()
File "/usr/lib/python3.7/site-packages/_emerge/main.py", line 1299, in emerge_main
return run_action(emerge_config)
File "/usr/lib/python3.7/site-packages/_emerge/actions.py", line 3330, in run_action
retval = action_build(emerge_config, spinner=spinner)
File "/usr/lib/python3.7/site-packages/_emerge/actions.py", line 340, in action_build
settings, trees, myopts, myparams, myaction, myfiles, spinner)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 9771, in backtrack_depgraph
myaction, myfiles, spinner)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 9808, in _backtrack_depgraph
success, favorites = mydepgraph.select_files(myfiles)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 3955, in select_files
return self._select_files(args)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 4298, in _select_files
return self._resolve(myfavorites)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 4454, in _resolve
self.altlist()
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 7412, in altlist
self._resolve_conflicts()
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 7539, in _resolve_conflicts
self._process_slot_conflicts()
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 1693, in _process_slot_conflicts
self._process_slot_conflict(conflict)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 1755, in _process_slot_conflict
slot_nodes, conflict_atoms):
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 1839, in _slot_conflict_backtrack_abi
self._slot_operator_update_probe_slot_conflict(dep)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 1980, in _slot_operator_update_probe_slot_conflict
new_dep = self._slot_operator_update_probe(dep, slot_conflict=True)
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 2095, in _slot_operator_update_probe
dep.parent.slot_atom, autounmask_level=autounmask_level):
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 2498, in _iter_similar_available
graph_pkg.root_config, atom):
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 5593, in _iter_match_pkgs_any
pkg_type, atom, onlydeps=onlydeps):
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 5645, in _iter_match_pkgs_atom
myrepo=getattr(cpv, 'repo', None))
File "/usr/lib/python3.7/site-packages/_emerge/depgraph.py", line 7002, in _pkg
metadata = zip(db_keys, db.aux_get(cpv, db_keys, myrepo=myrepo))
File "/usr/lib/python3.7/site-packages/portage/dbapi/porttree.py", line 614, in aux_get
myrepo=myrepo, loop=loop))
File "/usr/lib/python3.7/site-packages/portage/dbapi/porttree.py", line 702, in async_aux_get
proc.start()
File "/usr/lib/python3.7/site-packages/_emerge/AsynchronousTask.py", line 30, in start
self._start()
File "/usr/lib/python3.7/site-packages/_emerge/EbuildMetadataPhase.py", line 59, in _start
self._async_wait()
File "/usr/lib/python3.7/site-packages/_emerge/AbstractPollTask.py", line 99, in _async_wait
self._unregister()
File "/usr/lib/python3.7/site-packages/_emerge/EbuildMetadataPhase.py", line 147, in _unregister
self.scheduler.remove_reader(self._files.ebuild)
AttributeError: 'NoneType' object has no attribute 'ebuild'
Question
sibok
I'm trying to upgrade my system to Next revision but I'm having issues emerging packages like python or openssl. Does anyone know about a fix? Maybe some knows how can I boot into SystemRescueCD or Funtoo LiveCD and chroot into my real system install but being able to use emerge binary and libraries from SystemRescueCD / Funtoo LiveCD but get the packages installed in my system?
Hope someone can help please 🙂
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -L. -Wno-unused-result -Wsign-compare -DNDEBUG -march=nehalem -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2 -O3 -fno-semantic-interposition -fwrapv build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/_ctypes.o build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/callbacks.o build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/callproc.o build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/stgdict.o build/temp.linux-x86_64-3.7/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Modules/_ctypes/cfield.o -L. -L/usr/local/lib64 -lffi -ldl -lpython3.7m -o build/lib.linux-x86_64-3.7/_ctypes.cpython-37m-x86_64-linux-gnu.so *** WARNING: renaming "_crypt" since importing it failed: build/lib.linux-x86_64-3.7/_crypt.cpython-37m-x86_64-linux-gnu.so: undefined symbol: crypt Python build finished successfully! The necessary bits to build these optional modules were not found: _dbm _gdbm _tkinter nis To find the necessary bits, look in setup.py in detect_modules() for the module's name. The following modules found by detect_modules() in setup.py, have been built by the Makefile instead, as configured by the Setup files: _abc atexit pwd time Following modules built successfully but were removed because they could not be imported: _crypt running build_scripts creating build/scripts-3.7 copying and adjusting /var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Tools/scripts/pydoc3 -> build/scripts-3.7 copying and adjusting /var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Tools/scripts/idle3 -> build/scripts-3.7 copying and adjusting /var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Tools/scripts/2to3 -> build/scripts-3.7 copying and adjusting /var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17/Tools/scripts/pyvenv -> build/scripts-3.7 changing mode of build/scripts-3.7/pydoc3 from 644 to 755 changing mode of build/scripts-3.7/idle3 from 644 to 755 changing mode of build/scripts-3.7/2to3 from 644 to 755 changing mode of build/scripts-3.7/pyvenv from 644 to 755 renaming build/scripts-3.7/pydoc3 to build/scripts-3.7/pydoc3.7 renaming build/scripts-3.7/idle3 to build/scripts-3.7/idle3.7 renaming build/scripts-3.7/2to3 to build/scripts-3.7/2to3-3.7 renaming build/scripts-3.7/pyvenv to build/scripts-3.7/pyvenv-3.7 make: *** [Makefile:628: sharedmods] Error 1 * ERROR: dev-lang/python-3.7.17::python-kit failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/python-3.7.17::python-kit'`, * the complete build log and the output of `emerge -pqv '=dev-lang/python-3.7.17::python-kit'`. * The complete build log is located at '/var/tmp/portage/dev-lang/python-3.7.17/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.7.17/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17' * S: '/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17' >>> Failed to emerge dev-lang/python-3.7.17, Log file: >>> '/var/tmp/portage/dev-lang/python-3.7.17/temp/build.log' * Messages for package dev-lang/python-3.7.17: * ERROR: dev-lang/python-3.7.17::python-kit failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/python-3.7.17::python-kit'`, * the complete build log and the output of `emerge -pqv '=dev-lang/python-3.7.17::python-kit'`. * The complete build log is located at '/var/tmp/portage/dev-lang/python-3.7.17/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.7.17/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17' * S: '/var/tmp/portage/dev-lang/python-3.7.17/work/Python-3.7.17' * * The following package has failed to build, install, or execute postinst: * * (dev-lang/python-3.7.17:3.7/3.7m::python-kit, ebuild scheduled for merge), Log file: * '/var/tmp/portage/dev-lang/python-3.7.17/temp/build.log' *
Link to comment
Share on other sites
1 answer to this question
Recommended Posts