| View previous topic :: View next topic |
| Author |
Message |
r0ck80y Tux's lil' helper

Joined: 03 May 2007 Posts: 98
|
Posted: Mon Nov 05, 2007 5:10 am Post subject: installation pains on amd64 |
|
|
hi everyone!!! need help here...
i recently installed gentoo on my friend's emt64 machine without any hassles (except for one emerge error regarding gpm which turned out to be a bug)
I followed more or less the same procedure for my amd64 machine (athlon 64 2800+) but ran into a series of problems (I compiled all packages using x86_64-pc-linux-gnu-4.2.2 gcc)
1) nvidia-drivers-100.14.19 failed with sandbox access violation which i solved by doing | Code: | | FEATURES="-sandbox" emerge nvidia-drivers |
2) alsa-lib would refuse to compile. It turned out that it needed python stuff, so i emerged python-2.5 and python-updater. Then alsa-lib installed fine
3) emerge mplayer failed. The build log had lotsa warnings and some errors...i figured it could be some USE flag, so i removed "ssse3" flag and re-emerged, and it was a success
4) Now i am stuck here at "emerge kdebase-startkde". The first package- mDNSResponder- fails with the following error: | Code: | Traceback (most recent call last):
File "/usr/bin/depend-java-query", line 8, in <module>
from java_config_2 import __version__
ImportError: No module named java_config_2
* Unable to determine VM for building from dependencies:
NV_DEPEND: !net-dns/avahi
java? ( >=virtual/jdk-1.4 ) java? ( >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7 )
VNEED:
*
* ERROR: net-misc/mDNSResponder-107.6-r5 failed.
* Call stack:
* ebuild.sh, line 1712: Called dyn_setup
* ebuild.sh, line 763: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* mDNSResponder-107.6-r5.ebuild, line 30: Called java-pkg-opt-2_pkg_setup
* java-pkg-opt-2.eclass, line 43: Called java-pkg_init
* java-utils-2.eclass, line 2083: Called java-pkg_switch-vm
* java-utils-2.eclass, line 2501: Called die
* The specific snippet of code:
* die "Failed to determine VM for building."
* The die message:
* Failed to determine VM for building.
|
I emerged emul-linux-x86-java and then | Code: | | java-config --list-available-vms | which gives the following error: | Code: | Traceback (most recent call last):
File "/usr/bin/java-config-2", line 8, in <module>
from java_config_2 import __version__
ImportError: No module named java_config_2
| So i thought that python needs updating or something...i run" /usr/sbin/python-updater" and the output is: | Code: |
ist: =dev-java/java-config-2.1.2-r1
* Adding to list: =sys-apps/file-4.20-r1
* Adding to list: =sys-libs/cracklib-2.8.9-r1
* Adding to list: =dev-libs/libxml2-2.6.30
* Adding to list: =dev-python/pycrypto-2.0.1-r6
* Adding to list: =dev-python/python-fchksum-1.7.1
These are the packages that would be merged, in order:
Calculating dependencies -
emerge: there are no ebuilds to satisfy "=sys-apps/file-4.20-r1".
|
Now what do i do...i have no idea what i did wrong. Here's my "emerge --info" | Code: | ntoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 2800+
Timestamp of tree: Sun, 04 Nov 2007 23:00:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python: 2.4.3-r4, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -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/shu
tdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gcon
f /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans use
rfetch"
GENTOO_MIRRORS="ftp://ftp.iitb.ac.in/os/gentoo/"
INSTALL_MASK="Changelog.gz TODO.gz Author.gz"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di
stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp.iitb.ac.in/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl alsa amd64 amr avi bash-completion berkd
b bitmap-fonts cli cracklib crypt css cups directfb dri dv dvd dvdr emacs encode
esd fbcon ffmpeg fortran gdbm gif gpm hal iconv ieee1394 imlib isdnlog java jpe
g jpg kde lame live mad midi mmx mmxext mp3 mpi mudflap ncurses nls nptl nptlonl
y nsplugin nvidia ogg opengl openmp pam pcre perl png pppd python qt3 qt4 quickt
ime readline reflection session spl sse sse2 ssl tcpd tetex theora tiff truetype
truetype-fonts type1-fonts unicode v4l vcd vcdimager video vorbis x264 xcomposi
te xine xorg xv xvid yv12" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 i
ntel8x0m 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
" 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="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVER
LAY |
Please help...i am stuck with just the framebuffer tty consoles  |
|
| Back to top |
|
 |
