Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 492602

Summary: sci-misc/boinc-7.4.42 version bump
Product: Gentoo Linux Reporter: Matteo Modesti <mattemod>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: andrzej.pauli, b.buschinski, Dessa, doug.hunley, flow, mattemod, mihai.dontu, redwolfe, russell, ville.aakko, voyageur, wtrautner, zeekec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: boinc-7.2.39.ebuild
ebuild patch
sci-misc/boinc-7.2.42.ebuild using git checkout
Proposed ebuild for version 7.4.36
boinc-7.4.42.ebuild

Description Matteo Modesti 2013-11-26 10:52:58 UTC
As by summary, 7.2.28 is out at least since Nov 6-8th. However in this directory I see even 7.2.33 is out since Nov 25th.
Please update the package to one of the two versions.
Thanks!

Reproducible: Always
Comment 1 Matteo Modesti 2013-11-26 11:52:01 UTC
Oops, didn't paste the URL of the directory I mentioned in my original comment:
https://boinc.berkeley.edu/dl/
Comment 2 ChaosEngine 2013-12-04 12:35:13 UTC
I can confirm that current stable release (boinc-7.2.33) built from source with previous ebuild works fine.
My local overlay link:
https://github.com/ChaosEngine/portage/tree/c2c3b109380f3a34903bcb092792f90f15007bb5/sci-misc/boinc

creation of snaphot package:
$ git clone git://boinc.berkeley.edu/boinc-v2.git boinc-7.2.33
$ cd boinc-7.2.33/
$ git checkout client_release/7.2/7.2.33; git status
$ cd ..
$ tar -c --xz -f boinc-7.2.33.tar.xz boinc-7.2.33/
Comment 3 Walter Trautner 2013-12-05 12:10:07 UTC
ChaosEngine's ebuild does the job. Tested with WCG and POEM.

I've also deleted some data from the boinc source (.git, win*, android*, mac*) to keep the source small. Just working :)
Comment 4 Matteo Modesti 2014-01-19 15:57:19 UTC
The BOINC download page shows 7.2.33 while the directory has 7.2.38.
If comment #2 and comment #3 say it works fine, why is 7.2.0 still the last version in tree?
Comment 5 ChaosEngine 2014-02-15 10:51:07 UTC
Created attachment 370470 [details]
boinc-7.2.39.ebuild
Comment 6 ChaosEngine 2014-02-15 10:54:03 UTC
New stable (?) boinc has appeared on http://boinc.berkeley.edu/download.php page. Version 7.2.39. So I've prepared ebuild accordingly (attachment https://bugs.gentoo.org/attachment.cgi?id=370470).
The bin package is made using following scheme:

  $ git clone git://boinc.berkeley.edu/boinc-v2.git boinc-7.2.39
  $ cd boinc-7.2.39/
  $ git checkout client_release/7.2/7.2.39; git status
  $ rm -rf .git win* android* mac*
  $ cd ..
  $ tar -c --xz -f boinc-7.2.39.tar.xz boinc-7.2.39/

For me it works.
Comment 7 Robert Förster 2014-03-07 01:22:48 UTC
Created attachment 371928 [details, diff]
ebuild patch

changes to in-tree:

- pin gtk include adding to "use X" as the includes are useless in a client-only build
- fix patch name, still applies

