Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[going very wrong]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Fri Jul 04, 2003 1:07 am    Post subject: [going very wrong] Reply with quote

hello
i am having lot of problems with some base binaries, for example ls, or chown, etc... they are all segfaulting and i dont know why ...
so i would like to know, is there an ebuild to re-build all of those things ??
please i need help on this one ...
_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Fri Jul 04, 2003 7:07 am    Post subject: Reply with quote

another example of my pain:
Code:


kpoman root # emerge -uDv world
Calculating world dependencies ...done!
>>> emerge (1 of 31) dev-lang/tcl-8.4.3 to /
>>> md5 src_uri ;-) tcl8.4.3-src.tar.gz
>>> Unpacking source...
>>> Unpacking tcl8.4.3-src.tar.gz to /var/tmp/portage/tcl-8.4.3/work

gzip: stdout: Broken pipe
/usr/sbin/ebuild.sh: line 1178:  3502 Segmentation fault      tar xz --no-same-owner -f ${DISTDIR}/${x}

!!! ERROR: dev-lang/tcl-8.4.3 failed.
!!! Function unpack, Line 271, Exitcode 139
!!! failure unpacking tcl8.4.3-src.tar.gz

kpoman root #


i also receive errors from my cron jobs:

Code:

/etc/cron.daily/syslog.cron: line 27:  4393 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4395 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4397 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4399 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4401 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4403 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4405 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4407 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4409 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4411 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4413 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4415 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4417 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4419 Segmentation fault      /bin/chown root.adm $LOG
/etc/cron.daily/syslog.cron: line 27:  4421 Segmentation fault      /bin/chown root.adm $LOG



and also:

Code:

kpoman root # ll /tmp
total 259980
drwxrwxrwt   57 root     root        20480 Jul  4 09:01 .
drwxr-xr-x   22 root     root         4096 Jun  7 14:00 ..
drwxrwxrwt    2 root     root         4096 Jul  4 08:56 .ICE-unix
drwxrwxrwt    2 root     root         4096 Jul  4 08:56 .X11-unix
-rw-r--r--    1 root     root            0 May 22 22:43 .keep
drwx------    2 root     root         4096 Feb  9 00:42 .liveice_temp_files
drwxrwxrwt    3 root     root         4096 Jan  5 00:20 .vmware
-rw-rw-rw-    1 root     root         1652 Feb 26 15:41 .vnetrc
drwxr-xr-x    2 root     root         4096 May 14 02:35 .webmin
drwx------    3 gamer    users        4096 May 17 03:30 .wine-gamer
drwx------    5 root     root         4096 Apr 13 19:15 .wine-root
drwx------    2 root     root         4096 Nov 26  2002 .xf86config16235
-rw-------    1 root     root      5386240 Jan 14 21:53 01-AudioTrack 01.mp3
-rw-------    1 root     root      2904064 Jan 14 21:54 04-AudioTrack 04.mp3
-rw-------    1 root     root            0 Mar 28 22:25 0x2vt7fw.php
drwxr-xr-x    3 root     root         4096 Mar 23 20:05 10459
drwxr-xr-x    3 root     root         4096 Feb 28 00:23 17004
drwxr-xr-x    2 root     root         4096 Mar 18 21:21 18591
drwxr-xr-x    3 root     root         4096 Mar 18 21:21 18600
drwxr-xr-x    3 root     root         4096 Jan 25 18:58 21826
drwxr-xr-x    3 root     root         4096 May 13 23:29 22466
-rw-r--r--    1 root     root        36188 May 29 02:33 23434.blend
-rw-r--r--    1 root     root        62308 May 29 03:05 23723.blend
drwxr-xr-x    3 root     root         4096 Feb 11 11:21 3445
-rw-------    1 root     root           66 Apr 27 04:14 4williams.ram
-rw-r--r--    1 root     root        47104 Apr 13 19:36 562a02d.tmp
-rw-r--r--    1 root     root       183296 Apr 13 19:37 562a064.tmp
-rw-r--r--    1 root     root        43008 Apr 13 19:44 562a1e7.tmp
-rw-r--r--    1 root     root        57344 Apr 13 19:52 562a3f3.tmp
-rw-r--r--    1 root     root        34304 Apr 13 19:54 562a457.tmp
-rw-r--r--    1 root     root        37376 Apr 13 19:54 562a46c.tmp
-rw-r--r--    1 root     root            0 Apr 13 20:03 562a686.tmp
-rw-------    1 kpoman   users         486 May  3 13:49 8w9qc70m.
-r--r--r--    1 root     root         2857 Dec  2  2000 Abcpy.ini
-rw-r--r--    1 root     root      2048000 Jan 26 16:53 AcrodXdrlN
-rw-r--r--    1 root     root        60664 May 29 03:02 AddObj.blend
-rw-------    1 root     root      4276224 Jan 14 20:44 All Natural f. Lone Cata
lysts - Renaissance.mp3
-r--r--r--    1 root     root          101 Sep 29  2000 DATA.TAG
-rw-------    1 root     root      3553450 Mar  4 02:37 GKrellM-Skins.tar.gz
Segmentation fault
kpoman root #


i can startx though and use my computer as i always did, but this is annoying
_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Fri Jul 04, 2003 7:11 am    Post subject: Reply with quote

Are you sure that your CFLAGS are set correctly?
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Fri Jul 04, 2003 7:41 am    Post subject: Reply with quote

yeah they are :
Code:
kpoman / # cat /etc/make.conf | grep -i flags
# The available list of use flags with descriptions is in your portage tree.
# useflags for you. 'emerge app-admin/ufed'
# For optimal performance, enable a CFLAGS setting appropriate for your CPU.
#CFLAGS="-mcpu=athlon-xp -O3 -pipe"
#CFLAGS="-march=pentium3 -O3 -pipe"
CFLAGS="-march=athlon-tbird -O3 -pipe  -mmmx -m3dnow"
# If you set a CFLAGS above, then this line will set your default C++ flags to
#CXXFLAGS="${CFLAGS}"
CXXFLAGS="${CFLAGS}"
#                settings and USE flags in SRC_URI and has wide effects --
kpoman / #

_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
pYrania
Retired Dev
Retired Dev


Joined: 27 Oct 2002
Posts: 650
Location: Cologne - Germany

PostPosted: Fri Jul 04, 2003 10:28 am    Post subject: Reply with quote

-mmmx?
_________________
Markus Nigbur
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Fri Jul 04, 2003 1:33 pm    Post subject: Reply with quote

yes i dont know why i put that ... think i saw it somewhere ... but i can retire it if needed,
but anyway, my system was working, so the only cause that harmed it would have been those binaries being upgraded, in which case, i'd like to know what's the port name to downgrade/rebuild with other Cflags


so ... what's the build name for chown, ls, etc... ?
_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Fri Jul 04, 2003 8:13 pm    Post subject: Reply with quote

ok i found out what was the problem,

i did some

strace tar zxvf whatever ...

and there was something about ldap,
then i removed all pam.d config files containing ldap,

still the problem there even rebooting,
then i commented completely /etc/ldap.conf and it started working ... weir, bloody .. everything was working time ago ... LDAP sucks

thanks though it was kind of difficult to find out
_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Fri Jul 04, 2003 8:29 pm    Post subject: Reply with quote

You could try an "emerge unmerge ldap", then deleting ldap.conf and associated LDAP config files (I don't know if there are any beside that one), then "emerge -uD ldap" and see if that fixes your problem. But you're right, it is a bit of a poser!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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