This package appears to be building in the package()
function rather than build()
as would be expected (which means makepkg -R
behaves incorrectly). Following the template from the wiki (https://wiki.archlinux.org/title/CMake_package_guidelines#Template) worked for me.
Search Criteria
Package Details: rclone-browser 1.8.0-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/rclone-browser.git (read-only, click to copy) |
---|---|
Package Base: | rclone-browser |
Description: | Simple cross-platform GUI for rclone |
Upstream URL: | https://github.com/kapitainsky/RcloneBrowser |
Keywords: | cloud gdrive mega pcloud s3 |
Licenses: | MIT |
Submitter: | mmozeiko |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 57 |
Popularity: | 1.17 |
First Submitted: | 2017-01-29 09:12 (UTC) |
Last Updated: | 2022-05-18 17:43 (UTC) |
Dependencies (3)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- rclone (rclone-beta-binAUR, rclone-aliyundrive-gitAUR, rclone-gitAUR)
- cmake (cmake-gitAUR) (make)
Required by (0)
Sources (1)
djpohly commented on 2022-06-20 17:14 (UTC) (edited on 2022-06-20 17:15 (UTC) by djpohly)
G4Zz0L1 commented on 2022-05-20 08:09 (UTC)
@spsf64 What kind of answer is that? If this package change some compilation flags from the source, you're answer is "ignore that and compile manually"? The problem isn't yay, but the changes made on the latest pkgrel, because this problem didn't exist before.
@FabioLolix I've fixed it reverting the latest changes on the PKGBUILD. For the next version I suggest to stick to the install method used by the creator of this package.
spsf64 commented on 2022-05-19 17:25 (UTC)
@G4Zz0L1 do not use any AUR helper (you are using YAY). Try "makepkg -crs" Works fine here!
G4Zz0L1 commented on 2022-05-19 17:10 (UTC) (edited on 2022-05-19 17:10 (UTC) by G4Zz0L1)
I've got this on packaging (even in a clean chroot with aurto).
[ 98%] Building CXX object src/CMakeFiles/rclone-browser.dir/qrc_resources.cpp.o
/home/g4zz0l1/.cache/yay/rclone-browser/src/RcloneBrowser-1.8.0/src/main_window.cpp: In lambda function:
/home/g4zz0l1/.cache/yay/rclone-browser/src/RcloneBrowser-1.8.0/src/main_window.cpp:435:44: error: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead [-Werror=deprecated-declarations]
435 | QStringList lines = version.split("\n", QString::SkipEmptyParts);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/qobject.h:47,
from /usr/include/qt/QtCore/qabstractanimation.h:43,
from /usr/include/qt/QtCore/QtCore:6,
from /home/g4zz0l1/.cache/yay/rclone-browser/src/RcloneBrowser-1.8.0/src/pch.h:9,
from /home/g4zz0l1/.cache/yay/rclone-browser/src/RcloneBrowser-1.8.0/src/icon_cache.h:3,
from /home/g4zz0l1/.cache/yay/rclone-browser/src/RcloneBrowser-1.8.0/src/main_window.h:3,
from /home/g4zz0l1/.cache/yay/rclone-browser/src/RcloneBrowser-1.8.0/src/main_window.cpp:1:
/usr/include/qt/QtCore/qstring.h:609:17: note: declared here
609 | QStringList split(const QString &sep, SplitBehavior behavior,
| ^~~~~
/home/g4zz0l1/.cache/yay/rclone-browser/src/RcloneBrowser-1.8.0/src/main_window.cpp: In member function ‘void MainWindow::addStream(const QString&, const QString&)’:
/home/g4zz0l1/.cache/yay/rclone-browser/src/RcloneBrowser-1.8.0/src/main_window.cpp:1217:16: error: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Werror=deprecated-declarations]
1217 | player->start(stream, QProcess::ReadOnly);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt/QtCore/QtCore:170:
/usr/include/qt/QtCore/qprocess.h:168:10: note: declared here
168 | void start(const QString &command, OpenMode mode = ReadWrite);
| ^~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/rclone-browser.dir/build.make:230: src/CMakeFiles/rclone-browser.dir/main_window.cpp.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
make[1]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/rclone-browser.dir/all] Errore 2
make: *** [Makefile:136: all] Errore 2
==> ERRORE: Si è verificato un errore in package().
L'operazione sta per essere interrotta...
sekret commented on 2022-05-18 19:14 (UTC)
@FabioLolix, could you please elaborate on the recent changes? I'm asking out of curiosity and interest and because I'm wondering about those changes. Why exactly is this an improvement?
mmozeiko commented on 2022-05-18 07:57 (UTC)
@fortea - all AUR packages assume you have "base-devel" group installed. See this section in wiki on AUR: https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites
fortea commented on 2022-05-18 07:47 (UTC)
Please, add make
to the dependencies... I was trying to install this package on an almost fresh system and make
was not available. cmake
doesn't include it in the dependencies.
yochananmarqos commented on 2020-12-16 18:06 (UTC)
@marmistrz: Yes, that works as well.
@FabioLolix: Please use -DCMAKE_BUILD_TYPE=None
, see CMake undesired behaviors.
marmistrz commented on 2020-08-20 16:29 (UTC)
Instead of removing -Werror
, we probably can just go with -Wno-deprecated-declarations
haawda commented on 2020-08-17 15:04 (UTC)
Zeioth, if you want to have the latest sources from github, use rclone-browser-git. AUR packages without "-git" (or "-hg" or "-svn" or...) in the name should not do so.
Pinned Comments