In followup to my previous post and responding to @Tahvok.
In my first attempts at building 5.4.3.0-1 there appeared to be something wrong on my system as it reported it was trying to build 5.4.2 instead.
I don't know what fixed the problem but I uninstalled gridcoinresearch-qt
and after
a couple of system reboots, re-synchronising the repositories on Manjaro, some package updates and removing orphans I tried a build a couple of days later and it was successful.
Search Criteria
Package Details: gridcoinresearchd 5.4.5.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/gridcoinresearch.git (read-only, click to copy) |
---|---|
Package Base: | gridcoinresearch |
Description: | A cryptocurrency that rewards users for participating on the BOINC network (Daemon/CLI) |
Upstream URL: | https://gridcoin.us |
Licenses: | MIT |
Conflicts: | gridcoinresearch-daemon |
Replaces: | gridcoinresearch-daemon |
Submitter: | Tahvok |
Maintainer: | Tahvok |
Last Packager: | Tahvok |
Votes: | 17 |
Popularity: | 0.32 |
First Submitted: | 2018-05-30 08:58 (UTC) |
Last Updated: | 2023-04-29 23:06 (UTC) |
Dependencies (8)
- boost-libs (boost171, boost-libs-git, boost174-libs, boost-libs_v180)
- libzip (libzip-git)
- miniupnpc (miniupnpc-git)
- boost (boost-git, boost174) (make)
- qrencode (qrencode-git) (make)
- qt5-charts (qt5-charts-ubuntu-ver, qt5-charts-git) (make)
- qt5-tools (qt5-tools-git) (make)
- boinc (boinc-nox) (optional) – to earn Gridcoin rewards by doing computational research
Required by (0)
Sources (1)
kwacorn commented on 2023-04-08 14:46 (UTC)
Tahvok commented on 2023-04-06 16:07 (UTC)
Updated to 5.4.3.0. Also applied the fix by removing the bdb flags. I got it built and it's running fine on my system.
@kwacorn - I'm not sure why your build failed before, can you try the latest PKGBUILD?
kwacorn commented on 2023-04-06 14:05 (UTC)
I am getting the same error as @Exdebianmainuser listed on 2023-04-02 05:04 (BST). I made the changes to PKGBUILD as suggested by @axzxc1236, but still get the same errors.
I see that gridcoinresearch-qt 5.4.3.0-leisure has been released, so I may wait for that to become available via the AUR before I proceed to try the build again.
Exdebianmainuser commented on 2023-04-03 01:26 (UTC)
Yes--That worked for me also. Thanks!
axzxc1236 commented on 2023-04-03 00:03 (UTC) (edited on 2023-04-03 00:06 (UTC) by axzxc1236)
I've encountered the same build problem, I've made tweaks to build() and check() in PKGBUILD so that it builds on my computer.
build() {
cd "$srcdir/$_sourcename"
./autogen.sh
./configure --prefix=/usr --with-gui=qt5
make DESTDIR="$srcdir/$_sourcename" install
}
check() {
cd "$srcdir/$_sourcename"
make check
}
Exdebianmainuser commented on 2023-04-02 22:52 (UTC) (edited on 2023-04-02 22:53 (UTC) by Exdebianmainuser)
I pulled the current build from git & built it without errors. Did not install/run it to verify if it really works. Can verify that it now uses its own internal version of db5.3, so it looks like this will be the source of the package build error.
What else do you need to check my information?
Exdebianmainuser commented on 2023-04-02 04:15 (UTC) (edited on 2023-04-02 22:53 (UTC) by Exdebianmainuser)
I have tracked the change/problem to these:
https://github.com/gridcoin-community/Gridcoin-Research/pull/2620
https://github.com/gridcoin-community/Gridcoin-Research/issues/2629
Exdebianmainuser commented on 2023-04-02 04:04 (UTC) (edited on 2023-04-02 22:57 (UTC) by Exdebianmainuser)
I have the test-suite.log Where/how do you want it sent? I am including the head of the log:
======================================== Gridcoin 5.4.2: src/test-suite.log ========================================
TOTAL: 2
PASS: 1
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
.. contents:: :depth: 2
FAIL: test/test_gridcoin
2023-04-02T03:56:28Z Default data directory /home/dean/.GridcoinResearch
2023-04-02T03:56:28Z Using data directory
2023-04-02T03:56:28Z Gridcoin version v5.4.2.0 (release build)
BDB1565 DB->get: method not permitted before handle's open method
BDB0506 call implies an access method which is inconsistent with previous calls
BDB1565 DB->get: method not permitted before handle's open method
BDB1565 DB->cursor: method not permitted before handle's open method
2023-04-02T03:56:28Z Error getting wallet database cursor
2023-04-02T03:56:28Z ERROR: DeserializeFileDB: Failed to open file banlist.dat
2023-04-02T03:56:28Z Invalid or missing banlist.dat; recreating
BDB0506 call implies an access method which is inconsistent with previous calls
BDB0506 call implies an access method which is inconsistent with previous calls
BDB0506 call implies an access method which is inconsistent with previous calls
BDB0506 call implies an access method which is inconsistent with previous calls
BDB1565 DB->cursor: method not permitted before handle's open method
Exdebianmainuser commented on 2023-04-02 03:40 (UTC) (edited on 2023-04-02 22:56 (UTC) by Exdebianmainuser)
I have a build error with the current version. Removed db4.8, having db5.3 & db installed will cause a check error. Removing db & just having db5.3 installed will throw a db error:
Making install in src
make[1]: Entering directory '/home/dean/.cache/yay/gridcoinresearch/src/Gridcoin-Research-5.4.2.0/build/src'
make[2]: Entering directory '/home/dean/.cache/yay/gridcoinresearch/src/Gridcoin-Research-5.4.2.0/build/src'
CXX gridcoinresearchd-gridcoinresearchd.o
In file included from ../../src/wallet/walletdb.h:9,
from ../../src/gridcoinresearchd.cpp:18:
../../src/wallet/db.h:18:10: fatal error: db_cxx.h: No such file or directory
18 | #include <db_cxx.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:11776: gridcoinresearchd-gridcoinresearchd.o] Error 1
make[2]: Leaving directory '/home/dean/.cache/yay/gridcoinresearch/src/Gridcoin-Research-5.4.2.0/build/src'
make[1]: *** [Makefile:12609: install-recursive] Error 1
make[1]: Leaving directory '/home/dean/.cache/yay/gridcoinresearch/src/Gridcoin-Research-5.4.2.0/build/src'
make: *** [Makefile:788: install-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: gridcoinresearch (gridcoinresearch-qt)
Pinned Comments
Tahvok commented on 2018-05-30 09:00 (UTC)
Take a notice, this is now a split package - meaning it will build both the gui and the daemon - you need to install only one of them (unless you really need both).