LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 05-26-2005, 06:53 PM   #1
64 Bit Headache
LQ Newbie
 
Registered: Oct 2004
Location: Oklahoma State University
Distribution: SuSE 9.1(x86_64)
Posts: 12

Rep: Reputation: 0
Please help me unf*ck portage.


I am a little new to gentoo, and have done something stupid apparently, like emerging app-emulation/emul-linux-x86-glibc and some others in that directory. Consequently, emerge always fails with this message:

* It appears you have switched to the 2005.0 profile without following
* the upgrade guide. Please see the following URL for more information:
* http://www.gentoo.org/proj/en/base/a...rade-amd64.xml

I get the same message whenever I try to remove a package.

Some programs are also now experiencing a failure to load OpenGL libraries.

Here is the complete output of emerge --info, if that provides anything relevant to anyone else.

ash-2.05b$ emerge --info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, May 19 2005, 03:26:27)]
dev-lang/python: 2.3.4-r1
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa berkdb bitmap-fonts cdr crypt cups doc dvd dvdr dvdread emul-linux-x86 esd fam font-server fortran gif gpm gtk imagemagick imlib ipv6 java joystick jp2 jpeg junit kde lzw lzw-tiff mad motif mozilla mp3 ncurses nls nvidia ogg opengl oss pam perl png python qt readline sdl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml xml2 xmms xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Any help at all would be appreciated. Any halfassed solution to make emerge work again would be appreciated. I finished this stage one installation about two weeks ago, and I do not want to do that again.
 
Old 05-26-2005, 08:09 PM   #2
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
I don't have a 64 bit system myself, but according to the gentoo documentation you need the "multilib" USE variable to be able to compile 32bit and 64bit binaries. Maybe that's all? I'm not sure. Maybe someone with 64bit experience has a better answer.
 
Old 05-26-2005, 08:22 PM   #3
64 Bit Headache
LQ Newbie
 
Registered: Oct 2004
Location: Oklahoma State University
Distribution: SuSE 9.1(x86_64)
Posts: 12

Original Poster
Rep: Reputation: 0
This is really wierd. Multilib is declared in /etc/make.conf:

USE="multilib qt kde alsa nvidia X aim cdr..."

Yet it does not appear in emerge --info.

Setting multilab as a use flag on the command line with emerge makes no difference.

Last edited by 64 Bit Headache; 05-26-2005 at 08:43 PM.
 
Old 05-27-2005, 07:41 AM   #4
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
You could also try the Gentoo forums, unless you've allready tried that of course.
 
Old 05-28-2005, 03:18 PM   #5
64 Bit Headache
LQ Newbie
 
Registered: Oct 2004
Location: Oklahoma State University
Distribution: SuSE 9.1(x86_64)
Posts: 12

Original Poster
Rep: Reputation: 0
Yeah, I know, but I never get responses at that forum. I tried gentoo six months ago and wiped my hard drive after just two weeks because I could never get the sound to work, there was some driver going crazy and hogging my processor, and I could get no support whatsoever. This time however, I ended up with a perfect and beautiful installation, and managed to screw it up myself by playing around with masked packages.

I have just moved, and do not have internet at my apartment for the next week so I am at the campus library and cannot be exact here, but I have half-assed the immediate problem. I found the error message from my initial post in /usr/portage/../profile, and simply commented it out along with the preceding condition. Emerge now works as it should for the most part...gimp compiled successfully, though I did occasionally get error messages on other packages. I did not have time to test this extensively before I had to leave my internet connection. The condition I commented out was something like

if [/usr/lib32 -L -o /lib32], (I invoke my previous disclaimer about not being exact).

The problem I have now is that even though anything compiled from source works fine, all 32 bit binaries I have installed both before and after this problem arose and I halfway fixed it, do not work, and fail on errors that they cannot find libraries. In my root directory, I have lib, lib64, and lib32 directories. "lib" is currently a sym link to lib64. I also however have a /emul/.../lib32. /usr/lib32 was a symlink to this directory. I was under the impression that the condition above might be checking to see if it points to /lib32 instead. Changing the link however makes no difference. How are my 32-bit libraries supposed to be set up, and/or is there a config file or variable that I can set to take care of this. I am not sure how specific this question is to Gentoo (I know that 64 bit SuSE did not have a directory structure like this), and it may be more appropriate for the Gentoo forum, but hey, I like you guys better.

Last edited by 64 Bit Headache; 05-28-2005 at 03:22 PM.
 
Old 06-01-2005, 01:28 PM   #6
64 Bit Headache
LQ Newbie
 
Registered: Oct 2004
Location: Oklahoma State University
Distribution: SuSE 9.1(x86_64)
Posts: 12

Original Poster
Rep: Reputation: 0
The actual condition that the script checks prior to the error message is

if [ -L /lib32 -o -L /usr/lib32 ] && [ ${PORTAGE_CALLER} != "repoman" ] ;.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
portage update Mistreated Linux - Software 3 07-12-2005 02:57 PM
Gentoo: Help with portage. Scorlibrian Linux - Distributions 5 07-02-2005 07:52 AM
Portage paranoia jiggywiggy Linux - Software 0 02-15-2004 05:56 PM
portage questions mvbv-linux Linux - Distributions 4 12-20-2003 11:00 AM
Portage Sir Gawain Slackware 4 11-06-2003 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration