Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870382 - media-gfx/gmic-3.1.6:0 - ../.../CImg.h: fatal error: omp.h: No such file or directory
Summary: media-gfx/gmic-3.1.6:0 - ../.../CImg.h: fatal error: omp.h: No such file or d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-16 14:42 UTC by Toralf Förster
Modified: 2022-09-17 16:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.42 KB, text/plain)
2022-09-16 14:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,131.52 KB, text/plain)
2022-09-16 14:42 UTC, Toralf Förster
Details
environment (environment,61.18 KB, text/plain)
2022-09-16 14:42 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.06 KB, application/x-bzip)
2022-09-16 14:42 UTC, Toralf Förster
Details
media-gfx:gmic-3.1.6:20220916-023503.log (media-gfx:gmic-3.1.6:20220916-023503.log,12.87 KB, text/plain)
2022-09-16 14:42 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.59 KB, application/x-bzip)
2022-09-16 14:42 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-16 14:42:29 UTC
too long lines were shrinked:

/usr/lib64/qt5/bin/uic ui/filtersview.ui -o .ui/ui_filtersview.h
x86_64-pc-linux-gnu-g++ -c -pipe -O2 -fopenmp -Ofast -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -Dcimg_use_cpp11=1 -Dcimg_use_fftw3 -Dcimg_use_zlib -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_curl -Dcimg_use_png -Dcimg_use_jpeg -Dcimg_appname=\"gmic\" -Dcimg_display=1 
In file included from ../src/gmic.h:252,
                 from src/Host/None/host_none.cpp:46:
../src/CImg.h:326:10: fatal error: omp.h: No such file or directory
  326 | #include <omp.h>
      |          ^~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20220914-130006

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 67b2016e76e2e57b6620bf55940e23f43d6a1503
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 01:31:47 2022 +0000

    2022-09-16 01:31:47 UTC

emerge -qpvO media-gfx/gmic
[ebuild  N    ] media-gfx/gmic-3.1.6  USE="X cli fftw jpeg png qt5 tiff -curl -ffmpeg -gimp -graphicsmagick -opencv -openexr -openmp"
Comment 1 Toralf Förster gentoo-dev 2022-09-16 14:42:31 UTC
Created attachment 805540 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 14:42:32 UTC
Created attachment 805543 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-16 14:42:34 UTC
Created attachment 805546 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-16 14:42:35 UTC
Created attachment 805549 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-16 14:42:37 UTC
Created attachment 805552 [details]
media-gfx:gmic-3.1.6:20220916-023503.log
Comment 6 Toralf Förster gentoo-dev 2022-09-16 14:42:38 UTC
Created attachment 805555 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-09-16 15:06:47 UTC
The bug has been closed via the following commit(s):

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

commit 8bc68e8050cda74d7c928dbee80524e4442b1d5b
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-09-16 15:00:44 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-09-16 15:00:44 +0000

    media-gfx/gmic: fix USE=-openmp automagic
    
    If the preprocessor macro cimg_use_openmp is unset G'MIC code tries to
    guess if OpenMP is available by checking for the presence of the macro
    _OPENMP. This, as demonstrated by the bug ticket at hand, does not
    always work correctly.
    
    Fortunately, explicitly setting cimg_use_openmp to 0 should put in end
    to this silliness.
    
    Closes: https://bugs.gentoo.org/870382
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../gmic/files/gmic-3.1.6-makefile_automagic.patch     | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)