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

Bug 763000

Summary: media-libs/gegl-0.4.24 - ../gegl-0.4.24/gegl/opencl/gegl-cl-color.c:32:10: fatal error: opencl/colors.cl.h: No such file or directory (on musl)
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Sergey Torokhov <torokhov-s-a>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2021-01-02 00:49:41 UTC
Created attachment 680566 [details]
build.log

[...]
[237/744] x86_64-gentoo-linux-musl-gcc -Igegl/libgegl-0.4.so.0.423.1.p -Igegl -I../gegl-0.4.24/gegl -I. -I../gegl-0.4.24 -Igegl/buffer -I../gegl-0.4.24/gegl/buffer -Igegl/graph -I../gegl-0.4.24/gegl/graph -Igegl/module -I../gegl-0.4.24/gegl/module -Igegl/opencl -I../gegl-0.4.24/gegl/opencl -Igegl/operation -I../gegl-0.4.24/gegl/operation -Igegl/process -I../gegl-0.4.24/gegl/process -Igegl/property-types -I../gegl-0.4.24/gegl/property-types -I/usr/include/babl-0.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DHAVE_CONFIG_H -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -Os -march=x86-64 -msse3 -mtune=athlon64-sse3 -fPIC -pthread '-DLIBDIR="/usr/lib"' '-DG_LOG_DOMAIN="GEGL"' '-DGEGL_LOCALEDIR="/usr/share/locale"' -MD -MQ gegl/libgegl-0.4.so.0.423.1.p/opencl_gegl-cl-color.c.o -MF gegl/libgegl-0.4.so.0.423.1.p/opencl_gegl-cl-color.c.o.d -o gegl/libgegl-0.4.so.0.423.1.p/opencl_gegl-cl-color.c.o -c ../gegl-0.4.24/gegl/opencl/gegl-cl-color.c
FAILED: gegl/libgegl-0.4.so.0.423.1.p/opencl_gegl-cl-color.c.o 
x86_64-gentoo-linux-musl-gcc -Igegl/libgegl-0.4.so.0.423.1.p -Igegl -I../gegl-0.4.24/gegl -I. -I../gegl-0.4.24 -Igegl/buffer -I../gegl-0.4.24/gegl/buffer -Igegl/graph -I../gegl-0.4.24/gegl/graph -Igegl/module -I../gegl-0.4.24/gegl/module -Igegl/opencl -I../gegl-0.4.24/gegl/opencl -Igegl/operation -I../gegl-0.4.24/gegl/operation -Igegl/process -I../gegl-0.4.24/gegl/process -Igegl/property-types -I../gegl-0.4.24/gegl/property-types -I/usr/include/babl-0.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DHAVE_CONFIG_H -Winit-self -Wmissing-declarations -Wpointer-arith -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -Os -march=x86-64 -msse3 -mtune=athlon64-sse3 -fPIC -pthread '-DLIBDIR="/usr/lib"' '-DG_LOG_DOMAIN="GEGL"' '-DGEGL_LOCALEDIR="/usr/share/locale"' -MD -MQ gegl/libgegl-0.4.so.0.423.1.p/opencl_gegl-cl-color.c.o -MF gegl/libgegl-0.4.so.0.423.1.p/opencl_gegl-cl-color.c.o.d -o gegl/libgegl-0.4.so.0.423.1.p/opencl_gegl-cl-color.c.o -c ../gegl-0.4.24/gegl/opencl/gegl-cl-color.c
../gegl-0.4.24/gegl/opencl/gegl-cl-color.c:32:10: fatal error: opencl/colors.cl.h: No such file or directory
   32 | #include "opencl/colors.cl.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
 * ERROR: media-libs/gegl-0.4.24::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2021-01-02 00:50:09 UTC
Created attachment 680569 [details]
emerge --info
Comment 2 Sergey Torokhov 2021-01-02 19:56:39 UTC
This issue is duplicate of https://bugs.gentoo.org/739816 that is fixed in >=media-libs/gegl-0.4.26-r1

Is it critical to have similar fix for gegl-0.4.24 revision?
Comment 3 ernsteiswuerfel archtester 2021-01-02 21:15:43 UTC
(In reply to Sergey Torokhov from comment #2)
> This issue is duplicate of https://bugs.gentoo.org/739816 that is fixed in
> >=media-libs/gegl-0.4.26-r1
> 
> Is it critical to have similar fix for gegl-0.4.24 revision?
Ah, thanks for the hint! Yes, 0.4.26-r1 builds fine.

Don't know wheter a fix for 0.4.24 is necessary. I encounterd this on a musl profile, which is listed as experimental.
Comment 4 ernsteiswuerfel archtester 2021-01-02 21:16:05 UTC

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