Package Details: mozillavpn 2.24.3-1

Git Clone URL: https://aur.archlinux.org/mozillavpn.git (read-only, click to copy)
Package Base: mozillavpn
Description: Fast, secure, and easy to use VPN from the makers of Firefox
Upstream URL: https://vpn.mozilla.org
Keywords: vpn wireguard
Licenses: MPL-2.0
Submitter: tavianator
Maintainer: Xavier (xiota)
Last Packager: Xavier
Votes: 43
Popularity: 0.79
First Submitted: 2021-01-13 02:38 (UTC)
Last Updated: 2024-11-06 07:01 (UTC)

Latest Comments

1 2 3 4 5 6 .. 22 Next › Last »

LT_Horn commented on 2024-11-07 14:14 (UTC)

Latest update now installs with Qt6.8 and functions without issues.

Inky19 commented on 2024-10-21 06:04 (UTC) (edited on 2024-10-21 06:05 (UTC) by Inky19)

@xiota Thank you for your confirmation and sorry for my late reply. I rebuilt the package (2.24.1) with -DCMAKE_BUILD_TYPE=Debug in PKGBUILD and used gdb to get debugging information, but I'm afraid that's all I can think of.

I've added the log to the issue you mentioned. If you need more info don't hesitate to ask.

xiota commented on 2024-10-17 02:08 (UTC) (edited on 2024-10-17 02:14 (UTC) by xiota)

@Inky19 I've confirmed the problems you've described and that the package can be built by adjusting -Werror flags. If you know how, might be helpful to build with debugging enabled and provide a backtrace at mozilla-vpn-client#9966.

Xavier commented on 2024-10-17 01:42 (UTC)

For now, MozillaVPN is not compatible with Qt 6.8, we need to wait for an update or patch

Inky19 commented on 2024-10-16 22:36 (UTC)

I also have exactly the same error stack as @mantaboo's post of 2024-10-16. It seems to be caused by a -Werror generated in ninja.build, which makes deprecation warnings fatal.

However, I would also like to point out that the recent update to KDE 6.2.1 and Qt6 crashed Mozilla VPN with a segfault on all my Arch installations. I rebuilt this version with makepkg and removed all -Werror, as well as the latest version 2.24.2, but the segfault still occurs when launching the UI (the CLI seems to work, but only on one of my installs, which is strange).

mantaboo commented on 2024-10-16 20:21 (UTC) (edited on 2024-10-16 21:42 (UTC) by mantaboo)

I really appreciate the help. Here is the full log.


I spoke too soon yesterday. It made it farther in the build after installing qt6-base. I don't understand why it wouldn't have pulled it in automatically. However, It still failed later in the build process. I manually installed all of the dependencies and some were missing (I don't remember which ones). I tried again but the build failed in the same spot.I did not use any flags. I don't know what is relevant but here is some of the output:


   Compiling glean v59.0.0 (/home/mantaboo/.cache/paru/clone/mozillavpn/src/mozilla-vpn-client-2.24.1/3rdparty/glean/glean-core/rlb)
warning: `glean-core` (lib) generated 18 warnings
warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-gnu`

warning: `qtglean` (lib) generated 1 warning
    Finished `release` profile [optimized] target(s) in 34.05s
[1100/1300] Building CXX object src/CMakeFiles/mozillavpn.dir/platforms/linux/daemon/apptracker.cpp.o
FAILED: src/CMakeFiles/mozillavpn.dir/platforms/linux/daemon/apptracker.cpp.o 

And the last error:


cc1plus: all warnings being treated as errors
[1113/1300] Building CXX object src/CMakeFiles/mozillavpn.dir/mozillavpn_autogen/mocs_compilation.cpp.o
FAILED: src/CMakeFiles/mozillavpn.dir/mozillavpn_autogen/mocs_compilation.cpp.o 

It exited with this:


In file included from /usr/include/qt6/QtCore/qstringview.h:10,
                 from /usr/include/qt6/QtCore/qchar.h:660,
                 from /usr/include/qt6/QtCore/qstring.h:14,
                 from /usr/include/qt6/QtCore/qcoreapplication.h:8,
                 from /usr/include/qt6/QtGui/qaccessible.h:17,
                 from /usr/include/qt6/QtGui/QAccessible:1,
                 from /home/mantaboo/.cache/paru/clone/mozillavpn/src/build/src/mozillavpn_autogen/EWIEGA46WW/../../../../mozilla-vpn-client-2.24.1/src/accessiblenotification.h:8,
                 from /home/mantaboo/.cache/paru/clone/mozillavpn/src/build/src/mozillavpn_autogen/EWIEGA46WW/moc_accessiblenotification.cpp:9,
                 from /home/mantaboo/.cache/paru/clone/mozillavpn/src/build/src/mozillavpn_autogen/mocs_compilation.cpp:2:
/usr/include/qt6/QtCore/qbytearray.h:501:22: note: declared here
  501 |     inline qsizetype count() const noexcept { return size(); }
      |                      ^~~~~

cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'mozillavpn-2.24.1-1': 
error: packages failed to build: mozillavpn-2.24.1-1

I did set up a clean chroot but failed also in the same spot:


In file included from /usr/include/qt6/QtCore/qstringview.h:10,
                 from /usr/include/qt6/QtCore/qchar.h:660,
                 from /usr/include/qt6/QtCore/qstring.h:14,
                 from /usr/include/qt6/QtCore/qobject.h:11,
                 from /usr/include/qt6/QtCore/QObject:1,
                 from /build/mozillavpn/src/build/src/dbus_adaptor.h:15:
/usr/include/qt6/QtCore/qbytearray.h:501:22: note: declared here
  501 |     inline qsizetype count() const noexcept { return size(); }
      |                      ^~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /scratch/.buildroot/mantaboo/build

Sorry if this is a mess. I'm just trying to share what seems to be relevant and figure out if something is messed up on my system. Thanks for the help.

xiota commented on 2024-10-16 17:38 (UTC)

@mantaboo Glad you found a solution, but qt6-base should be a depends of other qt6-* packages. Were you using -d flag to ignore depends? In future, you can try building in a clean chroot.

mantaboo commented on 2024-10-15 17:22 (UTC) (edited on 2024-10-15 18:48 (UTC) by mantaboo)

My bad. I installed qt6-base and it built. I'll leave this here for reference in case someone else runs into the same issue.

I'm having trouble building both the stable and git version. Is this something on my end?

CMake Error at /lib/cmake/Qt6QmlIntegration/Qt6QmlIntegrationVersionlessAliasTargets.cmake:3 (_qt_internal_check_multiple_inclusion):
  Unknown CMake command "_qt_internal_check_multiple_inclusion".
Call Stack (most recent call first):
  /lib/cmake/Qt6QmlIntegration/Qt6QmlIntegrationConfig.cmake:179 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency)
  /lib/cmake/Qt6Qml/Qt6QmlDependencies.cmake:43 (_qt_internal_find_qt_dependencies)
  /lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:56 (include)
  /lib/cmake/Qt6/Qt6Config.cmake:179 (find_package)
  CMakeLists.txt:120 (find_package)
CMake Warning at /lib/cmake/Qt6/Qt6Config.cmake:179 (find_package):
  Found package configuration file:

    /lib/cmake/Qt6Qml/Qt6QmlConfig.cmake

  but it set Qt6Qml_FOUND to FALSE so package "Qt6Qml" is considered to be
  NOT FOUND.
Call Stack (most recent call first):
  CMakeLists.txt:120 (find_package)