BOINC apps need to be rebuilt against BOINC 7

Bug #941483 reported by Christian Lins
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
boinc-app-milkyway (Ubuntu)
Fix Released
Undecided
Unassigned
boinc-app-seti (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

On Ubuntu 12.04 the boinc-app-seti executables (and boinc-app-milkyway) are not correctly linked or the required library is missing:

# ./setiathome_enhanced
./setiathome_enhanced: error while loading shared libraries: libboinc_api.so.6: cannot open shared object file: No such file or directory

The BOINC client reports calculation errors.
---
ApportVersion: 1.93-0ubuntu2
Architecture: armel
Dependencies:
 adduser 3.113ubuntu2
 boinc-client 7.0.14+dfsg-1
 boinc-dev 7.0.14+dfsg-1
DistroRelease: Ubuntu 12.04
EcryptfsInUse: Yes
Package: boinc-app-seti 5.13+cvs20060510-7ubuntu1
PackageArchitecture: armel
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
Tags: precise
Uname: Linux 3.0.19-1-ac100 armv7l
UpgradeStatus: Upgraded to precise on 2011-10-21 (128 days ago)
UserGroups:

Christian Lins (cli)
tags: added: apport-collected precise
description: updated
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi do you have boinc-dev installed?

could you please try with a never boinc version?

thanks

Changed in boinc-app-seti (Ubuntu):
status: New → Incomplete
Revision history for this message
Christian Lins (cli) wrote :

boinc-dev is installed.

The most recent version of precise/quantal suffers from this issue, at least on ARM.

Changed in boinc-app-seti (Ubuntu):
status: Incomplete → New
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

A new version is going to be released in debian soon (6.12).

In the meanwhile please try:

sudo updatedb
sudo locate libboinc_api.so

I think now we are in the .7 release, so you might just need to update your symlink

Revision history for this message
Steffen Möller (moeller-debian) wrote : Re: [Bug 941483] Re: Missing libraries or wrong linkage

-------- Original-Nachricht --------
> Datum: Mon, 21 May 2012 17:18:56 -0000
> Von: LocutusOfBorg <email address hidden>
> An: <email address hidden>
> Betreff: [Bug 941483] Re: Missing libraries or wrong linkage

> A new version is going to be released in debian soon (6.12).

Please take it directly from http://master.dermacloud.uni-luebeck.de/~moeller/oliver
The nice weather outside I presume to delay the upload a bit.

It should just work fine.

Cheers,

Steffen

Revision history for this message
Steffen Möller (moeller-debian) wrote :

BOINC-app-seti was just uploaded to Debian unstable while I made those weather jokes. Many thanks, Thorsten. Loctus, Daniel, could you address that to find its way to the older Ubuntu releases, please? Now I would need someone to address that for backports.debian.org.

Steffen

-------- Original-Nachricht --------
> Datum: Mon, 21 May 2012 17:36:26 -0000
> Von: "Steffen Möller" <email address hidden>
> An: <email address hidden>
> Betreff: Re: [Bug 941483] Re: Missing libraries or wrong linkage

> -------- Original-Nachricht --------
> > Datum: Mon, 21 May 2012 17:18:56 -0000
> > Von: LocutusOfBorg <email address hidden>
> > An: <email address hidden>
> > Betreff: [Bug 941483] Re: Missing libraries or wrong linkage
>
> > A new version is going to be released in debian soon (6.12).
>
> Please take it directly from
> http://master.dermacloud.uni-luebeck.de/~moeller/oliver
> The nice weather outside I presume to delay the upload a bit.
>
> It should just work fine.
>
> Cheers,
>
> Steffen
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/941483
>
> Title:
> Missing libraries or wrong linkage
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/boinc-app-seti/+bug/941483/+subscriptions

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote : Re: Missing libraries or wrong linkage

I personally think Daniel could add this into his project [1] and after we could branch it and package from his branch
what do you think about Daniel? I really don't want to register another upstream project and I have not enough power to do this on your :)

[1] https://code.launchpad.net/~blueyed/boinc/pkg-boinc/

Revision history for this message
Dave (xclusive585) wrote :

I too am still hanging around to see what happens with the 12.04 repository package...

:-)

Revision history for this message
Daniel Hahler (blueyed) wrote :

I am uploading backports for Precise, Oneiric and Lucid to the testing PPA at https://launchpad.net/~pkg-boinc/+archive/testing .
Once I get positive feedback I might upload/copy it to the normal PPA, too.

About getting it fixed in Ubuntu directly, I think it just needs to be rebuilt / re-uploaded. And from doing so in a Precise pbuilder that seems to be the case.
While at it, it could make sense to go with the latest release (6.12~svn1305-1, instead of 5.13+cvs20060510-7ubuntu1) directly.

The Ubuntu delta is:
boinc-app-seti (5.13+cvs20060510-7ubuntu1) oneiric; urgency=low

  * debian/rules: add include directories to fix FTBFS.
  * Rebuild gets rid of openssl0.9.8 binary dependency.

 -- Ilya Barygin <email address hidden> Thu, 18 Aug 2011 23:15:11 +0400

Trying to build Debian's version in a Precise pbuilder fails, presumely the include directories are missing. I think the Ubuntu patch might be the following:

    CXXFLAGS += -I/usr/include/boinc
    CXXFLAGS += -I/usr/include/boinc/lib

Steffen, why is this not necessary in Debian?

Apart from that I wonder what the meaning of boinc-app-seti is - what is the difference from attaching to the SETI project via BOINC itself?

@LocutusOfBorg: The "project" you are referring to is just a code mirror of the pkg-boinc Git branch from Debian (git://anonscm.debian.org/pkg-boinc/boinc.git).

Changed in boinc-app-seti (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Daniel Hahler (blueyed)
Changed in boinc-app-milkyway (Ubuntu):
status: New → Triaged
summary: - Missing libraries or wrong linkage
+ BOINC apps need to be rebuilt against BOINC 7
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I know Daniel it's only a code mirror, but when I create a recipe based on your branch I don't know how to build the boinc-app-seti :)

Revision history for this message
Daniel Hahler (blueyed) wrote : Re: [Bug 941483] Re: BOINC apps need to be rebuilt against BOINC 7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/27/2012 08:02 PM, LocutusOfBorg wrote:
> I know Daniel it's only a code mirror, but when I create a recipe
> based on your branch I don't know how to build the boinc-app-seti
> :)

boinc-app-seti would need another code repo / mirror.

AFAIK you would have to register an upstream project for
boinc-app-seti (and -milkyway), similar to https://launchpad.net/boinc
and then you can create a code import on e.g.
https://code.launchpad.net/boinc-app-seti.

You might want to start at
https://launchpad.net/ubuntu/+source/boinc-app-seti and "Register the
upstream project" from there.

Please keep any further discussion about this out of this bug report
though. Thanks.

- --
http://daniel.hahler.de/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFPwntffAK/hT/mPgARArbJAJ92XctbZyVkpvzuoOu9SQjvWpHXfgCg5ZZz
yxpDsc/wxxjsX+OJi+oHFGg=
=ph3Y
-----END PGP SIGNATURE-----

Revision history for this message
Steffen Möller (moeller-debian) wrote : Re: [Bug 941483] Re: Missing libraries or wrong linkage

Hi Daniel,

On 05/27/2012 07:08 PM, Daniel Hahler wrote:
> I am uploading backports for Precise, Oneiric and Lucid to the testing PPA at https://launchpad.net/~pkg-boinc/+archive/testing .
> Once I get positive feedback I might upload/copy it to the normal PPA, too.
>
> About getting it fixed in Ubuntu directly, I think it just needs to be rebuilt / re-uploaded. And from doing so in a Precise pbuilder that seems to be the case.
> While at it, it could make sense to go with the latest release (6.12~svn1305-1, instead of 5.13+cvs20060510-7ubuntu1) directly.
>
> The Ubuntu delta is:
> boinc-app-seti (5.13+cvs20060510-7ubuntu1) oneiric; urgency=low
>
> * debian/rules: add include directories to fix FTBFS.
> * Rebuild gets rid of openssl0.9.8 binary dependency.
>
> -- Ilya Barygin <email address hidden> Thu, 18 Aug 2011 23:15:11 +0400

The 6.12 boinc-app-seti package in Debian addressed all that. Just, the version
-1 is not installing itself correctly. Version -2 (in git and on its way to the
Debian archives) has this fixed by Guo Yixuan.

> Trying to build Debian's version in a Precise pbuilder fails, presumely
> the include directories are missing. I think the Ubuntu patch might be
> the following:
>
> CXXFLAGS += -I/usr/include/boinc
> CXXFLAGS += -I/usr/include/boinc/lib
>
> Steffen, why is this not necessary in Debian?

I think that BOINC just at some point changed underneath and the boinc-app-seti
package was just not taken care of. It has now seen its first patches since
somewhen in 2008 or so. It is a pity I was not aware of Ilya and those patches.
Now we need some more such good souls also for the milkyway app.

> Apart from that I wonder what the meaning of boinc-app-seti is - what is
> the difference from attaching to the SETI project via BOINC itself?

I do not know about what compiler etc was used for the official clients.
Having it all local, everyone can optimise for the machine available,
i.e. with compilation flags and even with patches. But more interesting to
me is the support of all the non-standard platforms like ARM that we are
about to see more and more.

It is also a bit of a philosophical question. E.g., I heard voices that
do object running anything they do not know the source available for inspection.
And it is education. And communication, like, whatever uncertain it is for
them to eventually find something, Debian/Ubuntu ease to submit the one or
other patch, and if it is only a typo, to become a part of it.

Cheers,

Steffen

Revision history for this message
Dave (xclusive585) wrote :

Curious to me, I cannot recreate this bug even on a fresh install of 12.04...

Whatever the issue is, it does not happen to everyone.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi everybody, based on Daniel's hint I created a boinc-app-seti project and packaged it in my ppa [1]
This is almost based on boinc-app-seti directly taken from debian's git [2] and boinc taken from debian (just two or three modification to make it build)

I don't know status of boinc-app-seti, it's changing so fast, Steffen is pushing patches almost all the day :)

so could anybody give it a try?

[1] https://code.launchpad.net/~costamagnagianfranco/+archive/boinc

[2] http://anonscm.debian.org/gitweb/?p=pkg-boinc/boinc-app-seti.git

Revision history for this message
Steffen Möller (moeller-debian) wrote : Re: [Bug 941483] Re: BOINC apps need to be rebuilt against BOINC 7

On 05/29/2012 07:00 PM, LocutusOfBorg wrote:
> Hi everybody, based on Daniel's hint I created a boinc-app-seti project and packaged it in my ppa [1]
> This is almost based on boinc-app-seti directly taken from debian's git [2] and boinc taken from debian (just two or three modification to make it build)
>
> I don't know status of boinc-app-seti, it's changing so fast, Steffen is
> pushing patches almost all the day :)
>
> so could anybody give it a try?
>
> [1] https://code.launchpad.net/~costamagnagianfranco/+archive/boinc
>
> [2] http://anonscm.debian.org/gitweb/?p=pkg-boinc/boinc-app-seti.git

I am a bit on a trip these days to have those shared libraries established more.
The motivation is that we have servers here with 24 cores
(12 real ones x 2 for hyperthreading) and I would very much like to see
memory consumption decreased. Also, this would be quite a difference that
our packaging could make this way, I think, especially
for those who keep the app in memory when the computer is used.

It is only the very latest 7.0.28 version of boinc that offers those shared libraries.
But SETI is somehow incompatible with that version of boinc, only working fine with 7.0.27.
So, if you have branched from the -2 version of boinc-app-seti and if using the
7.0.27 boinc client's -dev package, everything should be fine.

Best,

Steffen

Revision history for this message
Dave (xclusive585) wrote :

Thanks for your work Steffen. I hope when everything is figured out they
will make a change to the precise repo package... to at least 7.0.27...
On May 29, 2012 3:25 PM, "Steffen Möller" <email address hidden> wrote:

> On 05/29/2012 07:00 PM, LocutusOfBorg wrote:
> > Hi everybody, based on Daniel's hint I created a boinc-app-seti project
> and packaged it in my ppa [1]
> > This is almost based on boinc-app-seti directly taken from debian's git
> [2] and boinc taken from debian (just two or three modification to make it
> build)
> >
> > I don't know status of boinc-app-seti, it's changing so fast, Steffen is
> > pushing patches almost all the day :)
> >
> > so could anybody give it a try?
> >
> > [1] https://code.launchpad.net/~costamagnagianfranco/+archive/boinc
> >
> > [2] http://anonscm.debian.org/gitweb/?p=pkg-boinc/boinc-app-seti.git
>
> I am a bit on a trip these days to have those shared libraries established
> more.
> The motivation is that we have servers here with 24 cores
> (12 real ones x 2 for hyperthreading) and I would very much like to see
> memory consumption decreased. Also, this would be quite a difference that
> our packaging could make this way, I think, especially
> for those who keep the app in memory when the computer is used.
>
> It is only the very latest 7.0.28 version of boinc that offers those
> shared libraries.
> But SETI is somehow incompatible with that version of boinc, only working
> fine with 7.0.27.
> So, if you have branched from the -2 version of boinc-app-seti and if
> using the
> 7.0.27 boinc client's -dev package, everything should be fine.
>
> Best,
>
> Steffen
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/941483
>
> Title:
> BOINC apps need to be rebuilt against BOINC 7
>
> Status in “boinc-app-milkyway” package in Ubuntu:
> Triaged
> Status in “boinc-app-seti” package in Ubuntu:
> Triaged
>
> Bug description:
> On Ubuntu 12.04 the boinc-app-seti executables (and boinc-app-
> milkyway) are not correctly linked or the required library is missing:
>
> # ./setiathome_enhanced
> ./setiathome_enhanced: error while loading shared libraries:
> libboinc_api.so.6: cannot open shared object file: No such file or directory
>
> The BOINC client reports calculation errors.
> ---
> ApportVersion: 1.93-0ubuntu2
> Architecture: armel
> Dependencies:
> adduser 3.113ubuntu2
> boinc-client 7.0.14+dfsg-1
> boinc-dev 7.0.14+dfsg-1
> DistroRelease: Ubuntu 12.04
> EcryptfsInUse: Yes
> Package: boinc-app-seti 5.13+cvs20060510-7ubuntu1
> PackageArchitecture: armel
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> LANG=de_DE.UTF-8
> SHELL=/bin/bash
> Tags: precise
> Uname: Linux 3.0.19-1-ac100 armv7l
> UpgradeStatus: Upgraded to precise on 2011-10-21 (128 days ago)
> UserGroups:
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/boinc-app-milkyway/+bug/941483/+subscriptions
>

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I'm building right now the new boinc-app-seti rev-123 in my ppa [1]
this release should fix this bug and the computation error bug.

[1] https://code.launchpad.net/~costamagnagianfranco/+archive/boinc

Revision history for this message
Steffen Möller (moeller-debian) wrote :

On 08/14/2012 06:49 PM, LocutusOfBorg wrote:
> I'm building right now the new boinc-app-seti rev-123 in my ppa [1]
> this release should fix this bug and the computation error bug.
>
> [1] https://code.launchpad.net/~costamagnagianfranco/+archive/boinc
>

This version just also made it to Debian unstable. The previously
reported crash we accredit to recent BOINC more than to the SETI
app these days. Please report how it goes.

Steffen

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Fixed in raring.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in boinc-app-seti (Ubuntu):
status: Triaged → Fix Released
Changed in boinc-app-milkyway (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.