tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_add hangs and consumes 100% CPU

On 2015-05-06 21:12, Sevan / Venture37 wrote:

Trying to setup a bulkbuild environment using the
pkgsrc/mk/pbulk/ on Suse Linux 12 running on Power8. The
system hangs at the install stage of devel/ncurses and top shows
pkg_add using 100% CPU

=> Checking for missing run-time search paths in ncurses-5.9nb4
=> Checking for work-directory references in ncurses-5.9nb4
=> Creating binary package
===> Install binary package of ncurses-5.9nb4

Attaching to the pkg_add pid with gdb, I see
(gdb) bt
#0  0x0000000010096650 in mpool_get ()
#1  0x0000000010093658 in __bt_search ()
#2  0x000000001009318c in __bt_put ()
#3  0x000000001000b614 in pkgdb_store ()
#4  0x000000001000430c in extract_files ()
#5  0x0000000010006fd0 in pkg_do ()
#6  0x00000000100075a4 in pkg_perform ()
#7  0x0000000010005650 in main ()
If I bootstrap pkgsrc and attempt to install devel/ncurses manually,
things work as intended. Any pointers appreciated.

Identical to the situation I discovered on armv7hf with Ubuntu. Packages with lots of files seem to be the major culprits -- ncurses, perl, and openssl were the ones I couldn't get past; one or more of the packages would always trigger this behaviour.



Home | Main Index | Thread Index | Old Index