Package Details: canonical-multipass-git 1.12.0.r226.g50ed575c-1

Git Clone URL: https://aur.archlinux.org/canonical-multipass-git.git (read-only, click to copy)
Package Base: canonical-multipass-git
Description: Multipass orchestrates virtual Ubuntu instances
Upstream URL: https://multipass.run
Keywords: cloud container hyper-v hyperkit libvirt qemu qemu-kvm ubuntu virtual-machine
Licenses: GPL3
Conflicts: libssh, poco
Submitter: ragouel
Maintainer: None
Last Packager: Neptune650
Votes: 1
Popularity: 0.000003
First Submitted: 2020-05-24 05:16 (UTC)
Last Updated: 2023-07-04 16:23 (UTC)

Latest Comments

SargentD commented on 2023-05-06 08:02 (UTC) (edited on 2023-05-06 08:02 (UTC) by SargentD)

I am facing this error when building this:

[ 68%] Building CXX object src/xz_decoder/CMakeFiles/xz_image_decoder.dir/xz_image_decoder.cpp.o
In file included from /home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/3rd-party/fmt/include/fmt/format.h:48,
                 from /home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/include/multipass/format.h:21,
                 from /home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/src/xz_decoder/xz_image_decoder.cpp:22:
/home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/3rd-party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value<Context> fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; T = QString&]’:
/home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/3rd-party/fmt/include/fmt/core.h:1777:29:   required from ‘constexpr fmt::v9::detail::value<Context> fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; type <anonymous> = fmt::v9::detail::type::custom_type; T = QString&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/3rd-party/fmt/include/fmt/core.h:1901:77:   required from ‘constexpr fmt::v9::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {QString&}; Context = fmt::v9::basic_format_context<fmt::v9::appender, char>; Args = {QString}]’
/home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/3rd-party/fmt/include/fmt/core.h:1918:31:   required from ‘constexpr fmt::v9::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context<appender, char>; Args = {QString&}]’
/home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/3rd-party/fmt/include/fmt/core.h:3206:44:   required from ‘std::string fmt::v9::format(format_string<T ...>, T&& ...) [with T = {QString}; std::string = std::__cxx11::basic_string<char>; format_string<T ...> = basic_format_string<char, QString>]’
/home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/src/xz_decoder/xz_image_decoder.cpp:67:45:   required from here
/home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/3rd-party/fmt/include/fmt/core.h:1735:15: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
 1735 |   const auto& arg = arg_mapper<Context>().map(FMT_FORWARD(val));
      |               ^~~
/home/REDACTED/.cache/yay/canonical-multipass-git/src/multipass/3rd-party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper<fmt::v9::basic_format_context<fmt::v9::appender, char> >().fmt::v9::detail::arg_mapper<fmt::v9::basic_format_context<fmt::v9::appender, char> >::map<QString&>((* & val))’
 1735 |   const auto& arg = arg_mapper<Context>().map(FMT_FORWARD(val));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/xz_decoder/CMakeFiles/xz_image_decoder.dir/build.make:76: src/xz_decoder/CMakeFiles/xz_image_decoder.dir/xz_image_decoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:11634: src/xz_decoder/CMakeFiles/xz_image_decoder.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: canonical-multipass-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
canonical-multipass-git - exit status 4

Any idea what's causing this?

The error seems to be this:

error: possibly dangling reference to a temporary [-Werror=dangling-reference]
 1735 |   const auto& arg = arg_mapper<Context>().map(FMT_FORWARD(val));

doskanoness commented on 2022-07-23 12:11 (UTC)

Building package fails with:

/home/doskanoness/.cache/aurutils/sync/canonical-multipass-git/src/multipass/include/multipass/utils.h:69:101: warning: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = QFileDevice::Permission; Zero = int Q>
   69 | Path make_dir(const QDir& a_dir, const QString& name, const QFileDevice::Permissions permissions = 0);
      |                                                                                                     ^
In file included from /usr/include/qt/QtCore/qglobal.h:1299,
                 from /usr/include/qt/QtCore/qchar.h:43,
                 from /usr/include/qt/QtCore/qstring.h:49,
                 from /usr/include/qt/QtCore/QString:1,
                 from /home/doskanoness/.cache/aurutils/sync/canonical-multipass-git/src/multipass/include/multipass/format.h:23,
                 from /home/doskanoness/.cache/aurutils/sync/canonical-multipass-git/src/multipass/include/multipass/cli/command.h:24:
/usr/include/qt/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
/home/doskanoness/.cache/aurutils/sync/canonical-multipass-git/src/multipass/include/multipass/utils.h:70:78: warning: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = QFileDevice::Permission; Zero = int QF>
   70 | Path make_dir(const QDir& dir, const QFileDevice::Permissions permissions = 0);
      |                                                                              ^
/usr/include/qt/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
[ 94%] Linking CXX static library libcommands.a
[ 94%] Built target commands
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

tiziodcaio commented on 2021-11-13 08:16 (UTC) (edited on 2021-11-13 08:17 (UTC) by tiziodcaio)

I think that should be fixed (for now) @Natetronn

Natetronn commented on 2021-01-25 00:45 (UTC) (edited on 2021-02-03 20:44 (UTC) by Natetronn)

I'm getting the following errors:

conflicting files:
- canonical-multipass-git: /usr/lib/libssh.so already exists in filesystem (owned by libssh)
- canonical-multipass-git: /usr/lib/libssh.so.4 already exists in filesystem (owned by libssh)

I have libssh v0.9.5-1 installed, which provides /usr/lib/libssh.so.4.8.6, but your package seems to want to install an earlier edition, version 4.8.4.

I've been able to scoot around this by copying the two Symlinks to a different location, removing them from /usr/lib/, installing this package, then copying the Symlinks back in again, so they point at my original sshlib 4.8.6 (recreating the Symlinks from scratch would work too, I suppose.)

leuko commented on 2020-10-10 20:29 (UTC)

Wauw! Thank you very much for these patches ragouel!

ragouel commented on 2020-10-09 19:53 (UTC)

@leuko, fixed.

leuko commented on 2020-10-03 12:30 (UTC)

I got the following build error:

error: ‘void QNetworkReply::error(QNetworkReply::NetworkError)’ is deprecated: Use QNetworkReply::errorOccurred(QNetworkReply::NetworkError) instead [-Werror=deprecated-declarations]
  326 |         emit error(QNetworkReply::InternalServerError);
      |                                                      ^