Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Poclbm issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2056

PostPosted: Sat Nov 10, 2012 1:41 pm    Post subject: Poclbm issue Reply with quote

When trying to build poclbm (from either the bitcoin overlay or the sekyfsr overlay), I get the following issue:

Code:
# emerge poclbm -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] net-misc/poclbm-9999::bitcoin  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-misc/poclbm-9999 from bitcoin
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
GIT update -->
   repository:               git://github.com/m0mchil/poclbm.git
   at the commit:            196a46ecb90d5027995ba9b7f233e704e516a07c
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/poclbm.git"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/net-misc/poclbm-9999/work/poclbm-9999'...
done.                                                                                                                                                                                           
Branch branch-master set up to track remote branch master from origin.                                                                                                                         
Switched to a new branch 'branch-master'                                                                                                                                                       
>>> Unpacked to /var/tmp/portage/net-misc/poclbm-9999/work/poclbm-9999                                                                                                                         
>>> Source unpacked in /var/tmp/portage/net-misc/poclbm-9999/work
>>> Preparing source in /var/tmp/portage/net-misc/poclbm-9999/work/poclbm-9999 ...
sed: can't read BitcoinMiner.py: No such file or directory
 * ERROR: net-misc/poclbm-9999 failed (prepare phase):
 *   sed failed
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_prepare
 *   environment, line 3624:  Called die
 * The specific snippet of code:
 *       sed -i "s:phatk.cl:${TARGETDIR}\/phatk.cl:" BitcoinMiner.py || die "sed failed"
 *
 * If you need support, post the output of `emerge --info '=net-misc/poclbm-9999'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/poclbm-9999'`.
 * This ebuild is from an overlay named 'bitcoin': '/var/lib/layman/bitcoin/'
 * The complete build log is located at '/var/tmp/portage/net-misc/poclbm-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/poclbm-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/poclbm-9999/work/poclbm-9999'
 * S: '/var/tmp/portage/net-misc/poclbm-9999/work/poclbm-9999'


In both overlays I guess the crucial line is:
Code:
sed: can't read BitcoinMiner.py: No such file or directory


My guess is that the overlay maintainers or upstream is at fault, but maybe I'm overlooking something here so I thought to open a thread on it anyway.

Is this a known issue?
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 476
Location: Scotland

PostPosted: Wed Nov 28, 2012 4:33 pm    Post subject: Reply with quote

I am also experiencing this, and thought it might have something to do with a missing library.
I have built the bfgminer as it says in it's description about being modular, and thought it might be some sort of python module that is needed by poclbm.
No joy.
Should I post a bug report on this?
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 476
Location: Scotland

PostPosted: Wed Nov 28, 2012 5:29 pm    Post subject: Reply with quote

** UPDATE **
I have e-mailed the bitcoin team at Gitorious with our dilemma.
See if they have any ideas.
:(
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
phryk
n00b
n00b


Joined: 21 May 2012
Posts: 3
Location: Münster, Germany

PostPosted: Fri Nov 30, 2012 5:26 pm    Post subject: Reply with quote

    Go to "/var/lib/layman/bitcoin/net-misc/poclbm" and edit poclbm-9999.ebuild
    Comment out the sed line.
    do `ebuild poclbm-9999.ebuild manifest`
    emerge poclbm


That should work…
If portage starts bitching about serial.tools not being found, install pyserial with pip (at least the current stable 2.5 in portage doesn't have the .tools submodule).

I haven't really tested it since I'm too lazy to configure poclbm right now, but it seems to work fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum