Package Details: swiften 4.0.3-1

Git Clone URL: https://aur.archlinux.org/swift.git (read-only, click to copy)
Package Base: swift
Description: XMPP library written in C++ with Boost
Upstream URL: https://swift.im
Licenses: GPL3
Submitter: arojas
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2022-11-21 07:40 (UTC)
Last Updated: 2023-09-24 03:22 (UTC)

Latest Comments

cl0ne commented on 2024-11-10 23:14 (UTC)

Confirm that build fails, but snippets from @rcrath miss actual errors:

In file included from Swift/Controllers/StatusCache.cpp:7:
./Swift/Controllers/StatusCache.h:27:18: error: 'vector' in namespace 'std' does not name a template type
   27 |             std::vector<PreviousStatus> getMatches(const std::string& substring, size_t maxCount) const;
      |                  ^~~~~~
./Swift/Controllers/StatusCache.h:16:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
   15 | #include <Swiften/Elements/StatusShow.h>
  +++ |+#include <vector>
   16 | 
  CXX Swift/Controllers/StatusUtil.o
Swift/Controllers/StatusCache.cpp:32:42: error: no declaration matches 'std::vector<std::pair<std::__cxx11::basic_string<char>, Swift::StatusShow::Type> > Swift::StatusCache::getMatches(const std::string&, size_t) const'
   32 | std::vector<StatusCache::PreviousStatus> StatusCache::getMatches(const std::string& substring, size_t maxCount) const {
      |                                          ^~~~~~~~~~~
Swift/Controllers/StatusCache.cpp:32:42: note: no functions named 'std::vector<std::pair<std::__cxx11::basic_string<char>, Swift::StatusShow::Type> > Swift::StatusCache::getMatches(const std::string&, size_t) const'
./Swift/Controllers/StatusCache.h:20:11: note: 'class Swift::StatusCache' defined here
   20 |     class StatusCache {
      |           ^~~~~~~~~~~
In file included from /usr/include/boost/smart_ptr/detail/requires_cxx11.hpp:9,
                 from /usr/include/boost/smart_ptr/scoped_ptr.hpp:13,
                 from /usr/include/boost/scoped_ptr.hpp:13,
                 from /usr/include/boost/archive/detail/basic_iarchive.hpp:23,
                 from /usr/include/boost/archive/detail/common_iarchive.hpp:21,
                 from /usr/include/boost/archive/basic_text_iarchive.hpp:30,
                 from /usr/include/boost/archive/text_iarchive.hpp:24,
                 from ./Swift/Controllers/Highlighting/HighlightAction.h:19,
                 from ./Swift/Controllers/SoundEventController.h:11,
                 from Swift/Controllers/SoundEventController.cpp:7:

rcrath commented on 2023-09-30 23:38 (UTC)

Build fails with:

In file included from /usr/include/boost/smart_ptr/detail/requires_cxx11.hpp:9,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:17,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/include/boost/signals2/deconstruct.hpp:28,
                 from /usr/include/boost/signals2.hpp:15,
                 from ./Swift/Controllers/XMPPEvents/EventController.h:12,
                 from Swift/Controllers/XMPPEvents/EventController.cpp:7:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().    
Aborting...
 -> error making: swift-exit status 4

and

In file included from /usr/include/boost/smart_ptr/detail/requires_cxx11.hpp:9,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:17,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/include/boost/signals2/deconstruct.hpp:28,
                 from /usr/include/boost/signals2.hpp:15,
                 from ./Swift/Controllers/XMPPEvents/EventController.h:12,
                 from Swift/Controllers/XMPPEvents/EventController.cpp:7:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: swift-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
swiften - exit status 4
swift-im - exit status 4