Bug#1056017: rlvm: FTBFS: boost1.83 transition

2023-12-25 Thread Bo YU
Hi!

On Tue, Dec 26, 2023 at 1:24 AM Ying-Chun Liu (PaulLiu)
 wrote:
>
> Hi Bo YU,
>
> Please NMU it and I'll sponsor it.

Thanks. please to see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059441

```

To access further information about this package, please visit the
following URL:

  https://mentors.debian.net/package/rlvm/

Alternatively, you can download the package with 'dget' using this command:

  dget -x https://mentors.debian.net/debian/pool/main/r/rlvm/rlvm_0.14-5.2.dsc

Changes since the last upload:

 rlvm (0.14-5.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix ftbfs on boost1.83. (Closes: #1056017)
   * Use libboost-timer-dev instead of libboost-date-time-dev.

```

BR,
Bo
>
> Yours,
> Paul
>
>
> On 2023/12/25 19:52, Bo YU wrote:
> > Source: rlvm
> > Version: 0.14-5.1
> > Followup-For: Bug #1056017
> > Tags: patch
> >
> > Dear Maintainer,
> >
> > I cost some time to fix the issue and patch attached. Please review it.
> >
> > In order to fix the RC bug ASAP, I may do a NMU to mentor and find a
> > sponsor to upload it. Please feel free to break the process if there is
> > any issue.
> >
> >



Bug#1056017: rlvm: FTBFS: boost1.83 transition

2023-12-25 Thread Ying-Chun Liu (PaulLiu)

Hi Bo YU,

Please NMU it and I'll sponsor it.

Yours,
Paul


On 2023/12/25 19:52, Bo YU wrote:

Source: rlvm
Version: 0.14-5.1
Followup-For: Bug #1056017
Tags: patch

Dear Maintainer,

I cost some time to fix the issue and patch attached. Please review it.

In order to fix the RC bug ASAP, I may do a NMU to mentor and find a
sponsor to upload it. Please feel free to break the process if there is
any issue.




OpenPGP_0x44173FA13D05.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1056017: rlvm: FTBFS: boost1.83 transition

2023-12-25 Thread Bo YU
Source: rlvm
Version: 0.14-5.1
Followup-For: Bug #1056017
Tags: patch

Dear Maintainer,

I cost some time to fix the issue and patch attached. Please review it.

In order to fix the RC bug ASAP, I may do a NMU to mentor and find a
sponsor to upload it. Please feel free to break the process if there is
any issue.


-- 
Regards,
--
  Bo YU

diff -Nru rlvm-0.14/debian/changelog rlvm-0.14/debian/changelog
--- rlvm-0.14/debian/changelog  2021-10-04 03:16:33.0 +0800
+++ rlvm-0.14/debian/changelog  2023-12-25 15:40:26.0 +0800
@@ -1,3 +1,11 @@
+rlvm (0.14-5.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs on boost1.83. (Closes: #1056017)
+  * Use libboost-timer-dev instead of libboost-date-time-dev.
+
+ -- Bo YU   Mon, 25 Dec 2023 15:40:26 +0800
+
 rlvm (0.14-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru rlvm-0.14/debian/control rlvm-0.14/debian/control
--- rlvm-0.14/debian/control2021-10-04 03:16:13.0 +0800
+++ rlvm-0.14/debian/control2023-12-25 15:40:26.0 +0800
@@ -4,7 +4,6 @@
 Maintainer: Ying-Chun Liu (PaulLiu) 
 Build-Depends: debhelper (>= 10),
google-mock,
-   libboost-date-time-dev,
libboost-dev,
libboost-filesystem-dev,
libboost-iostreams-dev,
@@ -12,6 +11,7 @@
libboost-python-dev,
libboost-serialization-dev,
libboost-thread-dev,
+   libboost-timer-dev,
libfreetype6-dev,
libgl1-mesa-dev,
libglew-dev,
diff -Nru rlvm-0.14/debian/patches/005_fix_boost_ftbfs.patch 
rlvm-0.14/debian/patches/005_fix_boost_ftbfs.patch
--- rlvm-0.14/debian/patches/005_fix_boost_ftbfs.patch  1970-01-01 
07:30:00.0 +0730
+++ rlvm-0.14/debian/patches/005_fix_boost_ftbfs.patch  2023-12-25 
15:40:26.0 +0800
@@ -0,0 +1,65 @@
+Description: fix ftbfs on boost1.83 
+Author: Bo YU  
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056017 
+Last-Update: 2023-12-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/vendor/wxInclude.cpp
 b/vendor/wxInclude.cpp
+@@ -18,7 +18,7 @@
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
+ 
+ namespace po = boost::program_options;
+ namespace fs = boost::filesystem;
+@@ -207,7 +207,7 @@
+ if ( opt.count( "input-file" ) || opt.count( "input-type" ) ) {
+   if ( opt.count( "output-file" ) ) { 
+   /* Create timer */
+-  boost::timer timer;
++  boost::timer::cpu_timer timer;
+ 
+   /* Create output file */
+   std::string headername( opt[ "output-file" 
].as() );
+@@ -361,7 +361,7 @@
+ 
+   /* Show status */
+ if (!silent)
+-  std::cout << "Build  : " << timer.elapsed() << "s needed 
for conversion of " << list.size() << " files." << std::endl;
++  std::cout << "Build  : " << timer.elapsed().user<< "s 
needed for conversion of " << list.size() << " files." << std::endl;
+   } else {
+   throw std::invalid_argument( "No output 
defined!" );
+   }
+--- a/SConstruct
 b/SConstruct
+@@ -81,6 +81,7 @@
+   "boost_iostreams",
+   "boost_filesystem",
+   "boost_date_time",
++  "boost_timer",
+   "boost_thread",
+   "boost_system"])
+ 
+--- a/src/systems/base/system.h
 b/src/systems/base/system.h
+@@ -33,6 +33,7 @@
+ #include 
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/src/utilities/file.h
 b/src/utilities/file.h
+@@ -31,6 +31,7 @@
+ #include 
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ 
diff -Nru rlvm-0.14/debian/patches/series rlvm-0.14/debian/patches/series
--- rlvm-0.14/debian/patches/series 2020-02-01 10:20:05.0 +0800
+++ rlvm-0.14/debian/patches/series 2023-12-25 15:37:58.0 +0800
@@ -2,3 +2,4 @@
 002_include-iostream.patch
 003_use_pkg-config_for_freetype2.patch
 004_port_to_python3.patch
+005_fix_boost_ftbfs.patch


signature.asc
Description: PGP signature