Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935231 - sci-biology/cmdock-0.2.0 Potentially broken feature is used.
Summary: sci-biology/cmdock-0.2.0 Potentially broken feature is used.
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: GURU project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-06-30 13:45 UTC by frolovkirill7
Modified: 2024-07-14 15:27 UTC (History)
3 users (show)

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


Attachments
I propose this patch to fix this issue. (cmdock-l_job_0.2.0.xml.patch,697 bytes, patch)
2024-07-05 19:07 UTC, frolovkirill7
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description frolovkirill7 2024-06-30 13:45:05 UTC
According to https://gitlab.com/Jukic/cmdock/-/issues/19 there is an error in implementation of cross-platform random number generation (-x).
It makes cmdock executable get stuck in an infinite loop in 1-5% of runs.
I think we shouldn't use this command line flag in cmdock-l_job_0.2.0.xml.
Besides SiDock doesn't use it in default job.xml downloaded from https://www.sidock.si/sidock/download/cmdock-l_job_2.02_x86_64-pc-linux-gnu.xml

Reproducible: Sometimes
Comment 1 frolovkirill7 2024-07-05 19:07:22 UTC
Created attachment 897096 [details, diff]
I propose this patch to fix this issue.
Comment 2 Anna Vyalkova 2024-07-09 15:51:05 UTC
Thanks for reporting, will commit a fix alongside with eclass improvements
Comment 3 Larry the Git Cow gentoo-dev 2024-07-14 15:27:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a76004eaaa74e01bdbe8f2afacac8306fbe6d6f

commit 1a76004eaaa74e01bdbe8f2afacac8306fbe6d6f
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2024-07-09 15:56:46 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2024-07-14 07:27:19 +0000

    sci-biology/cmdock: boinc fixes
    
    * Update cmdline to the upstream current. Particularly, the option that
      causes CmDock to get stuck in an infinite loop in 1-5% of runs is
      removed.
    
    * Sync with boinc-app.eclass updates.
    
    Closes: https://bugs.gentoo.org/935231
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 ...dock-0.2.0-r1.ebuild => cmdock-0.2.0-r2.ebuild} | 25 +++++++++++-----------
 .../{app_info_0.2.0.xml => app_info_0.2.0-r1.xml}  | 14 ++++++------
 ...k-l_job_0.2.0.xml => cmdock-l_job_0.2.0-r1.xml} |  2 +-
 3 files changed, 20 insertions(+), 21 deletions(-)