Errors on x86_64 (broken c++ headers?)
Panu Matilainen
pmatilai at welho.com
Thu May 12 17:55:51 UTC 2005
On Thu, 2005-05-12 at 11:02 -0500, Quentin Spencer wrote:
> Panu Matilainen wrote:
> >
> > Something weird in the chroot environment obviously but what exactly
> > causes it ... ideas would be more than welcome :)
>
> If something's wrong with the build environment that causes some
> packages to fail when they wouldn't otherwise, maybe we need to allow
> for manual builds when necessary. I agree that it's incorrect to be
> patching our spec files to work around these. I don't have any way of
> debugging this because of lack of access to the hardware, and I don't
> want my package sitting around indefinitely until someone figures out
> why these kind of things are going wrong. Suggestions?
Digging this right now and finding something odd... My Wine-problem was
something else but the thing you're seeing is indeed a multilib thing
like Ralf suspected. Watch this:
After setting up a chroot for fc3-x86_64 with
"mach -r fedora-3-x86_64-core setup build" things look like this:
[root at weasel]# mach -r fedora-3-x86_64-core yum list|grep std
libstdc++.x86_64 3.4.3-22.fc3 installed
libstdc++-devel.x86_64 3.4.3-22.fc3 installed
compat-libstdc++.i386 8-3.3.4.2 core
compat-libstdc++.x86_64 8-3.3.4.2 core
compat-libstdc++-devel.i386 8-3.3.4.2 core
compat-libstdc++-devel.x86_64 8-3.3.4.2 core
libstdc++.i386 3.4.3-22.fc3 updates
libstdc++-devel.i386 3.4.3-22.fc3 updates
So far so good. Now, when you install something that buildrequires
libstdc++-devel this happens:
[root at weasel]# mach -r fedora-3-x86_64-core yum install libstdc++-devel
=============================================================================
Package Arch Version Repository
Size
=============================================================================
Installing:
libstdc++-devel i386 3.4.3-22.fc3 updates
8.5 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 8.5 M
Installed: libstdc++-devel.i386 0:3.4.3-22.fc3
[root at weasel]# mach -r fedora-3-x86_64-core yum list|grep std
libstdc++.x86_64 3.4.3-22.fc3 installed
libstdc++-devel.i386 3.4.3-22.fc3 installed
compat-libstdc++.i386 8-3.3.4.2 core
compat-libstdc++.x86_64 8-3.3.4.2 core
compat-libstdc++-devel.i386 8-3.3.4.2 core
compat-libstdc++-devel.x86_64 8-3.3.4.2 core
libstdc++.i386 3.4.3-22.fc3 updates
libstdc++-devel.x86_64 3.4.3-22.fc3 updates
libstdc++-devel.i386 got installed and libstdc++-devel.x86_64 *quietly
removed*. Big surprise g++ doesn't work anymore...
In fact, if you do successive runs of "yum install libstdc++-devel"
inside or outside mach, yum (2.3.2) will flip-flop between i386 and
x86_64 package. Can't be expected behavior really...
Anyway, can be worked around by just excluding all i386 packages in the
chroot's yum.conf.
- Panu -
More information about the fedora-extras-list
mailing list