Keruskerfuerst Veteran

Joined: 01 Feb 2006 Posts: 1722
|
Posted: Mon Nov 05, 2007 7:49 am Post subject: |
|
|
| Try to emerge file separatly. |
|
| Back to top |
|
 |
r0ck80y Tux's lil' helper

Joined: 03 May 2007 Posts: 98
|
Posted: Sat Nov 10, 2007 2:10 pm Post subject: |
|
|
| Keruskerfuerst wrote: | | Try to emerge file separatly. |
emerging file didn't work...reported errors.
Anyway, now what i did was: | Code: |
emerge -av expat
revdep-rebuild -X
python-updater |
several files including 'file' emerged successfully....but the update stops at: | Code: |
ERROR: dev-libs/openssl-0.9.8g failed.
* Call stack:
* ebuild.sh, line 1696: Called dyn_compile
* ebuild.sh, line 1034: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* openssl-0.9.8g.ebuild, line 119: Called die
* The specific snippet of code:
* emake -j1 depend || die "depend failed"
* The die message:
* depend failed
*
* 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/dev-libs/openssl-0.9.8g/temp/build.log'. |
If i try to emerge openssl again with the new version which is available in the repo: | Code: |
:
:
making depend in crypto/rc2...
libsandbox: Can't resolve getcwd: (null)
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/openssl-0.9.8g/work/openssl-0.9.8g/crypto'
make: *** [depend] Error 1
*
* ERROR: dev-libs/openssl-0.9.8g failed.
* Call stack:
* ebuild.sh, line 1696: Called dyn_compile
* ebuild.sh, line 1034: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* openssl-0.9.8g.ebuild, line 119: Called die
* The specific snippet of code:
* emake -j1 depend || die "depend failed"
* The die message:
* depend failed
*
* 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/dev-libs/openssl-0.9.8g/temp/build.log'.
*
* Messages for package dev-libs/openssl-0.9.8g:
*
* ERROR: dev-libs/openssl-0.9.8g failed.
* Call stack:
* ebuild.sh, line 1696: Called dyn_compile
* ebuild.sh, line 1034: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* openssl-0.9.8g.ebuild, line 119: Called die
* The specific snippet of code:
* emake -j1 depend || die "depend failed"
* The die message:
* depend failed
*
* 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/dev-libs/openssl-0.9.8g/temp/build.log'.
*
|
What do i do now? emerge kdebase-startkde has started running (which earlier wasn't compiling) but i have stopped it and feel that this python update thing must be taken care of. Or should i go ahead with kde emerge? What seems to be going wrong..i am getting a lot of errors building my system although i followed the gentoo-docs word for word |
|
| Back to top |
|
 |
JuPiTeR15 n00b

Joined: 21 Dec 2004 Posts: 13
|
Posted: Wed Nov 14, 2007 3:37 pm Post subject: |
|
|
hello, just had the same problem the other way (used to amd64 and trying an EMT64).
I could fix it using
FEATURES="-sandbox" emerge -1 sandbox
then the sandbox was repaired, everything fine and the birds singing (big thanks to hkbst for his help on finding that out )
I hope it helps.
++
JuPi |
|
| Back to top |
|
 |
Raptor911 Tux's lil' helper

Joined: 04 Feb 2003 Posts: 82 Location: California, USA
|
Posted: Thu Nov 15, 2007 5:52 am Post subject: |
|
|
nvida-drivers still has a sanbox violation for me...
what version of sandbox did you upgrade to? |
|
| Back to top |
|
 |
mrknowitall Apprentice


Joined: 02 Feb 2005 Posts: 173
|
Posted: Mon Jul 21, 2008 5:28 pm Post subject: |
|
|
i also had the same problem with java-config.
i found a hint on the web, that this could be an python issue.
after emerging python, you will get the hint to run | Code: | | /usr/sbin/python-updater |
this script seems to check for python bindings and emerges the broken packages. in my case, that took quite a while...
cheers!
alex _________________ ignorance is a bless! |
|
| Back to top |
|
 |
|
|
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
|
|