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:
---snip--
ViewWork.cpp:1041: error: call of overloaded 'wxString(const char*)' is
ambiguous
/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
match>
make[2]: *** [boinc_gui-ViewWork.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/boinc-
core-6.3.14/clientgui'
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.
---snap---

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

Sascha Manns
Open-News-Network e.V.
Web: http://saschamanns.gulli.to
# 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 http://bugs.opensuse.org/
#

# 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
Buildservice
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
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, ClimatePrediciton.net, the World Community Grid, and
many other distributed computing projects.



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



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

%build

# 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"
export CFLAGS="$RPM_OPT_FLAGS"
../_autosetup
../configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--disable-server \
--enable-client \
--enable-unicode
make



%install

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
$RPM_BUILD_ROOT%{_sbindir}/rcboinc-client
install -D -m644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/boinc
# istall desktop-file and icons
install -D -m644 %{S:3}
$RPM_BUILD_ROOT%{_datadir}/applications/boinc-gui.desktop
install -D -m644 boinc-gui-128.png
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/boinc-gui.png
install -D -m644 boinc-gui-64.png
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/boinc-gui.png
install -D -m644 boinc-gui-48.png
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/boinc-gui.png
install -D -m644 boinc-gui-32.png
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/boinc-gui.png
install -D -m644 boinc-gui-22.png
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/boinc-gui.png
install -D -m644 boinc-gui-16.png
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/boinc-gui.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


%clean
rm -rf %buildroot

%files -f filelist
%defattr(-,root,root)

# 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/...
# %doc README COPYING
# 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

%pre

%post

%preun
%stop_on_removal boinc-client

%postun
%restart_on_update boinc-client

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

%changelog
* 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