@microcoder you have at least one package that is build against and old icu version (76), current is 78, rcc beling to qt6-base
$ pkgfile /usr/lib/qt6/rcc
extra/qt6-base
| 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: | 49 |
| Popularity: | 2.63 |
| First Submitted: | 2023-04-01 09:57 (UTC) |
| Last Updated: | 2025-10-27 06:05 (UTC) |
@microcoder you have at least one package that is build against and old icu version (76), current is 78, rcc beling to qt6-base
$ pkgfile /usr/lib/qt6/rcc
extra/qt6-base
-- Build files have been written to: /mnt/pkgbuilds/nomacs/src/nomacs/build
[ 0%] Built target nomacsCore_autogen_timestamp_deps
[ 0%] Built target copy_css_files
[ 1%] Built target nomacsCore_autogen
[ 2%] Generating qrc_nomacs.cpp
/usr/lib/qt6/rcc: error while loading shared libraries: libicui18n.so.76: cannot open shared object file: No such file or directory
make[2]: *** [CMakeFiles/nomacsCore.dir/build.make:172: qrc_nomacs.cpp] Error 127
make[1]: *** [CMakeFiles/Makefile2:178: CMakeFiles/nomacsCore.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
package icu is installed ((
nomacs-qt6-git have been prematurely deleted but can be still found at https://github.com/FabioLolix/PKGBUILD-AUR_fix/blob/master/n/nomacs-qt6-git/PKGBUILD
Pinned comment updated
@abouvier yes, it was removed by accident
You're not supposed to remove the epoch once defined.
As I made a PR with fixes https://github.com/nomacs/nomacs/pull/1290
updated PKGBUILD with -DENABLE_HEIF=ON fixes
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>
_plugins_ver=3.21.0
pkgname=nomacs
pkgver=3.21.0
pkgrel=3
epoch=1
pkgdesc="A Qt image viewer"
arch=(x86_64)
url="https://github.com/nomacs/nomacs"
license=(GPL-3.0-only)
depends=(exiv2 gcc-libs glibc libraw libtiff opencv qt6-base qt6-svg quazip-qt6)
#depends+=(libopencv_imgproc.so)
makedepends=(cmake git qt6-tools python)
optdepends=('qt6-imageformats: support additional image formats'
'kimageformats: support QOI (Quite OK Image Format)')
source=("git+https://github.com/nomacs/nomacs.git#tag=${pkgver}"
#"nomacs-plugins-qt6_01.patch::https://github.com/nomacs/nomacs-plugins/pull/40/commits/1b87f615ce0e7125ec739bc3e40d8ff7f6783587.patch"
#"nomacs-plugins-qt6_02.patch::https://github.com/nomacs/nomacs-plugins/pull/40/commits/a869962f051504dd2c1dedeb3bc3d266c17070c1.patch"
"nomacs-plugins-${_plugins_ver}.tar.gz::https://github.com/novomesk/nomacs-plugins/archive/refs/tags/${_plugins_ver}.tar.gz"
"heif-support-fixes.patch::https://patch-diff.githubusercontent.com/raw/nomacs/nomacs/pull/1290.patch"
)
b2sums=('3360bfeab0c1d323903240b136c2d9baf58f49cf0d672d69bc1473fbb0fe00103885f7d0194ee2200259cb548ad8c6d77127c96486f82055493cc89488bd9f99'
'83627d27a345a29c17155bb6496464e847cfc7d3b30174ac855aaff87bd018fd6651f0bfa3220b64dd36d9e6c53250e8799d96ff3cafeefde9e2818789b48ff7'
'994ec2a3bf9b1cc9e6f602ee4cd0d7e3e296e555d70cb1b86c886aa501d7aece3452b7f5bf184346dfb867cc51412759434c69f0ad3b6ccb047ec1cc553c3113'
)
export GIT_LFS_SKIP_SMUDGE=1
prepare() {
#cd "nomacs-plugins-${_plugins_ver}"
#patch -Np1 -i ../nomacs-plugins-qt6_01.patch
#patch -Np1 -i ../nomacs-plugins-qt6_02.patch
cd "${srcdir}/nomacs"
patch -Np1 -i ../heif-support-fixes.patch
# copy plugin sources into place
cp -av "${srcdir}/nomacs-plugins-${_plugins_ver}/"* "ImageLounge/plugins"
}
build() {
cd nomacs
cmake -B build -S ImageLounge -Wno-dev \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQT_VERSION_MAJOR=6 \
-DENABLE_OPENCV=ON \
-DENABLE_RAW=ON \
-DENABLE_TIFF=ON \
-DENABLE_QT_DEBUG=ON \
-DENABLE_QUAZIP=ON \
-DENABLE_TRANSLATIONS=ON \
-DENABLE_PLUGINS=ON \
-DENABLE_HEIF=ON \
-DENABLE_AVIF=ON \
-DENABLE_JXL=ON \
-DENABLE_JXR=ON \
-DUSE_SYSTEM_QUAZIP=ON
cmake --build build
}
package() {
cd nomacs
DESTDIR="$pkgdir" cmake --install build
}
It looks like the update removed git-lfs from makedepends, but this is still required to build.
==> Extracting sources...
-> Creating working copy of nomacs git repo...
Cloning into 'nomacs'...
done.
git-lfs filter-process: line 1: git-lfs: command not found
fatal: the remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
==> ERROR: Failure while creating working copy of nomacs git repo
Aborting...
@kinoe rebuilding with devtools works fine, launch fine
Pinned Comments
FabioLolix commented on 2025-11-02 17:44 (UTC)
nomacs-qt6-git have been prematurely deleted but can be still found at https://github.com/FabioLolix/PKGBUILD-AUR_fix/blob/master/n/nomacs-qt6-git/PKGBUILD
FabioLolix commented on 2023-07-07 05:37 (UTC) (edited on 2025-10-27 06:07 (UTC) by FabioLolix)
Pkgbuild maintained at https://github.com/FabioLolix/PKGBUILD-AUR_fix
every time you have
error while loading shared libraries: libXXX.so.XXX: cannot open shared object file: No such file or directoryfor 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
checkrebuildfromrebuild-detectorinto your workflow.