Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847112 - media-gfx/nomacs-3.16.224-r2 fails to build with +plugins flag enabled
Summary: media-gfx/nomacs-3.16.224-r2 fails to build with +plugins flag enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 851768 (view as bug list)
Depends on:
Blocks: qtbindir
  Show dependency tree
 
Reported: 2022-05-23 14:50 UTC by Maxim Ganetsky
Modified: 2023-09-03 12:19 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,5.81 KB, text/x-log)
2022-05-23 14:50 UTC, Maxim Ganetsky
Details
build log (nomacs-build.log,5.52 KB, text/x-log)
2022-05-25 15:34 UTC, jorge
Details
nomacs-3.16.224-r3.patch (nomacs-3.16.224-r3.patch,1.31 KB, patch)
2022-07-21 07:55 UTC, Kalin KOZHUHAROV
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Ganetsky 2022-05-23 14:50:53 UTC
Created attachment 780410 [details]
Build log

media-gfx/nomacs-3.16.224-r2 fails to build with +plugins flag enabled

$ emerge --info '=media-gfx/nomacs-3.16.224-r2::gentoo'
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.1, glibc-2.34-r13, 5.15.41-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.41-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-4310M_CPU_@_2.70GHz-with-glibc2.34
KiB Mem:     8050248 total,   4686652 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 23 May 2022 13:00:01 +0000
Head commit of repository gentoo: 53573525181d0d2dba599957ed92d2941cfb52c1
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r9::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust-bin:         1.59.0::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ ftp://xeon.gentoo.ru/mirrors/gentoo/distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 archive bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli crypt cups dbus declarative djvu dri dts dvd dvdr elogind encode exif extras ffmpeg flac fortran gdbm gif gphoto2 gpm gstreamer gtk gui iconv icu ipv6 jpeg jpeg2k kde kwallet lcms libglvnd libnotify libtirpc lm-sensors mad midi mng modplug mp3 mp4 mpeg multilib musepack music ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 readline samba sdl seccomp semantic-desktop sound speex spell split-usr sqlite ssl startup-notification svg theora threads tiff truetype udev udisks unicode upower usb vorbis wavpack widgets wxwidgets x264 xattr xcb xml xmp xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-gfx/nomacs-3.16.224-r2::gentoo was built with the following:
USE="jpeg opencv tiff -plugins -raw -zip" ABI_X86="(64)"
Comment 1 jorge 2022-05-25 15:33:53 UTC
In my system:

