Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442254 - net-misc/cgminer-2.9.1 version bump
Summary: net-misc/cgminer-2.9.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 21:44 UTC by Benj FitzPatrick
Modified: 2013-07-03 23:52 UTC (History)
5 users (show)

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


Attachments
cgminer-2.10.2.ebuild (file_442254.txt,2.98 KB, text/plain)
2012-12-20 16:37 UTC, Toei Rei
Details
Based on ebuild from bitcoin overlay with some cleanup. (cgminer-2.10.4.ebuild,2.50 KB, text/plain)
2013-02-28 11:29 UTC, Regna
Details
cgminer-2.10.4.ebuild (cgminer-2.10.4.ebuild,2.50 KB, text/plain)
2013-02-28 11:33 UTC, Regna
Details
cgminer-3.0.0.ebuild (cgminer-3.0.0.ebuild,1.97 KB, text/plain)
2013-04-24 20:39 UTC, Regna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benj FitzPatrick 2012-11-07 21:44:35 UTC
Stratum support is becoming more prevalent and is only supported by the newer versions of cgminer.

Reproducible: Always
Comment 1 Benj FitzPatrick 2012-11-07 22:09:12 UTC
The 2.8.x versions also have stratum, so a version of the latest stable, 2.8.7, is also a possible option.
Comment 2 Luke-Jr 2012-11-07 22:10:28 UTC
If you just want stratum support, net-misc/bfgminer-2.9.0 also supports it.
Comment 3 Benj FitzPatrick 2012-11-07 22:25:06 UTC
I will try bfgminer-2.9.0, but I had problems with 2.9.1 not working, and was told that the maintainer of bfgminer does not care for stratum and its support might be marginal.
Comment 4 Luke-Jr 2012-11-07 22:29:52 UTC
It is true that stratum is harmful to Bitcoin, but it should work fine in BFGMiner ;)
Comment 5 Patrick McMunn 2012-11-30 04:57:02 UTC
I tested cgminer-2.9.5, and it looks like simply renaming the ebuild is sufficient for a version bump.
Comment 6 Anthony Basile gentoo-dev 2012-12-13 16:13:42 UTC
Ping @luke-jr.  We're falling behind on cgminer.  Is this okay?
Comment 7 Toei Rei 2012-12-20 16:36:01 UTC
2.10.2 is out.
Comment 8 Toei Rei 2012-12-20 16:37:50 UTC
Created attachment 332800 [details]
cgminer-2.10.2.ebuild
Comment 9 Regna 2013-02-28 11:29:02 UTC
Created attachment 340470 [details]
Based on ebuild from bitcoin overlay with some cleanup.
Comment 10 Regna 2013-02-28 11:33:03 UTC
Created attachment 340472 [details]
cgminer-2.10.4.ebuild

Based on ebuild from bitcoin overlay with some cleanup.
Comment 11 Michael Crawford (ali3nx) 2013-04-02 06:56:51 UTC
cgminer-2.11.2 is current as of 17th March 2013

currently available ~arch version in portage does not work with stratum bitcoin pools which also counts towards around 50% of the bitcon mining pools currently in operation such as BTC Guild which recommends using stratum bitcoin protocol to communicate with the servers.

Yes the current version of BFGminer in portage works with stratum protocol however each software is better suited to certain types of mining hardware. With the coming appearance of ASIC mining hardware choice would be preferred for gentoo users. 

ASIC support and bugfixes have likely been introduced since the 2.7.x versions gentoo currently has available which are now obsolete

Please bump cgminer to current

https://bitcointalk.org/index.php?topic=28402.0
Comment 12 Michael Crawford (ali3nx) 2013-04-02 07:09:28 UTC
More relevant info on why stratum osinfo(In reply to comment #4)
> It is true that stratum is harmful to Bitcoin, but it should work fine in
> BFGMiner ;)

Quote from the cgminer readme about stratum protocol. 

