Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
perl und damit ganzes system kaputt
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
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Mon Nov 19, 2007 1:19 pm    Post subject: perl und damit ganzes system kaputt Reply with quote

wie alles anfing weiss ich nichtmehr, aber irgendwie ist mein amd64 system kaputt,
das erste anzeichen war, das nvidia-settings mit segmentation fault abstürzte,
nun lässt sich perl nichtmehr bauen,

damit lässt sich autoconf nicht mehr emergen, damit automake nicht, und damit eigentlich
garnichts mehr :cry:

hier mal die fehlermeldung für perl

emerge -e world läuft sauber durch bis perl

Code:

-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=nocona -pipe  -Wall
`sh  cflags "optimize='-O2 -march=nocona -pipe'" pp_pack.o` -fPIC pp_pack.c
          CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=nocona -pipe  -Wall
`sh  cflags "optimize='-O2 -march=nocona -pipe'" pp_sort.o` -fPIC pp_sort.c
          CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=nocona -pipe  -Wall
rm -f libperl.a
/usr/bin/ar rcu libperl.a perl.o  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o
`sh  cflags "optimize='-O2 -march=nocona -pipe'" opmini.o` -fPIC -DPERL_EXTERNAL_GLOB opmini.c
          CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=nocona -pipe  -Wall
x86_64-pc-linux-gnu-gcc -L/usr/local/lib64 -o miniperl \
            miniperlmain.o opmini.o libperl.a -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
make: [extra.pods] Error 1 (ignored)
./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
        AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
                autosplit_lib_modules(@ARGV)' lib/*.pm
