Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583664 - dev-libs/openssl-1.0.2h hung Doing certs/demo
Summary: dev-libs/openssl-1.0.2h hung Doing certs/demo
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-21 13:52 UTC by fkhp
Modified: 2016-05-24 17:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2016-05-21 13:52:18 UTC
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
Comment 1 fkhp 2016-05-21 14:17:01 UTC
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
Comment 2 Pacho Ramos gentoo-dev 2016-05-24 09:56:07 UTC
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
Comment 3 fkhp 2016-05-24 12:06:39 UTC
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.
Comment 4 SpanKY gentoo-dev 2016-05-24 17:15:13 UTC
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.