deprecation messages for auto_unit_test.hpp seen in build logs. #289

Closed
opened 2022-02-23 14:45:39 +00:00 by prandnum · 9 comments
prandnum commented 2022-02-23 14:45:39 +00:00 (Migrated from gitlab.com)

The following deprecated file usage is mentioned in build logs.

[ 86%] Building CXX object tests/CMakeFiles/app_test.dir/app/main.cpp.o
In file included from /usr/include/boost/config/header_deprecated.hpp:18,
                 from /usr/include/boost/test/auto_unit_test.hpp:16,
                 from /home/ubuntu/23022022/peerplays/tests/benchmarks/genesis_allocation.cpp:30:
/usr/include/boost/test/auto_unit_test.hpp:17:1: note: #pragma message: This header is deprecated. Use This header is deprecated. Please use <boost/test/unit_test.hpp> instead. instead.
   17 | BOOST_HEADER_DEPRECATED( "This header is deprecated. Please use <boost/test/unit_test.hpp> instead." )
      | ^~~~~~~~~~~~~~~~~~~~~~~
[ 86%] Building CXX object tests/CMakeFiles/chain_bench.dir/benchmarks/main.cpp.o
The following deprecated file usage is mentioned in build logs. ``` [ 86%] Building CXX object tests/CMakeFiles/app_test.dir/app/main.cpp.o In file included from /usr/include/boost/config/header_deprecated.hpp:18, from /usr/include/boost/test/auto_unit_test.hpp:16, from /home/ubuntu/23022022/peerplays/tests/benchmarks/genesis_allocation.cpp:30: /usr/include/boost/test/auto_unit_test.hpp:17:1: note: #pragma message: This header is deprecated. Use This header is deprecated. Please use <boost/test/unit_test.hpp> instead. instead. 17 | BOOST_HEADER_DEPRECATED( "This header is deprecated. Please use <boost/test/unit_test.hpp> instead." ) | ^~~~~~~~~~~~~~~~~~~~~~~ [ 86%] Building CXX object tests/CMakeFiles/chain_bench.dir/benchmarks/main.cpp.o ```
prandnum commented 2022-02-23 14:45:56 +00:00 (Migrated from gitlab.com)

@bobinson @serkixenos

CC: @hbelakon

peerplays-build-develop.log

@bobinson @serkixenos CC: @hbelakon [peerplays-build-develop.log](/uploads/5daf723bbdebbe1994c59936da342112/peerplays-build-develop.log)
prandnum commented 2022-02-23 14:46:29 +00:00 (Migrated from gitlab.com)

mentioned in issue #111

mentioned in issue #111
serkixenos commented 2022-02-23 15:19:17 +00:00 (Migrated from gitlab.com)

@prandnum Please confirm the Boost version used for build?

Not visible when building with v1.67
https://gitlab.com/PBSA/peerplays/-/jobs/2125209854

@prandnum Please confirm the Boost version used for build? Not visible when building with v1.67 https://gitlab.com/PBSA/peerplays/-/jobs/2125209854
prandnum commented 2022-02-23 15:34:35 +00:00 (Migrated from gitlab.com)

The build logs are mentioned 1.67, 1.54, 1.53

====================
Building for Testnet
====================

-- Using custom FindBoost.cmake
Boost 1.67 found.
Found Boost components:
   thread;iostreams;date_time;system;filesystem;program_options;serialization;chrono;unit_test_framework;context;locale
-- Using custom FindBoost.cmake
Boost 1.54 found.
Found Boost components:
   coroutine
-- Configuring Peerplays on Linux
-- Graphene database unity build disabled
-- egenesis: /home/ubuntu/23022022/peerplays/genesis-testnet.json
-- embed_genesis_args: -t/home/ubuntu/23022022/peerplays/libraries/egenesis/egenesis_brief.cpp.tmpl---/home/ubuntu/23022022/peerplays/libraries/egenesis/egenesis_brief.cpp-t/home/ubuntu/23022022/peerplays/libraries/egenesis/egenesis_full.cpp.tmpl---/home/ubuntu/23022022/peerplays/libraries/egenesis/egenesis_full.cpp--genesis-json/home/ubuntu/23022022/peerplays/genesis-testnet.json
-- Configuring project fc located in: /home/ubuntu/23022022/peerplays/libraries/fc
-- Configuring fc to build on Unix/Apple
-- Using custom FindBoost.cmake
Boost 1.53 found.
Found Boost components:
   thread;date_time;filesystem;system;program_options;serialization;chrono;unit_test_framework;context;locale;iostreams;coroutine
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.1.1f")
** websocketpp

