Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Diverse problem med emerge. Hjälp!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
gb
n00b
n00b


Joined: 13 Aug 2003
Posts: 49

PostPosted: Fri Nov 12, 2004 6:56 pm    Post subject: Diverse problem med emerge. Hjälp! Reply with quote

Hej!

Har stora problem med portage just nu! Både när jag ska uppdatera paket och när jag vill re-emerga program som kunde ha nytta av nya USE-parametrar. T.ex. när jag ska emerga
coreutils:

Den ser ut så här när jag listar ebuilden:

Code:
[ebuild   R   ] sys-apps/coreutils-5.2.1  -acl* -build -debug +nls (-selinux) -static (-uclibc) 0 kB


Code:
# emerge coreutils


Code:

[--- Bortklippt logg av emege ---]]

make[1]: *** [check-README] Error 1
make[1]: Leaving directory `/var/tmp/portage/coreutils-5.2.1/work/coreutils-5.2.1/src'
make: *** [check-recursive] Error 1

!!! ERROR: sys-apps/coreutils-5.2.1 failed.
!!! Function src_test, Line 520, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.


Samma sak händer om jag emergar id3lib:

Code:
make[2]: *** [test_io.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/id3lib-3.8.3-r3/work/id3lib-3.8.3/examples'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/id3lib-3.8.3-r3/work/id3lib-3.8.3/examples'
make: *** [check-recursive] Error 1

!!! ERROR: media-libs/id3lib-3.8.3-r3 failed.
!!! Function src_test, Line 520, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.

_________________
There is only one difference between a madman and me. I'm not mad.
Back to top
View user's profile Send private message
Highlands
Guru
Guru


Joined: 22 Apr 2003
Posts: 366
Location: Sundsvall, Sweden

PostPosted: Sat Nov 13, 2004 5:53 am    Post subject: Reply with quote

du måste visa lite mer av kompileringen... Det är där felen står
_________________
If Windows is the answer, you don't understand the question!
http://counter.li.org/cgi-bin/certificate.cgi/339446
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4831
Location: Gothenburg, Sweden

PostPosted: Sat Nov 13, 2004 6:51 am    Post subject: Reply with quote

Highlands wrote:
du måste visa lite mer av kompileringen... Det är där felen står

Posta gärna
Code:
emerge info
också.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
d4n1el
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2004
Posts: 76

PostPosted: Sat Nov 13, 2004 9:37 am    Post subject: Reply with quote

du har inte fullt diskutrymme o behöver ta bort lite temp. filer...
det hade jag o då fick jag samma fel meddelande...
så kolla diskutrymmet
# df
Back to top
View user's profile Send private message
gb
n00b
n00b


Joined: 13 Aug 2003
Posts: 49

PostPosted: Sat Nov 13, 2004 11:07 am    Post subject: Tillägg till problemet.... Reply with quote

Hej!

Ok, jag ska testa ok kompilera om igen och ta med mer av loggen. Men jag lägger
till detta sist då eftersom det blir några rader. Men först:

Diskutrymmet är det nog inget fel på (jag har inte monterat tmp separat):

Code:
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2             20514312   4364380  16149932  22% /


Rättigheterna ser ut så här på de dirs som verkar aktuella:
Code:
# ls -ld /   /var  /var/tmp
drwxr-xr-x  18 root root 440 Oct 31 23:44 /
drwxr-xr-x  13 root root 360 Sep 10 06:39 /var
drwxrwxrwt  3 root root 96 Nov 13 11:35 /var/tmp/


Om jag tittar på emerge-miljön ser den ut så här (tack för tipset förresten):

Code:
root@isildur [/root]
# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks maketest sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse sse2 ssl svga tcpd tiff truetype x86 xml xml2 xmms xv zlib"


Ok, vi tar nautilus som exempel, som jag vill kompilera om pga nya USE-flaggor:

Code:
>>> Test phase [check]: gnome-base/nautilus-2.8.0
Making check in libnautilus
make[1]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libnautilus'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libnautilus'
Making check in libnautilus-extension
make[1]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libnautilus-extension'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libnautilus-extension'
Making check in cut-n-paste-code
make[1]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code'
Making check in widgets
make[2]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/widgets'
Making check in gimphwrapbox
make[3]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/widgets/gimphwrapbox'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/widgets/gimphwrapbox'
make[3]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/widgets'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/widgets'
make[2]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/widgets'
Making check in libegg
make[2]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/libegg'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/libegg'
Making check in gsequence
make[2]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/gsequence'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code/gsequence'
make[2]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code'
make[1]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/cut-n-paste-code'
Making check in libbackground
make[1]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libbackground'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libbackground'
Making check in libnautilus-private
make[1]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libnautilus-private'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libnautilus-private'
Making check in libnautilus-adapter
make[1]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libnautilus-adapter'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/libnautilus-adapter'
Making check in src
make[1]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/src'
Making check in file-manager
make[2]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/src/file-manager'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/src/file-manager'
make[2]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/src'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/src'

Could not create per-user gnome configuration directory `/root/.gnome2_private/': Permission denied

