Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XeN Image erstellen, Fehler beim Re-Kompilieren des Systems
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ghoster1970
n00b
n00b


Joined: 22 Jul 2008
Posts: 3

PostPosted: Tue Jul 22, 2008 7:31 am    Post subject: XeN Image erstellen, Fehler beim Re-Kompilieren des Systems Reply with quote

Hallo,

ich bin (noch) Debian Benutzer und möchte demnächst meine kompletten Systeme auf Gentoo umstellen. Zum testen aller Konfigurationen möchte ich mir eine domU unter XeN mit Gentoo erstellen. Es ist nicht so, dass ich komplett keine Ahnung habe, aber mit diesem Fehlerbild kann ich nichts anfangen:

Ich beschreibe auf die schnelle wie ich vorgegangen bin, eventuell hab ich hier einen Denkfehler drin:

Code:

'mounten der LVM2 Device nach /mnt/gentoo'

wget -q -O - http://gentoo.osuosl.org/releases/x86/2008.0/stages/stage3-i686-2008.0.tar.bz2 | tar xpjf - -C /mnt/gentoo/

mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev

chroot /mnt/gentoo

cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime

grep -v rootfs /proc/mounts > /etc/mtab

env-update
source /etc/profile

wget -q -O - http://gentoo.osuosl.org/snapshots/portage-latest.tar.bz2 | tar xjpf - -C /usr/

emerge --sync
emerge portage


Anschließend erstelle ich diese make.conf

Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j3"
CXXFLAGS="${CFLAGS}"


Anschließend starte ich die Re-Kompilierung des Systems folgendermaßen:

Code:

emerge -e system


Es wird mir angezeigt, insgesamt 103 Dateien werden neu kompiliert. Nach Paket Nummer 73 bekomme ich folgende Fehlermeldung. Hat jemand einen Hinweis was da schief gelaufen sein könnte?
Code:

01:02:30 (724.65 KB/s) - »/usr/portage/distfiles/rsync-3.0.3.tar.gz« gespeichert [770282/770282]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking rsync-3.0.3.tar.gz ;-) ...                                    [ ok ]
touch: Setzen der Zeiten für »/var/tmp/portage/net-misc/rsync-3.0.3/temp/environment.success«:[b] Die angeforderte Funktion ist nicht implementiert[/b]
>>> Unpacking source...
>>> Unpacking rsync-3.0.3.tar.gz to /var/tmp/portage/net-misc/rsync-3.0.3/work
touch: Setzen der Zeiten für »/var/tmp/portage/net-misc/rsync-3.0.3/.unpacked«: [b]Die angeforderte Funktion ist nicht implementiert[/b]
 *
 * ERROR: net-misc/rsync-3.0.3 failed.
 * Call stack:
 *               ebuild.sh, line 1802:  Called dyn_unpack
 *               ebuild.sh, line  674:  Called die
 * The specific snippet of code:
 *      touch "${PORTAGE_BUILDDIR}/.unpacked" || die "IO Failure -- Failed 'touch .unpacked' in ${PORTAGE_BUILDDIR}"
 *  The die message:
 *   IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/net-misc/rsync-3.0.3
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/rsync-3.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/rsync-3.0.3/temp/environment'.
 *


Setzen der Zeiten ist nicht implementiert... wenn dem so wäre, hätte er die anderen 72 Pakete vorher auch nicht bauen/kompilieren dürfen, oder sehe ich da etwas falsch?
Bin über jeden Tipp von Euch dankbar.
Achja: Xen 3.1.4 und die dom0 ist ein Debian Etch System.

Gruß Christian
Back to top
View user's profile Send private message
ghoster1970
n00b
n00b


Joined: 22 Jul 2008
Posts: 3

PostPosted: Tue Jul 22, 2008 9:56 am    Post subject: Reply with quote

Nachtrag, vergessen:

Code:

emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18.8-xen0 i686)
=================================================================
System uname: 2.6.18.8-xen0 i686 Intel(R) Celeron(R) CPU 2.66GHz
Timestamp of tree: Mon, 21 Jul 2008 20:00:02 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Ich kann inzwischen nicht mehr ein einziges Paket installieren... arghhh, wenn ich nur mehr Erfahrung mit Gentoo hätte :(
Back to top
View user's profile Send private message
ghoster1970
n00b
n00b


Joined: 22 Jul 2008
Posts: 3

PostPosted: Wed Jul 23, 2008 8:28 am    Post subject: Reply with quote

Sieht so aus ob ich das Problem inzwischen lösen konnte :)
Back to top
View user's profile Send private message
Aldo
Guru
Guru


Joined: 15 Jan 2003
Posts: 440
Location: Cologne, Germany

PostPosted: Wed Jul 23, 2008 11:42 pm    Post subject: Reply with quote

ghoster1970 wrote:
Sieht so aus ob ich das Problem inzwischen lösen konnte :)

Teilst du denjenigen die auf das selbe Problem stoßen auch mit, wie du es gelöst hast?
Danke!
_________________
Abit A-N78-HD
Phenom 9750
8 GB Ram
Linux 2.6.29-gentoo
FreeBSD 7.2
Back to top
View user's profile Send private message
sledge0303
n00b
n00b


Joined: 11 Mar 2008
Posts: 2

PostPosted: Thu Jul 24, 2008 8:37 am    Post subject: Reply with quote

Hallo,

der ghoster1970 hatte mich angemailt mit dem Problem mit Link auf diesen Thread. Das Problem wurde gelöst, indem er ein neues Image erstellt hatte, so wie bisher beschrieben die make.conf angepasst hat. Bevor er das System mit den Flags neu kompiliert hat, schrieb ich ihm er soll glibc und gentoolkit installieren.
Danach hat es offensichtlich problemlos geklappt!

Ich werde in den nächsten Tagen ein Tutorial darüber schreiben auf http://nixhelp.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum