Broken dependencies: mingw32-gcc

Richard W.M. Jones rjones at redhat.com
Wed Mar 4 10:53:57 UTC 2009


On Tue, Mar 03, 2009 at 10:16:21PM +0000, Richard W.M. Jones wrote:
> On Tue, Mar 03, 2009 at 05:04:38PM +0000, buildsys at fedoraproject.org wrote:
> > On i386:
> > 	mingw32-gcc-objc-4.4.0-0.5.fc11.i586 requires mingw32-libobjc = 0:4.4.0-0.5.fc11
> 
> This is the same as before - someone needs to package libobjc, or else
> we'll have to disable the Objective C and C++ compilers.

It's a bit more complicated than what I said.  The native gcc package
builds a subpackage called libobjc, which contains libobjc.so*.  The
problem is that nothing in mingw32-gcc builds libobjc*.dll.  We do
however have a static library.

Anyhow I have added the following patch to CVS which at least fixes
the build dependency problem.  The packages now can all be installed.
I haven't tested if the Objective C compiler actually does anything
useful, or if it is broken because of the lack of libobjc*.dll.
Someone who cares/knows Objective C can do that.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
-------------- next part --------------
Index: mingw32-gcc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-gcc/devel/mingw32-gcc.spec,v
retrieving revision 1.3
diff -u -r1.3 mingw32-gcc.spec
--- mingw32-gcc.spec	26 Feb 2009 01:05:01 -0000	1.3
+++ mingw32-gcc.spec	4 Mar 2009 10:53:35 -0000
@@ -5,7 +5,7 @@
 
 Name:           mingw32-gcc
 Version:        4.4.0
-Release:        0.5%{?dist}
+Release:        0.6%{?dist}
 Summary:        MinGW Windows cross-compiler (GCC) for C
 
 License:        GPLv3+ and GPLv2+ with exceptions
@@ -91,7 +91,7 @@
 Summary: MinGW Windows cross-compiler support for Objective C
 Group: Development/Languages
 Requires: %{name} = %{version}-%{release}
-Requires: mingw32-libobjc = %{version}-%{release}
+#Requires: mingw32-libobjc = %{version}-%{release}
 
 %description objc
 MinGW Windows cross-compiler support for Objective C.
@@ -100,7 +100,7 @@
 %package objc++
 Summary: MinGW Windows cross-compiler support for Objective C++
 Group: Development/Languages
-Requires: %{name}-g++ = %{version}-%{release}
+Requires: %{name}-c++ = %{version}-%{release}
 Requires: %{name}-objc = %{version}-%{release}
 
 %description objc++
@@ -287,6 +287,9 @@
 
 
 %changelog
+* Wed Mar  4 2009 Richard W.M. Jones <rjones at redhat.com> - 4.4.0-0.6
+- Fix libobjc and consequently Objective C and Objective C++ compilers.
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.4.0-0.5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


More information about the mingw mailing list