[gentoo-user] Compiling qemu breaks

2012-08-05 Thread meino . cramer
Hi,

trying to compile qemu breaks for me with:
 Source configured.
 Compiling source in 
 /var/tmp/portage/app-emulation/qemu-0.11.1/work/qemu-0.11.1 ...
make -j 1 
  CCqemu-nbd.o
  CCqemu-tool.o
  CCtool-osdep.o
  CCcutils.o
  CCcache-utils.o
  CCqemu-malloc.o
  CCqemu-option.o
  CCmodule.o
  CCnbd.o
  CCblock.o
  CCaio.o
  CCaes.o
  CCposix-aio-compat.o
  CCblock/cow.o
  CCblock/qcow.o
  CCblock/vmdk.o
  CCblock/cloop.o
  CCblock/dmg.o
  CCblock/bochs.o
  CCblock/vpc.o
  CCblock/vvfat.o
  CCblock/qcow2.o
  CCblock/qcow2-refcount.o
  CCblock/qcow2-cluster.o
  CCblock/qcow2-snapshot.o
  CCblock/parallels.o
  CCblock/nbd.o
  CCblock/raw-posix.o
  CCblock/curl.o
  LINK  qemu-nbd
  CCqemu-io.o
  CCcmd.o
  LINK  qemu-io
  GEN   qemu-img-cmds.h
  CCqemu-img.o
  LINK  qemu-img
  GEN   qemu-options.texi
  GEN   qemu-monitor.texi
  GEN   qemu-img-cmds.texi
  GEN   qemu-doc.html
Option number is ambiguous (number-footnotes, number-sections)
Try `texi2html --help' for more information.
make: *** [qemu-doc.html] Error 2
emake failed
 * ERROR: app-emulation/qemu-0.11.1 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *  ebuild.sh, line   85:  Called src_compile
 *environment, line 3038:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  573:  Called die
 * The specific snippet of code:
 *  emake || die emake failed
 * 
 * If you need support, post the output of `emerge --info 
'=app-emulation/qemu-0.11.1'`,
 * the complete build log and the output of `emerge -pqv 
'=app-emulation/qemu-0.11.1'`.
 * The complete build log is located at 
'/var/tmp/portage/app-emulation/qemu-0.11.1/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/app-emulation/qemu-0.11.1/temp/environment'.
 * Working directory: 
'/var/tmp/portage/app-emulation/qemu-0.11.1/work/qemu-0.11.1'
 * S: '/var/tmp/portage/app-emulation/qemu-0.11.1/work/qemu-0.11.1'

 Failed to emerge app-emulation/qemu-0.11.1, Log file:

  '/var/tmp/portage/app-emulation/qemu-0.11.1/temp/build.log'

--
emerge --info '=app-emulation/qemu-0.11.1'

Portage 2.1.10.65 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.4.5 
x86_64)
=
System Settings
=
System uname: 
Linux-3.4.5-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.1
Timestamp of tree: Sun, 05 Aug 2012 02:15:01 +
app-shells/bash:  4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python:  2.7.3-r2, 3.2.3
dev-util/cmake:   2.8.7-r5
dev-util/pkgconfig:   0.26
sys-apps/baselayout:  2.1-r1
sys-apps/openrc:  0.10.5
sys-apps/sandbox: 2.5
sys-devel/autoconf:   2.13, 2.68
sys-devel/automake:   1.9.6-r3, 1.11.1
sys-devel/binutils:   2.21.1-r1
sys-devel/gcc:4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r1
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:   2.14.1-r3
Repositories: gentoo proaudio enlightenment
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=*
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe -msse3
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d 
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c
CXXFLAGS=-march=native -O2 -pipe -msse3
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms 
strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://de-mirror.org/distro/gentoo/ 
ftp://de-mirror.org/distro/gentoo/ rsync://de-mirror.org/gentoo/ 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ 
http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ 
rsync://mirror.netcologne.de/gentoo/ ftp://mirror.opteamax.de/gentoo/ 
rsync://mirror.opteamax.de/gentoo/ http://mirror.opteamax.de/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ 
http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo 

[gentoo-user] Want to seriously test a NEW hard drive

2012-08-05 Thread Dale
Howdy,

I finally got me a 3Tb drive on the way.  Should be here Wednesday.  I
have seen some reviews where it would not work right.  I think some of
it may be BIOS related since some BIOS's don't like drives that large. 
Anyway, I want to test this thing real good to really make sure it is up
to the task before putting my data on it.  It's going to be so much
data, there is really no way to do back-ups at this point.  Come on, 2
to 3Tbs on 4Gb DVDs.  Really?  lol  Maybe a external drive later on but
for now, well. 

I have heard of bonnie and friends.  I also think dd could do some
testing too.  Is there any other way to give this a good work and see if
it holds up?  Oh, helpful hints with Bonnie would be great too.  I have
never used it before.  Maybe someone has some test that is really brutal. 

Thanks

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-05 Thread Mark Knecht
On Kindle so hard to answer in depth. What about smartctl??? Let the
drive test itself.



Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-05 Thread Alex Schuster
Dale writes:

 I finally got me a 3Tb drive on the way.  Should be here Wednesday.  I
 have seen some reviews where it would not work right.  I think some of
 it may be BIOS related since some BIOS's don't like drives that large. 
 Anyway, I want to test this thing real good to really make sure it is up
 to the task before putting my data on it.  It's going to be so much
 data, there is really no way to do back-ups at this point.  Come on, 2
 to 3Tbs on 4Gb DVDs.  Really?  lol  Maybe a external drive later on but
 for now, well. 
 
 I have heard of bonnie and friends.  I also think dd could do some
 testing too.  Is there any other way to give this a good work and see if
 it holds up?  Oh, helpful hints with Bonnie would be great too.  I have
 never used it before.  Maybe someone has some test that is really
 brutal. 

smartctl -t long /dev/sdb will make the drive start a selftest. This
will take a while, and even more if the drive is being used otherwise, as
this test should not impact its performance. Use smartctl -l selftest to
view the results. As long as there is no number in the
'LBA_of_first_error' column, it should be okay.

That is a reading test only, badblocks -sw /dev/sdb will make it perform
a write-mode test. It uses four different patterns, I would be okay with
only one test, so I'd either stop it when it is done writing and
comparing the first pattern, or supply a test pattern with option -t.

Wonko



Re: [gentoo-user] Compiling qemu breaks

2012-08-05 Thread Michael Orlitzky
On 08/05/2012 06:02 AM, meino.cra...@gmx.de wrote:
 Hi,
 
 trying to compile qemu breaks for me with:

Downgrading texi2html should work around it until the bug gets fixed:

  https://bugs.gentoo.org/show_bug.cgi?id=416037




[gentoo-user] Problems with help2man and Perl

2012-08-05 Thread Andrew Lowe

Hi all,
	I've having a bit of a problem with doing an update world. When I do an 
emerge -NuD world things chug along a bit then the build for help2man 
fails, having a problem with Locale::gettext. A Google search mentions 
using perl-cleaner. I run perl-cleaner and it results in a whole lot of 
stuff being rebuilt, including Perl. I then run the emerge again and for 
some reason it wants to rebuild perl again, a different version to what 
perl-cleaner rebuilt. The emerge progresses past building perl , gets 
back to help2man and fails again.


	Does anyone have any ideas as to what might be going wrong here? I have 
a feeling I should be unmerging a lot of stuff then remerging it.


Any thoughts greatly appreciated,

Andrew

p.s. Sorry about the English, I've had a lot of chocolate and Tokay :)



Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-05 Thread victor romanchuk
hi

Dale wrote, at 08/05/2012 04:45 PM:
 Howdy,


 I have heard of bonnie and friends.  I also think dd could do some
 testing too.  Is there any other way to give this a good work and see if
 it holds up?  Oh, helpful hints with Bonnie would be great too.  I have
 never used it before.  Maybe someone has some test that is really brutal. 


some time ago i have played with bonnie++ to figure out my hard disk performance
using different filesystems and io schedulers. the script invokes 3 bonnie
instances; each instance runs its own set of tests: write/read/rewrite a 30gb
file followed with different file operations on 48k small files spread over 32
sub-directories:

#!/bin/bash
#
scratch=${1:-$(pwd)}
#
date
ft=$(df -Pl $scratch|tail -1|awk '{print $6}')
mnt=($(mount|grep $ft ))
dev=$(basename $(readlink -fn ${mnt[0]}))
sched=$(cat /sys/block/$dev/queue/scheduler|sed -e 's/.*\[//1' -e 's/\].*//1')
log=$dev-${sched}-${mnt[4]}
echo $log
rm -f ${log} ${log}.html
/usr/sbin/bonnie++ -p 3
/usr/sbin/bonnie++ -qd $scratch -n48:128K:16K:32 -ys -s30g -mg1  ${log} 
/usr/sbin/bonnie++ -qd $scratch -n48:128K:16K:32 -ys -s30g -mg2  ${log} 
/usr/sbin/bonnie++ -qd $scratch -n48:123K:16K:32 -ys -s30g -mg3  ${log} 
wait
/usr/sbin/bonnie++ -p -1
bon_csv2html ${log}  ${log}.html
date

this script worked around 30mins on a sata3 1tb drive. presuming your 3tb, you
may adjust the file size and/or number of bonnie instances to fill up the disk
space; then start the script and leave it running for a day. i guess this test
would be brutal enough and on completion the disk might be considered good :)

victor



[gentoo-user] Re: Problems with help2man and Perl

2012-08-05 Thread walt
On 08/05/2012 11:07 AM, Andrew Lowe wrote:

 I then run the emerge again and for some reason it wants to rebuild
 perl again, a different version to what perl-cleaner rebuilt.

That sounds very strange.  Why should two versions of perl be fighting
for top dog on your machine?

The only reason I can think of at the moment (being sadly without either
Tokay or chocolate to stimulate my brain) is that you may have masked or
unmasked one or more versions of perl or a perl package for reasons long
forgotten?

I use something like 'grep -r perl /etc/portage/*' to check for packages
I masked/unmasked and then forgot about.

Which two versions of perl are competing, and also what arch and gentoo
profile are you running?





Re: [gentoo-user] Re: Problems with help2man and Perl

2012-08-05 Thread Alan McKinnon
On Sun, 05 Aug 2012 13:13:35 -0700
walt w41...@gmail.com wrote:

 On 08/05/2012 11:07 AM, Andrew Lowe wrote:
 
  I then run the emerge again and for some reason it wants to rebuild
  perl again, a different version to what perl-cleaner rebuilt.
 
 That sounds very strange.  Why should two versions of perl be fighting
 for top dog on your machine?
 
 The only reason I can think of at the moment (being sadly without
 either Tokay or chocolate to stimulate my brain) is that you may have
 masked or unmasked one or more versions of perl or a perl package for
 reasons long forgotten?
 
 I use something like 'grep -r perl /etc/portage/*' to check for
 packages I masked/unmasked and then forgot about.
 
 Which two versions of perl are competing, and also what arch and
 gentoo profile are you running?


I doubt his perl version is flip-flopping, he doesn't actually say
that, only that perl-cleaner repeatedly want to rebuild perl.

Andrew:

Don't try and fix things when the first ebuild crashes. Just resume
skipfirst and let the emerge complete. Then see what remains. You
might have to emerge @preserved-rebuild too - all the usual tools.

If perl-cleaner still needs running, then post the full output, including any
reasons why it wants to rebuild perl (changed USE etc) 


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Gentoo on a Beaglebone

2012-08-05 Thread meino . cramer
Hi,

here:
http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml

I found a description how to setup a Gentoo for a Beaglebone,
an Cortex A8 Linux platform.

When I did:
crossdev -S armv7a-unknown-linux-gnueabi


I got this message:
/rootcrossdev -S armv7a-unknown-linux-gnueabi

 * crossdev version:  20120531
 * Host Portage ARCH: amd64
 * Target Portage ARCH:   arm
 * Target System: armv7a-unknown-linux-gnueabi
 * Stage: 4 (C/C++ compiler)
 * ABIs:  default

 * binutils:  binutils-[stable]
 * gcc:   gcc-[stable]
 * headers:   linux-headers-[stable]
 * libc:  glibc-[stable]

 * CROSSDEV_OVERLAY:  /var/lib/layman/pro-audio
 * PORT_LOGDIR:   /var/log/portage
 * PORTAGE_CONFIGROOT:
 * Portage flags: 
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  
~  -  _  -  ~  -  _  -  ~  -

 * please convert /etc/portage/package.keywords to a directory  
   !!!
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-armv7a-unknown-linux-gnueabi-info.log


What is meant with please convert /etc/portage/package.keywords to a directory
What will happen to the contents of that file? What is the name of the directory
to create? How can I fix that?

Thank you very much in advance for any help!
Best regards,
mcc