Q: What is stratum and how do I use it?
A: Stratum is a protocol designed for pooled mining in such a way as to
minimise the amount of network communications, yet scale to hardware of any
speed. With versions of cgminer 2.8.0+, if a pool has stratum support, cgminer
will automatically detect it and switch to the support as advertised if it can.
Stratum uses direct TCP connections to the pool and thus it will NOT currently
work through a http proxy but will work via a socks proxy if you need to use
one. If you input the stratum port directly into your configuration, or use the
special prefix "stratum+tcp://" instead of "http://", cgminer will ONLY try to
use stratum protocol mining. The advantages of stratum to the miner are no
delays in getting more work for the miner, less rejects across block changes,
and far less network communications for the same amount of mining hashrate. If
you do NOT wish cgminer to automatically switch to stratum protocol even if it
is detected, add the --fix-protocol option.

Stratum reduces the amount of failed attempts to get work resulting in more reliable work yields from mining hardware functioning in public mining pools.

This is neither harmful to bitcoin or network reliability in general.
Comment 13 Luke-Jr 2013-04-02 15:04:39 UTC
If there is any hardware cgminer 2.7.5 works better on than BFGMiner, you can be sure the same performance hit also affects newer cgminer versions.

cgminer only has FPGA support because it was merged in from an older BFGMiner, and does not have any ASIC support (though BFGMiner does in git). For the most part, cgminer has become just a "not invented here" fork of BFGMiner since the GPU mining it was oriented toward is now mostly obsolete.

Stratum does not reduce "the amount of failed attempts to get work" or anything of that sort; while miners *don't* attempt to get work at all, a failure can actually occur easier with stratum than the standard GBT protocol since it requires a more reliable network to work. It is harmful to Bitcoin because it leaves miners in the dark as to what exactly they're doing (although BFGMiner implements a secured version that asks the pool to disclose this).

I do not intend to continue maintaining the cgminer ebuilds at this point. The current plan is to mask them with a recommendation of upgrading to BFGMiner. If you still wish to have cgminer ebuilds for some reason, please take over maintenance by submitting merge requests for it on the Bitcoin overlay: http://gitorious.org/bitcoin/gentoo
Comment 14 Anthony Basile gentoo-dev 2013-04-03 00:31:10 UTC
(In reply to comment #13)

> I do not intend to continue maintaining the cgminer ebuilds at this point.
> The current plan is to mask them with a recommendation of upgrading to
> BFGMiner. If you still wish to have cgminer ebuilds for some reason, please
> take over maintenance by submitting merge requests for it on the Bitcoin
> overlay: http://gitorious.org/bitcoin/gentoo

If there are users that want it independantly from bfgminer, then I can maintain it.

Let's let this discussion go a bit longer to air out all the viewpoints and then we can decide.
Comment 15 Alexey Shvetsov archtester gentoo-dev 2013-04-08 13:51:34 UTC
@Luke-Jr

did you tryed to play with bfgminer with mesa opencl on radeon?
Comment 16 Regna 2013-04-24 20:39:28 UTC
Created attachment 346524 [details]
cgminer-3.0.0.ebuild

cpumining support removed.
Comment 17 ta2002 2013-06-15 07:07:32 UTC
Some quick points:

1. There is a bit of a war going on between Luke and the developers of cgminer (I am not taking any position on that, but it is obviously not surprising that Luke no longer wishes to maintain cgminer ebuilds):

https://bitcointalk.org/index.php?topic=140237.0;all

2. Whatever its advantages and disadvantages, stratum has become so prevalent that the old cgminer ebuilds have little value.

3. While I use bfgminer, I believe that builds of current cgminer releases should be maintained simply so users have a choice.
Comment 18 Anthony Basile gentoo-dev 2013-06-15 11:29:39 UTC
(In reply to throw_away_2002 from comment #17)
> Some quick points:
> 
> 1. There is a bit of a war going on between Luke and the developers of
> cgminer (I am not taking any position on that, but it is obviously not
> surprising that Luke no longer wishes to maintain cgminer ebuilds):
> 
> https://bitcointalk.org/index.php?topic=140237.0;all
> 
> 2. Whatever its advantages and disadvantages, stratum has become so
> prevalent that the old cgminer ebuilds have little value.
> 
> 3. While I use bfgminer, I believe that builds of current cgminer releases
> should be maintained simply so users have a choice.

Since I proxy, and if Luke doesn't get too upset over this, I can switch my proxying to whoever else wants to maintian cgminer.  I have lots of other packages to give love to and cannot fully adopt this.

As for the contraversy, I am familiar, but not terribly interested.  If users what to choose cgminer of bfgminer, so be it.
Comment 19 Luke-Jr 2013-06-15 18:35:53 UTC
I'm certainly not going to try to stop anyone, but I don't really see a point to it...
Comment 20 Anthony Basile gentoo-dev 2013-06-17 11:55:53 UTC
(In reply to Regna from comment #16)
> Created attachment 346524 [details]
> cgminer-3.0.0.ebuild
> 
> cpumining support removed.

Hi Regna, are you interested in maintaining this ebuild?  If so please bump to the latest and I'll add it to the tree, or is it okay to add the ebuild from April 24?
Comment 21 Anthony Basile gentoo-dev 2013-06-24 12:09:41 UTC
Last ping.  If there is no interest here, I will be masking for removal in about a week or so.
Comment 22 Anthony Basile gentoo-dev 2013-06-30 23:57:23 UTC
Sorry guys, times up.  I will consider removing the mask within the 30 days if someone is willing to maintain this.  I will proxy.

+  30 Jun 2013; Anthony G. Basile <blueness@gentoo.org> package.mask:
+  Mask net-misc/cgminer for removal, bug #442254
+
Comment 23 Bartosz Krzeszewski 2013-07-01 01:40:54 UTC
(In reply to Anthony Basile from comment #22)
> Sorry guys, times up.  I will consider removing the mask within the 30 days
> if someone is willing to maintain this.  I will proxy.
> 
> +  30 Jun 2013; Anthony G. Basile <blueness@gentoo.org> package.mask:
> +  Mask net-misc/cgminer for removal, bug #442254
> +

You masked bitcoin repo too:

!!! The following installed packages are masked:
- net-misc/cgminer-2.7.4::bitcoin (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Anthony G. Basile <blueness@gentoo.rog> (30 Jun 2013)
# Masked for removal, bug #442254
Comment 24 Martin Dummer 2013-07-01 09:11:14 UTC
(In reply to Anthony Basile from comment #22)
> Sorry guys, times up.  I will consider removing the mask within the 30 days
> if someone is willing to maintain this.  I will proxy.

Hi, your removal mask notifies me about this bug.... I can continue maintenance of cgminer if desired, but I also emailed Luke (who is one of the bitcoin-overlay maker) and he is willing to add my current cgminer-3.3.1 ebuild, too. So in my opinion  a decision should be made: if cgminer should stay in main tree or maintenance continues in bitcoin overlay. In the latter case I would recommend to add a hint to  the removal mask text - something like "cgminer ebuild has moved to bitcoin overlay" 
Let me know what you think
Comment 25 Regna 2013-07-01 15:28:07 UTC
Sorry for the delay.
I'm maintaining cgminer ebuilds in my overlay, here it is: http://bakka.su/git/baka-bakka/tree/net-misc/cgminer
If someone else want this, I don't mind proxy-maintaining it for the main tree.
And, of course, I don't mind addition of ebuilds that I attach here.
Comment 26 Luke-Jr 2013-07-01 15:37:05 UTC
(In reply to Martin Dummer from comment #24)
> (In reply to Anthony Basile from comment #22)
> > Sorry guys, times up.  I will consider removing the mask within the 30 days
> > if someone is willing to maintain this.  I will proxy.
> 
> Hi, your removal mask notifies me about this bug.... I can continue
> maintenance of cgminer if desired, but I also emailed Luke (who is one of
> the bitcoin-overlay maker) and he is willing to add my current cgminer-3.3.1
> ebuild, too. So in my opinion  a decision should be made: if cgminer should
> stay in main tree or maintenance continues in bitcoin overlay. In the latter
> case I would recommend to add a hint to  the removal mask text - something
> like "cgminer ebuild has moved to bitcoin overlay" 
> Let me know what you think

The process is, ebuilds get updated in the overlay, and then merged to the main tree (which is a branch on the overlay).

(In reply to Regna from comment #25)
> Sorry for the delay.
> I'm maintaining cgminer ebuilds in my overlay, here it is:
> http://bakka.su/git/baka-bakka/tree/net-misc/cgminer
> If someone else want this, I don't mind proxy-maintaining it for the main
> tree.
> And, of course, I don't mind addition of ebuilds that I attach here.

Please submit a merge request for the overlay
Comment 27 Anthony Basile gentoo-dev 2013-07-01 18:33:01 UTC
(In reply to Luke-Jr from comment #26)
> (In reply to Martin Dummer from comment #24)
> > (In reply to Anthony Basile from comment #22)
> > > Sorry guys, times up.  I will consider removing the mask within the 30 days
> > > if someone is willing to maintain this.  I will proxy.
> > 
> > Hi, your removal mask notifies me about this bug.... I can continue
> > maintenance of cgminer if desired, but I also emailed Luke (who is one of
> > the bitcoin-overlay maker) and he is willing to add my current cgminer-3.3.1
> > ebuild, too. So in my opinion  a decision should be made: if cgminer should
> > stay in main tree or maintenance continues in bitcoin overlay. In the latter
> > case I would recommend to add a hint to  the removal mask text - something
> > like "cgminer ebuild has moved to bitcoin overlay" 
> > Let me know what you think
> 
> The process is, ebuilds get updated in the overlay, and then merged to the
> main tree (which is a branch on the overlay).
> 
> (In reply to Regna from comment #25)
> > Sorry for the delay.
> > I'm maintaining cgminer ebuilds in my overlay, here it is:
> > http://bakka.su/git/baka-bakka/tree/net-misc/cgminer
> > If someone else want this, I don't mind proxy-maintaining it for the main
> > tree.
> > And, of course, I don't mind addition of ebuilds that I attach here.
> 
> Please submit a merge request for the overlay


Okay!  I'll remove the mask.  Nothing like waiting til the last minute guys :P

Regna: i like Luke-jr's approach but if you just want to to copy the latest cgminer from your master branch, I can do that.  Let me know and I'll do that and remove the mask as well as the older ebuilds.
Comment 28 Regna 2013-07-01 22:06:07 UTC
> Please submit a merge request for the overlay
Done.
> Regna: i like Luke-jr's approach but if you just want to to copy the latest cgminer from your master branch, I can do that.  Let me know and I'll do that and remove the mask as well as the older ebuilds.
No, merge requests to bitcoin overlay are fine to me.
Comment 29 Anthony Basile gentoo-dev 2013-07-03 23:52:08 UTC
(In reply to Regna from comment #28)
> > Please submit a merge request for the overlay
> Done.
> > Regna: i like Luke-jr's approach but if you just want to to copy the latest cgminer from your master branch, I can do that.  Let me know and I'll do that and remove the mask as well as the older ebuilds.
> No, merge requests to bitcoin overlay are fine to me.

I only added 3.3.0 to the gentoo tree because 3.3.1 is not yet tagged upstream and I'd rather not have an untagged version on the tree.  Is it ready yet?

I removed all older gentoo tree versions.  Ping me or open a bug when there is another merge request to go.