generated using ${FILESDIR}/generate_tarball.sh -v 7.2.42
Comment 8 Walter Trautner 2014-05-01 13:26:31 UTC
(In reply to Robert Förster from comment #7)
> Created attachment 371928 [details, diff] [details, diff]
> ebuild patch
> 
> changes to in-tree:
> 
> - pin gtk include adding to "use X" as the includes are useless in a
> client-only build
> - fix patch name, still applies
> 
> generated using ${FILESDIR}/generate_tarball.sh -v 7.2.42

Tested for some weeks and it is working fine here :)
Comment 9 Douglas J Hunley 2014-09-09 08:11:24 UTC
7.2.42 is out now and is needed to fix an issue w/ one of the projects (Yoyo)
Comment 10 Matteo Modesti 2014-09-09 11:11:54 UTC
(In reply to Walter Trautner from comment #8)
> (In reply to Robert Förster from comment #7)
> > Created attachment 371928 [details, diff] [details, diff] [details, diff]
> > ebuild patch
> > 
> > changes to in-tree:
> > 
> > - pin gtk include adding to "use X" as the includes are useless in a
> > client-only build
> > - fix patch name, still applies
> > 
> > generated using ${FILESDIR}/generate_tarball.sh -v 7.2.42
> 
> Tested for some weeks and it is working fine here :)

Me too: successfully emerged and so far it's working fine.

I can't believe the tree is stuck on 7.2.0: how old is that version? 2 years? And my (this) bug report on 7.2.28 is almost a year old, when working ebuilds have been attached for 6-7 months: come on! Just put 7.2.42 in tree, it's surely most stable than 7.2.0.
Comment 11 Sven Eden 2014-11-04 18:29:08 UTC
Created attachment 388538 [details]
sci-misc/boinc-7.2.42.ebuild using git checkout

I have added this ebuild to my overlay ("seden" via layman") with the following changes:

- Applied fixes from the patch provided by Robert Förster.
- Re-added boincscr, so I can try how to get it running.
- The sources are fetched using Michał Górnys awesom git-r3.eclass
- Due to this usage, boinc depends on git, but the sources no longer need to be packaged and updates should be fetched quite fast.
- The initial fetch takes some time of course.

What I did not find yout, yet, is how to start clientmgr as a regular user. There is something awry I haven't figured yout, yet.

Further I have only started to test boincscr. Currently the preview in xscreensaver fails with:

------------
(xscreensaver-demo:7567): libglade-WARNING **: Could not load support for `gnome': libgnome.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
chdir: No such file or directory
---------

I'll see whether I can find out what is going on there.
If you want to test it, you have to add:
GL: boincscr -root \n\
to your ~/.xscreensaver file for it to show up.
Comment 12 Sven Eden 2014-11-04 18:30:24 UTC
(In reply to Sven Eden from comment #11)
> ------------
> (xscreensaver-demo:7567): libglade-WARNING **: Could not load support for
> `gnome': libgnome.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder
> Verzeichnis nicht gefunden
> chdir: No such file or directory
> ---------

And in english: (stupid me...)
libglade-WARNING **: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory
Comment 13 andcycle-gentoo.bugs 2015-01-26 07:47:54 UTC
7.4.36 released at 1 Jan 2015
Comment 14 Matteo Modesti 2015-01-26 09:16:31 UTC
(In reply to andcycle-gentoo.bugs from comment #13)
> 7.4.36 released at 1 Jan 2015

From this page https://boinc.berkeley.edu/download_all.php it seems 7.4.x is currently stable only for Windows and Mac.

If someone wants to attach an ebuild for 7.4.x, I'll gladly test it as soon as that branch becomes stable on Linux too. I'd try the one I'm currently using for 7.2.42 just changing the version numbers, but I don't know if there have been any changes in dependencies or something else since 7.2.x.
Comment 15 ChaosEngine 2015-01-27 14:57:49 UTC
Version 7.4.22 compiles and works ok with previous verion but not fully. Only CLI worker. I could not compile GUI client binary; it may be related to newer x11-libs/wxGTK-3.* requirement. I'll try to tackle with it a little more.
Comment 16 ChaosEngine 2015-01-28 13:52:52 UTC
Created attachment 395050 [details]
Proposed ebuild for version 7.4.36

Works for me with dependency x11-libs/wxGTK-3.0.2.0
and USE='X' (all client and GUI packages builing).
Comment 17 Chad A. Simmons 2015-03-22 20:21:23 UTC
Tested 7.4.36 ebuild on ~amd64. Been using for a week now appears to work fine except the source points to a bad d/l url at dev.gentoo.org and I had to modify the workdir to match the svn checkout I pulled instead.
Comment 18 Walter Trautner 2015-03-22 23:06:37 UTC
Got Chaos Engine's 7.4.36 ebuild compiling and working on amd64.

As Chad A. Simmons already noted on #17, the d/l is not working anymore. I've used the provided generate_tarball.sh script but had to comment the rm-lines beginning with line 64.

Beeing on amd64, I also had to keyword x11-libs/wxGTK:3 and set some useflag:
>=x11-libs/wxGTK-3.0.2.0-r1 webkit (yeah, should be by slot ..)

It's working but I'm not really happy about this webkit useflag. It's pulling in webkit-gtk, which needs really a lot of time to compile .. I've not tried to get rid of it yet, but I may look at this next weekend ..
Comment 19 Mihai Donțu 2015-05-23 01:46:39 UTC
Created attachment 403798 [details]
boinc-7.4.42.ebuild

I've used Sven Eden's git ebuild with version bump and wxGTK-related adjustments for boinc 7.4.42. Works great thus far.
Comment 20 Matteo Modesti 2015-05-30 16:23:28 UTC
(In reply to Mihai Donțu from comment #19)
> Created attachment 403798 [details]
> boinc-7.4.42.ebuild
> 
> I've used Sven Eden's git ebuild with version bump and wxGTK-related
> adjustments for boinc 7.4.42. Works great thus far.

Successfully compiled 7.4.42 on amd64 a few days ago and it's been working great since then.

I really can't understand how a package like this is stuck since Dec 2013, with working ebuilds "flowing" like this since before then...
Comment 21 Marius Brehler 2015-05-31 13:51:50 UTC
Fell free to send a pull request to the portage mirror next time [1]. This is sometimes more obvious and problems with the attached ebuilds can be easier discussed. I fixed some smaller issues I had with the 7.4.42 ebuild (wxGTK[webkit] does not exist for ia64 and sparc) and created a pull request [2].

[1] https://github.com/gentoo/gentoo-portage-rsync-mirror
[2] https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/135
Comment 22 G.Wolfe Woodbury 2015-06-01 21:14:18 UTC
I have managed to get all of BOINC working with Sven Eden's ebuilds and a few other fixes:

1.  Make the BOINC user (boinc) a real user and make the home dir be wherever to work files will be (I moved it to /home/boinc manually).  [There is a local USE flag on mail-filter/dspam "user-homedirs, add it here also?]

2.  Add user boinc to the vboxusers group if VirtualBox is installed on the system. This allows the system to run projects VirtualLHC and ATLAS from CERN.
(Should there be a virtualbox USE flag?)
Comment 23 xdarma 2015-07-28 18:55:24 UTC
After 27 July 2015, source code use github, so the ebuild should use:
EGIT_REPO_URI="https://github.com/BOINC/boinc.git"
Compilation fails on my system. Maybe due to a source syntax error.
Comment 24 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-08-04 13:31:58 UTC
+*boinc-7.4.42 (04 Aug 2015)
+
+  04 Aug 2015; Michał Górny <mgorny@gentoo.org> +boinc-7.4.42.ebuild,
+  boinc-7.2.0-r1.ebuild, boinc-7.2.0.ebuild:
+  Version bump with minor fixes. https://github.com/gentoo/gentoo-portage-rsync-
+  mirror/pull/135 by marbre.
Comment 25 coran.fisher@gmail.com 2015-08-04 15:51:56 UTC
unlike previous versions this version of the boinc ebuild does not seem to install the boinc manager gui. This is with the X and cuda useflags as before. It does install boincmgr-boinc.desktop which is not so useful without the boingmgr executable.