public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] More emerge oddity in chroot
@ 2014-04-24 12:57 Peter Humphrey
  2014-04-24 21:05 ` Philip Webb
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Peter Humphrey @ 2014-04-24 12:57 UTC (permalink / raw
  To: gentoo-user

Hello list,

I'm wearying of this chroot operation, and I must be sounding like a tyro.

The other day emerge started hanging at the end of compilation, thus:

# emerge -1 apache-tools

[,,,]
make[1]: Leaving directory `/var/tmp/portage/app-admin/apache-
tools-2.2.25/work/httpd-2.2.25/support'
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: app-admin/apache-
tools-2.2.25

>>> Install apache-tools-2.2.25 into /var/tmp/portage/app-admin/apache-
tools-2.2.25/image/ category app-admin
make[1]: Entering directory `/var/tmp/portage/app-admin/apache-
tools-2.2.25/work/httpd-2.2.25/support'
mkdir /var/tmp/portage/app-admin/apache-tools-2.2.25/image/usr
mkdir /var/tmp/portage/app-admin/apache-tools-2.2.25/image/usr/sbin
make[1]: Leaving directory `/var/tmp/portage/app-admin/apache-
tools-2.2.25/work/httpd-2.2.25/support'
>>> Completed installing apache-tools-2.2.25 into /var/tmp/portage/app-
admin/apache-tools-2.2.25/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment -R 
.GCC.command.line -R .note.gnu.gold-version
   usr/sbin/htpasswd
   usr/sbin/ab
   usr/sbin/rotatelogs
   usr/sbin/logresolve
   usr/sbin/htdigest
   usr/sbin/htdbm
   usr/sbin/htcacheclean
   usr/sbin/httxt2dbm
   usr/sbin/checkgid
>>> Done.

It never comes back from there, not even with a CTRL-C; I have to "kill -9" 
from another Konsole.

Grepping ps for emerge (before the kill!) shows:

20749 pts/1    DN+    0:03 /usr/bin/python3 /usr/bin/emerge --nospinner -1 
apache-tools

Man ps says that the D means "uninterruptible sleep (usually IO)"

So far I've done these things:

1.	Wiped the whole system and restored from backup (heavy overkill, but I 
wanted everything to be in the same, consistent state).
2.	Run bad-blocks tests on all partitions (though all but / and /boot are in 
logical volumes - I don't know to what extent that will have affected the 
results).
3.	Remerged portage.
4.	Recompiled the kernel, 3.12.13.
5.	Booted previous good kernel,3.10.32.
6.	Emerged natively on the Atom box for which the chroot is a build host.

At various stages I got bizarreness like the kernel panicking at boot on a 
previously good kernel config, before it even switched to the frame buffer; or, 
during shutdown, "exiting from KVM" or some such, even though I've never used 
KVM.

Portage works fine outside the chroot and is at the same version, 2.2.8-r1. It 
has python3 set in package.use in both cases, so I also tried:

7.	Removed python3 USE flag from sys-apps/portage.

Is my hardware dying? Or maybe I am. Time to seek intelligent conversation 
down the pub.  :-(

-- 
Regards
Peter


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-05-08 23:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 12:57 [gentoo-user] More emerge oddity in chroot Peter Humphrey
2014-04-24 21:05 ` Philip Webb
2014-04-25  8:16   ` Peter Humphrey
2014-04-28 12:32 ` Peter Humphrey
2014-04-29  0:47   ` [gentoo-user] More emerge oddity in chroot - SOLVED Peter Humphrey
2014-05-04 18:52     ` J. Roeleveld
2014-05-05  9:17       ` Peter Humphrey
2014-05-08 23:34 ` [gentoo-user] More emerge oddity in chroot Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox