Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: qemu Cross Compilation Instructions
On Thu, Jun 21, 2012 at 8:36 AM, Adrian Schröter <adrian@xxxxxxx> wrote:
Am Mittwoch, 20. Juni 2012, 16:46:15 schrieb Troy Telford:
2.) When using 'osc build' to do a local build, instead of installing
the compiler to /usr/bin/g++ (which is what rpm -ql gcc-c++ shows the
installation path *should* be), the compiler is instead installed to
/usr/bin/armv5tel-redhat-linux-gnueabi-c++, with no symlink to the
corresponding 'short' compiler name.

Does anybody know why this is? It certainly plays havoc with makefiles
expecting to call gcc, g++, cc, c++, etc.

This must be caused by your project configuration. build is just installing
packages. Either your compiler package is not installed or some other other
package is messing it up ...

Are you building for a Fedora 17 based system? In that case you
probably need to update the build package to at least a version from
May 30 2012 to get the following relevant patch:

commit ecd7d38b106fb189d12da23b10a0c5ae4cf6e7a6
Author: Frank Lichtenheld <flichtenheld@xxxxxxxxxx>
Date: Wed May 30 21:08:57 2012 +0200

setupccache: remove obsolete rm command

$builduserhome is undefined, so that really deletes /bin/gcc etc.
Which is a problem on Fedora 17 where /bin is a symlink to
/usr/bin.

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

< Previous Next >
Follow Ups