You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hm.... I see strange warning while compiling core sometime:
In file included from ./crypto/common.h:9,
from ./script/script.h:9,
from ./primitives/transaction.h:10,
from ./compressor.h:10,
from ./coins.h:9,
from ./evo/creditpool.h:8:
./config/bitcoin-config.h:381: note: this is the location of the previous definition
381 | #define PACKAGE_BUGREPORT "https://github.com/dashpay/dash/issues"
|
./dashbls/depends/relic/include/relic_conf.h:497: warning: "PACKAGE_NAME" redefined
497 | #define PACKAGE_NAME "libdashbls"
|
./config/bitcoin-config.h:384: note: this is the location of the previous definition
384 | #define PACKAGE_NAME "Dash Core"
|
./dashbls/depends/relic/include/relic_conf.h:500: warning: "PACKAGE_STRING" redefined
500 | #define PACKAGE_STRING "libdashbls 1.2.4"
|
./config/bitcoin-config.h:387: note: this is the location of the previous definition
387 | #define PACKAGE_STRING "Dash Core 20.0.0"
|
./dashbls/depends/relic/include/relic_conf.h:503: warning: "PACKAGE_TARNAME" redefined
503 | #define PACKAGE_TARNAME "libdashbls"
|
./config/bitcoin-config.h:390: note: this is the location of the previous definition
390 | #define PACKAGE_TARNAME "dashcore"
|
./dashbls/depends/relic/include/relic_conf.h:506: warning: "PACKAGE_URL" redefined
506 | #define PACKAGE_URL ""
|
./config/bitcoin-config.h:393: note: this is the location of the previous definition
393 | #define PACKAGE_URL "https://dash.org/"
|
./dashbls/depends/relic/include/relic_conf.h:509: warning: "PACKAGE_VERSION" redefined
509 | #define PACKAGE_VERSION "1.2.4"
|
./config/bitcoin-config.h:396: note: this is the location of the previous definition
396 | #define PACKAGE_VERSION "20.0.0"
|
I may assume that issue is reproduced for me.
The last line of src/dashbls/configure.ac is:
sed -i.old 's/PACKAGE/DASHBLS/g' depends/relic/include/relic_conf.h
and it seems that sometimes it doesn't run or fails somehow.
Not sure about steps to reproduce it though.
Finally, we come to the AC_OUTPUT macro, which expands, within configure, into shell code that generates the config.status script based on the data specified in the previous macro expansions. All other macros must be used before AC_OUTPUT is expanded, or they will be of little value to your generated configure script. (Additional shell script may be placed in configure.ac after AC_OUTPUT, but it will not affect the configuration or file generation performed by config.status.)
Consider adding shell echo or print statements after AC_OUTPUT to tell the user how the build system is configured based on the specified command-line options. You can also use these statements to tell the user about additional useful targets for make
It means that sed that is doing substitution for relic_conf.h is run only once but afterwards is used cached script from config.status and sed is not called again.
Activity
kwvg commentedon Mar 31, 2023
Not reproducible on Ubuntu 20.04.5 LTS, built on 6e00fd0, after running
git clean -dfxusing--disable-ccachePastaPastaPasta commentedon Apr 3, 2023
Disabling ccache did resolve the issue.. I may clear my ccache and see what happens in the future
PastaPastaPasta commentedon Apr 7, 2023
Closing now as I can't reproduce locally
knst commentedon Apr 18, 2023
hm.... I see strange warning while compiling core sometime:
I may assume that issue is reproduced for me.
The last line of
src/dashbls/configure.acis:and it seems that sometimes it doesn't run or fails somehow.
Not sure about steps to reproduce it though.
kwvg commentedon Apr 18, 2023
Could you paste your build flags if possible?
knst commentedon Apr 18, 2023
nothing special atm, but may be it was something specific in the past such as sanitizer, it's an old copy of repo.
knst commentedon May 10, 2023
https://www.oreilly.com/library/view/autotools/9781593272067/ch04s08.html
It means that
sedthat is doing substitution forrelic_conf.his run only once but afterwards is used cached script fromconfig.statusandsedis not called again.fix: dash is no more pretending being a 'libdashbls'
fix: dash is no more pretending being a 'libdashbls'
fix: dash is no more pretending being a 'libdashbls' (#76)
Merge #7682: build: finish relic_conf.h regeneration before compiling…
Merge #7682: build: finish relic_conf.h regeneration before compiling…