install gentoo using stage3-x32-20160512.tar.bz2, emerge @world hung when emerge dev-libs/openssl-1.0.2h stall showing message: "Doing certs/demo" to make emerge going forwards, run the following command 3 times as root: # pskill openssl # pskill openssl # pskill openssl then the emerge will give some warning messages and continue to finish emerge
at the end of the emerge of openssl, it hung again showing: * Running 'c_rehash /etc/ssl/certs/' to rebuild hashes #333069 ... then run the following as root to make it continue again: while pgrep openssl; do pkill openssl; sleep 1;done
pkg_postinst() { ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069" c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null eend $? has_version ${CATEGORY}/${PN}:0.9.8 && return 0 preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8 } Maybe dropping the >/dev/null part it will show what is happening
it happened when installing gentoo with the x32 profile selected,then change to a x32 enabled gnome/systemd profile. the x32 profile was installed successfully.then merge the x32 with gnome/systemed to setup a combined x32/gnome/systemed profile by duplicating the gnome/systemed branch from where the 2 default profiles seperated, and put the branch in the x32 folder and modified some of the parent files of the branch to make some parent one step deeper so the cascading structure works well. after emerge @world for many packages, the system seemed not work as expected. env-update hung, emerge hung, equery hung, python2.7 works, so doubt there might be some problem in the installed sys-apps/portage-2.3.0_rc1-r1.
if everything is hanging, it doesn't sound like an openssl problem your profile composition sounds dicey/complicated. you should simplify and narrow down where things start to fail.