Re: upgrade screwup

Oliver Burnett-Hall <[email protected]>
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>
On Fri, 2002-09-27 at 02:01, Levente -Levi- Littvay wrote:
> I just messed up.  I did an emerge sync, emerge -u world.  I was done
> with half of it when I realized that my compiler flags are not set
> right (I had to decrease optimization for openoffice and forgot to
> change it back)
> 
> What can I do in this situation?  I installed 5-6 things without 
> optimization and I have no idea what they were.
> 
> Is there any way I could go by logs, or most recently installed 
> packages, have emerge (or something) tell me the date of install?

If you have a poke around in /var/db/pkg/ you'll find the sort of 
information you're looking for.  e.g. the CFLAGS flags used for
compiling glibc-2.2.5-r6 will be in:
	/var/db/pkg/sys-libs/glibc-2.2.5-r6/CFLAGS

With a bit of grepping you should be able to find packages with the 
wrong flags quite easily, e.g. to find any packages you installed 
with "march=i386" use:
	grep -R march=i386 /var/db/pkg

- olly
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.