Mailinglist Archive: opensuse-buildservice (184 mails)

< Previous Next >
[opensuse-buildservice] OBS: Boinc Package failed
  • From: Sascha Manns <samannsml@xxxxxxxxxxxxx>
  • Date: Fri, 31 Oct 2008 21:27:35 +0100
  • Message-id: <200810312127.35937@xxxxxxxxxxxxxxxxxxxxx>
Hello Friends,

i've downloaded BOINC Source from svn/tags and maked a *.spec-File. When
i run the OBS/complete rebuild Link, the build runs a while.
But then the Compiler broken:
ViewWork.cpp:1041: error: call of overloaded 'wxString(const char*)' is
/usr/include/wx-2.8/wx/string.h:722: note: candidates are:
wxString::wxString(const wxWCharBuffer&) <near match>
/usr/include/wx-2.8/wx/string.h:692: note: wxString::wxString(wxChar,
size_t) <near match>
/usr/include/wx-2.8/wx/string.h:690: note: wxString::wxString(const
wxString&) <near match>
/usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) <near
make[2]: *** [boinc_gui-ViewWork.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/boinc-
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/boinc-core-6.3.14'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.33556 (%build)

RPM build errors:
cannot open Pubkeys index using db3 - No such file or directory (2)
Bad exit status from /var/tmp/rpm-tmp.33556 (%build)
System halted.

Does anyone know, what the error is? My spec-File is attached.
Sincereley yours

Sascha Manns
Open-News-Network e.V.
# Copyright (c) 2008 openSUSE-Build-Service
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name: boinc-core
# List of additional build dependencies
BuildRequires: libcurl-devel >= 7.15.2 python-mysql update-desktop-files
BuildRequires: Mesa-devel freeglut-devel libopenssl-devel
BuildRequires: gcc-c++ gettext-runtime mysql-devel wxGTK-devel >= 2.8.7
BuildRequires: docbook2x libjpeg-devel libxslt xorg-x11-libXmu-devel
Requires: logrotate
Version: 6.3.14
Release: 1
License: LGPL v2.1 only
Source: boinc-core-6.3.14.tar.gz
Group: Productivity/Clustering/Computing
Summary: The Berkeley Open Infrastructure for Network Computing (BOINC)
Packager: Sascha Manns <Sascha.Manns@xxxxxxxxxxxxx> for openSUSE
BuildRoot: %{_tmppath}/%{name}-%{version}-build

The Berkeley Open Infrastructure for Network Computing (BOINC) is an
open-source software platform which supports distributed computing,
primarily in the form of "volunteer" computing and "desktop Grid"
computing. It is well suited for problems which are often described as
"trivially parallel".

BOINC is the underlying software used by projects such as SETI@home,
Einstein@Home,, the World Community Grid, and
many other distributed computing projects.

University of California, Berkeley
Dr. David P. Anderson <davea@xxxxxxxxxxxxxxxx>
Rom Walton <rwalton@xxxxxxxxxxxxxxxx>
Charlie Fenton

%setup -q -n boinc-core-%{version}


# Assume that the package is built by plain 'make' if there's no ./configure.
# This test is there only because the wizard doesn't know much about the
# package, feel free to clean it up
export RPM_OPT_FLAGS="-O3 -funroll-loops -fforce-addr -ffast-math"
../configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--disable-server \
--enable-client \


make DESTDIR=%buildroot install
# create symlink for boinc_client
ln -s %{_bindir}/boinc_client $RPM_BUILD_ROOT%{_bindir}/boinc
# install logrotate and create symlink to /etc/int.d/boinc-client
install -d -m755 $RPM_BUILD_ROOT%{_sbindir}
ln -s %{_sysconfdir}/init.d/boinc-client
install -D -m644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/boinc
# istall desktop-file and icons
install -D -m644 %{S:3}
install -D -m644 boinc-gui-128.png
install -D -m644 boinc-gui-64.png
install -D -m644 boinc-gui-48.png
install -D -m644 boinc-gui-32.png
install -D -m644 boinc-gui-22.png
install -D -m644 boinc-gui-16.png
#removing sysconfig entry
rm $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/boinc-client
# install boincmgr
install -D -m755 %{S:4} $RPM_BUILD_ROOT%{_bindir}/boincmgr

# Write a proper %%files section and remove these two commands and
# the '-f filelist' option to %%files
echo '%%defattr(-,root,root)' >filelist
find %buildroot -type f -printf '/%%P*\n' >>filelist

rm -rf %buildroot

%files -f filelist

# This is a place for a proper filelist:
# /usr/bin/boinc
# You can also use shell wildcards:
# /usr/share/boinc/*
# This installs documentation files from the top build directory
# into /usr/share/doc/...
# The advantage of using a real filelist instead of the '-f filelist' trick is
# that rpmbuild will detect if the install section forgets to install
# something that is listed here



%stop_on_removal boinc-client

%restart_on_update boinc-client

%config %{_sysconfdir}/init.d/*
%config(noreplace) %{_sysconfdir}/logrotate.d/*
%doc COPYING COPYRIGHT checkin_* INSTALL notes todo TODO_OLD

* Fri Oct 31 2008 Sascha.Manns@xxxxxxxxxxxxx
- packaged boinc version 6.3.14 using the buildservice spec file wizard
< Previous Next >
List Navigation
Follow Ups