@marco.righi
/media/data/users/home/marco/.cache/yay
I don't have time for AUR helpers problems, see https://aur.archlinux.org/packages/nomacs#comment-919867
Git Clone URL: | https://aur.archlinux.org/nomacs.git (read-only, click to copy) |
---|---|
Package Base: | nomacs |
Description: | A Qt image viewer |
Upstream URL: | https://github.com/nomacs/nomacs |
Licenses: | GPL-3.0-only |
Submitter: | arojas |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 33 |
Popularity: | 0.94 |
First Submitted: | 2023-04-01 09:57 (UTC) |
Last Updated: | 2024-09-23 16:16 (UTC) |
@marco.righi
/media/data/users/home/marco/.cache/yay
I don't have time for AUR helpers problems, see https://aur.archlinux.org/packages/nomacs#comment-919867
Compiling error (export LC_ALL=C)
[ 7%] Building CXX object CMakeFiles/nomacsCore.dir/src/DkGui/DkDialog.cpp.o
/usr/bin/c++ -DHAVE_EXIV2_HPP -DNDEBUG -DNOMACS_VERSION=\"3.17\" -DQT5 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DWITH_LIBRAW -DWITH_LIBTIFF -DWITH_OPENCV -DWITH_PLUGINS -DWITH_QUAZIP -DWITH_QUAZIP1 -DnomacsCore_EXPORTS -I/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/build/nomacsCore_autogen/include -I/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/build -I/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src -I/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkCore -I/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui -I/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/3rdparty/libqpsd -I/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/3rdparty/drif -isystem /usr/include/opencv4 -isystem /usr/include/QuaZip-Qt5-1.4 -isystem /usr/include/QuaZip-Qt5-1.4/quazip -isystem /usr/include/qt -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtSvg -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -Wno-unknown-pragmas -O2 -g -DNDEBUG -fPIC -DDK_CORE_DLL_EXPORT -DNOMINMAX -fPIC -MD -MT CMakeFiles/nomacsCore.dir/src/DkGui/DkDialog.cpp.o -MF CMakeFiles/nomacsCore.dir/src/DkGui/DkDialog.cpp.o.d -o CMakeFiles/nomacsCore.dir/src/DkGui/DkDialog.cpp.o -c /media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp
In file included from /media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkControlWidget.cpp:32:
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkCore/DkMetaData.h:158:19: error: 'UniquePtr' in 'class Exiv2::Image' does not name a type
158 | Exiv2::Image::UniquePtr loadSidecar(const QString &filePath) const;
| ^~~~~~~~~
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkCore/DkMetaData.h:167:19: error: 'UniquePtr' in 'class Exiv2::Image' does not name a type
167 | Exiv2::Image::UniquePtr mExifImg; // TODO std::unique_ptr<Exiv2::Image> (and all other *::AutoPtr)
| ^~~~~~~~~
make[2]: *** [CMakeFiles/nomacsCore.dir/build.make:239: CMakeFiles/nomacsCore.dir/src/DkGui/DkControlWidget.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp: In member function 'void nmc::DkPrintPreviewDialog::print()':
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:2208:34: warning: 'QRect QPrinter::pageRect() const' is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
2208 | QRect pr = mPrinter->pageRect();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt/QtPrintSupport/qprintpreviewwidget.h:45,
from /usr/include/qt/QtPrintSupport/QPrintPreviewWidget:1,
from /media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.h:39,
from /media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:28:
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
259 | QRect pageRect() const;
| ^~~~~~~~
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:2214:37: warning: 'QRect QPrinter::pageRect() const' is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
2214 | if (pr != mPrinter->pageRect())
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
259 | QRect pageRect() const;
| ^~~~~~~~
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp: In member function 'void nmc::DkPrintPreviewWidget::changeDpi(int)':
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:2315:33: warning: 'QRect QPrinter::pageRect() const' is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
2315 | int pxW = mPrinter->pageRect().width();
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
259 | QRect pageRect() const;
| ^~~~~~~~
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp: In member function 'void nmc::DkPrintImage::fit()':
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:4161:35: warning: 'QRect QPrinter::pageRect() const' is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
4161 | QRectF pr = mPrinter->pageRect();
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
259 | QRect pageRect() const;
| ^~~~~~~~
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:4171:36: warning: 'QRect QPrinter::pageRect() const' is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
4171 | double pxW = mPrinter->pageRect().width();
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
259 | QRect pageRect() const;
| ^~~~~~~~
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp: In member function 'double nmc::DkPrintImage::dpi()':
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:4192:36: warning: 'QRect QPrinter::pageRect() const' is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
4192 | double pxW = mPrinter->pageRect().width();
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
259 | QRect pageRect() const;
| ^~~~~~~~
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp: In member function 'void nmc::DkPrintImage::center(QTransform&) const':
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:4214:34: warning: 'QRect QPrinter::pageRect() const' is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
4214 | xtrans = ((mPrinter->pageRect().width() - transRect.width()) / 2);
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
259 | QRect pageRect() const;
| ^~~~~~~~
/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/ImageLounge/src/DkGui/DkDialog.cpp:4215:33: warning: 'QRect QPrinter::pageRect() const' is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
4215 | ytrans = (mPrinter->pageRect().height() - transRect.height()) / 2;
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
259 | QRect pageRect() const;
| ^~~~~~~~
make[2]: Leaving directory '/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/build'
make[1]: *** [CMakeFiles/Makefile2:242: CMakeFiles/nomacsCore.dir/all] Error 2
make[1]: Leaving directory '/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/build'
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/media/data/users/home/marco/.cache/yay/nomacs/src/nomacs/build'
==> ERROR: A failure occurred in build().
Aborting...
-> error making: nomacs-exit status 4
-> Failed to install the following packages. Manual intervention is required:
nomacs - exit status 4
Added git-lfs
as mekedepends
This just failed for me because I didn't have git-lfs
installed, it should probably be added to makedepends
With the latest update from today it works again, thanks a lot :)
@marco
Please, can the maintainer resolve this? A solution could be deploy the old version of the package on AUR.
Before complaining about AUR pkgbuilds you need to:
makepkg
or clean build with extra-x86_64-build
from devtools
For older version , in this case the exiv patch don't apply to the previous version. All pkgbuilds are maintained in a git repository and you can checkout any previous version
git clone https://aur.archlinux.org/nomacs.git
cd nomacs
git checkout 516f3e79c4bef4a10676928069ed5770e7ad7bb8
Also some AUR helpers in practice git clone the whole repo
Now using git tags as source=() as requested
Pre-build packages here (also for -git version) : https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/
@norg I tried just now and builds fine even in a clean chroot, so either
A) Your installation is somehow mighty broken or your mirrors are possibly out of sync - Make sure the mirror you're using is listed as Successfully Syncing on the status page (https://archlinux.org/mirrors/status/).
B) Less likely, but could be hardware differences throwing a wrench in things, for me it compiles fine on a Ryzen 7600X
@marco Your issue is A, you can clearly see your packages are out of date when compared to what the package version is on the Arch website.
@C0rn3j I tried but same error, thus I'm a bit wondering how it works for some and for some it doesn't :)
@C0rn3j thx 4 your answer.
I usually execute before an upgrade
sudo rm -Rf .cache
sudo pacman -Rsn $(pacman -Qdtq)
sudo pacman -Scc
yay -Scc
sudo rm /var/lib/systemd/coredump/.
sudo journalctl --vacuum-size=50M
The command sudo rm -Rf .cache
clean the ~/.cache
of the user that call sudo.
yay -Suy --sudoloop
and after a bash script I wrote
#!/bin/bash
logfile=~/log/python3xRebuild.log
echo START $(date) |tee -a $logfile
PYDIRS=$(stat -c '%W %n' /usr/lib/python[3-9].* | sort -n | head -n -1 | awk '{ print $2 }')
if [ -n "$PYDIRS" ]; then
yay -Scc
for d in $PYDIRS; do
#echo "Found obsolete python directory $d, packages requiring rebuild:"
for p in $(pacman -Qoq "$d"); do
command=$(echo yay -S $p --rebuildtree --noconfirm --rebuild)
echo $command |tee -a $logfile
eval $command
done
done
fi
Hoping to compile nomacs
, I execute again
yay -Suy --sudoloop
Can you please help other users and me?
Best
Post Scriptum. Before using the yay
, I execute ``pacman -Suy. Should I add the
w``` parameter?
Pinned Comments
C0rn3j commented on 2024-01-08 18:30 (UTC)
@ferda Read the pinned comment and implement
checkrebuild
fromrebuild-detector
into your workflow.FabioLolix commented on 2023-07-07 05:37 (UTC)
every time you have
error while loading shared libraries: libXXX.so.XXX: cannot open shared object file: No such file or directory
for build from source programs you have to rebuild it@rado84 you need rebuild the package not to hold back other packages, it is the same every time a dinamically linked soname changes
FabioLolix commented on 2023-06-17 15:20 (UTC)
Now using git tags as source=() as requested
Pre-build packages here (also for -git version) : https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/