Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251766 - sci-misc/boinc-6.4.5 version bump + sourcecode
Summary: sci-misc/boinc-6.4.5 version bump + sourcecode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
: 254303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-20 17:17 UTC by DaggyStyle
Modified: 2009-04-20 17:57 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
boinc 6.4.5 ebuild (boinc-6.4.5.ebuild,3.33 KB, text/plain)
2008-12-20 17:18 UTC, DaggyStyle
Details
boinc 6.4.5 ebuild managing cudart libraries (boinc-6.4.5-r1.ebuild,7.16 KB, text/plain)
2009-01-18 18:03 UTC, herka
Details
same ebuild with addition of cuda support flag (boinc-6.4.5-r1.ebuild,3.59 KB, text/plain)
2009-01-23 09:56 UTC, DaggyStyle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2008-12-20 17:17:29 UTC
here is a ebuild for the latest release from boinc's homepage, version 6.4.5

Reproducible: Always

Steps to Reproduce:
1. download the ebuild
2. download the source code from http://www.4shared.com/file/76863663/8297ecfb/boinc-645tar.html?dirPwdVerified=8e5da412
3. copy the source code to /usr/portage/distfiles
4. copy the ebuild to you local overlay and digest it.
5. unmask the package and update boinc

Actual Results:  
you are running boinc-6.4.5

Expected Results:  
you are running boinc-6.4.5

