For the LightBuildServer (LBS) I want to run some of my nightly builds already against Fedora 25 Beta, to see if I need to fix anything in the Mono packages for Fedora.

But there is no Beta image for Fedora 25 available at Docker Hub: https://hub.docker.com/_/fedora/

But here you can find an image for Fedora 25 Beta: https://getfedora.org/fi/cloud/prerelease/docker.html

So I download the image, and load the image like this:

cd /var/lib/docker
wget https://download.fedoraproject.org/pub/fedora/linux/releases/test/25_Beta/Docker/x86_64/images/Fedora-Docker-Base-25_Beta-1.1.x86_64.tar.xz
docker load -i /var/lib/docker/Fedora-Docker-Base-25_Beta-1.1.x86_64.tar.xz

You can see the image listed, when typing docker images:

REPOSITORY                                 TAG                 IMAGE ID            CREATED             SIZE
fedora-docker-base-25_beta-1.1.x86_64      latest              a85629813141        8 days ago          197.8 MB

Now I can reference it in my Dockerfile like this:

FROM fedora-docker-base-25_beta-1.1.x86_64:latest

Make sure to use the image name in lower case.

Tags: , ,
Posted in Hosting, Software Development | Comments Closed

I was asked if there are mono packages available for CentOS7 32 bit.

CentOS7 was initially only released for 64 bit, but in October 2015, it was released for 32 bit as well: http://seven.centos.org/2015/10/centos-linux-7-32-bit-x86-i386-architecture-released/

So I checked my build options: OBS does not support CentOS7 for 32 bit yet, neither does copr.

So I decided to try to build the packags on LBS. I had to modify my lxc scripts to be able to create a container for CentOS7 32 bit, and that was quite easy (https://github.com/tpokorra/lxc-scripts/issues/19).

Now there are the packages mono-opt, mono-basic-opt and mono-xsp-opt available for CentOS7 32bit.

To use them, run this:

rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x4796B710919684AC"
yum install yum-utils
yum-config-manager --add-repo https://lbs.solidcharity.com/repos/tpokorra/mono/centos/7/lbs-tpokorra-mono.repo
yum install mono-opt mono-xsp-opt mono-basic-opt mono-libgdiplus-opt

Make sure to call . /opt/mono/env.sh (mind the space after the dot) before you do any Mono calls!

Tags: , ,
Posted in Software Development | Comments Closed

There have been new stable releases of Mono and MonoDevelop: https://releases.xamarin.com/stable-release-cycle-5-service-release-4/

I have updated the mono-opt and monodevelop-opt packages.

You can install it from OBS: have a look at the instructions here: https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

To use mono-opt, you need to call the environment script first (mind the space between the dot and the slash…):

. /opt/mono/env.sh

Package names for RPM based systems:

  • CentOS6 and CentOS7
  • Fedora 21 and Fedora 22
  • OpenSUSE 13.1 and OpenSUSE 13.2
yum install mono-opt monodevelop-opt mod_mono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Just for OpenSUSE, there is also a mono-opt-devel package. For all other rpm based distributions, I deliver the devel files within the mono-opt package.

Package names for Debian based systems:

  • Debian Wheezy (7) and Debian Jessie (8)
  • Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10 and Ubuntu 15.04
apt-get install mono-opt monodevelop-opt modmono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

 

mono-opt for CentOS5

I have also updated mono-opt for CentOS5, which I build on my LBS server. You can install the latest version following the instructions at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt:

wget https://download.solidcharity.com/repos/tpokorra/mono/centos/5/lbs-tpokorra-mono.repo -O /etc/yum.repos.d/lbs-tpokorra-mono.repo
yum install mono-opt

 

Tags: , ,
Posted in Software Development | Comments Closed

There have been new stable releases of Mono and MonoDevelop: https://releases.xamarin.com/stable-release-cycle-5-service-release-2/

I have updated the mono-opt and monodevelop-opt packages.

You can install it from OBS: have a look at the instructions here: https://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-opt

To use mono-opt, you need to call the environment script first (mind the space between the dot and the slash…):

. /opt/mono/env.sh

Package names for RPM based systems:

  • CentOS6 and CentOS7
  • Fedora 21 and Fedora 22
  • OpenSUSE 13.1 and OpenSUSE 13.2
yum install mono-opt mono-opt-devel monodevelop-opt mod_mono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Package names for Debian based systems:

  • Debian Wheezy (7) and Debian Jessie (8)
  • Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10 and Ubuntu 15.04
apt-get install mono-opt monodevelop-opt modmono-opt mono-basic-opt mono-nant-opt mono-tools-opt mono-uncrustify-opt mono-xsp-opt nunit-opt nuget-opt

Fix for building Debian packages on OBS:

There has been a change on OBS, resulting in lintian errors now failing the build.

For more details see https://github.com/openSUSE/open-build-service/issues/944

The solution for me was:

osc meta prjconf -e
  # insert this line:
  Support: !lintian

You can see and set this setting also in the web UI: https://build.opensuse.org/project/prjconf/home:tpokorra:mono

mono-opt for CentOS5

I have also updated mono-opt for CentOS5, which I build on my LBS server. You can install the latest version following the instructions at https://lbs.solidcharity.com/package/tpokorra/mono/mono-opt:

wget https://download.solidcharity.com/repos/tpokorra/mono/centos/5/lbs-tpokorra-mono.repo -O /etc/yum.repos.d/lbs-tpokorra-mono.repo
yum install mono-opt mono-opt-devel

 

Tags: , ,
Posted in Software Development | Comments Closed