Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685698

Summary: media-gfx/libimagequant-2.12.2 : mediancut.c:198:13: error: colors not specified in enclosing parallel
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: b.buschinski
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=685044
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 686612    
Bug Blocks:    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
media-gfx:libimagequant-2.12.2:20190512-083617.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-12 09:23:27 UTC
x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native  -std=c99 -I. -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -fopenmp -fexcess-precision=fast -c mediancut.c -o mediancut.lo
mediancut.c: In function ‘prepare_sort’:
mediancut.c:198:13: error: ‘colors’ not specified in enclosing ‘parallel’
  198 |     #pragma omp parallel for if (colors > 25000) \
      |             ^~~
mediancut.c:198:13: error: enclosing ‘parallel’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl_20190510-223704

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1 *



emerge -qpvO media-gfx/libimagequant
[ebuild  N    ] media-gfx/libimagequant-2.12.2  USE="openmp -debug -static-libs" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2019-05-12 09:23:30 UTC
Created attachment 576130 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-12 09:23:32 UTC
Created attachment 576132 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-12 09:23:35 UTC
Created attachment 576134 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-12 09:23:38 UTC
Created attachment 576136 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-12 09:23:41 UTC
Created attachment 576138 [details]
media-gfx:libimagequant-2.12.2:20190512-083617.log
Comment 6 Toralf Förster gentoo-dev 2019-05-12 09:23:44 UTC
Created attachment 576140 [details]
temp.tbz2
Comment 7 Jiří Moravec 2019-05-17 09:07:12 UTC
This error was already reported as #685078
Comment 8 Jiří Moravec 2019-05-17 09:19:40 UTC
And as was pointed there, upstream has this error patch commited already:
https://github.com/ImageOptim/libimagequant/commit/62c4bf1dc8bda1e53fbb65e596a141c5a15a4f00.patch
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2019-05-30 19:13:07 UTC

*** This bug has been marked as a duplicate of bug 685078 ***