I have no idea if cuda support is enabled, I'm trying to figure it out, if I'll manage I'll implement it into the ebuild
Comment 1 DaggyStyle 2008-12-20 17:18:37 UTC
Created attachment 175961 [details]
boinc 6.4.5 ebuild
Comment 2 DaggyStyle 2008-12-21 07:06:49 UTC
ok, after some digging, cuda is built in and will work only on projects that supports it and if you have the libs installed.
Comment 3 Wormo (RETIRED) gentoo-dev 2008-12-21 07:54:46 UTC
Thanks for submitting your version bump. Could you provide a brief summary of any changes you made compared to the earlier ebuild you started from?
Comment 4 DaggyStyle 2008-12-21 17:44:07 UTC
(In reply to comment #3)
> Thanks for submitting your version bump. Could you provide a brief summary of
> any changes you made compared to the earlier ebuild you started from?
> 

the ebuild is the same, the only changes are in the source files, I had to include subdirectories that aren't found in the earlier version's tar files.
Comment 5 Pierrot Rey 2008-12-29 07:54:22 UTC
	
The demon boinc doesn't start I made this mistake

/etc/init.d/boinc-client start
/etc/init.d/boinc-client: line 333: [: too many arguments
Starting BOINC client as a daemon:
Comment 6 DaggyStyle 2008-12-29 13:14:10 UTC
(In reply to comment #5)
> The demon boinc doesn't start I made this mistake
> 
> /etc/init.d/boinc-client start
> /etc/init.d/boinc-client: line 333: [: too many arguments
> Starting BOINC client as a daemon:
> 

what is the difference between boinc and boinc-client? I'm using boinc without any problem...
Comment 7 Pierrot Rey 2008-12-29 15:49:16 UTC
No, the new name given to the ebuild startup script boinc.
Comment 8 DaggyStyle 2008-12-29 16:46:15 UTC
(In reply to comment #7)
> No, the new name given to the ebuild startup script boinc.
> 

ok, so is there a problem or not, kinda lost you over here
Comment 9 Pierrot Rey 2008-12-30 05:54:50 UTC
Yes there is a problem, boinc does not start and it gives the error that I put above. I am not strong enough to find out why.
Comment 10 DaggyStyle 2008-12-30 06:26:50 UTC
here is the problematic line:
 if [ -z `su $BOINCUSER -c "$cmd"` ]; then
I dont know how is the publisher of the script, gentoo dev or boinc dev, I personally have no problems running the service by enabling the boinc (not boinc=client) service.

try and see if it works.
Comment 11 Pierrot Rey 2009-01-06 04:25:38 UTC
I wanted to rebuild the program and now I have this to the compilation.

 x86_64-pc-linux-gnu-g++: libboinc.a: No such file or directory
 make[2]: *** [crypt_prog] Erreur 1
 make[2]: *** Attente des tâches non terminées....
 mv -f .deps/gui_rpc_client_ops.Tpo .deps/gui_rpc_client_ops.Po 
 make[2]: quittant le répertoire « /var/tmp/portage/sci-misc/boinc-6.4.5/work /boinc-6.4.5/lib »
 make[1]: *** [all-recursive] Erreur 1 
 make[1]: quittant le répertoire « /var/tmp/portage/sci-misc/boinc-6.4.5/work/boinc-6.4.5 »
 make: *** [all] Erreur 2
Comment 12 DaggyStyle 2009-01-06 09:02:51 UTC
(In reply to comment #11)
> I wanted to rebuild the program and now I have this to the compilation.
> 
>  x86_64-pc-linux-gnu-g++: libboinc.a: No such file or directory
>  make[2]: *** [crypt_prog] Erreur 1
>  make[2]: *** Attente des tâches non terminées....
>  mv -f .deps/gui_rpc_client_ops.Tpo .deps/gui_rpc_client_ops.Po 
>  make[2]: quittant le répertoire « /var/tmp/portage/sci-misc/boinc-6.4.5/work
> /boinc-6.4.5/lib »
>  make[1]: *** [all-recursive] Erreur 1 
>  make[1]: quittant le répertoire «
> /var/tmp/portage/sci-misc/boinc-6.4.5/work/boinc-6.4.5 »
>  make: *** [all] Erreur 2
> 

did it compiled for you well before? 
Comment 13 Pierrot Rey 2009-01-09 03:52:14 UTC
(In reply to comment #12)
>
> 
> did it compiled for you well before? 
> 

No, it has never compiled with your ebuild, I had built by hand but it did not work too.
Comment 14 DaggyStyle 2009-01-09 10:08:40 UTC
(In reply to comment #13)
> (In reply to comment #12)
> >
> > 
> > did it compiled for you well before? 
> > 
> 
> No, it has never compiled with your ebuild, I had built by hand but it did not
> work too.
> 

ok, did you tried to compile it by hand? if it crashes, then it isn't the ebuild, which source did you tried?

Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-09 15:00:49 UTC
*** Bug 254303 has been marked as a duplicate of this bug. ***
Comment 16 Pierrot Rey 2009-01-10 06:50:11 UTC
	
I found the source with this command svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_6_4_5
Comment 17 DaggyStyle 2009-01-11 07:36:22 UTC
(In reply to comment #16)
> I found the source with this command svn co
> http://boinc.berkeley.edu/svn/tags/boinc_core_release_6_4_5
> 
thats where I've got the source from
Comment 18 Guido 2009-01-12 21:28:08 UTC
(In reply to comment #11)

Re-emerge with MAKEOPTS="-j1", that should do the trick.

@DaggyStyle: maybe you should force MAKEOPTS="-j1" in the ebuild?
Comment 19 Guido 2009-01-12 21:32:26 UTC
(In reply to comment #6)
> what is the difference between boinc and boinc-client? I'm using boinc without
> any problem...

boinc is missing, only boinc-client exists
Comment 20 Guido 2009-01-12 21:50:19 UTC
(In reply to comment #19)
> (In reply to comment #6)
> > what is the difference between boinc and boinc-client? I'm using boinc without
> > any problem...
> 
> boinc is missing, only boinc-client exists
> 

Both the configuration file (/etc/conf.d/boinc) and the init-script (/etc/init.d/boinc) are missing in this ebuild. If you did an upgrade then the files from previous version probably work well enough. If you did a fresh emerge OTOH then your only option is to try to install those by hand ...
Comment 21 Pierrot Rey 2009-01-13 02:39:35 UTC
(In reply to comment #18)
> (In reply to comment #11)
> 
> Re-emerge with MAKEOPTS="-j1", that should do the trick.
> 
> @DaggyStyle: maybe you should force MAKEOPTS="-j1" in the ebuild?
> 

It compile fine now but there is always a problem with the file /etc/init.d/boinc that does not exist and is replaced by /etc/init.d/boinc-client that does not work.
Comment 22 DaggyStyle 2009-01-13 07:21:07 UTC
I've haven't limited the numbers of jobs and it compiled well, can it be cpu related?

in order to have the scripts, just create a files sub folder in the boinc folder and copy the files boinc.init and boinc.conf from the original portage tree.
Comment 23 Guido 2009-01-13 21:21:15 UTC
(In reply to comment #22)
> I've haven't limited the numbers of jobs and it compiled well, can it be cpu
> related?

According to dmesg: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ stepping 03
Comment 24 Guido 2009-01-13 21:27:57 UTC
(In reply to comment #22)
> in order to have the scripts, just create a files sub folder in the boinc
> folder and copy the files boinc.init and boinc.conf from the original portage
> tree.

Thanks, that did the trick.

Comment 25 DaggyStyle 2009-01-13 21:34:57 UTC
again. maybe it is cpu related but I really doubt it
Comment 26 Pierrot Rey 2009-01-14 07:53:00 UTC
(In reply to comment #22)
> I've haven't limited the numbers of jobs and it compiled well, can it be cpu
> related?
> 

AMD Phenom(tm) 9850 Quad-Core Processor stepping 03
Comment 27 DaggyStyle 2009-01-14 12:29:50 UTC
we need more users to try it...
Comment 28 herka 2009-01-15 16:49:54 UTC
here is some feedback
I my humble opinion this ebuild install 2 useless files: 
   /etc/default/boinc-client and /etc/init.d/boinc-client
boinc-6.2*.ebuild in the official tree can be of some help.

That's all for today.
herka
Comment 29 herka 2009-01-15 17:04:01 UTC
cuda, i have located /usr/lib/libcuda.so coming from package nvidia-drivers but I can not find libcudart requested by boinc. 
What package provide it?
herka

Comment 30 Pierrot Rey 2009-01-16 08:10:36 UTC
	
I do not know if the language for programming Cuda Nvidia GPUs is implemented under linux.
Comment 31 DaggyStyle 2009-01-16 15:17:24 UTC
(In reply to comment #28)
> here is some feedback
> I my humble opinion this ebuild install 2 useless files: 
>    /etc/default/boinc-client and /etc/init.d/boinc-client
> boinc-6.2*.ebuild in the official tree can be of some help.
> 
> That's all for today.
> herka
>
the ebuild was modified from the one in the tree, these files are coming from the ebuild in the tree



Comment 32 DaggyStyle 2009-01-16 15:17:54 UTC
(In reply to comment #30)
> I do not know if the language for programming Cuda Nvidia GPUs is implemented
> under linux.
> 

according to boinc site it is implemented in the client
Comment 33 herka 2009-01-17 13:28:37 UTC
(In reply to comment #31)
> (In reply to comment #28)
> > here is some feedback
> > I my humble opinion this ebuild install 2 useless files: 
> >    /etc/default/boinc-client and /etc/init.d/boinc-client
> > boinc-6.2*.ebuild in the official tree can be of some help.
> > 
> > That's all for today.
> > herka
> >
> the ebuild was modified from the one in the tree, these files are coming from
> the ebuild in the tree
> 
not sure about your hyporthesis and if I may, /etc/init.d/boinc-client is not a gentoo init script and is unable to start the client correctly any way (error "/etc/init.d/boinc-client"), while /etc/init.d/boinc is a good one running perfectly (look at the first line #!/sbin/runscript)
herka
Comment 34 herka 2009-01-17 13:38:16 UTC
(In reply to comment #32)
> (In reply to comment #30)
> > I do not know if the language for programming Cuda Nvidia GPUs is implemented
> > under linux.
> > 
> 
> according to boinc site it is implemented in the client
> 

Any way, the boinc package do not emerge libcudart library that the boinc client miss, neither do dev-util/nvidia-cuda-profiler, dev-util/nvidia-cuda-sdk, dev-util/nvidia-cuda-toolkit or media-gfx/nvidia-cg-toolkit.
On the other hand, libcuda is provided by x11-drivers/nvidia-drivers-177.82 (at least)
Is there anyone not having the message "Can't load library libcudart" given by the boinc client ?
herka
Comment 35 DaggyStyle 2009-01-17 21:39:21 UTC
http://isaac.ssl.berkeley.edu/dev/forum_thread.php?id=3431

the support is in, one needs to have the nvidia-drivers installed.

again, all I did was to download the source, repack the right files and modify the original files abit. thats it. boinc-client came with the sources, you can find it in the subfolder scripts, I stand corrected, it did not came from gentoo devs.

ok, the question is what flags should I add? VIDEO_CARDS_NVIDIA and cuda?
Comment 36 herka 2009-01-18 18:03:28 UTC
Created attachment 178900 [details]
boinc 6.4.5 ebuild managing cudart libraries

IMHO some stuff are still to be done, like gui_rpc_auth.cfg proper managment, boinc-client init script and associated files...
Comment 37 DaggyStyle 2009-01-18 20:52:54 UTC
have you tried it with my source tarball?
Comment 38 herka 2009-01-18 22:59:51 UTC
(In reply to comment #37)
> have you tried it with my source tarball?
> 

I used yours.
Comment 39 DaggyStyle 2009-01-19 06:41:36 UTC
(In reply to comment #38)
> (In reply to comment #37)
> > have you tried it with my source tarball?
> > 
> 
> I used yours.
> 

strange, I noticed that it was based on the 6.2.15 in the tree, when I tried to convert it, it failed.... will try again.
Comment 40 Lasse Toimela 2009-01-21 00:16:50 UTC
I just got CUDA to work or atleast Boinc tells me that "CUDA devices found".

Here's what I did:
1. emerged using boinc-6.4.5.ebuild
2. extracted that tarball manually and copied from sourcedir/coprocs/CUDA/posix/x86_64-oc-linux-gnu/libcudart.so to /var/lib/boinc/ (there's gotta be better solution right?)
3. added boinc user to video group (this makes sure boinc user has access to /dev/nvidiaX devices)

I hope this helps someone.
Comment 41 DaggyStyle 2009-01-21 06:27:15 UTC
(In reply to comment #40)
> I just got CUDA to work or atleast Boinc tells me that "CUDA devices found".
> 
> Here's what I did:
> 1. emerged using boinc-6.4.5.ebuild
> 2. extracted that tarball manually and copied from
> sourcedir/coprocs/CUDA/posix/x86_64-oc-linux-gnu/libcudart.so to
> /var/lib/boinc/ (there's gotta be better solution right?)
> 3. added boinc user to video group (this makes sure boinc user has access to
> /dev/nvidiaX devices)
> 
> I hope this helps someone.
> 

actually, I can work with that, question is, does there another package that is in portage and has this file, can you check if nvidia-drivers has this file?
Comment 42 Lasse Toimela 2009-01-21 10:24:27 UTC
(In reply to comment #41)
> (In reply to comment #40)
> > I just got CUDA to work or atleast Boinc tells me that "CUDA devices found".
> > 
> > Here's what I did:
> > 1. emerged using boinc-6.4.5.ebuild
> > 2. extracted that tarball manually and copied from
> > sourcedir/coprocs/CUDA/posix/x86_64-oc-linux-gnu/libcudart.so to
> > /var/lib/boinc/ (there's gotta be better solution right?)
> > 3. added boinc user to video group (this makes sure boinc user has access to
> > /dev/nvidiaX devices)
> > 
> > I hope this helps someone.
> > 
> 
> actually, I can work with that, question is, does there another package that is
> in portage and has this file, can you check if nvidia-drivers has this file?
> 

I already checked nvidia-drivers (180.22) and there isn't that file. Not sure actually what library it is. I mean is it even supposed to come with nvidia-drivers or is it just Boinc's own CUDA related library (which for somereason doesn't get installed)?
Comment 43 DaggyStyle 2009-01-21 20:42:57 UTC
(In reply to comment #42)
> (In reply to comment #41)
> > (In reply to comment #40)
> > > I just got CUDA to work or atleast Boinc tells me that "CUDA devices found".
> > > 
> > > Here's what I did:
> > > 1. emerged using boinc-6.4.5.ebuild
> > > 2. extracted that tarball manually and copied from
> > > sourcedir/coprocs/CUDA/posix/x86_64-oc-linux-gnu/libcudart.so to
> > > /var/lib/boinc/ (there's gotta be better solution right?)
> > > 3. added boinc user to video group (this makes sure boinc user has access to
> > > /dev/nvidiaX devices)
> > > 
> > > I hope this helps someone.
> > > 
> > 
> > actually, I can work with that, question is, does there another package that is
> > in portage and has this file, can you check if nvidia-drivers has this file?
> > 
> 
> I already checked nvidia-drivers (180.22) and there isn't that file. Not sure
> actually what library it is. I mean is it even supposed to come with
> nvidia-drivers or is it just Boinc's own CUDA related library (which for
> somereason doesn't get installed)?
> 

what about these packages? * dev-util/nvidia-cuda-profiler
     Available versions:  ~1.0
     Homepage:            http://developer.nvidia.com/cuda
     Description:         NVIDIA CUDA Visual Profiler

* dev-util/nvidia-cuda-sdk
     Available versions:  ~2.02.0807.1535 {debug emulation}
     Homepage:            http://developer.nvidia.com/cuda
     Description:         NVIDIA CUDA Software Development Kit

* dev-util/nvidia-cuda-toolkit
     Available versions:  ~2.0!s {doc}
     Homepage:            http://developer.nvidia.com/cuda
     Description:         NVIDIA CUDA Toolkit

does anyone of them has the same file?
Comment 44 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-21 21:17:08 UTC
This is pointless wasting of resources:
first reduce the tarball as much as possible and patch it directly so the ebuild can stay clean.
for starters:
http://marenka.sh.cvut.cz/~scarab/generate_tarball.sh
Comment 45 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-21 21:17:35 UTC
And btw in sci overlay i have prepared boinc-bin which is already in 6.4.5 and 6.5.0 versions.
Comment 46 DaggyStyle 2009-01-22 07:49:12 UTC
(In reply to comment #45)
> And btw in sci overlay i have prepared boinc-bin which is already in 6.4.5 and
> 6.5.0 versions.
> 

did you took a look on my tarball? where will you cut more?
the purpose of gentoo is compiling and compiling boinc won't take too much that it needs an bin package...
Comment 47 herka 2009-01-22 11:29:04 UTC
(In reply to comment #44)
<cut>
> http://marenka.sh.cvut.cz/~scarab/generate_tarball.sh

some comment about your script 
line13: basename is your friend
line60: Due to the fact that you distribute your init scripts and conf files you should also rm client/scripts dir (do not forget to sed the main Makefile)

Regarding you ebuilds, a bindist use flag should be great if the ebuild can also manage a "compilable" version. AFAIK, some languages included in boinc are missing.

herka

Comment 48 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-22 15:54:46 UTC
(In reply to comment #46)
> (In reply to comment #45)
> > And btw in sci overlay i have prepared boinc-bin which is already in 6.4.5 and
> > 6.5.0 versions.
> > 
> 
> did you took a look on my tarball? where will you cut more?
> the purpose of gentoo is compiling and compiling boinc won't take too much that
> it needs an bin package...
> 

Not yet, I am in progress of making source package.
Binary is almost ready,
so test and help with that. When i have nice and cleaned up initscript. I will throw myself to creating the source one, it is just matter of the time.
I am new to boinc and i have to get custom with it. (be happy it has maintainer :D)
Comment 49 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-22 15:57:25 UTC
(In reply to comment #47)
> (In reply to comment #44)
> <cut>
> > http://marenka.sh.cvut.cz/~scarab/generate_tarball.sh
> 
> some comment about your script 
> line13: basename is your friend
> line60: Due to the fact that you distribute your init scripts and conf files
> you should also rm client/scripts dir (do not forget to sed the main Makefile)
> 
> Regarding you ebuilds, a bindist use flag should be great if the ebuild can
> also manage a "compilable" version. AFAIK, some languages included in boinc are
> missing.
> 
> herka
> 

I know that script is missing ton of things, it is work in progress (this one is basicly first one which made it somehow working). So i accept any enhancement and features. :]
I will add it to Documentation/ folder in sci overlay so anybody can post me patches to that. (which would be highly anticipated if you want source client for boinc asap)

NOTE:
Don't worry my plans are not to rite source version, binary was just easier and i wanted to show you that i care and i am working at least a bit :]
Comment 50 DaggyStyle 2009-01-22 16:07:54 UTC
(In reply to comment #48)
> (In reply to comment #46)
> > (In reply to comment #45)
> > > And btw in sci overlay i have prepared boinc-bin which is already in 6.4.5 and
> > > 6.5.0 versions.
> > > 
> > 
> > did you took a look on my tarball? where will you cut more?
> > the purpose of gentoo is compiling and compiling boinc won't take too much that
> > it needs an bin package...
> > 
> 
> Not yet, I am in progress of making source package.
> Binary is almost ready,
> so test and help with that. When i have nice and cleaned up initscript. I will
> throw myself to creating the source one, it is just matter of the time.
> I am new to boinc and i have to get custom with it. (be happy it has maintainer
> :D)
> 

no disrespect but I don't see anything wrong with original boinc binaries, on
the contrary, I trust them more because most distros are using them, moreover,
I think that it is the best generic binary that can be found.

the source that I made is no to different than the one in the tree, I had to
add some directories that was needed in the compilation process.

the ebuild is ok, I think that the guy in charge of the boinc ebuild knows more
on boinc and on programming than me, I tent to trust his ebuild if they are
relevant, moreover, you may want to give and init scripts that you like but
that is not the case for everyone, for example, a while back I've suggested to
remove the net dependency from the init script, dev refused claiming that net
is needed when it comes to users that don't mess with boinc, on my init I have
removed this dependency but I won't distribute it due to that same reason. I
would recommend you won't too.
Comment 51 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-22 16:15:10 UTC
> no disrespect but I don't see anything wrong with original boinc binaries, on
> the contrary, I trust them more because most distros are using them, moreover,
> I think that it is the best generic binary that can be found.
That is the reason why i am creating boinc-bin ebuild.
> 
> the source that I made is no to different than the one in the tree, I had to
> add some directories that was needed in the compilation process.
Yes yes that is why i need to work on it more ;P
> 
> the ebuild is ok, I think that the guy in charge of the boinc ebuild knows more
> on boinc and on programming than me, I tent to trust his ebuild if they are
> relevant, moreover, you may want to give and init scripts that you like but
> that is not the case for everyone, for example, a while back I've suggested to
> remove the net dependency from the init script, dev refused claiming that net
> is needed when it comes to users that don't mess with boinc, on my init I have
> removed this dependency but I won't distribute it due to that same reason. I
> would recommend you won't too.
> 
Thanks kind words for me :] finaly somebody appreciate my work :D (althrought mostly messy).
NOTE: I am the maintainer of boinc :D so when i say i need update init script, i will have to update init script :D
Comment 52 DaggyStyle 2009-01-22 18:22:33 UTC
if you are the driver, then it's your call.
Comment 53 Lasse Toimela 2009-01-23 07:47:33 UTC
(In reply to comment #43)
> (In reply to comment #42)
> > (In reply to comment #41)
> > > (In reply to comment #40)
> > > > I just got CUDA to work or atleast Boinc tells me that "CUDA devices found".
> > > > 
> > > > Here's what I did:
> > > > 1. emerged using boinc-6.4.5.ebuild
> > > > 2. extracted that tarball manually and copied from
> > > > sourcedir/coprocs/CUDA/posix/x86_64-oc-linux-gnu/libcudart.so to
> > > > /var/lib/boinc/ (there's gotta be better solution right?)
> > > > 3. added boinc user to video group (this makes sure boinc user has access to
> > > > /dev/nvidiaX devices)
> > > > 
> > > > I hope this helps someone.
> > > > 
> > > 
> > > actually, I can work with that, question is, does there another package that is
> > > in portage and has this file, can you check if nvidia-drivers has this file?
> > > 
> > 
> > I already checked nvidia-drivers (180.22) and there isn't that file. Not sure
> > actually what library it is. I mean is it even supposed to come with
> > nvidia-drivers or is it just Boinc's own CUDA related library (which for
> > somereason doesn't get installed)?
> > 
> 
> what about these packages? * dev-util/nvidia-cuda-profiler
>      Available versions:  ~1.0
>      Homepage:            http://developer.nvidia.com/cuda
>      Description:         NVIDIA CUDA Visual Profiler
> 
> * dev-util/nvidia-cuda-sdk
>      Available versions:  ~2.02.0807.1535 {debug emulation}
>      Homepage:            http://developer.nvidia.com/cuda
>      Description:         NVIDIA CUDA Software Development Kit
> 
> * dev-util/nvidia-cuda-toolkit
>      Available versions:  ~2.0!s {doc}
>      Homepage:            http://developer.nvidia.com/cuda
>      Description:         NVIDIA CUDA Toolkit
>
> does anyone of them has the same file?
> 

Hey, I found that file in dev-util/nvidia-cuda-toolkit-2.1. It installs that file in /opt/cuda/lib/ and Boinc doesn't find it. Then I just made symlink "ln -s /opt/cuda/lib/libcudart.so /var/lib/boinc/libcudart.so" and now it's working again.
Comment 54 DaggyStyle 2009-01-23 09:33:48 UTC
(In reply to comment #53)
> (In reply to comment #43)
> > (In reply to comment #42)
> > > (In reply to comment #41)
> > > > (In reply to comment #40)
> > > > > I just got CUDA to work or atleast Boinc tells me that "CUDA devices found".
> > > > > 
> > > > > Here's what I did:
> > > > > 1. emerged using boinc-6.4.5.ebuild
> > > > > 2. extracted that tarball manually and copied from
> > > > > sourcedir/coprocs/CUDA/posix/x86_64-oc-linux-gnu/libcudart.so to
> > > > > /var/lib/boinc/ (there's gotta be better solution right?)
> > > > > 3. added boinc user to video group (this makes sure boinc user has access to
> > > > > /dev/nvidiaX devices)
> > > > > 
> > > > > I hope this helps someone.
> > > > > 
> > > > 
> > > > actually, I can work with that, question is, does there another package that is
> > > > in portage and has this file, can you check if nvidia-drivers has this file?
> > > > 
> > > 
> > > I already checked nvidia-drivers (180.22) and there isn't that file. Not sure
> > > actually what library it is. I mean is it even supposed to come with
> > > nvidia-drivers or is it just Boinc's own CUDA related library (which for
> > > somereason doesn't get installed)?
> > > 
> > 
> > what about these packages? * dev-util/nvidia-cuda-profiler
> >      Available versions:  ~1.0
> >      Homepage:            http://developer.nvidia.com/cuda
> >      Description:         NVIDIA CUDA Visual Profiler
> > 
> > * dev-util/nvidia-cuda-sdk
> >      Available versions:  ~2.02.0807.1535 {debug emulation}
> >      Homepage:            http://developer.nvidia.com/cuda
> >      Description:         NVIDIA CUDA Software Development Kit
> > 
> > * dev-util/nvidia-cuda-toolkit
> >      Available versions:  ~2.0!s {doc}
> >      Homepage:            http://developer.nvidia.com/cuda
> >      Description:         NVIDIA CUDA Toolkit
> >
> > does anyone of them has the same file?
> > 
> 
> Hey, I found that file in dev-util/nvidia-cuda-toolkit-2.1. It installs that
> file in /opt/cuda/lib/ and Boinc doesn't find it. Then I just made symlink "ln
> -s /opt/cuda/lib/libcudart.so /var/lib/boinc/libcudart.so" and now it's working
> again.
> 

excellent, so it is a good idea to add it, the question is, should I update my ebuild or Tomáš will do it?
Comment 55 DaggyStyle 2009-01-23 09:55:49 UTC
heck, updated the ebuild, I don't have nvidia gpu so I can't test it, you can and post here information, notice that you need to enable the cuda flag.
Comment 56 DaggyStyle 2009-01-23 09:56:39 UTC
Created attachment 179429 [details]
same ebuild with addition of cuda support flag
Comment 57 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-23 11:13:58 UTC
Ok:
1) cuda support added to boinc-bin, really thanks for tracking it down
2) start please testing boinc-bin (cause i have to foolproof the inintscripts)
3) script for generating tarbool is mostly ready, what i need is autotools mage which will autoreconf it (i have never done this by not using autotools eclass so i would screw up): http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=blob;f=Documentation/generate_tarball.sh

Then i will be ready to finalise your favorite source ebuild. :]
Comment 58 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-23 17:58:08 UTC
Ok i have working generator :P
Now i will fix up the ebuild itself :] (probably tomorow)

http://dev.gentooexperimental.org/~scarabeus/boinc-6.4.5.tar.bz2
Comment 59 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-28 23:04:30 UTC
Ok I added source boinc ebuild in sci overlay.
Please test it and report issues.
Comment 60 Pierrot Rey 2009-01-30 05:14:54 UTC
I took the ebuild on science overlay, it works very well, thank you very much
Comment 61 DaggyStyle 2009-01-30 07:11:00 UTC
what is the address of the overlay?
I've checked overlays.gentoo.org/proj/science but it isn't there
Comment 62 Pierrot Rey 2009-01-31 06:48:13 UTC
(In reply to comment #61)
> what is the address of the overlay?
> I've checked overlays.gentoo.org/proj/science but it isn't there
> 

It's the overlay science in layman db.
Comment 63 DaggyStyle 2009-01-31 06:58:08 UTC
if I'm not mistaken is should be the same one (don't use layman, too much of a hassle to setup)
Comment 64 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-31 15:20:45 UTC
6.4.5 is in the portage. enjoy :]
Comment 65 Toralf Förster gentoo-dev 2009-01-31 17:12:11 UTC
(In reply to comment #64)
> 6.4.5 is in the portage. enjoy :]
> 

bug #257113 :-(
Comment 66 Christophe Paccolat 2009-04-20 07:34:58 UTC
Had the same cuda library issue on X86_64 with boinc-6.4.5-r1. I resolved the issue by changing
"ln -s /opt/cuda/lib/libcudart.so /var/lib/boinc/libcudart.so"
to
"ln -s /opt/cuda/lib64/libcudart.so /var/lib/boinc/libcudart.so"
Comment 67 DaggyStyle 2009-04-20 08:28:39 UTC
(In reply to comment #66)
> Had the same cuda library issue on X86_64 with boinc-6.4.5-r1. I resolved the
> issue by changing
> "ln -s /opt/cuda/lib/libcudart.so /var/lib/boinc/libcudart.so"
> to
> "ln -s /opt/cuda/lib64/libcudart.so /var/lib/boinc/libcudart.so"
> 

use the one in portage, not this one. it is obsolete.
Comment 68 Christophe Paccolat 2009-04-20 12:52:40 UTC
Yes the official portage ebuild was exactly the one I was using (double checked)...
Comment 69 DaggyStyle 2009-04-20 17:57:07 UTC
(In reply to comment #68)
> Yes the official portage ebuild was exactly the one I was using (double
> checked)...
> 

so open a different bug because it won't get fixed here...