Bug 27716 - Could you fix rpm dependencies to install also in Centos 6?
Summary: Could you fix rpm dependencies to install also in Centos 6?
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: packaging ()
Version: 3.12.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jo Shields
URL:
Depends on:
Blocks:
 
Reported: 2015-03-05 16:56 UTC by Albert
Modified: 2017-05-11 16:06 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Albert 2015-03-05 16:56:47 UTC
Could you provide RPMs that are compatible with Centos 6.5?

If i try to install mono using xamarin yum repo in Centos 6.5 I get:

---> Package mono-winforms.x86_64 0:3.12.0-1 will be installed
--> Finished Dependency Resolution
Error: Package: mono-core-3.12.0-1.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.16)(64bit)
Error: Package: libgdiplus0-3.12-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: libgdiplus0-3.12-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libtiff.so.5()(64bit)
Error: Package: libgdiplus0-3.12-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libpng15.so.15()(64bit)
Error: Package: libgdiplus0-3.12-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
Error: Package: libgdiplus0-3.12-0.x86_64 (download.mono-project.com_repo_centos_)
           Requires: libpng15.so.15(PNG15_0)(64bit)  You could try using --skip-broken to work around the problem

I had to use other rpms from:
http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=mono-opt

but found other issues and would like to use official rpms.

I cant use Centos 7 and most production servers run on Centos 6 yet.
Comment 1 Rodrigo Kumpera 2015-04-02 14:24:51 UTC
Hi Jo,

Do you think this is something we can address?
Comment 2 Jo Shields 2015-04-03 05:22:15 UTC
I did a one-off Centos 6 rebuild for a client a few months ago (3.10), but haven't really looked at it since.

As a general case, how far back do we want to go for our distro support? RHEL6 is from 2010 & gives us libraries/compilers to match
Comment 3 Rodrigo Kumpera 2015-04-03 12:43:29 UTC
I think we're good by only supporting the last regular and the last LTS.

For anything before that, there's the tarball.
Comment 4 Jo Shields 2015-04-14 03:11:40 UTC
I guess the problem there is *everything* is "LTS" on RHEL (CentOS).

CentOS 5 (2007) is still supported until 2017, for example. I don't want to care about CentOS 5.

I'd need to look at ABIs and dependencies to see whether packages built on CentOS 6 would continue to work fine on 7, Fedora up to & including latest, openSUSE up to and including latest, etc.
Comment 5 Albert 2015-04-16 06:26:42 UTC
I agree CentOS5 is not important as most enterprise customers/vendors had time to migrate to CentOS6.

If you look into cloud providers like Azure and Amazon AWS they dont offer CentOS5 images/AMIs but they do for CentOS 6/6.5/6.6/7

https://aws.amazon.com/marketplace/seller-profile?id=16cb8b03-256e-4dde-8f34-1b0f377efe89

So there is still a huge base of CentOS6 deployments and there will be for some time.

If you get some beta RPM for CentOS6 I am happy to test them on my machines.

Thanks,
Alberto
Comment 6 Albert 2015-05-18 13:16:43 UTC
I checked 4.0.1 rpms and still fail to install on Centos 6.5.
Comment 7 Albert 2015-10-22 06:48:59 UTC
any progress on this to support Centos 6? I checked last rpms and still fails. 

There is a guy that is compiling mono rpms on centos 6, maybe you could contact him to know what is missing.

http://www.pokorra.de/tag/mono/

http://software.opensuse.org/download/package?project=home:tpokorra:mono&package=monodevelop-opt
Comment 8 Jo Shields 2015-10-22 06:53:31 UTC
I am not spending any time on this.

I know what is involved, I just don't have the time to spend on it - or any real interest. I'd need twice as many builders, a completely second repository for 6, possibly two sets of spec files, more holes in dependencies to fill in, a third set of CentOS builders for i386. I already don't have time for the tasks assigned to me as it is.

At some point you have to draw a line in the sand for distro support, and in this case it's Centos 7. If you want to run something older, we support Ubuntu 12.04 or Debian 7.
Comment 9 Jo Shields 2017-05-11 11:00:10 UTC
CentOS 6 builds are now supported & done in parallel with 7. The package repositories are in the process of being filled out - should be finished within a few hours. You'll need an appropriate repo configuration for your package manager (centos6 not centos or centos7). Check the mono-project.com download page in a few hours for instructions.
Comment 10 Albert 2017-05-11 16:06:55 UTC
thanks! great job