./miniperl -Ilib -e 'use AutoSplit; \
                autosplit_lib_modules(@ARGV)' lib/*/*.pm
make lib/re.pm
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8'
cp ext/re/re.pm lib/re.pm
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8'
./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
cd lib/unicore &&  ../../miniperl -I../../lib mktables -w
touch uni.data
`sh  cflags "optimize='-O2 -march=nocona -pipe'" perlmain.o` -fPIC perlmain.c
          CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=nocona -pipe  -Wall

        Making DynaLoader (static_pic)
Processing hints file hints/linux.pl
Unable to find a perl 1.97626258336499e-322 (by these names: ../../miniperl miniperl perl perl5 perl5.8.8, in these dirs: ../.. /usr/lib/distcc/bin /usr/local/sbin /sbin /usr/sbin /usr/lib64/portage/bin /usr/local/bin /bin /usr/bin /opt/bin /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 /opt/intel/cce/10.0.026/bin /usr/kde/3.5/sbin /usr/kde/3.5/bin /usr/qt/3/bin /usr/bin)
Writing Makefile for DynaLoader
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8/ext/DynaLoader'
/bin/sh: /var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8/ext/DynaLoader/0: No such file or directory
make[1]: *** [../../lib/.exists] Error 127
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8/ext/DynaLoader'
make config failed, continuing anyway...
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8/ext/DynaLoader'
/bin/sh: /var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8/ext/DynaLoader/0: No such file or directory
make[1]: *** [../../lib/.exists] Error 127
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8/ext/DynaLoader'
make: *** [lib/auto/DynaLoader/DynaLoader.a] Error 2
 *
 * ERROR: dev-lang/perl-5.8.8-r3 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   perl-5.8.8-r3.ebuild, line  292:  Called die
 * The specific snippet of code:
 *      emake -j1 || die "Unable to make"
 *  The die message:
 *   Unable to make


das schlimme ist, die fehlermeldung :
"Unable to find a perl 1.97626258336499e-322 (by these names: ../../miniperl miniperl perl perl5 perl5.8.8"
stimmt nicht, denn in /var/tmp/portage/dev-lang/perl-5.8.8-r3/work/perl-5.8.8/
gibts die executable miniperl

naja ich weiss nicht weiter, hab im forum gelesen das es an falschen
cflags liegen soll, aber die sind normal, und die LDFLAGS kann ich ja wohl auch so lassen

emerge --info

Code:

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-rc3-zen0 x86_64)
=================================================================
System uname: 2.6.24-rc3-zen0 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
Timestamp of tree: Mon, 19 Nov 2007 08:30:08 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks nodoc noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/toolchain /usr/portage/local/layman/custom-kernels /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 berkdb bitmap-fonts cli cracklib crypt dbus dri dvd dvdread flac fortran gdbm gpm hal iconv ipod ipv6 isdnlog jpeg kde midi mmx mp3 mudflap ncurses nls nptl nptlonly ntpl ntplonly ogg opengl openmp pam pcre perl pppd python qt qt3 readline reflection session spl sse sse2 sse3 ssl subversion tcpd tiff truetype-fonts type1-fonts unicode xcomposite xorg zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


ich hoffe ihr könnt mir helfen, sonst muss ich wohl neu installieren,
das system läuft zwar, aber ist ohne emerge ja nicht nutzbar
(gcc//icc für mein eigenes project gehen)
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Back to top
View user's profile Send private message
tuxianer
Apprentice
Apprentice


Joined: 17 Dec 2005
Posts: 280
Location: Cologne - Germany

PostPosted: Mon Nov 19, 2007 1:26 pm    Post subject: Reply with quote

Code:
 * The specific snippet of code:
 *      emake -j1 || die "Unable to make"
 *  The die message:
 *   Unable to make


Mmmmh, schuss ins blaube schalte mal distcc ab und versuch es nochmal zu mergen bitte irgendwo muss dieses emake -j1 herkommen.
_________________
Bei Fragen bitte wie folgt vor gehen:
Forum Suche, Lesen, Denken, (NICHTS GEFUNDEN?), Tippen, Posten !
Wer Sorgen hat, der hat auch Likör ! ( Wilhelm Busch)
Back to top
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Mon Nov 19, 2007 1:40 pm    Post subject: Reply with quote

distcc ist aus features raus, mein distcc-server ist weit weg, und MAKEOPTS ist auskommentiert

selber fehler :(

und mir ist aufgefallen, das in der konsole irgendwie zahlen nicht mehr dargestellt werden,
fschk bleibt immer bei 0%, aber der balken geht bis zum schluss durch,
df liefert mir sowas (man beachte die 0%)

Code:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda10             4917648   4073132    594708   0% /
udev                     10240       224     10016   0% /dev
/dev/sda11            58229756   3860852  51410940   0% /home
shm                    1028316         0   1028316   0% /dev/shm


aber kde geht wie immer :)

irgendwas scheint mit c++ kaputt zu sein, man siehe sich das hier an
(bin darauf gestossen, weil all meine eigenen programme zwar laufen, in den ausgabedateien aber nur 0en stehen)

Code:

#include <iostream>

main()
{
double i=1.0;
for(int j=0; j < 4; j++) i/=2;
std::cout << i << std::endl;

for(int j=0; j < 4; j++) i*=2;
std::cout << i << std::endl;

i=2;
std::cout << i << std::endl;
}


liefert :
Code:

./a.out
2.34672e-310
6.95325e-310
6.95325e-310


werde mal gcc neu mergen
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Back to top
View user's profile Send private message
Gibheer
Guru
Guru


Joined: 27 Dec 2004
Posts: 300

PostPosted: Tue Nov 20, 2007 5:02 am    Post subject: Reply with quote

Ich hatte vor kurzem auch ein vermeintliches Perl problem in der Art, dass expr a : \(a\) immer in einem segfault endete. Ich hab dann angefangen in einem chroot auf der selben maschine erst automake, dann coreutils, perl und dann glibc als binary zu bauen und dann hab das dann eingefuegt und am ende war die glibc dran schuld.
Ist das vllt bei dir auch der Fall? Mein Fehler sollte eigentlich garnicht mehr auftraten, nachdem er vor zwei Jahren behoben wurde, aber anscheind hat war beim letzten glibc-update irgendein Fehler drin. Aber vllt hilft dir das, hoffe ich zumindest.
Back to top
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Tue Nov 20, 2007 7:04 pm    Post subject: Reply with quote

bei mir tritt das problem immer beim installieren von
libstdc++-v3 auf, und ich weiss langsam nichtmehr wie ich das lösen soll,
ich habe nun x86 neuinstalliert, und sobald ich libstdc++v3 emerge
"kollabieren" alle zahlen-ausgaben zu fast 0.

ich brauch die std-lib für icc-merge :cry:
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
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