On 2008-03-08 10:31:32 +0000, Bernhard Roth wrote:
Hi, I got an error while building my package with the build service. But if I do the same on my locale machine (without build service) all works! The error occurs during make: all runs until the headers are loaded and it starts to compile. The log File on these point looks like this:
############################################################################### ... cp proofx/inc/TXSocket.h include/TXSocket.h cp proofx/inc/TXSocketHandler.h include/TXSocketHandler.h cp proofx/inc/TXUnixSocket.h include/TXUnixSocket.h gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o build/rmkdepend/cppsetup.o -c build/rmkdepend/cppsetup.c gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o build/rmkdepend/ifparser.o -c build/rmkdepend/ifparser.c gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o build/rmkdepend/include.o -c build/rmkdepend/include.c gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o build/rmkdepend/main.o -c build/rmkdepend/main.c gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o build/rmkdepend/parse.o -c build/rmkdepend/parse.c gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o build/rmkdepend/pr.o -c build/rmkdepend/pr.c g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o build/rmkdepend/mainroot.o -c build/rmkdepend/mainroot.cxx make: g++: Command not found build/unix/compiledata.sh: line 69: g++: command not found Running build/unix/compiledata.sh Making include/compiledata.h bin/rmkdepend -R -fcint/src/g__cfunc.d -Y -w 1000 -- -pipe -m32 -Wall -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -pthread -- cint/src/g__cfunc.c make: bin/rmkdepend: Command not found make: *** [cint/src/g__cfunc.o] Error 127 error: Bad exit status from /var/tmp/rpm-tmp.72227 (%build)
You have to add the "gcc-c++" package to the BuildRequires list in your spec file. If you do a local build I would suggest to use "osc build".
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.72227 (%build) mount: can't find / in /etc/fstab or /etc/mtab md: stopping all md devices. xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping System halted. ###################################################################
And my spec file up to make looks like this:
######################################################## Name: root Version: 5.18 Release: 00 License: LGPL BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: root-5.18.tar.bz2 %if 0%{defined suse_version} BuildRequires: xorg-x11-libXpm-devel %endif Group: scientific Summary: Data analysis framework
%description Object-Oriented Data Analysis Framework from CERN
%prep # extract the source and go into the root-5.18 directory %setup ./configure linux --enable-soversion
%build make #######################################################
Has anybody a idea whats going wrong here?
Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org