Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534204 - namecoin daemon version 0.3.80 - mandatory upgrade for softfork at block 212500
Summary: namecoin daemon version 0.3.80 - mandatory upgrade for softfork at block 212500
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 533352 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-01 13:52 UTC by Ron OHara
Modified: 2015-01-02 19:12 UTC (History)
1 user (show)

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


Attachments
namecoind ebuild (namecoind-0.3.80.ebuild,2.00 KB, text/plain)
2015-01-01 13:56 UTC, Ron OHara
Details
init script for namecoind daemon (namecoin.initd,2.45 KB, text/plain)
2015-01-01 13:57 UTC, Ron OHara
Details
environment variables for namecoind (namecoin.confd,244 bytes, text/plain)
2015-01-01 13:58 UTC, Ron OHara
Details
patch to allow linker to work in a gentoo environment (namecoind-0.3.80-makefile.patch,698 bytes, text/plain)
2015-01-01 13:58 UTC, Ron OHara
Details
sample config file for namecoind daemon (namecoin.conf,80 bytes, text/plain)
2015-01-01 13:59 UTC, Ron OHara
Details
ebuild checksums (Manifest,1.83 KB, text/plain)
2015-01-01 14:00 UTC, Ron OHara
Details
revised ebuild to extract namecoin tag nc0.3.80 which is the release source (namecoind-0.3.80.ebuild,1.98 KB, text/plain)
2015-01-02 10:47 UTC, Ron OHara
Details
Revised checksums (Manifest,1.83 KB, text/plain)
2015-01-02 10:50 UTC, Ron OHara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ron OHara 2015-01-01 13:52:40 UTC
revised ebuild for namecoind 0.3.80 - takes source from github

Mandatory update to deal with softfork at block 212500

Reproducible: Always
Comment 1 Ron OHara 2015-01-01 13:56:01 UTC
Created attachment 392852 [details]
namecoind ebuild

copy to /usr/local/portage/net-dns/namecoind/namecoind-0.3.80.ebuild

Dont forget to get all the other files
Comment 2 Ron OHara 2015-01-01 13:57:28 UTC
Created attachment 392854 [details]
init script for namecoind daemon

place in /usr/local/portage/net-dns/namecoind/files
Comment 3 Ron OHara 2015-01-01 13:58:07 UTC
Created attachment 392856 [details]
environment variables for namecoind

place in /usr/local/portage/net-dns/namecoind/files
Comment 4 Ron OHara 2015-01-01 13:58:53 UTC
Created attachment 392858 [details]
patch to allow linker to work in a gentoo environment

place in /usr/local/portage/net-dns/namecoind/files
Comment 5 Ron OHara 2015-01-01 13:59:30 UTC
Created attachment 392860 [details]
sample config file for namecoind daemon

place in /usr/local/portage/net-dns/namecoind/files
Comment 6 Ron OHara 2015-01-01 14:00:12 UTC
Created attachment 392862 [details]
ebuild checksums

place in /usr/local/portage/net-dns/namecoind/
Comment 7 Ron OHara 2015-01-01 14:11:13 UTC
As always, before upgrading, backup your /var/lib/namecoin directory. (especially the wallet.dat file !!)

I found that I needed to remove the old blockchain and allow 0.3.80 to download it all again.  Some internal consistency errors that had been introduced somewhere in earlier upgrades.
Comment 8 Anthony Basile gentoo-dev 2015-01-01 15:46:06 UTC
*** Bug 533352 has been marked as a duplicate of this bug. ***
Comment 9 Anthony Basile gentoo-dev 2015-01-01 15:57:50 UTC
(In reply to Ron OHara from comment #1)
> Created attachment 392852 [details]
> namecoind ebuild
> 
> copy to /usr/local/portage/net-dns/namecoind/namecoind-0.3.80.ebuild
> 
> Dont forget to get all the other files

SRC_URI=""
EGIT_REPO_URI="https://github.com/namecoin/namecoin.git"
EGIT_BRANCH="namecoinq-release"

This is not a release but HEAD on branch namecoinq-release.  We cannot add a live ebuild as if it were a release because you might get different results on different instances of emerge-ing.

Where do you see release 0.3.80?


(In reply to Ron OHara from comment #2)
> Created attachment 392854 [details]
> init script for namecoind daemon
> 
> place in /usr/local/portage/net-dns/namecoind/files

In the future, please provide patches since its hard to see what, if anything, has changed.
Comment 10 Ron OHara 2015-01-02 05:03:06 UTC
The 'release' is announced in the News section of the front page of http://namecoin.info/

The item says: 2014-12-19 Softfork upcoming with block 212500 (around New Year's Eve). Pool operators and solo miners please update to v0.3.80 asap. Regular users are recommended to update, too. See the Release notes.

I know that this ebuild is really the head of a branch, but the developers do not appear to have provided a source archive anywhere.

I have emailed their google group (which is what they now use as a mailing list) and also asked on their IRC channel for either a source archive, or a specific release tag/branch for 0.3.80 on github (which would probably be better)

Waiting for a response from them
Comment 11 Ron OHara 2015-01-02 05:33:51 UTC
I have had some feedback on IRC ... but not an official response yet.

Apparently there is a git tag of 'nc0.3.80' that I could use to extract the 0.3.80 source... but as yet that is not confirmed as the 'official' tag.

There is some urgency to having this available in a reliable way because as at the time of writing this, the soft fork occurs in 422 blocks - about 42 hours from now.

I deliberately provided all the files of the ebuild, rather than just a patch in this bug report, so that anyone who is in urgent need of a solution, can find an answer in this bug, just install the files as a local ebuild and get on with making their coins safe.

Leaving this bug as 'unconfirmed' sounds appropriate because it does track a branch on github rather than a specific source set. However, just for now it can give people an interim solution.

The longer term fix can evolve as usual.

FYI - for people looking for namecoin-qt 0.3.80 using the same interim approach ... see https://bugs.gentoo.org/show_bug.cgi?id=534210
Comment 12 Ron OHara 2015-01-02 10:47:34 UTC
Created attachment 392942 [details]
revised ebuild to extract namecoin tag nc0.3.80 which is the release source

I have had confirmation from ryan-c (on #namecoin IRC) that the github tag of 'nc0.3.80' is the correct source for the 0.3.80 build.

ebuild revised accordingly ...
Comment 13 Ron OHara 2015-01-02 10:50:35 UTC
Created attachment 392948 [details]
Revised checksums
Comment 14 Anthony Basile gentoo-dev 2015-01-02 14:11:10 UTC
(In reply to Ron OHara from comment #10)
> The 'release' is announced in the News section of the front page of
> http://namecoin.info/
> 
> The item says: 2014-12-19 Softfork upcoming with block 212500 (around New
> Year's Eve). Pool operators and solo miners please update to v0.3.80 asap.
> Regular users are recommended to update, too. See the Release notes.
> 
> I know that this ebuild is really the head of a branch, but the developers
> do not appear to have provided a source archive anywhere.
> 
> I have emailed their google group (which is what they now use as a mailing
> list) and also asked on their IRC channel for either a source archive, or a
> specific release tag/branch for 0.3.80 on github (which would probably be
> better)
> 
> Waiting for a response from them

Okay I'll roll this one manually.  Yuck!
Comment 15 Anthony Basile gentoo-dev 2015-01-02 14:40:00 UTC
(In reply to Anthony Basile from comment #14)
> (In reply to Ron OHara from comment #10)
> > The 'release' is announced in the News section of the front page of
> > http://namecoin.info/
> > 
> > The item says: 2014-12-19 Softfork upcoming with block 212500 (around New
> > Year's Eve). Pool operators and solo miners please update to v0.3.80 asap.
> > Regular users are recommended to update, too. See the Release notes.
> > 
> > I know that this ebuild is really the head of a branch, but the developers
> > do not appear to have provided a source archive anywhere.
> > 
> > I have emailed their google group (which is what they now use as a mailing
> > list) and also asked on their IRC channel for either a source archive, or a
> > specific release tag/branch for 0.3.80 on github (which would probably be
> > better)
> > 
> > Waiting for a response from them
> 
> Okay I'll roll this one manually.  Yuck!

Actually, I'll use your ebuild, but I really don't like it since one can still change tags around. (I guess that's like upstream rerolling a tarball.)  Upstream shouldn't do this.  Thanks for bugging them in irc.

Note, this is also required for net-dns/namecoin-qt.  Can you please test both and reopen this bug if there's more action needed.

Thanks for the help!
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-02 19:12:18 UTC
*** Bug 534210 has been marked as a duplicate of this bug. ***