Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554176 - REQUEST: Version BUMP for net-p2p/litecoin-qt-0.10.2.2 (conflict with bitcoin-qt)
Summary: REQUEST: Version BUMP for net-p2p/litecoin-qt-0.10.2.2 (conflict with bitcoin...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-07 20:43 UTC by David Luna
Modified: 2016-08-25 16:36 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Luna 2015-07-07 20:43:01 UTC
Opening the program of the current portage version, litecoin-qt.0.8.7.4, appears an image requesting to update to version 0.10.2.2 as a critical update:

https://litecoin.org/upgrade.html

----------------------
July 5th, 2015
A critical software update for Litecoin Core, version 0.10.2.2 has been released: [https://litecointalk.org/index.php?topic=26151.0]

On top of the new features, this update contains very important security fixes and everyone MUST upgrade to this version as soon as possible as details on several vulnerabilities will be made public on July 7th
----------------------

Also, this litecoin-qt version is based on bitcoin-qt, that is already updated to 0.10.2 on portage. This cause a dependence conflict (leveldb-1.15 is required for bitcoin-qt, but litecoin-qt requires leveldb<=0.12).
Comment 1 Matteo Modesti 2015-07-07 23:04:13 UTC
I can confirm this dependency conflict: please update. Thanks!
Comment 2 Pastafarianist 2015-07-09 23:22:44 UTC
My installation suffers from the dependency conflict too.
Comment 3 Anthony Basile gentoo-dev 2015-07-11 15:09:28 UTC
I've bumped net-p2p/litecoind and litecoin-qt.  Please test.  Since I don't use litecoin, so I need feedback.
Comment 4 Tomasz Golinski 2015-07-11 20:08:35 UTC
It requires dev-libs/protobuf. Moreover in my case build fails with (I have dev-libs/leveldb-1.18-r1):

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/config  -I. -I./obj -pthread -I/usr/include    -I./secp256k1/include -I/usr/include/db4.8/  -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -O2 -march=native -pipe  -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -c -o libbitcoin_server_a-leveldbwrapper.o `test -f 'leveldbwrapper.cpp' || echo './'`leveldbwrapper.cpp
leveldbwrapper.cpp:14:20: fatal error: memenv.h: No such file or directory
 #include <memenv.h>
                    ^
compilation terminated.
Makefile:3506: recipe for target 'libbitcoin_server_a-leveldbwrapper.o' failed
Comment 5 Anthony Basile gentoo-dev 2015-07-12 17:20:59 UTC
(In reply to Tomasz Golinski from comment #4)
> It requires dev-libs/protobuf

litecoin-qt does, not litecoind.  this is fixed.

Moreover in my case build fails with (I have
> dev-libs/leveldb-1.18-r1):
> 
> x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/config  -I. -I./obj
> -pthread -I/usr/include    -I./secp256k1/include -I/usr/include/db4.8/ 
> -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS 
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -O2 -march=native -pipe 
> -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -c -o
> libbitcoin_server_a-leveldbwrapper.o `test -f 'leveldbwrapper.cpp' || echo
> './'`leveldbwrapper.cpp
> leveldbwrapper.cpp:14:20: fatal error: memenv.h: No such file or directory
>  #include <memenv.h>
>                     ^
> compilation terminated.
> Makefile:3506: recipe for target 'libbitcoin_server_a-leveldbwrapper.o'
> failed

There are issues with leveldb and memenv.  Its a problem with how we're building it.  Do you want to oepn another bug for the leveldb issue.  Otherwise, I think we're done here.
Comment 6 Pastafarianist 2015-07-13 20:40:56 UTC
Am I doing something wrong?

$ sudo service litecoind start
 * Caching service dependencies ...                                                                                                                                                                                        [ ok ]
 * checkpath: chmod: /var/lib/litecoin/.litecoin/litecoin.conf  is a symbolic link
Comment 7 David Luna 2015-07-14 08:27:41 UTC
For my computer, the compilations works OK with default version of leveldb (1.15) and both bitcoin-qt and litecoin-qt starts OK, so the dependence problem is fixed.

Thanks for the quick response!
Comment 8 Anthony Basile gentoo-dev 2015-07-14 11:55:07 UTC
(In reply to Pastafarianist from comment #6)
> Am I doing something wrong?
> 
> $ sudo service litecoind start
>  * Caching service dependencies ...                                         
> [ ok ]
>  * checkpath: chmod: /var/lib/litecoin/.litecoin/litecoin.conf  is a
> symbolic link

You can copy /etc/litecoin/litecoin.conf to replace the sym link.  This was added to openrc for security.  But there is another problem in that I install the -cli and -tx but not the daemon.  I have to fix that.
Comment 9 Anthony Basile gentoo-dev 2015-07-14 13:02:20 UTC
(In reply to Anthony Basile from comment #8)
> (In reply to Pastafarianist from comment #6)
> > Am I doing something wrong?
> > 
> > $ sudo service litecoind start
> >  * Caching service dependencies ...                                         
> > [ ok ]
> >  * checkpath: chmod: /var/lib/litecoin/.litecoin/litecoin.conf  is a
> > symbolic link
> 
> You can copy /etc/litecoin/litecoin.conf to replace the sym link.  This was
> added to openrc for security.  But there is another problem in that I
> install the -cli and -tx but not the daemon.  I have to fix that.

please test litecoind-0.10.2.2-r1 which now included litecoind.
Comment 10 Tomasz Golinski 2015-07-15 17:01:20 UTC
(In reply to Anthony Basile from comment #5)
> There are issues with leveldb and memenv.  Its a problem with how we're
> building it.  Do you want to oepn another bug for the leveldb issue. 
> Otherwise, I think we're done here.

It was easy to fix. I just editted leveldbwrapper.cpp changing include memenv.h to point to leveldb/helpers/memenv.h. If you think I should open a separate bug, I'll do so.
Comment 11 Marc Popp 2016-08-25 16:13:48 UTC
Version Bump is outdated. Current Version is 0.10.4.0: Bug #592112
Comment 12 Marc Popp 2016-08-25 16:15:04 UTC
Ticket can be closed or assigned to me and I'll close it.