Bug 2455205 - gmic FTBFS: gimptool version not being correctly identified
Summary: gmic FTBFS: gimptool version not being correctly identified
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gmic
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-05 17:29 UTC by Richard Shaw
Modified: 2026-04-16 12:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-04-16 12:20:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard Shaw 2026-04-05 17:29:48 UTC
The output is a mess and took me a bit to understand:
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o10eLN
+ umask 022
+ cd /builddir/build/BUILD/gmic-3.7.4-build
+ '[' /builddir/build/BUILD/gmic-3.7.4-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/gmic-3.7.4-build/BUILDROOT
++ dirname /builddir/build/BUILD/gmic-3.7.4-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/gmic-3.7.4-build
+ mkdir /builddir/build/BUILD/gmic-3.7.4-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules  '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules  '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd gmic-3.7.4
+ mv gmic-qt/COPYING COPYING-gmic-qt
+ mv gmic-community/libcgmic/COPYING COPYING-libcgmic
+ iconv -f iso8859-1 -t utf-8 COPYING
+ mv -f COPYING.conv COPYING
+ iconv -f iso8859-1 -t utf-8 COPYING-libcgmic
+ mv -f COPYING-libcgmic.conv COPYING-libcgmic
+ cd src
+ make DESTDIR=/builddir/build/BUILD/gmic-3.7.4-build/BUILDROOT PREFIX=/usr LIB=lib64 install
Unrecognized switch gimptool-3.0
Unrecognized switch gimptool-3.0
mkdir -p /builddir/build/BUILD/gmic-3.7.4-build/BUILDROOT/usr/include
mkdir -p /builddir/build/BUILD/gmic-3.7.4-build/BUILDROOT/usr/bin
mkdir -p /builddir/build/BUILD/gmic-3.7.4-build/BUILDROOTUsage: gimptool-3.2 [OPTION]...  General options:   --help                  print this message   --quiet, --silent       don't echo build commands   --version               print the version of GIMP associated with this script   -n, --just-print, --dry-run, --recon                           don't actually run any commands; just print them Developer options:   --cflags                print the compiler flags that are necessary to                           compile a plug-in   --libs                  print the linker flags that are necessary to link a                           plug-in   --prefix=PREFIX         use PREFIX instead of the installation prefix that                           GIMP was built when computing the output for --cflags                           and --libs   --exec-prefix=PREFIX    use PREFIX instead of the installation exec prefix                           that GIMP was built when computing the output for                           --cflags and --libs   --msvc-syntax           print flags in MSVC syntax  Installation directory options:   --prefix --exec-prefix --bindir --sbindir --libexecdir --datadir --sysconfdir   --sharedstatedir --localstatedir --libdir --infodir --mandir --includedir   --gimpplugindir --gimpdatadir  The --cflags and --libs options can be appended with -noui to get appropriate settings for plug-ins which do not use GTK+.  User options:   --build plug-in.c               build a plug-in from a source file   --install plug-in.c             same as --build, but installs the built                                   plug-in as well   --install-bin plug-in           install a compiled plug-in   --install-script script.scm     install a script-fu script    --uninstall-bin plug-in         remove a plug-in again   --uninstall-script plug-in      remove a script-fu script  The --install and --uninstall options have "admin" counterparts (with prefix --install-admin instead of --install) that can be used instead to install/uninstall a plug-in or script in the machine directory instead of a user directory.  For plug-ins which do not use GTK+, the --build and --install options can be appended with -noui for appropriate settings. For plug-ins that use GTK+ but not libgimpui, append -nogimpui./plug-ins/gmic_gimp_qt
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `mkdir -p /builddir/build/BUILD/gmic-3.7.4-build/BUILDROOTUsage: gimptool-3.2 [OPTION]...  General options:   --help                  print this message   --quiet, --silent       don't echo build commands   --version               print the version of GIMP associated with this script   -n, --just-print, --dry-run, --recon                           don't actually run any commands; just print them Developer options:   --cflags                print the compiler flags that are necessary to                           compile a plug-in   --libs                  print the linker flags that are necessary to link a                           plug-in   --prefix=PREFIX         use PREFIX instead of the installation prefix that                           GIMP was built when computing the output for --cflags                           and --libs   --exec-prefix=PREFIX    use PREFIX instead of the installation exec prefix                           that GIMP was built when computing the output for                           --cflags and --libs   --msvc-syntax           print flags in MSVC syntax  Installation directory options:   --prefix --exec-prefix --bindir --sbindir --libexecdir --datadir --sysconfdir   --sharedstatedir --localstatedir --libdir --infodir --mandir --includedir   --gimpplugindir --gimpdatadir  The --cflags and --libs options can be appended with -noui to get appropriate settings for plug-ins which do not use GTK+.  User options:   --build plug-in.c               build a plug-in from a source file   --install plug-in.c             same as --build, but installs the built                                   plug-in as well   --install-bin plug-in           install a compiled plug-in   --install-script script.scm     install a script-fu script    --uninstall-bin plug-in         remove a plug-in again   --uninstall-script plug-in      remove a script-fu script  The --install and --uninstall options have "admin" counterparts (with prefix --install-admin instead of --install) that can be used instead to install/uninstall a plug-in or script in the machine directory instead of a user directory.  For plug-ins which do not use GTK+, the --build and --install options can be appended with -noui for appropriate settings. For plug-ins that use GTK+ but not libgimpui, append -nogimpui./plug-ins/gmic_gimp_qt'
make: *** [Makefile:847: install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.o10eLN (%install)
    Bad exit status from /var/tmp/rpm-tmp.o10eLN (%install)
RPM build errors:
Child return code was: 1

Reproducible: Always

Comment 1 Daniel Berrangé 2026-04-16 12:20:14 UTC
Fixed in gmic-3.7.4-2.fc45

Upstream had bad shell logic for detecting gimptool versions.


Note You need to log in before you can comment on or make changes to this bug.