Hi everybody,
In the last few weeks I worked on creating a method to easily build and maintain RPM packages for both Win32 as well as Win64 targets. Adding support for the Mac OS X target should also be easily possible. This has resulted in a set of RPM packages which I would like to call the Cross Compiler Framework.
This set of RPM packages brings various changes to the Fedora MinGW world. The most important one is that the mingw-w64 toolchain is now used instead of the mingw.org toolchain. The reason behind this change is that the mingw-w64 toolchain provides support for both win32 and win64 targets and is more actively maintained than the mingw.org one.
So what does this mean for all users and packagers of the current mingw32 packages which are already in Fedora? First of all, the name of the triplet has changed from 'i686-pc-mingw32' to 'i686-w64-mingw32'. This means that commands like for example gcc are now named 'i686-w64-mingw32-gcc'. All mingw32 files are now also saved in the folder /usr/i686-w64-mingw32 instead of /usr/i686-pc-mingw32. Helper scripts like 'mingw32-configure' also still work and refer to the new set of commands and paths.
Next to this, various packages have been renamed from 'mingw32-...' to 'cross-...'. This is used to indicate that the package in question contain binaries for multiple targets. If a package has been renamed from 'mingw32-...' to 'cross-...' then the original 'mingw32-...' package will be obsoleted by the 'cross-...' one.
All current mingw32 packages should build just fine against this new framework (or with minor patching)
There are two repositories published at the moment containing the packages belonging to the cross compiler framework. One contains binaries for both win32 and win64 targets while the other one also contains binaries for Mac OS X. The Mac OS X pieces can't be added to Fedora at the moment because of legal issues and the fact that some binary blobs (from the Mac OS X SDK) were used.
All current mingw32 packages which have been in Fedora as of December 30 2010 have been added to the testing repositories. About 32 packages have been ported entirely to the new cross compiler framework.
More details about this cross compiler framework including information about the testing repositories and a porting guide can be found at http://fedoraproject.org/wiki/MinGW/CrossCompilerFramework
My plan is to get all the packages belonging to the cross compiler framework in Fedora 15, rebuild all current mingw32 packages and rename/port various packages in order to have win32/win64 support. On the link mentioned above there's a plan indicating the steps required to get everything in Fedora. I'll open review requests for the 5 base packages soon and I hope that somebody can review them quickly so we can still make it in time for the Fedora 15 feature freeze (which is about 5 weeks from now).
Feel free to test the testing repositories and report back any issues you might find. Other feedback about the cross compiler framework is welcome too. Help with the reviews is very much appreciated as well!
Kind regards,
Erik van Pienbroek
Erik van Pienbroek wrote:
Next to this, various packages have been renamed from 'mingw32-...' to 'cross-...'. This is used to indicate that the package in question contain binaries for multiple targets. If a package has been renamed from 'mingw32-...' to 'cross-...' then the original 'mingw32-...' package will be obsoleted by the 'cross-...' one.
While it makes sense to have a single cross-* SRPM, IMHO the binary RPMs should really be subpackaged into mingw32-*, mingw64-* and eventually darwinx-*. If I want to build W32 binaries, I don't need W64 stuff and most definitely not OS X stuff, and the other way round.
Having all cross targets stuffed into the same binary RPMs strikes me as extremely unhelpful.
Kevin Kofler
Kevin Kofler schreef op di 04-01-2011 om 08:38 [+0100]:
While it makes sense to have a single cross-* SRPM, IMHO the binary RPMs should really be subpackaged into mingw32-*, mingw64-* and eventually darwinx-*. If I want to build W32 binaries, I don't need W64 stuff and most definitely not OS X stuff, and the other way round.
Having all cross targets stuffed into the same binary RPMs strikes me as extremely unhelpful.
I agree with your point that placing all targets in a single binary RPM isn't an ideal solution. While working on this framework I thought about the possibility to split everything in per-target RPM's, but I got stuck at the filelist part. I couldn't think of a method to easily indicate that all files using %{_mingw32_...} macros have to end up in a mingw32- package.
Have you got any idea how we can overcome this without introducing a lot of duplicate instructions in the .spec files?
Kind regards,
Erik van Pienbroek
Erik van Pienbroek wrote:
I agree with your point that placing all targets in a single binary RPM isn't an ideal solution. While working on this framework I thought about the possibility to split everything in per-target RPM's, but I got stuck at the filelist part. I couldn't think of a method to easily indicate that all files using %{_mingw32_...} macros have to end up in a mingw32- package.
Have you got any idea how we can overcome this without introducing a lot of duplicate instructions in the .spec files?
Uh, I'm not sure how:
%files %defattr(-,root,root,-) %{_mingw32_...}/foo %{_mingw64_...}/foo %{_darwinx_...}/foo %{_mingw32_...}/bar %{_mingw64_...}/bar %{_darwinx_...}/bar %{_mingw32_...}/baz %{_mingw64_...}/baz %{_darwinx_...}/baz
is any better than:
%files -n mingw32-foo %defattr(-,root,root,-) %{_mingw32_...}/foo %{_mingw32_...}/bar %{_mingw32_...}/baz
%files -n mingw64-foo %defattr(-,root,root,-) %{_mingw64_...}/foo %{_mingw64_...}/bar %{_mingw64_...}/baz
%files -n darwinx-foo %defattr(-,root,root,-) %{_darwinx_...}/foo %{_darwinx_...}/bar %{_darwinx_...}/baz
but I think the best solution is probably to use %files -f. Then you can define a macro like:
%cross-file share/foo
which would be placed in %install, expand to something like:
echo '%{_mingw32_prefix}/share/foo' >>mingw32-files.txt echo '%{_mingw64_prefix}/share/foo' >>mingw64-files.txt echo '%{_darwinx_prefix}/share/foo' >>darwinx-files.txt
and be used with:
%files -n mingw32-foo -f mingw32-files.txt %defattr(-,root,root,-)
%files -n mingw64-foo -f mingw64-files.txt %defattr(-,root,root,-)
%files -n darwinx-foo -f darwinx-files.txt %defattr(-,root,root,-)
Kevin Kofler
Kevin Kofler schreef op vr 07-01-2011 om 04:13 [+0100]:
Erik van Pienbroek wrote:
I agree with your point that placing all targets in a single binary RPM isn't an ideal solution. While working on this framework I thought about the possibility to split everything in per-target RPM's, but I got stuck at the filelist part. I couldn't think of a method to easily indicate that all files using %{_mingw32_...} macros have to end up in a mingw32- package.
Have you got any idea how we can overcome this without introducing a lot of duplicate instructions in the .spec files?
<snip>
but I think the best solution is probably to use %files -f. Then you can define a macro like:
%cross-file share/foo
which would be placed in %install, expand to something like:
echo '%{_mingw32_prefix}/share/foo' >>mingw32-files.txt echo '%{_mingw64_prefix}/share/foo' >>mingw64-files.txt echo '%{_darwinx_prefix}/share/foo' >>darwinx-files.txt
and be used with:
%files -n mingw32-foo -f mingw32-files.txt %defattr(-,root,root,-)
%files -n mingw64-foo -f mingw64-files.txt %defattr(-,root,root,-)
%files -n darwinx-foo -f darwinx-files.txt %defattr(-,root,root,-)
This looks like an interesting method! I'll try to experiment a bit with it and see if I can get per-target binary packages out of it.
Thanks,
Erik van Pienbroek
Erik van Pienbroek schreef op zo 09-01-2011 om 13:47 [+0100]:
Kevin Kofler schreef op vr 07-01-2011 om 04:13 [+0100]:
Erik van Pienbroek wrote:
I agree with your point that placing all targets in a single binary RPM isn't an ideal solution. While working on this framework I thought about the possibility to split everything in per-target RPM's, but I got stuck at the filelist part. I couldn't think of a method to easily indicate that all files using %{_mingw32_...} macros have to end up in a mingw32- package.
Have you got any idea how we can overcome this without introducing a lot of duplicate instructions in the .spec files?
<snip> > but I think the best solution is probably to use %files -f. Then you can > define a macro like: > > %cross-file share/foo > > which would be placed in %install, expand to something like: > > echo '%{_mingw32_prefix}/share/foo' >>mingw32-files.txt > echo '%{_mingw64_prefix}/share/foo' >>mingw64-files.txt > echo '%{_darwinx_prefix}/share/foo' >>darwinx-files.txt > > and be used with: > > %files -n mingw32-foo -f mingw32-files.txt > %defattr(-,root,root,-) > > %files -n mingw64-foo -f mingw64-files.txt > %defattr(-,root,root,-) > > %files -n darwinx-foo -f darwinx-files.txt > %defattr(-,root,root,-)
This looks like an interesting method! I'll try to experiment a bit with it and see if I can get per-target binary packages out of it.
I've played around a bit with this method and eventually the .spec files started to become less readable (with file list entries in the %install section) and other hacks had to be applied for special entries like % dir.
For now I dropped the filelist macros idea and I'm adjusting the various .spec files to use complete per-package filelists. With this method it's possible to generate per-target RPMs from a single .spec file. The downside of this situation is that there will be a lot of (almost) duplicate code in the .spec files but we might be able to optimize that later. Updated packages will arrive in the testing repository soon.
Regards,
Erik van Pienbroek
On Mon, 2011-01-03 at 23:30 +0100, Erik van Pienbroek wrote:
Hi everybody,
In the last few weeks I worked on creating a method to easily build and maintain RPM packages for both Win32 as well as Win64 targets. Adding support for the Mac OS X target should also be easily possible. This has resulted in a set of RPM packages which I would like to call the Cross Compiler Framework.
Sorry for the late reply. Any chance of setting up a F14 testing repository (like it was done w/ the original mingw64 RPM's)?
- Gilboa
Gilboa Davara schreef op di 18-01-2011 om 09:33 [+0200]:
Any chance of setting up a F14 testing repository (like it was done w/ the original mingw64 RPM's)?
There already is. The wiki page at https://fedoraproject.org/wiki/MinGW/CrossCompilerFramework mentions this about F-14 support:
If you're still running on a Fedora 14 environment you need to un-comment the 'exclude=..' line in the /etc/yum.repos.d/fedora-cross.repo file. Otherwise you'll get a dependency resolving conflict.
If you've still got dependency errors feel free to mention them here.
Regards,
Erik van Pienbroek
On Tue, 2011-01-18 at 13:08 +0100, Erik van Pienbroek wrote:
Gilboa Davara schreef op di 18-01-2011 om 09:33 [+0200]:
Any chance of setting up a F14 testing repository (like it was done w/ the original mingw64 RPM's)?
There already is. The wiki page at https://fedoraproject.org/wiki/MinGW/CrossCompilerFramework mentions this about F-14 support:
If you're still running on a Fedora 14 environment you need to un-comment the 'exclude=..' line in the /etc/yum.repos.d/fedora-cross.repo file. Otherwise you'll get a dependency resolving conflict.
If you've still got dependency errors feel free to mention them here.
Regards,
Erik van Pienbroek
Hello Erik,
Thanks. Where do I report bugs (if/when I hit them)?
- Gilboa
Hi everybody,
It took some time but I can now finally announce a new set of packages belonging to the cross compiler framework
The main difference from the first attempt is that we now have per-target RPMs (as Kevin requested). This means that we have source RPMs called 'cross-libfoo' which generate binary RPMs called 'mingw32-libfoo', 'mingw64-libfoo' and 'darwinx-libfoo'
If you install only mingw32-* packages, then only other mingw32-* packages will get pulled in as dependencies. So if you're only interested in mingw32 packages, your disk won't get polluted by packages for other targets
Next to this, some other major changes were applied as well.
From now on, we're using a recent GCC 4.6 snapshot to build all packages
(it's the same snapshot as the native Fedora GCC). This new version of GCC also brings us LTO support
All packages were build successfully against GCC 4.6 although about 6 packages required some minor patching (patches are in the svn repository)
A long standing bug [1] has also been taken care of. In the current mingw32-gcc package there's a hard dependency on mingw32-pthreads (caused by libgomp). I managed to break this dependency by moving the libgomp specific files to a separate subpackage. So if one now installs mingw32-gcc{-c++} (or the mingw64 counterpart) then it won't pull in mingw32-pthreads anymore. People who really want to use libgomp/openmp in gcc have to install the mingw32-libgomp (or mingw64-libgomp) package manually
Various packages have been updated as well to their latest versions
This new set of packages is now published in the testing repositories. Details about that can be found at [2]
While all packages were rebuilding I spent some time to write a Feature page [3] and updated packaging guidelines [4].
Everything should be ready now to get things rolling. I just created review request tickets for the 5 toolchain packages [5][6][7][8][9] and made the mingw-crt and mingw-headers packages block FE-Legal as they have to be cleared first.
Now is the time for you to help! There are various ways to help. The first is to test the packages in the testing repository (does upgrading work fine, can binaries be compiled, etc). Other areas where you can help is by reviewing the packages which are now in the package review queue. You can help out with reviewing the draft packaging guidelines. Do they look sane? Can they be improved? Can the RPM macros be improved? etc. Finally you can also help out by porting your mingw32-* packages to the cross compiler framework
The main question at the moment is whether we can have the 5 toolchain packages approved in time for Fedora 15. My fear is that the main issue will be the legal aspect. If that can't be cleared soon enough then we'll most likely be too late for Fedora 15. We're actually already past the feature submission deadline (which was 5 days ago) as well so I guess we're already too late for Fedora 15...
Happy testing!
Regards,
Erik van Pienbroek
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=599567 [2]: https://fedoraproject.org/wiki/MinGW/CrossCompilerFramework#Development_and_... [3]: https://fedoraproject.org/wiki/Features/CrossCompilerFramework [4]: https://fedoraproject.org/wiki/PackagingDrafts/CrossCompilerFramework [5]: https://bugzilla.redhat.com/show_bug.cgi?id=673784 [6]: https://bugzilla.redhat.com/show_bug.cgi?id=673786 [7]: https://bugzilla.redhat.com/show_bug.cgi?id=673788 [8]: https://bugzilla.redhat.com/show_bug.cgi?id=673790 [9]: https://bugzilla.redhat.com/show_bug.cgi?id=673792
On 01/30/2011 05:27 PM, Erik van Pienbroek wrote:
Now is the time for you to help! There are various ways to help. The first is to test the packages in the testing repository (does upgrading work fine, can binaries be compiled, etc).
Hi,
I have to say that I tried to update this morning but it does not work. Here are the errors (clean all in order to test if it was not a mirror issue): # yum clean all && yum update Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package cross-gcc.x86_64 0:4.6.0-0.3.20110122.fc14 set to be updated --> Processing Dependency: mingw32-gcc = 4.6.0-0.3.20110122.fc14 for package: cross-gcc-4.6.0-0.3.20110122.fc14.x86_64 --> Processing Dependency: mingw64-gcc = 4.6.0-0.3.20110122.fc14 for package: cross-gcc-4.6.0-0.3.20110122.fc14.x86_64 ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.3.20110122.fc14 set to be updated --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.3.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64 --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.3.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64 --> Running transaction check ---> Package mingw32-gcc.x86_64 0:4.6.0-0.3.20110122.fc14 set to be installed --> Processing Dependency: mingw32-cpp for package: mingw32-gcc-4.6.0-0.3.20110122.fc14.x86_64 ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.3.20110122.fc14 set to be installed --> Processing Dependency: mingw32-%{cross_pkg_name_name} = 4.6.0-0.3.20110122.fc14 for package: mingw32-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64 --> Processing Dependency: mingw32(libquadmath-0.dll) for package: mingw32-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64 ---> Package mingw64-gcc.x86_64 0:4.6.0-0.3.20110122.fc14 set to be installed --> Processing Dependency: mingw64-cpp for package: mingw64-gcc-4.6.0-0.3.20110122.fc14.x86_64 ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.3.20110122.fc14 set to be installed --> Running transaction check ---> Package mingw32-cpp.x86_64 0:4.6.0-0.3.20110122.fc15_cross_darwinx set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-cpp-4.6.0-0.3.20110122.fc15_cross_darwinx.x86_64 ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.3.20110122.fc14 set to be installed --> Processing Dependency: mingw32-%{cross_pkg_name_name} = 4.6.0-0.3.20110122.fc14 for package: mingw32-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64 --> Processing Dependency: mingw32(libquadmath-0.dll) for package: mingw32-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64 ---> Package mingw64-cpp.x86_64 0:4.6.0-0.3.20110122.fc15_cross_darwinx set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-cpp-4.6.0-0.3.20110122.fc15_cross_darwinx.x86_64 --> Finished Dependency Resolution Error: Package: mingw32-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64 (fedora-cross) Requires: mingw32(libquadmath-0.dll) Error: Package: mingw32-cpp-4.6.0-0.3.20110122.fc15_cross_darwinx.x86_64 (fedora-cross-darwinx) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-cpp-4.6.0-0.3.20110122.fc15_cross_darwinx.x86_64 (fedora-cross-darwinx) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64 (fedora-cross) Requires: mingw32-%{cross_pkg_name_name} = 4.6.0-0.3.20110122.fc14 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
My installed packages: # yum list installed | grep cross cross-binutils.x86_64 2.21.51.0.4-3.fc15_cross_darwinx @fedora-cross-darwinx cross-binutils-generic.x86_64 2.21.51.0.4-3.fc15_cross_darwinx @fedora-cross-darwinx cross-cpp.x86_64 4.6.0-0.3.20110122.fc14 @fedora-cross cross-filesystem.noarch 66-1.fc15_cross_darwinx @fedora-cross-darwinx cross-filesystem-scripts.noarch 66-1.fc15_cross_darwinx @fedora-cross-darwinx cross-gcc.x86_64 4.5.2-1.fc14 @fedora-cross cross-gcc-gfortran.x86_64 4.5.2-1.fc14 @fedora-cross darwinx-filesystem.noarch 66-1.fc15_cross_darwinx @fedora-cross-darwinx darwinx-gcc.x86_64 5664-1.fc15_cross_darwinx @fedora-cross-darwinx darwinx-libstdcxx.noarch 39-4.fc15_cross_darwinx @fedora-cross-darwinx darwinx-odcctools.x86_64 758-0.20101104.1.fc15_cross_darwinx
@fedora-cross-darwinx darwinx-sdk.noarch 3.2.4-3.fc15_cross_darwinx @fedora-cross-darwinx mingw-crt.noarch 1.0-0.3.20101003.fc15_cross_darwinx
@fedora-cross-darwinx mingw-headers.noarch 1.0-0.7.20101003.fc15_cross_darwinx
@fedora-cross-darwinx mingw32-binutils.x86_64 2.21.51.0.4-3.fc15_cross_darwinx @fedora-cross-darwinx mingw32-crt.noarch 1.0-0.3.20101003.fc15_cross_darwinx
@fedora-cross-darwinx mingw32-filesystem.noarch 66-1.fc15_cross_darwinx @fedora-cross-darwinx mingw32-headers.noarch 1.0-0.7.20101003.fc15_cross_darwinx
@fedora-cross-darwinx mingw64-binutils.x86_64 2.21.51.0.4-3.fc15_cross_darwinx @fedora-cross-darwinx mingw64-crt.noarch 1.0-0.3.20101003.fc15_cross_darwinx
@fedora-cross-darwinx mingw64-filesystem.noarch 66-1.fc15_cross_darwinx @fedora-cross-darwinx mingw64-headers.noarch 1.0-0.7.20101003.fc15_cross_darwinx
@fedora-cross-darwinx
I have also a question is there gfortran for darwinx available?
Cheers, Fabien
Archambault Fabien schreef op ma 31-01-2011 om 09:39 [+0100]:
I have to say that I tried to update this morning but it does not work. Here are the errors (clean all in order to test if it was not a mirror issue):
<snip> --> Processing Dependency: mingw32-%{cross_pkg_name_name} = 4.6.0-0.3.20110122.fc14 for package: mingw32-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64
This appeared to be a typo in the mingw32-gfortran package. New packages are rebuilding now and will appear in about two hours
I have also a question is there gfortran for darwinx available?
As far as I know there is no gfortran support in the Mac OS X SDK. I've seen some messages about users installing gcc manually in order to get gfortran support, but I have to look into the possibilities before I can add a darwinx-gfortran package
Regards,
Erik van Pienbroek
On 01/31/2011 07:57 PM, Erik van Pienbroek wrote:
Archambault Fabien schreef op ma 31-01-2011 om 09:39 [+0100]:
I have to say that I tried to update this morning but it does not work. Here are the errors (clean all in order to test if it was not a mirror issue):
<snip> --> Processing Dependency: mingw32-%{cross_pkg_name_name} = 4.6.0-0.3.20110122.fc14 for package: mingw32-gcc-gfortran-4.6.0-0.3.20110122.fc14.x86_64
This appeared to be a typo in the mingw32-gfortran package. New packages are rebuilding now and will appear in about two hours
Hi,
thanks for correcting the first issue but now I have (this morning after clean all): Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package alsa-lib.i686 0:1.0.24-1.fc14 set to be updated ---> Package alsa-lib.x86_64 0:1.0.24-1.fc14 set to be updated ---> Package alsa-lib-devel.x86_64 0:1.0.24-1.fc14 set to be updated ---> Package cross-cpp.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be updated ---> Package cross-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be updated --> Processing Dependency: mingw64-gcc = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: mingw32-gcc = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be updated --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package k3b.x86_64 1:2.0.2-2.fc14 set to be updated ---> Package k3b-common.noarch 1:2.0.2-2.fc14 set to be updated ---> Package k3b-libs.x86_64 1:2.0.2-2.fc14 set to be updated ---> Package oprofile.x86_64 0:0.9.6-10.fc14 set to be updated ---> Package oprofile-gui.x86_64 0:0.9.6-10.fc14 set to be updated --> Running transaction check ---> Package mingw32-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw32-cpp for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw32-%{cross_pkg_name} = 4.6.0-0.4.20110122.fc15_cross for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: mingw32(libquadmath-0.dll) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw64-cpp for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Running transaction check ---> Package mingw32-cpp.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw32-%{cross_pkg_name} = 4.6.0-0.4.20110122.fc15_cross for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: mingw32(libquadmath-0.dll) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-cpp.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Finished Dependency Resolution Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: mingw32(libquadmath-0.dll) Error: Package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: mingw32-%{cross_pkg_name} = 4.6.0-0.4.20110122.fc15_cross Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
It seems again to be a macro issue...
Fabien
2011/2/2 Erik van Pienbroek erik@vanpienbroek.nl
Archambault Fabien schreef op di 01-02-2011 om 09:03 [+0100]:
thanks for correcting the first issue but now I have (this morning after clean all):
Earlier today, updated packages were published. Does it work now?
Regards,
Erik van Pienbroek
Hi,
I tried a few minutes ago: Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package cross-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be updated --> Processing Dependency: mingw64-gcc = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: mingw32-gcc = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be updated --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Running transaction check ---> Package mingw32-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw32-cpp for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw32(libquadmath-0.dll) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw64-cpp for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Running transaction check ---> Package mingw32-cpp.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw32(libquadmath-0.dll) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-cpp.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Finished Dependency Resolution Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: mingw32(libquadmath-0.dll) Error: Package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Fabien
Fabien Archambault schreef op wo 02-02-2011 om 19:52 [+0100]:
--> Finished Dependency Resolution Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: mingw32(libquadmath-0.dll) Error: Package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Does it work by now? If you still get the libmpfr errors, then you need to verify that you removed the '#' from the exclude=... line in /etc/yum.repos.d/fedora-cross.repo (or fedora-cross-darwinx.repo)
Regards,
Erik van Pienbroek
On 02/03/2011 11:44 PM, Erik van Pienbroek wrote:
Fabien Archambault schreef op wo 02-02-2011 om 19:52 [+0100]:
--> Finished Dependency Resolution Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: mingw32(libquadmath-0.dll) Error: Package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Does it work by now? If you still get the libmpfr errors, then you need to verify that you removed the '#' from the exclude=... line in /etc/yum.repos.d/fedora-cross.repo (or fedora-cross-darwinx.repo)
Regards,
Erik van Pienbroek
Hi,
I am sorry but this still does not work. Here is my /etc/yum.repos.d/fedora-cross.repo [fedora-cross] name=fedora-cross baseurl=http://build1.openftd.org/fedora-cross/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross cross-cpp*.fc15_cross
And the /etc/yum.repos.d/fedora-cross-darwinx.repo [fedora-cross-darwinx] name=fedora-cross-darwinx baseurl=http://build1.openftd.org/fedora-cross-darwinx/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross_darwinx cross-cpp*.fc15_cross_darwinx
Here is the error message: Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package cross-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be updated --> Processing Dependency: mingw64-gcc = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: mingw32-gcc = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be updated --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.4.20110122.fc15_cross for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Running transaction check ---> Package mingw32-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw32-cpp for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw64-cpp for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw64(libquadmath-0.dll) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Running transaction check ---> Package mingw32-cpp.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-cpp.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc15_cross set to be installed --> Processing Dependency: mingw64(libquadmath-0.dll) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 --> Finished Dependency Resolution Error: Package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: mingw64(libquadmath-0.dll) Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Fabien
Archambault Fabien schreef op vr 04-02-2011 om 08:19 [+0100]:
I am sorry but this still does not work. Here is my /etc/yum.repos.d/fedora-cross.repo [fedora-cross] name=fedora-cross baseurl=http://build1.openftd.org/fedora-cross/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross cross-cpp*.fc15_cross
And the /etc/yum.repos.d/fedora-cross-darwinx.repo [fedora-cross-darwinx] name=fedora-cross-darwinx baseurl=http://build1.openftd.org/fedora-cross-darwinx/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross_darwinx cross-cpp*.fc15_cross_darwinx
You should only use one of the 2 repository files (not both). Use the first one if you only want Win32+Win64 support and use the second one if you want Win32+Win64+Darwinx support.
The .repo files which you used are old versions. The newest ones which can be found at http://build1.openftd.org/fedora-cross/fedora-cross.repo and http://build1.openftd.org/fedora-cross-darwinx/fedora-cross-darwinx.repo contain an addition to the exclude lines (due to the per-target RPMs change).
Could you please re-download one of the .repo files and remove the other one from your /etc/yum.repos.d folder?
Regards,
Erik van Pienbroek
On 02/04/2011 12:57 PM, Erik van Pienbroek wrote:
Archambault Fabien schreef op vr 04-02-2011 om 08:19 [+0100]:
I am sorry but this still does not work. Here is my /etc/yum.repos.d/fedora-cross.repo [fedora-cross] name=fedora-cross baseurl=http://build1.openftd.org/fedora-cross/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross cross-cpp*.fc15_cross
And the /etc/yum.repos.d/fedora-cross-darwinx.repo [fedora-cross-darwinx] name=fedora-cross-darwinx baseurl=http://build1.openftd.org/fedora-cross-darwinx/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross_darwinx cross-cpp*.fc15_cross_darwinx
You should only use one of the 2 repository files (not both). Use the first one if you only want Win32+Win64 support and use the second one if you want Win32+Win64+Darwinx support.
The .repo files which you used are old versions. The newest ones which can be found at http://build1.openftd.org/fedora-cross/fedora-cross.repo and http://build1.openftd.org/fedora-cross-darwinx/fedora-cross-darwinx.repo contain an addition to the exclude lines (due to the per-target RPMs change).
Could you please re-download one of the .repo files and remove the other one from your /etc/yum.repos.d folder?
Regards,
Erik van Pienbroek
Hi,
sorry not to have understood the fact that the repos were not complementary. Perhaps should you note it inside the wiki page.
Now setting-up only the darwinx repo allows me to install cross-gcc. But I still cannot install gfortran: Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Running transaction check ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw64(libquadmath-0.dll) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Finished Dependency Resolution Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 (fedora-cross-darwinx) Requires: mingw64(libquadmath-0.dll) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
It seems that the new libquadmath is in fault.
Thanks for your time, Fabien
On 02/04/2011 01:27 PM, Archambault Fabien wrote:
On 02/04/2011 12:57 PM, Erik van Pienbroek wrote:
Archambault Fabien schreef op vr 04-02-2011 om 08:19 [+0100]:
I am sorry but this still does not work. Here is my /etc/yum.repos.d/fedora-cross.repo [fedora-cross] name=fedora-cross baseurl=http://build1.openftd.org/fedora-cross/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross cross-cpp*.fc15_cross
And the /etc/yum.repos.d/fedora-cross-darwinx.repo [fedora-cross-darwinx] name=fedora-cross-darwinx baseurl=http://build1.openftd.org/fedora-cross-darwinx/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross_darwinx cross-cpp*.fc15_cross_darwinx
You should only use one of the 2 repository files (not both). Use the first one if you only want Win32+Win64 support and use the second one if you want Win32+Win64+Darwinx support.
The .repo files which you used are old versions. The newest ones which can be found at http://build1.openftd.org/fedora-cross/fedora-cross.repo and http://build1.openftd.org/fedora-cross-darwinx/fedora-cross-darwinx.repo contain an addition to the exclude lines (due to the per-target RPMs change).
Could you please re-download one of the .repo files and remove the other one from your /etc/yum.repos.d folder?
Regards,
Erik van Pienbroek
Hi,
sorry not to have understood the fact that the repos were not complementary. Perhaps should you note it inside the wiki page.
Now setting-up only the darwinx repo allows me to install cross-gcc. But I still cannot install gfortran: Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Running transaction check ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw64(libquadmath-0.dll) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Finished Dependency Resolution Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 (fedora-cross-darwinx) Requires: mingw64(libquadmath-0.dll) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
It seems that the new libquadmath is in fault.
Thanks for your time, Fabien _______________________________________________ mingw mailing list mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/mingw
.
Hi,
I am coming back again with the cross-gcc-gfortran issue using darwinx repo (did not try with the other repo). Here is my repo on F14: [fedora-cross-darwinx] name=fedora-cross-darwinx baseurl=http://build1.openftd.org/fedora-cross-darwinx/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross* cross-cpp*.fc15_cross* mingw32-gcc*.fc15_cross* mingw32-cpp*.fc15_cross* mingw64-gcc*.fc15_cross* mingw64-cpp*.fc15_cross*
And the issue: # yum install cross-gcc-gfortran ... Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Running transaction check ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw64(libquadmath-0.dll) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Finished Dependency Resolution Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 (fedora-cross-darwinx) Requires: mingw64(libquadmath-0.dll) Available: mingw64-gcc-4.6.0-0.4.20110122.fc14.x86_64 (fedora-cross-darwinx) mingw64(libquadmath-0.dll) Available: mingw64-gcc-4.6.0-0.3.20110122.fc14.x86_64 (fedora-cross-darwinx) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Thank you for your help, Fabien
On 02/10/2011 11:16 AM, Archambault Fabien wrote:
On 02/04/2011 01:27 PM, Archambault Fabien wrote:
On 02/04/2011 12:57 PM, Erik van Pienbroek wrote:
Archambault Fabien schreef op vr 04-02-2011 om 08:19 [+0100]:
I am sorry but this still does not work. Here is my /etc/yum.repos.d/fedora-cross.repo [fedora-cross] name=fedora-cross baseurl=http://build1.openftd.org/fedora-cross/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross cross-cpp*.fc15_cross
And the /etc/yum.repos.d/fedora-cross-darwinx.repo [fedora-cross-darwinx] name=fedora-cross-darwinx baseurl=http://build1.openftd.org/fedora-cross-darwinx/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross_darwinx cross-cpp*.fc15_cross_darwinx
You should only use one of the 2 repository files (not both). Use the first one if you only want Win32+Win64 support and use the second one if you want Win32+Win64+Darwinx support.
The .repo files which you used are old versions. The newest ones which can be found at http://build1.openftd.org/fedora-cross/fedora-cross.repo and http://build1.openftd.org/fedora-cross-darwinx/fedora-cross-darwinx.repo contain an addition to the exclude lines (due to the per-target RPMs change).
Could you please re-download one of the .repo files and remove the other one from your /etc/yum.repos.d folder?
Regards,
Erik van Pienbroek
Hi,
sorry not to have understood the fact that the repos were not complementary. Perhaps should you note it inside the wiki page.
Now setting-up only the darwinx repo allows me to install cross-gcc. But I still cannot install gfortran: Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Running transaction check ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw64(libquadmath-0.dll) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Finished Dependency Resolution Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 (fedora-cross-darwinx) Requires: mingw64(libquadmath-0.dll) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
It seems that the new libquadmath is in fault.
Thanks for your time, Fabien _______________________________________________ mingw mailing list mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/mingw
.
Hi,
I am coming back again with the cross-gcc-gfortran issue using darwinx repo (did not try with the other repo). Here is my repo on F14: [fedora-cross-darwinx] name=fedora-cross-darwinx baseurl=http://build1.openftd.org/fedora-cross-darwinx/$basearch gpgcheck=1 enabled=1 gpgkey=http://build1.openftd.org/fedora-cross/RPM-GPG-KEY-Erik-van-Pienbroek exclude=cross-gcc*.fc15_cross* cross-cpp*.fc15_cross* mingw32-gcc*.fc15_cross* mingw32-cpp*.fc15_cross* mingw64-gcc*.fc15_cross* mingw64-cpp*.fc15_cross*
And the issue: # yum install cross-gcc-gfortran ... Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cross-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw32-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Processing Dependency: mingw64-gcc-gfortran = 4.6.0-0.4.20110122.fc14 for package: cross-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Running transaction check ---> Package mingw32-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed ---> Package mingw64-gcc-gfortran.x86_64 0:4.6.0-0.4.20110122.fc14 set to be installed --> Processing Dependency: mingw64(libquadmath-0.dll) for package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 --> Finished Dependency Resolution Error: Package: mingw64-gcc-gfortran-4.6.0-0.4.20110122.fc14.x86_64 (fedora-cross-darwinx) Requires: mingw64(libquadmath-0.dll) Available: mingw64-gcc-4.6.0-0.4.20110122.fc14.x86_64 (fedora-cross-darwinx) mingw64(libquadmath-0.dll) Available: mingw64-gcc-4.6.0-0.3.20110122.fc14.x86_64 (fedora-cross-darwinx) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Thank you for your help, Fabien
This has worked today but I had to say --nogpgcheck while updating. Also cross-gcc-gfortran works.
Thanks! Fabien
Gilboa Davara schreef op ma 14-02-2011 om 19:23 [+0200]:
On Mon, 2011-02-14 at 16:33 +0100, Archambault Fabien wrote:
This has worked today but I had to say --nogpgcheck while updating. Also cross-gcc-gfortran works.
Same here. Package mingw64-gcc-4.6.0-0.5.20110205.fc14.x86_64.rpm is not signed
Should I simply nogpgcheck?
- Gilboa
My bad, forgot to sign the new gcc packages. I just signed them manually. Does it work now? You may have to do a 'yum clean all' first.
Anyway, I'm currently rebuilding everything (to keep the package versions in sync with the F15 mass rebuild) so new packages will appear soon.
Regards,
Erik van Pienbroek
On Mon, 2011-02-14 at 22:46 +0100, Erik van Pienbroek wrote:
Gilboa Davara schreef op ma 14-02-2011 om 19:23 [+0200]:
On Mon, 2011-02-14 at 16:33 +0100, Archambault Fabien wrote:
This has worked today but I had to say --nogpgcheck while updating. Also cross-gcc-gfortran works.
Same here. Package mingw64-gcc-4.6.0-0.5.20110205.fc14.x86_64.rpm is not signed
Should I simply nogpgcheck?
- Gilboa
My bad, forgot to sign the new gcc packages. I just signed them manually. Does it work now? You may have to do a 'yum clean all' first.
Anyway, I'm currently rebuilding everything (to keep the package versions in sync with the F15 mass rebuild) so new packages will appear soon.
Regards,
Erik van Pienbroek
Fixed.
Thanks!
- Gilboa
On Fri, 2011-02-04 at 12:57 +0100, Erik van Pienbroek wrote:
You should only use one of the 2 repository files (not both). Use the first one if you only want Win32+Win64 support and use the second one if you want Win32+Win64+Darwinx support.
The .repo files which you used are old versions. The newest ones which can be found at http://build1.openftd.org/fedora-cross/fedora-cross.repo and http://build1.openftd.org/fedora-cross-darwinx/fedora-cross-darwinx.repo contain an addition to the exclude lines (due to the per-target RPMs change).
Could you please re-download one of the .repo files and remove the other one from your /etc/yum.repos.d folder?
Regards,
Erik van Pienbroek
I've replace the fedora-cross.repo file with the one linked above and completely removed my previous cross* and mingw* packages. (I'm on Fedora 14 / x86_64)
Still no go:
$ yum install -y cross-gcc cross-cpp cross-gcc-c++ cross-zlib corss-binutils cross-filesystem mingw*wpcap mingw*headers mingw*zlib mingw*iconv ming*crt ... Error: Package: mingw32-gcc-c++-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-c++-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw64-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-gcc-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit) Error: Package: mingw32-cpp-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit)
- Gilboa
Gilboa Davara schreef op zo 06-02-2011 om 10:36 [+0200]:
Still no go:
$ yum install -y cross-gcc cross-cpp cross-gcc-c++ cross-zlib corss-binutils cross-filesystem mingw*wpcap mingw*headers mingw*zlib mingw*iconv ming*crt ... Error: Package: mingw32-gcc-c++-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit)
Did you remove the '#' from the exclude line mentioned in /etc/yum.repos/fedora-cross.repo ?
Regards,
Erik van Pienbroek
On Sun, 2011-02-06 at 12:01 +0100, Erik van Pienbroek wrote:
Gilboa Davara schreef op zo 06-02-2011 om 10:36 [+0200]:
Still no go:
$ yum install -y cross-gcc cross-cpp cross-gcc-c++ cross-zlib corss-binutils cross-filesystem mingw*wpcap mingw*headers mingw*zlib mingw*iconv ming*crt ... Error: Package: mingw32-gcc-c++-4.6.0-0.4.20110122.fc15_cross.x86_64 (fedora-cross) Requires: libmpfr.so.4()(64bit)
Did you remove the '#' from the exclude line mentioned in /etc/yum.repos/fedora-cross.repo ?
Regards,
Yep. Didn't work. Tried again today and it seems to be working. Must have been a stale repo cache, I guess...
Thanks for the help!
P.S. Before I try it myself, anything major stopping the mingw64-wpcap build? (I'm trying to create a fix for #672743)
- Gilboa
On Sun, Jan 30, 2011 at 05:27:26PM +0100, Erik van Pienbroek wrote:
Hi everybody,
It took some time but I can now finally announce a new set of packages belonging to the cross compiler framework
The main difference from the first attempt is that we now have per-target RPMs (as Kevin requested). This means that we have source RPMs called 'cross-libfoo' which generate binary RPMs called 'mingw32-libfoo', 'mingw64-libfoo' and 'darwinx-libfoo'
If we're going todo such a large re-organization, is it worth going one step further now and actually integrating this with the native RPM specs ? ie so we'd have one source RPM that can generate native binary RPMs and each cross-compiler binary RPM.
Daniel
On Mon, Jan 31, 2011 at 12:51 PM, Daniel P. Berrange berrange@redhat.com wrote:
On Sun, Jan 30, 2011 at 05:27:26PM +0100, Erik van Pienbroek wrote:
Hi everybody,
It took some time but I can now finally announce a new set of packages belonging to the cross compiler framework
The main difference from the first attempt is that we now have per-target RPMs (as Kevin requested). This means that we have source RPMs called 'cross-libfoo' which generate binary RPMs called 'mingw32-libfoo', 'mingw64-libfoo' and 'darwinx-libfoo'
If we're going todo such a large re-organization, is it worth going one step further now and actually integrating this with the native RPM specs ? ie so we'd have one source RPM that can generate native binary RPMs and each cross-compiler binary RPM.
That would be totally awesome.
Daniel P. Berrange wrote:
If we're going todo such a large re-organization, is it worth going one step further now and actually integrating this with the native RPM specs ? ie so we'd have one source RPM that can generate native binary RPMs and each cross-compiler binary RPM.
Well, the maintainers of the native packages might not be thrilled by the idea. (For example, it takes long enough already to build qt, if I have to wait for all the cross builds to complete too each time I update qt, that'd really suck. And the fix might not even be relevant for the cross target, and reciprocally fixes to one or more cross targets or for cross-compilation in general might not be relevant for the native package.)
Kevin Kofler