=========== Used Build Configuration =============

but the version 1.71 is shown in apt repository

ubuntu@ip-172-31-35-225:~/boost17x$ sudo apt install libboost-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-all-dev is already the newest version (1.71.0.0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ip-172-31-35-225:~/boost17x$
The build logs are mentioned 1.67, 1.54, 1.53 ``` ==================== Building for Testnet ==================== -- Using custom FindBoost.cmake Boost 1.67 found. Found Boost components: thread;iostreams;date_time;system;filesystem;program_options;serialization;chrono;unit_test_framework;context;locale -- Using custom FindBoost.cmake Boost 1.54 found. Found Boost components: coroutine -- Configuring Peerplays on Linux -- Graphene database unity build disabled -- egenesis: /home/ubuntu/23022022/peerplays/genesis-testnet.json -- embed_genesis_args: -t/home/ubuntu/23022022/peerplays/libraries/egenesis/egenesis_brief.cpp.tmpl---/home/ubuntu/23022022/peerplays/libraries/egenesis/egenesis_brief.cpp-t/home/ubuntu/23022022/peerplays/libraries/egenesis/egenesis_full.cpp.tmpl---/home/ubuntu/23022022/peerplays/libraries/egenesis/egenesis_full.cpp--genesis-json/home/ubuntu/23022022/peerplays/genesis-testnet.json -- Configuring project fc located in: /home/ubuntu/23022022/peerplays/libraries/fc -- Configuring fc to build on Unix/Apple -- Using custom FindBoost.cmake Boost 1.53 found. Found Boost components: thread;date_time;filesystem;system;program_options;serialization;chrono;unit_test_framework;context;locale;iostreams;coroutine -- Found Threads: TRUE -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.1.1f") ** websocketpp =========== Used Build Configuration ============= ``` but the version 1.71 is shown in apt repository ``` ubuntu@ip-172-31-35-225:~/boost17x$ sudo apt install libboost-all-dev Reading package lists... Done Building dependency tree Reading state information... Done libboost-all-dev is already the newest version (1.71.0.0ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ubuntu@ip-172-31-35-225:~/boost17x$ ```
serkixenos commented 2022-02-24 19:47:23 +00:00 (Migrated from gitlab.com)

assigned to @hirunda

assigned to @hirunda
serkixenos commented 2022-02-25 18:42:26 +00:00 (Migrated from gitlab.com)

assigned to @prandnum

assigned to @prandnum
prandnum commented 2022-02-28 18:19:52 +00:00 (Migrated from gitlab.com)

verified. build-5.log

verified. [build-5.log](/uploads/172bd6ca8b354ec0c7c795a96c96a781/build-5.log)
prandnum (Migrated from gitlab.com) closed this issue 2022-02-28 18:19:53 +00:00
hbelakon commented 2022-03-02 04:41:49 +00:00 (Migrated from gitlab.com)

Bug should contain Step to Reproduce

Also (if applicable):

Software Version a release version or branch of the DEX UI code ..

Back end Version (blockchain version). blockchain version is the code version, ie release version of the blockchain code . It can also be a branch with git hash if it’s a custom release like DEX3

TESTNET name is needed as that will help to find faucet and chain id

OS version in which testing done (Windows, Linux, etc.)

Bug should contain Step to Reproduce Also (if applicable): Software Version a release version or branch of the DEX UI code .. Back end Version (blockchain version). blockchain version is the code version, ie release version of the blockchain code . It can also be a branch with git hash if it’s a custom release like DEX3 TESTNET name is needed as that will help to find faucet and chain id OS version in which testing done (Windows, Linux, etc.)
hbelakon commented 2022-03-02 04:44:13 +00:00 (Migrated from gitlab.com)

added to epic &489

added to epic &489
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#289
No description provided.