Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933691 - net-im/spectrum2-2.2.1 - /.../Util.cpp: error: const class boost::filesystem::path has no member named branch_path
Summary: net-im/spectrum2-2.2.1 - /.../Util.cpp: error: const class boost::filesystem:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.85
  Show dependency tree
 
Reported: 2024-06-06 14:02 UTC by Toralf Förster
Modified: 2024-08-06 08:44 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.08 KB, text/plain)
2024-06-06 14:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,210.38 KB, text/plain)
2024-06-06 14:02 UTC, Toralf Förster
Details
environment (environment,108.69 KB, text/plain)
2024-06-06 14:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-06-06 14:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.98 KB, application/x-xz)
2024-06-06 14:02 UTC, Toralf Förster
Details
net-im:spectrum2-2.2.1:20240606-134720.log (net-im:spectrum2-2.2.1:20240606-134720.log,132.51 KB, text/plain)
2024-06-06 14:02 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,58.28 KB, application/x-xz)
2024-06-06 14:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.21 KB, application/x-xz)
2024-06-06 14:02 UTC, Toralf Förster
Details
fix build with boost-1.85 (boost-1.85.patch,4.91 KB, patch)
2024-07-15 09:15 UTC, Bill Prendergast
Details | Diff
stop cmake from setting c11 (cmake-cxx-c14.patch,212 bytes, patch)
2024-07-15 09:17 UTC, Bill Prendergast
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-06 14:02:36 UTC
too long lines were shrinked:

[4/180] /usr/bin/x86_64-pc-linux-gnu-gcc -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_FILESYSTEM_VERSION=3 -DIRC_SHARED -DSPECTRUM_VERSION=\"2.2.1\" -DSUPPORT_LEGACY_CAPS -DWITH_LIBEVENT -DWITH_LOG4CXX -DWITH_PROTOBUF -DWITH_SQLITE -I/usr/include/qt5/Communi/IrcCore -I/usr/include/qt5/Communi/IrcUtil -I
[5/180] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_FILESYSTEM_VERSION=3 -DIRC_SHARED -DSPECTRUM_VERSION=\"2.2.1\" -DSUPPORT_LEGACY_CAPS -DWITH_LIBEVENT -DWITH_LOG4CXX -DWITH_PROTOBUF -DWITH_SQLITE -Dtransport_plugin_EXPORTS -I/usr/include/qt5/Communi/IrcCore -I/usr/inc
[6/180] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_FILESYSTEM_VERSION=3 -DIRC_SHARED -DSPECTRUM_VERSION=\"2.2.1\" -DSUPPORT_LEGACY_CAPS -DWITH_LIBEVENT -DWITH_LOG4CXX -DWITH_PROTOBUF -DWITH_SQLITE -Dtransport_plugin_EXPORTS -I/usr/include/qt5/Communi/IrcCore -I/usr/inc
FAILED: plugin/cpp/CMakeFiles/transport-plugin.dir/Util.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_FILESYSTEM_VERSION=3 -DIRC_SHARED -DSPECTRUM_VERSION=\"2.2.1\" -DSUPPORT_LEGACY_CAPS -DWITH_LIBEVENT -DWITH_LOG4CXX -DWITH_PROTOBUF -DWITH_SQLITE -Dtransport_plugin_EXPORTS -I/usr/include/qt5/Communi/IrcCore -I/usr/include/qt5
/var/tmp/portage/net-im/spectrum2-2.2.1/work/spectrum2-2.2.1/plugin/cpp/Util.cpp: In function void Transport::Util::createDirectories(Transport::Config*, const boost::filesystem::path&):
/var/tmp/portage/net-im/spectrum2-2.2.1/work/spectrum2-2.2.1/plugin/cpp/Util.cpp:56:38: error: const class boost::filesystem::path has no member named branch_path
   56 |         createDirectories(config, ph.branch_path());
      |                                      ^~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20240601-201002

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.12.3
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit c7f455d86167b12c371b82aa6f5b2e7c2d8e9a27
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 6 12:21:15 2024 +0000

    2024-06-06 12:21:14 UTC

