PDA

View Full Version : is it not possible to have both 386 and x86_64 versions of debuginfos?



marko
21st August 2008, 06:57 PM
I have Fedora 9 x86_64 installed and I'm also using it for 32bit software development.

So I have the 64 bit version of gcc 4.3 installed but in my makefiles I'm building in 32 bit mode with the -m32 flag. I'm trying to debug a problem, this machine has the 64 bit packages for the debuginfo's I want installed but I needed the 32bit ones too.

So I've tried to install these with:


debuginfo-install boost.i386 gcc.i386 glibc.i686

this starts to work but then I get

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Traceback (most recent call last):
File "/usr/bin/debuginfo-install", line 140, in <module>
util = DebugInfoInstall()
File "/usr/bin/debuginfo-install", line 42, in __init__
self.main()
File "/usr/bin/debuginfo-install", line 82, in main
self.doTransaction()
File "/usr/share/yum-cli/cli.py", line 436, in doTransaction
self.errorSummary(errstring)
yum.Errors.YumBaseError: Transaction Check Error:
file /usr/lib/debug/usr/bin/gencat.debug from install of glibc-debuginfo-common-2.8-8.i386 conflicts with file from package glibc-debuginfo-2.8-8.x86_64
file /usr/lib/debug/usr/bin/getconf.debug from install of glibc-debuginfo-common-2.8-8.i386 conflicts with file from package glibc-debuginfo-2.8-8.x86_64
file /usr/lib/debug/usr/bin/getent.debug from install of glibc-debuginfo-common-2.8-8.i386 conflicts with file from package glibc-debuginfo-2.8-8.x86_64
file /usr/lib/debug/usr/bin/iconv.debug from install of glibc-debuginfo-common-2.8-8.i386 conflicts with file from package glibc-debuginfo-2.8-8.x86_64
file /usr/lib/debug/usr/bin/locale.debug from install of glibc-debuginfo-common-2.8-8.i386 conflicts with file from package glibc-debuginfo-2.8-8.x86_64....
many, many lines of those conflicts

The conflicts seem to be with files in /usr/lib/debug which are generic, ie, I think
the same named files are installed there for x86_64 as would be for i386. So you
can't have both 64bit and 32bit debuginfo's at the same time?