FAIL: check-nautilus
===================
1 of 1 tests failed
===================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/src'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/nautilus-2.8.0/work/nautilus-2.8.0/src'
make: *** [check-recursive] Error 1

!!! ERROR: gnome-base/nautilus-2.8.0 failed.
!!! Function src_test, Line 520, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.

 ...done!
>>> emerge (1 of 1) gnome-base/nautilus-2.8.0 to /
>>> md5 src_uri ;-) nautilus-2.8.0.tar.bz2


I det här fallet verkar det vara ett gnome-problem kanske:

Code:
Could not create per-user gnome configuration directory `/root/.gnome2_private/': Permission denied


Men det verkar vara problem med så många ebuilds just nu. Hursomhelst har jag försökt att köra detta kommando separat och det går hur bra som helst:

Code:
# mkdir /root/.gnome2_private


Så varför klagar den? Vet någon? Kör själva emerge processen med vanliga användar-rättigheter eller varför får den inte skapa katalogen?

Rättigheterna på katalogen ser ut så här:

Code:
# ls -ld /root
drwx------  20 root root 1472 Nov 13 12:03 /root

_________________
There is only one difference between a madman and me. I'm not mad.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4831
Location: Gothenburg, Sweden

PostPosted: Sat Nov 13, 2004 1:19 pm    Post subject: Reply with quote

Problemet är förmodligen att du har både maketest och sandbox som FEATURE. Sandbox förhindrar att en installation gör massa dumheter i filsystemet innan allt är färdigkompilerat. I det här fallet försöker nu maketest skapa en katalog utanför sandboxen.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
gb
n00b
n00b


Joined: 13 Aug 2003
Posts: 49

PostPosted: Sat Nov 13, 2004 3:28 pm    Post subject: Vad göra? Reply with quote

Hej!

Ok, vad ska man göra då?

- Vänta på en uppdatering av ebuilden som inte gör konstigheter utanför ens sandbox?
- Ta bort FEATURE sandbox?
- Ta bort FEATURE maketest?

Jag vet inte riktigt vad som är bäst faktiskt. Var ska man rapportera såna här typ av fel?

/Göran
_________________
There is only one difference between a madman and me. I'm not mad.
Back to top
View user's profile Send private message
gb
n00b
n00b


Joined: 13 Aug 2003
Posts: 49

PostPosted: Sat Nov 13, 2004 3:32 pm    Post subject: Nåt verka vara ruttet.... Reply with quote

Hmm.. dessutom märker jag att root verkar sakna andra mänskliga rättigheter:

Code:
root@isildur [/etc/make.profile]
# euse -d
EUSE exiting with following errors:
requires read permissions for /etc/make.profile/../use.desc.
requires read permissions for /etc/make.profile/../use.local.desc.

root@isildur [/etc/make.profile]
# euse -c
EUSE exiting with following errors:
requires read permissions for /etc/make.profile/../use.desc.
requires read permissions for /etc/make.profile/../use.local.desc.


Filerna verkar inte ens finnas:

Code:
root@isildur [/etc/make.profile]
# ll /etc/make.profile/../use.desc
ls: /etc/make.profile/../use.desc: No such file or directory

root@isildur [/etc/make.profile]
# ll /etc/make.profile/../use.local.desc
ls: /etc/make.profile/../use.local.desc: No such file or directory

_________________
There is only one difference between a madman and me. I'm not mad.
Back to top
View user's profile Send private message
tln
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1502

PostPosted: Sat Nov 13, 2004 3:52 pm    Post subject: Reply with quote

Vad det gäller det ditt första problem föreslår jag att du tar bort maketest från FEATURES men behåller sandbox.

Och det där med root rättigheterna har att göra med att din make.profile symlink inte pekar mot rätt ställe. Den ska peka mot någon profil i /usr/portage/profiles vilket den inte gör nu.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian 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