emerge -qpvO net-im/spectrum2
[ebuild  N    ] net-im/spectrum2-2.2.1  USE="frotz irc sqlite twitter -doc -mysql -postgres -purple -sms -test -whatsapp -xmpp"
Comment 1 Toralf Förster gentoo-dev 2024-06-06 14:02:37 UTC
Created attachment 895249 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-06 14:02:39 UTC
Created attachment 895250 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-06 14:02:42 UTC
Created attachment 895251 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-06 14:02:43 UTC
Created attachment 895252 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-06 14:02:44 UTC
Created attachment 895253 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-06 14:02:45 UTC
Created attachment 895254 [details]
net-im:spectrum2-2.2.1:20240606-134720.log
Comment 7 Toralf Förster gentoo-dev 2024-06-06 14:02:47 UTC
Created attachment 895255 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-06 14:02:48 UTC
Created attachment 895256 [details]
temp.tar.xz
Comment 9 Bill Prendergast 2024-07-15 09:15:41 UTC
Created attachment 897658 [details, diff]
fix build with boost-1.85

muddling my way through 
https://www.boost.org/doc/libs/1_85_0/libs/filesystem/doc/deprecated.html
I've got this building and working, for at least the libcommuni_backend. I don't currently have a libpurple protocol plugin to test with (the libpurple_backend with prpl-xmpp is loading and registering with the jabber server).
Comment 10 Bill Prendergast 2024-07-15 09:17:47 UTC
Created attachment 897659 [details, diff]
stop cmake from setting c11

I also had to modify CMakeLists.txt so it didn't error out with c14 compiler.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-16 07:34:31 UTC
Thanks Bill. I've been muddling my way through that guide as well :)
Comment 12 Larry the Git Cow gentoo-dev 2024-07-16 07:44:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05128d7166f549276048bfbe43eca8e7ef683588

commit 05128d7166f549276048bfbe43eca8e7ef683588
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-16 07:35:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-16 07:35:30 +0000

    net-im/spectrum2: fix build w/ boost-1.85
    
    Closes: https://bugs.gentoo.org/933691
    Thanks-to: Bill Prendergast <dek.devel@baisenvar.info>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/spectrum2-2.2.1-boost-1.85.patch         | 103 +++++++++++++++++++++
 .../files/spectrum2-2.2.1-use-c++14.patch          |  13 +++
 net-im/spectrum2/spectrum2-2.2.1.ebuild            |   5 +
 3 files changed, 121 insertions(+)
Comment 13 Bill Prendergast 2024-07-16 08:54:11 UTC
the "spectrum2-2.2.1-use-c++14.patch" should close https://bugs.gentoo.org/921575 as well as that bug was caused by an update to dev-libs/protobuf which then required c++14
Comment 14 Conrad Kostecki gentoo-dev 2024-07-23 19:31:27 UTC
Upstream merged patch: https://github.com/SpectrumIM/spectrum2/commit/769a7cca382a75988bc43a02e2f5649ef7fba817
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-24 00:33:25 UTC
(In reply to Conrad Kostecki from comment #14)
> Upstream merged patch:
> https://github.com/SpectrumIM/spectrum2/commit/
> 769a7cca382a75988bc43a02e2f5649ef7fba817

Thanks, and I'm sorry I didn't send it upstream myself.
Comment 16 Conrad Kostecki gentoo-dev 2024-07-24 08:24:02 UTC
(In reply to Sam James from comment #15)
> (In reply to Conrad Kostecki from comment #14)
> > Upstream merged patch:
> > https://github.com/SpectrumIM/spectrum2/commit/
> > 769a7cca382a75988bc43a02e2f5649ef7fba817
> 
> Thanks, and I'm sorry I didn't send it upstream myself.

All fine :-)