--------------------------------------------------------------------------
* ERROR: media-gfx/nomacs-3.16.224-r2::gentoo failed (configure phase):
*   cmake failed
* 
* Call stack:
*     ebuild.sh, line  127:  Called src_configure
*   environment, line 2157:  Called cmake_src_configure
*   environment, line 1007:  Called die
* The specific snippet of code:
*       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
* 
* If you need support, post the output of `emerge --info '=media-gfx/nomacs-3.16.224-r2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-gfx/nomacs-3.16.224-r2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-gfx/nomacs-3.16.224-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/nomacs-3.16.224-r2/temp/environment'.
* Working directory: '/var/tmp/portage/media-gfx/nomacs-3.16.224-r2/work/nomacs-3.16.224_build'
* S: '/var/tmp/portage/media-gfx/nomacs-3.16.224-r2/work/nomacs-3.16.224/ImageLounge'
--------------------------------------------------------------------------

emerge --info nomacs:

--------------------------------------------------------------------------
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/systemd, gcc-11.2.1, glibc-2.34-r13, 5.15.32-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.32-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E3-1285_v4_@_3.50GHz-with-glibc2.34
KiB Mem:    32720904 total,  13694996 free
KiB Swap:    8388604 total,   8379644 free
Timestamp of repository gentoo: Tue, 24 May 2022 01:00:01 +0000
Head commit of repository gentoo: d588098243ce755e97459a5e9411d7f99db23a6c
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r9::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.59.0::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.4-r2::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --jobs=8 --load-average=7.9"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O3 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluray branding bzip2 cairo caps cdda cddb cdr cli colord crypt cuda cups dav1d dbus djvu dri dts dvd dvdr egl encode eselect-ldso exif ffmpeg fftw flac fontconfig fortran fuse gdbm gif gles2 gmp gnome-keyring gphoto2 gpm gtk gtk3 gui iconv icu introspection ipv6 jack jpeg jpeg2k lcms libcaca libglvnd libnotify libsamplerate libtirpc lm-sensors lto lzma mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nss ogg opencl opengl openmp openssl pam pango pcre pdf perl pgo png policykit postscript ppds pulseaudio qt5 raw readline sdl seccomp sndfile speex spell split-usr ssl startup-notification svg systemd teamd threads tiff truetype udev udisks unicode upower usb v4l vaapi vala vdpau vorbis vulkan wavpack wxwidgets x264 x265 xattr xcb xfce xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda_intel ca0132" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en es la" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-gfx/nomacs-3.16.224-r2::gentoo was built with the following:
USE="jpeg opencv plugins raw tiff zip" ABI_X86="(64)"
--------------------------------------------------------------------------
Comment 2 jorge 2022-05-25 15:34:27 UTC
Created attachment 780779 [details]
build log
Comment 3 Ulenrich 2022-06-13 14:18:21 UTC
I can confirm the bug, but it must be re-titled:

media-gfx/nomacs-3.16.224-r2 missing build dependency dev-qt/qtchooser

because in the build log:
-- Info: The Nikon Plugin cannot be built with x64 compiler configuration
[31mCMake Error at plugins/cmake/Utils.cmake:16 (message):
  you have to set the path to the Qt5 qmake executable
Call Stack (most recent call first):
  plugins/CMakeLists.txt:33 (NMC_FINDQT)
--

better with qtchooser here:
---
# emerge -1 qtchooser nomacs

These are the packages that would be merged, in order:

Calculating dependencies  ..... done!
[ebuild  N     ] dev-qt/qtchooser-66-r2::gentoo  USE="-test" 32 KiB
[ebuild   R    ] media-gfx/nomacs-3.16.224-r2::gentoo  USE="jpeg opencv plugins -raw tiff -zip" 0 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 32 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 2) dev-qt/qtchooser-66-r2::gentoo
>>> Installing (1 of 2) dev-qt/qtchooser-66-r2::gentoo
>>> Emerging (2 of 2) media-gfx/nomacs-3.16.224-r2::gentoo
>>> Installing (2 of 2) media-gfx/nomacs-3.16.224-r2::gentoo
>>> Jobs: 2 of 2 complete
---
Comment 4 jorge 2022-06-13 22:57:46 UTC
The missing dependency is the origin of the bug. I modified in my system the nomacs ebuild by adding that dependency (only when plugins USE is active) and requested the change in the ebuild in bug 851768.
Comment 5 Ulenrich 2022-06-14 07:32:51 UTC
See
https://archives.gentoo.org/gentoo-dev/message/5f3681b5b28dabeb5339d44e9585d29f

@jorge
Please link your bug with blocks to this bug. Regarding the message in archives I wonder if a patch of a make or cmake configure script would do the job instead of an additional dependency?
Comment 6 jorge 2022-06-14 16:40:19 UTC
(In reply to Ulenrich from comment #5)
> See
> https://archives.gentoo.org/gentoo-dev/message/
> 5f3681b5b28dabeb5339d44e9585d29f
> 
> @jorge
> Please link your bug with blocks to this bug. Regarding the message in
> archives I wonder if a patch of a make or cmake configure script would do
> the job instead of an additional dependency?

Good point!
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-16 16:04:14 UTC
*** Bug 851768 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-16 16:04:42 UTC
The ebuild must be fixed to work using e.g. PATH like all the other blockers of bug 544108.
Comment 9 Kalin KOZHUHAROV 2022-07-21 07:55:36 UTC
Created attachment 792707 [details, diff]
nomacs-3.16.224-r3.patch

I tried to look at ways to use qmake-utils, but the problem was slightly different, so I patched it directly.

This is available in my pkalin overlay for reference: https://github.com/thinrope/pkalin/commit/275720438abd565339debfa335ff66ba2d727e11
Comment 10 Maxim Ganetsky 2022-08-04 13:40:11 UTC
Ping. Can the above patch be reviewed/applied?
Comment 11 Larry the Git Cow gentoo-dev 2022-08-06 21:49:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86473be29f70c53a17c71f96cbbb51cc23caca7e

commit 86473be29f70c53a17c71f96cbbb51cc23caca7e
Author:     Kalin KOZHUHAROV <me.kalin@gmail.com>
AuthorDate: 2022-07-21 07:43:09 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2022-08-06 21:48:26 +0000

    media-gfx/nomacs-3.16.224-r3: Fix building with USE=plugins
    
    It looks like qmake was renamed to qmake5 and could not be found, see
    2022-03-30-qt-5_15_3-bump in Gentoo news and
    https://archives.gentoo.org/gentoo-dev/message/5f3681b5b28dabeb5339d44e9585d29f
    
    Closes: https://bugs.gentoo.org/847112
    Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net>
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 media-gfx/nomacs/nomacs-3.16.224-r2.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 12 Andreas Sturmlechner gentoo-dev 2023-09-03 09:30:01 UTC
(In reply to Kalin KOZHUHAROV from comment #9)
> I tried to look at ways to use qmake-utils, but the problem was slightly
> different, so I patched it directly.

Upstream build system is completely messed up, but why not simply set QT_QMAKE_EXECUTABLE=qmake5 than introducing yet another sed?
Comment 13 Larry the Git Cow gentoo-dev 2023-09-03 12:19:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00d74be68cdafcc64ae0fe4090f5505243d4db7

commit f00d74be68cdafcc64ae0fe4090f5505243d4db7
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-09-03 10:48:37 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-09-03 12:18:06 +0000

    media-gfx/nomacs: update EAPI 7 -> 8, drop all sed modifications
    
    Bug: https://bugs.gentoo.org/847112
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/nomacs-3.16.224-libdir-plugins.patch     | 23 ++++++
 .../nomacs/files/nomacs-3.16.224-libdir.patch      | 30 ++++++++
 media-gfx/nomacs/nomacs-3.16.224-r6.ebuild         | 83 ++++++++++++++++++++++
 3 files changed, 136 insertions(+)