Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
Re: [opensuse-buildservice] Creating symlink during build
  • From: Guillaume Gardet <guillaume.gardet@xxxxxxx>
  • Date: Thu, 19 Sep 2013 16:15:18 +0200
  • Message-id: <>

Le 19/09/2013 16:04, Denny Beyer a écrit :
Dear all,
In openSUSE seems to be a setup issue for antRun that makes my build fail, as
antRun could not be found.

By creating by hand a symlink from "/usr/share/ant/bin/antRun" to
"/usr/bin/antRun" should fix it.

I tried the following in build section of the spec:
mkdir %{buildroot}/usr/share/ant/bin/
ln -s %{buildroot}/usr/bin/antRun %{buildroot}/usr/share/ant/bin/antRun

Maybe better to make link relative so that it works whatever the prefix:
mkdir %{buildroot}/usr/share/ant/bin/
cd %{buildroot}/usr/share/ant/bin/
ln -s ../../../bin/antRun
cd ..


but this didn't work.

Any idea, how to get this setup?

Thanks, Denny

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >