Mailinglist Archive: opensuse-buildservice (339 mails)

< Previous Next >
[opensuse-buildservice] next error while compiling
  • From: Bernhard Roth <bernhard.roth@xxxxxxxx>
  • Date: Sat, 8 Mar 2008 12:47:54 +0000 (GMT)
  • Message-id: <952377.91717.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi,
thanks for your help. Make is running longer now, but still not through!
Now, it stops with this message:

######################################################
guihtml/src/G__GuiHtml.o
==> lib/libGuiHtml.so done
bin/rmkdepend-R -fx11/src/GX11Gui.d -Y -w 1000 -- -pipe -m32 -Wall
-W-Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus
--x11/src/GX11Gui.cxx
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -o
x11/src/GX11Gui.o -c x11/src/GX11Gui.cxx
bin/rmkdepend-R -fx11/src/Rotated.d -Y -w 1000 -- -pipe -m32 -Wall
-W-Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus
--x11/src/Rotated.cxx
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -o
x11/src/Rotated.o -c x11/src/Rotated.cxx
bin/rmkdepend-R -fx11/src/TGX11.d -Y -w 1000 -- -pipe -m32 -Wall
-W-Woverloaded-virtual -fPIC -Iinclude -pthread -D__cplusplus
--x11/src/TGX11.cxx
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -o
x11/src/TGX11.o -c x11/src/TGX11.cxx
bin/rmkdepend -R -fx11/src/gifdecode.d -Y -w 1000 -- -pipe -m32 -Wall -W -fPIC
-Iinclude -pthread -- x11/src/gifdecode.c
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -o x11/src/gifdecode.o -c
x11/src/gifdecode.c
bin/rmkdepend -R -fx11/src/gifencode.d -Y -w 1000 -- -pipe -m32 -Wall -W -fPIC
-Iinclude -pthread -- x11/src/gifencode.c
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -o x11/src/gifencode.o -c
x11/src/gifencode.c
bin/rmkdepend -R -fx11/src/gifquantize.d -Y -w 1000 -- -pipe -m32 -Wall -W
-fPIC -Iinclude -pthread -- x11/src/gifquantize.c
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -o x11/src/gifquantize.o
-c x11/src/gifquantize.c
Generating dictionary x11/src/G__X11.cxx...
utils/src/rootcint_tmp -cint -f x11/src/G__X11.cxx -c x11/inc/TGX11.h
x11/inc/LinkDef.h
bin/rmkdepend -R -fx11/src/G__X11.d -Y -w 1000 -- \
-pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread
-D__cplusplus -Icint/lib/prec_stl \
-Icint/stl -- x11/src/G__X11.cxx
g++ -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -I. -o
x11/src/G__X11.o -c x11/src/G__X11.cxx
g++-shared -Wl,-soname,libGX11.so.5.18 -m32 -O2 -o
lib/libGX11.so.5.18x11/src/GX11Gui.o x11/src/Rotated.o x11/src/TGX11.o
x11/src/gifdecode.ox11/src/gifencode.o x11/src/gifquantize.o x11/src/G__X11.o
-lXpm -lXext-lX11 -lXft
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld: cannot
find -lXft
collect2: ld returned 1 exit status
make: *** [lib/libGX11.so] Error 1
rm utils/src/RStl_tmp.cxx utils/src/rootcint_tmp.cxx
error: Bad exit status from /var/tmp/rpm-tmp.32829 (%build)
#########################################################################

I guess there is still something missing, but I cant find out what!

Cheers
Bernhard


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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx






Lesen Sie Ihre E-Mails jetzt einfach von unterwegs.
www.yahoo.de/go
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups