gimp-2.6.0 introduces some new deps, I've added them with only ~amd64 and ~x86, please test them on your archs and re-add keywords.
when emerge gegl-0.0.20 build error: /usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/gtk-2.0/gdk/gdkspawn.h:26, from /usr/include/gtk-2.0/gdk/gdk.h:52, from /usr/include/gtk-2.0/gtk/gtk.h:31, from gegl.c:43: /usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly." make[2]: *** [editor-optype.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/gtk-2.0/gdk/gdkspawn.h:26, from /usr/include/gtk-2.0/gdk/gdk.h:52, from /usr/include/gtk-2.0/gtk/gtk.h:31, from editor.c:22: /usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly." make[2]: *** [gegl.o] Error 1 make[2]: *** [editor.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/bin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20' make: *** [all] Error 2 * * ERROR: media-libs/gegl-0.0.20 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2043: Called die * The specific snippet of code: * env GEGL_SWAP="${WORKDIR}" emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/environment'. * * GNU info directory index is up-to-date. my arch is x86
I have the same error on amd64.
I have a different compilation failure on AMD64: ===== x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/babl-0.0 -DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl -I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types -I../../gegl/module -DG_DISABLE_SINGLE_INCLUDES -I/usr/include/ffmpeg -I/usr/include/ffmpeg -march=athlon64 -mtune=athlon64 -O2 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT ff_load_la-ff-load.lo -MD -MP -MF .deps/ff_load_la-ff-load.Tpo -c ff-load.c -fPIC -DPIC -o .libs/ff_load_la-ff-load.o ff-load.c:35:34: error: libavformat/avformat.h: No existe el fichero o el directorio ff-load.c:47: error: expected specifier-qualifier-list before ‘AVFormatContext’ ff-load.c: En la función ‘print_error’: ff-load.c:67: error: ‘AVERROR_NUMEXPECTED’ no se declaró aquí (primer uso en esta función) ff-load.c:67: error: (Cada identificador no declarado solamente se reporta una vez ff-load.c:67: error: ara cada funcion en la que aparece.) ff-load.c:74: error: ‘AVERROR_INVALIDDATA’ no se declaró aquí (primer uso en esta función) ff-load.c:77: error: ‘AVERROR_NOFMT’ no se declaró aquí (primer uso en esta función) ff-load.c: En la función ‘init’: ff-load.c:103: aviso: declaración implícita de la función ‘av_register_all’ ff-load.c:104: aviso: declaración implícita de la función ‘avcodec_register_all’ ff-load.c:107: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c: En la función ‘ff_cleanup’: ff-load.c:121: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:122: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:124: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:125: aviso: declaración implícita de la función ‘avcodec_close’ ff-load.c:125: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:126: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:127: aviso: declaración implícita de la función ‘av_close_input_file’ ff-load.c:127: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:128: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:129: aviso: declaración implícita de la función ‘av_free’ ff-load.c:129: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:131: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:132: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:133: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:135: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c: En la función ‘decode_frame’: ff-load.c:155: error: ‘Priv’ no tiene un miembro llamado ‘prevframe’ ff-load.c:189: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:190: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:202: error: ‘Priv’ no tiene un miembro llamado ‘coded_bytes’ ff-load.c:206: aviso: declaración implícita de la función ‘av_read_packet’ ff-load.c:206: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:206: error: ‘Priv’ no tiene un miembro llamado ‘pkt’ ff-load.c:208: aviso: declaración implícita de la función ‘fprintf’ ff-load.c:208: aviso: declaración implícita incompatible de la función interna ‘fprintf’ ff-load.c:208: error: ‘stderr’ no se declaró aquí (primer uso en esta función) ff-load.c:213: error: ‘Priv’ no tiene un miembro llamado ‘pkt’ ff-load.c:215: error: ‘Priv’ no tiene un miembro llamado ‘coded_bytes’ ff-load.c:215: error: ‘Priv’ no tiene un miembro llamado ‘pkt’ ff-load.c:216: error: ‘Priv’ no tiene un miembro llamado ‘coded_buf’ ff-load.c:216: error: ‘Priv’ no tiene un miembro llamado ‘pkt’ ff-load.c:219: aviso: declaración implícita de la función ‘avcodec_decode_video’ ff-load.c:219: error: ‘Priv’ no tiene un miembro llamado ‘video_st’ ff-load.c:219: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:220: error: ‘Priv’ no tiene un miembro llamado ‘coded_buf’ ff-load.c:220: error: ‘Priv’ no tiene un miembro llamado ‘coded_bytes’ ff-load.c:223: aviso: declaración implícita incompatible de la función interna ‘fprintf’ ff-load.c:228: error: ‘Priv’ no tiene un miembro llamado ‘coded_buf’ ff-load.c:229: error: ‘Priv’ no tiene un miembro llamado ‘coded_bytes’ ff-load.c:235: error: ‘Priv’ no tiene un miembro llamado ‘prevframe’ ff-load.c: En la función ‘prepare’: ff-load.c:254: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:255: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:261: aviso: declaración implícita de la función ‘av_open_input_file’ ff-load.c:261: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:266: aviso: declaración implícita de la función ‘av_find_stream_info’ ff-load.c:266: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:273: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:275: error: ‘AVCodecContext’ no se declaró aquí (primer uso en esta función) ff-load.c:275: error: ‘c’ no se declaró aquí (primer uso en esta función) ff-load.c:275: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:276: error: ‘CODEC_TYPE_VIDEO’ no se declaró aquí (primer uso en esta función) ff-load.c:278: error: ‘Priv’ no tiene un miembro llamado ‘video_st’ ff-load.c:278: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:283: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:283: error: ‘Priv’ no tiene un miembro llamado ‘video_st’ ff-load.c:284: error: ‘Priv’ no tiene un miembro llamado ‘codec’ ff-load.c:284: aviso: declaración implícita de la función ‘avcodec_find_decoder’ ff-load.c:284: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:286: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:287: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:288: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:288: error: ‘FF_BUG_AUTODETECT’ no se declaró aquí (primer uso en esta función) ff-load.c:290: error: ‘Priv’ no tiene un miembro llamado ‘codec’ ff-load.c:295: error: ‘Priv’ no tiene un miembro llamado ‘codec’ ff-load.c:295: error: ‘CODEC_CAP_TRUNCATED’ no se declaró aquí (primer uso en esta función) ff-load.c:296: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:296: error: ‘CODEC_FLAG_TRUNCATED’ no se declaró aquí (primer uso en esta función) ff-load.c:298: aviso: declaración implícita de la función ‘avcodec_open’ ff-load.c:298: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:298: error: ‘Priv’ no tiene un miembro llamado ‘codec’ ff-load.c:300: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:304: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:305: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:307: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:307: aviso: declaración implícita de la función ‘avcodec_alloc_frame’ ff-load.c:312: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:313: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:314: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:315: error: ‘Priv’ no tiene un miembro llamado ‘enc’ ff-load.c:319: error: ‘Priv’ no tiene un miembro llamado ‘codec’ ff-load.c:321: error: ‘Priv’ no tiene un miembro llamado ‘codec’ ff-load.c:328: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:329: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:330: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ ff-load.c:331: error: ‘Priv’ no tiene un miembro llamado ‘prevframe’ ff-load.c:332: error: ‘Priv’ no tiene un miembro llamado ‘coded_bytes’ ff-load.c:333: error: ‘Priv’ no tiene un miembro llamado ‘coded_buf’ ff-load.c: En la función ‘process’: ff-load.c:356: error: ‘Priv’ no tiene un miembro llamado ‘ic’ ff-load.c:369: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:369: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:370: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:370: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:371: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c:371: error: ‘Priv’ no tiene un miembro llamado ‘lavc_frame’ ff-load.c: En la función ‘finalize’: ff-load.c:416: error: ‘Priv’ no tiene un miembro llamado ‘loadedfilename’ make[3]: *** [ff_load_la-ff-load.lo] Error 1 make[3]: *** Se espera a que terminen otras tareas.... x86_64-pc-linux-gnu-gcc -shared .libs/text_la-text.o /usr/lib64/libgio-2.0.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so -march=athlon64 -mtune=athlon64 -mmmx -msse -Wl,-O1 -Wl,--export-dynamic -pthread -Wl,-soname -Wl,text.so -o .libs/text.so creating text.la (cd .libs && rm -f text.la && ln -s ../text.la text.la) make[3]: se sale del directorio `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/operations/external' make[2]: *** [all-recursive] Error 1 make[2]: se sale del directorio `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/operations' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20' make: *** [all] Error 2 * * ERROR: media-libs/gegl-0.0.20 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2154: Called die * The specific snippet of code: * env GEGL_SWAP="${WORKDIR}" emake || die "emake failed" * The die message: * emake failed =====
Seems like we need the latest gtk+. I will try and see if it works.
Yup, it complies fine after adding ~x86 to gnome-base/gail-1000 and x11-libs/gtk+-2.14.3-r2.
(In reply to comment #5) > Yup, it complies fine after adding ~x86 to gnome-base/gail-1000 and > x11-libs/gtk+-2.14.3-r2. I have just done this, everything works but I still get this error compiling gegl i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/babl-0.0 -DG_DISABLE_SINGLE_INCLUDES -I. -I../.. -I../.. -I../../gegl -I../../gegl/buffer -I../../gegl/operation -I../../gegl/property-types -I../../gegl/module -DG_DISABLE_SINGLE_INCLUDES -I/usr/include/ffmpeg -I/usr/include/ffmpeg -O2 -march=i686 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT ff_load_la-ff-load.lo -MD -MP -MF .deps/ff_load_la-ff-load.Tpo -c ff-load.c -fPIC -DPIC -o .libs/ff_load_la-ff-load.o ff-load.c:35:34: error: libavformat/avformat.h: No such file or directory ff-load.c:47: error: expected specifier-qualifier-list before 'AVFormatContext' ff-load.c: In function 'print_error': ff-load.c:67: error: 'AVERROR_NUMEXPECTED' undeclared (first use in this function) ff-load.c:67: error: (Each undeclared identifier is reported only once ff-load.c:67: error: for each function it appears in.) ff-load.c:74: error: 'AVERROR_INVALIDDATA' undeclared (first use in this function) ff-load.c:77: error: 'AVERROR_NOFMT' undeclared (first use in this function) ff-load.c: In function 'init': ff-load.c:103: warning: implicit declaration of function 'av_register_all' ff-load.c:104: warning: implicit declaration of function 'avcodec_register_all' ff-load.c:107: error: 'Priv' has no member named 'loadedfilename' ff-load.c: In function 'ff_cleanup': ff-load.c:121: error: 'Priv' has no member named 'loadedfilename' ff-load.c:122: error: 'Priv' has no member named 'loadedfilename' ff-load.c:124: error: 'Priv' has no member named 'enc' ff-load.c:125: warning: implicit declaration of function 'avcodec_close' ff-load.c:125: error: 'Priv' has no member named 'enc' ff-load.c:126: error: 'Priv' has no member named 'ic' ff-load.c:127: warning: implicit declaration of function 'av_close_input_file' ff-load.c:127: error: 'Priv' has no member named 'ic' ff-load.c:128: error: 'Priv' has no member named 'lavc_frame' ff-load.c:129: warning: implicit declaration of function 'av_free' ff-load.c:129: error: 'Priv' has no member named 'lavc_frame' ff-load.c:131: error: 'Priv' has no member named 'enc' ff-load.c:132: error: 'Priv' has no member named 'ic' ff-load.c:133: error: 'Priv' has no member named 'lavc_frame' ff-load.c:135: error: 'Priv' has no member named 'loadedfilename' ff-load.c: In function 'decode_frame': ff-load.c:155: error: 'Priv' has no member named 'prevframe' ff-load.c:189: error: 'Priv' has no member named 'loadedfilename' ff-load.c:190: error: 'Priv' has no member named 'loadedfilename' ff-load.c:202: error: 'Priv' has no member named 'coded_bytes' ff-load.c:206: warning: implicit declaration of function 'av_read_packet' ff-load.c:206: error: 'Priv' has no member named 'ic' ff-load.c:206: error: 'Priv' has no member named 'pkt' ff-load.c:208: warning: implicit declaration of function 'fprintf' ff-load.c:208: warning: incompatible implicit declaration of built-in function 'fprintf' ff-load.c:208: error: 'stderr' undeclared (first use in this function) ff-load.c:213: error: 'Priv' has no member named 'pkt' ff-load.c:215: error: 'Priv' has no member named 'coded_bytes' ff-load.c:215: error: 'Priv' has no member named 'pkt' ff-load.c:216: error: 'Priv' has no member named 'coded_buf' ff-load.c:216: error: 'Priv' has no member named 'pkt' ff-load.c:219: warning: implicit declaration of function 'avcodec_decode_video' ff-load.c:219: error: 'Priv' has no member named 'video_st' ff-load.c:219: error: 'Priv' has no member named 'lavc_frame' ff-load.c:220: error: 'Priv' has no member named 'coded_buf' ff-load.c:220: error: 'Priv' has no member named 'coded_bytes' ff-load.c:223: warning: incompatible implicit declaration of built-in function 'fprintf' ff-load.c:228: error: 'Priv' has no member named 'coded_buf' ff-load.c:229: error: 'Priv' has no member named 'coded_bytes' ff-load.c:235: error: 'Priv' has no member named 'prevframe' ff-load.c: In function 'prepare': ff-load.c:254: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:255: error: 'Priv' has no member named 'loadedfilename' ff-load.c:261: warning: implicit declaration of function 'av_open_input_file' ff-load.c:261: error: 'Priv' has no member named 'ic' ff-load.c:266: warning: implicit declaration of function 'av_find_stream_info' ff-load.c:266: error: 'Priv' has no member named 'ic' ff-load.c:273: error: 'Priv' has no member named 'ic' ff-load.c:275: error: 'AVCodecContext' undeclared (first use in this function) ff-load.c:275: error: 'c' undeclared (first use in this function) ff-load.c:275: error: 'Priv' has no member named 'ic' ff-load.c:276: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function) ff-load.c:278: error: 'Priv' has no member named 'video_st' ff-load.c:278: error: 'Priv' has no member named 'ic' ff-load.c:283: error: 'Priv' has no member named 'enc' ff-load.c:283: error: 'Priv' has no member named 'video_st' ff-load.c:284: error: 'Priv' has no member named 'codec' ff-load.c:284: warning: implicit declaration of function 'avcodec_find_decoder' ff-load.c:284: error: 'Priv' has no member named 'enc' ff-load.c:286: error: 'Priv' has no member named 'enc' ff-load.c:287: error: 'Priv' has no member named 'enc' ff-load.c:288: error: 'Priv' has no member named 'enc' ff-load.c:288: error: 'FF_BUG_AUTODETECT' undeclared (first use in this function) ff-load.c:290: error: 'Priv' has no member named 'codec' ff-load.c:295: error: 'Priv' has no member named 'codec' ff-load.c:295: error: 'CODEC_CAP_TRUNCATED' undeclared (first use in this function) ff-load.c:296: error: 'Priv' has no member named 'enc' ff-load.c:296: error: 'CODEC_FLAG_TRUNCATED' undeclared (first use in this function) ff-load.c:298: warning: implicit declaration of function 'avcodec_open' ff-load.c:298: error: 'Priv' has no member named 'enc' ff-load.c:298: error: 'Priv' has no member named 'codec' ff-load.c:300: error: 'Priv' has no member named 'enc' ff-load.c:304: error: 'Priv' has no member named 'enc' ff-load.c:305: error: 'Priv' has no member named 'enc' ff-load.c:307: error: 'Priv' has no member named 'lavc_frame' ff-load.c:307: warning: implicit declaration of function 'avcodec_alloc_frame' ff-load.c:312: error: 'Priv' has no member named 'enc' ff-load.c:313: error: 'Priv' has no member named 'enc' ff-load.c:314: error: 'Priv' has no member named 'enc' ff-load.c:315: error: 'Priv' has no member named 'enc' ff-load.c:319: error: 'Priv' has no member named 'codec' ff-load.c:321: error: 'Priv' has no member named 'codec' ff-load.c:328: error: 'Priv' has no member named 'loadedfilename' ff-load.c:329: error: 'Priv' has no member named 'loadedfilename' ff-load.c:330: error: 'Priv' has no member named 'loadedfilename' ff-load.c:331: error: 'Priv' has no member named 'prevframe' ff-load.c:332: error: 'Priv' has no member named 'coded_bytes' ff-load.c:333: error: 'Priv' has no member named 'coded_buf' ff-load.c: In function 'process': ff-load.c:356: error: 'Priv' has no member named 'ic' ff-load.c:369: error: 'Priv' has no member named 'lavc_frame' ff-load.c:369: error: 'Priv' has no member named 'lavc_frame' ff-load.c:370: error: 'Priv' has no member named 'lavc_frame' ff-load.c:370: error: 'Priv' has no member named 'lavc_frame' ff-load.c:371: error: 'Priv' has no member named 'lavc_frame' ff-load.c:371: error: 'Priv' has no member named 'lavc_frame' ff-load.c: In function 'finalize': ff-load.c:416: error: 'Priv' has no member named 'loadedfilename' make[3]: *** [ff_load_la-ff-load.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/paludis/media-libs-gegl-0.0.20/work/gegl-0.0.20/operations/external' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/paludis/media-libs-gegl-0.0.20/work/gegl-0.0.20/operations' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/media-libs-gegl-0.0.20/work/gegl-0.0.20' make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in media-libs/gegl-0.0.20: !!! In src_compile at line 3251 !!! emake failed !!! Call stack: !!! * src_compile (/var/tmp/paludis/media-libs-gegl-0.0.20/temp/loadsaveenv:3251) !!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:470) !!! * main (/usr/libexec/paludis/ebuild.bash:485) diefunc: making ebuild PID 21175 exit with error die trap: exiting with error. Install error: * In program paludis -i world: * When performing install action from command line: * When executing install task: * When installing 'media-libs/gegl-0.0.20:0::gentoo': * Install error: Install failed for 'media-libs/gegl-0.0.20:0::gentoo' Summary of failures: * media-libs/gegl-0.0.20:0::gentoo: failure Total: 3 packages, 0 successes, 0 skipped, 1 failure, 2 unreached Resume command: paludis --log-level qa --install --add-to-world-spec '( )' --serialised 0.25 'package;=media-libs/gegl-0.0.20:0::gentoo;installed;has_all_deps;P' 'package;=dev-util/intltool-0.40.4:0::gentoo;installed;has_all_deps;P' 'package;=media-gfx/gimp-2.6.0:2::gentoo;installed;has_all_deps;P' * No unread news items found * Searching for configuration files requiring action... * No configuration file updates required It looks like it wants to include soem stuff from ffmpeg, but my use flag on ffmpeg is off. These packages will be installed: * media-libs/gegl [N 0.0.20] Reasons: *media-gfx/gimp-2.6.0:2::gentoo "A graph based image processing framework" cairo -debug doc -ffmpeg gtk jpeg -openexr sdl svg
(In reply to comment #6) > (In reply to comment #5) > > Yup, it complies fine after adding ~x86 to gnome-base/gail-1000 and > > x11-libs/gtk+-2.14.3-r2. > > I have just done this, everything works but I still get this error compiling > gegl > > ..... > ff-load.c:35:34: error: libavformat/avformat.h: No such file or directory You're getting the same error I was having. See my comment number #3 in this bug. After upgrading gtk+ and gail to the suggested ~amd64 version I'm still getting the same failure. To me it means that: 1) In my case gnome-base/gail-1.22.3 and x11-libs/gtk+-2.12.11, the stable amd64 versions, were enough. Or, at least, they were not responsible for the gegl failure above. 2) The culprit, thus, must reside somewhere else.
ffmpeg (stable, using 0.4.9_p20070616-r3) seems to be responsible for the libavformat/avformat.h error: It installs all its headers into /usr/include/ffmpeg, but gegl searches for avformat.h inside /usr/include/libavformat. You can get around this by linking the existing file (or folder) to the location expected by gegl, for example ln -s /usr/include/ffmpeg /usr/include/libavformat
I've changed some dependencies to apply better. All issues mentioned above should be caused by old ffmpeg or glib versions.
I was getting the "Only <glib.h> can be included directly." compilation error too, and I can confirm that upgrading to the ~arch versions of gegl and gtk+ fixed this. As for the ffmpeg error, I can confirm that I do *not* get any errors with media-video/ffmpeg-0.4.9_p20080326 (latest in Portage as of this moment.) So I guess the deps in the ebuilds should be updated to require recent Gtk+/gegl/ffmpeg. Gimp being ~arch itself and introduced as such later as the packages in question in Portage, I would suggest picking the latest ~arch versions of those packages currently in Portage: media-video/ffmpeg-0.4.9_p20080326 gnome-base/gail-1000 x11-libs/gtk+-2.14.3-r2
Have an error too compiling gimp-2.6.0. psd-image-res-load.o: In function `load_thumbnail_resource': psd-image-res-load.c:(.text+0x27d): undefined reference to `jpeg_std_error' psd-image-res-load.c:(.text+0x29b): undefined reference to `jpeg_CreateDecompress' psd-image-res-load.c:(.text+0x2a7): undefined reference to `jpeg_stdio_src' psd-image-res-load.c:(.text+0x2b7): undefined reference to `jpeg_read_header' psd-image-res-load.c:(.text+0x2bf): undefined reference to `jpeg_start_decompress' psd-image-res-load.c:(.text+0x4be): undefined reference to `jpeg_read_scanlines' psd-image-res-load.c:(.text+0x532): undefined reference to `jpeg_finish_decompress' psd-image-res-load.c:(.text+0x53a): undefined reference to `jpeg_destroy_decompress' collect2: ld returned 1 exit status make[3]: *** [file-psd-load] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.0/work/gimp-2.6.0/plug-ins/file-psd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.0/work/gimp-2.6.0/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.6.0/work/gimp-2.6.0' make: *** [all] Error 2 commander ~ # emerge -pv gtk+ gail gegl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/gtk+-2.14.3-r2 USE="X cups jpeg -debug -doc -jpeg2k -tiff -vim-syntax -xinerama" 0 kB [ebuild R ] media-libs/gegl-0.0.20 USE="cairo jpeg svg -debug -doc -ffmpeg -gtk -openexr -sdl" 0 kB [ebuild R ] gnome-base/gail-1000 0 kB emerge --info: commander ~ # emerge --info Portage 2.2_rc11 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.26 i686) ================================================================= System uname: Linux-2.6.26-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-glibc2.0 Timestamp of tree: Wed, 08 Oct 2008 08:00:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r6, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl berkdb cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Can you please open new bugs for new issues? (and let them block this one) It's absolutely horrible to try to find issues in long threads.
Done (#240490). Sorry Hanno.
I'm on ~x86 profile, when emerge gegl-0.0.20 i get build error: creating hello-world make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/examples' make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/examples' Making all in docs make[2]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs' Making all in gallery make[3]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery' Making all in data make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery/data' make[4]: Цель `all' не требует выполнения команд. make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery/data' make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery' --[Updating sample compositions]-- ./clones.xml (lt-gegl:12913): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GeglTileHandler' ** ERROR:gegl-buffer.c:533:gegl_buffer_constructor: assertion failed: (backend) /bin/sh: line 1: 12913 Аварийный останов GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl clones.xml -o `echo clones.png | sed s?./??` > `echo clones.png | sed s?./?? | sed -e s/png/txt/` make[5]: *** [clones.png] Ошибка 134 ./OpenRaster-00.xml (lt-gegl:12947): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GeglTileHandler' ** ERROR:gegl-buffer.c:533:gegl_buffer_constructor: assertion failed: (backend) /bin/sh: line 1: 12947 Аварийный останов GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl OpenRaster- 00.xml -o `echo OpenRaster-00.png | sed s?./??` > `echo OpenRaster-00.png | sed s?./?? | sed -e s/png/txt/` make[5]: *** [OpenRaster-00.png] Ошибка 134 ./OpenRaster-01.xml (lt-gegl:12976): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GeglTileHandler' ** ERROR:gegl-buffer.c:533:gegl_buffer_constructor: assertion failed: (backend) /bin/sh: line 1: 12976 Аварийный останов GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl OpenRaster- 01.xml -o `echo OpenRaster-01.png | sed s?./??` > `echo OpenRaster-01.png | sed s?./?? | sed -e s/png/txt/` make[5]: *** [OpenRaster-01.png] Ошибка 134 ./OpenRaster-04.xml (lt-gegl:13005): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GeglTileHandler' ** ERROR:gegl-buffer.c:533:gegl_buffer_constructor: assertion failed: (backend) /bin/sh: line 1: 13005 Аварийный останов GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl OpenRaster- 04.xml -o `echo OpenRaster-04.png | sed s?./??` > `echo OpenRaster-04.png | sed s?./?? | sed -e s/png/txt/` make[5]: *** [OpenRaster-04.png] Ошибка 134 make[4]: *** [images.stamp] Ошибка 2 make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery' make[3]: *** [all-recursive] Ошибка 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery' make[2]: *** [all-recursive] Ошибка 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20' make: *** [all] Ошибка 2 * * ERROR: media-libs/gegl-0.0.20 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2049: Called die * The specific snippet of code: * env GEGL_SWAP="${WORKDIR}" emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/environment'. * >>> Failed to emerge media-libs/gegl-0.0.20, Log file: >>> '/var/tmp/portage/media-libs/gegl-0.0.20/temp/build.log' * Messages for package media-libs/gegl-0.0.20: * * ERROR: media-libs/gegl-0.0.20 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2049: Called die * The specific snippet of code: * env GEGL_SWAP="${WORKDIR}" emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/environment'. * * GNU info directory index is up-to-date. emerge --info Portage 2.2_rc11 (default-linux/x86/2007.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-rc8 i686) ================================================================= System uname: Linux-2.6.27-rc8-i686-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-glibc2.0 Timestamp of tree: Wed, 08 Oct 2008 12:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://mirror.bih.net.ba/gentoo/" LANG="ru_RU.UTF-8" LC_ALL="ru_RU.UTF-8" LDFLAGS="" LINGUAS="ru" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/rostov /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa berkdb cli cracklib crypt cups dbus dri fortran gdbm gif gnokii gpm hal iconv isdnlog jingle lm_sensors logrotate midi mmx mudflap ncurses nls nptl nptlonly opengl openmp oss pam pcre perl pppd python qt3 readline reflection sasl session slang spl sse sse2 ssl symlink tcpd unicode utf8 x86 xorg zlib ~x86" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
app-doc/gimp-help will need some love too (CC'ing maintainer): cvs/gentoo-x86/app-doc/gimp-help $ fgrep media-gfx/gimp gimp-help-2.4.* gimp-help-2.4.0.ebuild:RDEPEND="=media-gfx/gimp-2.4*" gimp-help-2.4.1.ebuild:RDEPEND="=media-gfx/gimp-2.4*"
mkdir /usr/include/ffmpeg/libavformat copy /usr/include/ffmpeg/avformat.h /usr/inclufe/ffmpef/libavformat/avformat.h Now, that is all right.
Perhaps media-gfx/gimp-2.6.0 and media-libs/gegl should be package.masked along with the newer ffmpeg (bug #214740).
(In reply to comment #16) > mkdir /usr/include/ffmpeg/libavformat > copy /usr/include/ffmpeg/avformat.h /usr/inclufe/ffmpef/libavformat/avformat.h > > Now, that is all right. That's a horrid suggestion and besides, you shouldn't mention it here.
Workaround for my case is enable "doc" use flag. All use flags for media-libs/gegl is disabled by default. But i don't think that's correct.
Not all so simple: Use flags is: [ Found these USE variables for media-libs/gegl-0.0.20 ] U I - - cairo : Enable support for the cairo graphics library - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - doc : Adds extra documentation (API, Javadoc, etc) - - ffmpeg : Enable ffmpeg-based audio/video codec support - - gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit) - - jpeg : Adds JPEG image support - - openexr : Support for the OpenEXR graphics file format - - sdl : Adds support for Simple Direct Layer (media library) - - svg : Adds support for SVG (Scalable Vector Graphics) But, on emerge gegl: Building GEGL with prefix=/usr Optional features: GEGL docs: yes Build workshop: no Build website: yes SIMD: sse:yes mmx:yes Optional dependencies: GTK+: yes GIO: yes Ruby: yes Lua: yes Cairo: yes Pango: yes pangocairo: yes GDKPixbuf: yes JPEG: PNG: yes OpenEXR: yes rsvg: yes SDL: yes openraw: no (usable libopenraw not found) asciidoc: yes enscript: yes graphviz: yes avcodec: yes avformat: yes V4L: yes Plus it seems that libopenraw use flags/dependency missing.
(In reply to comment #16) > mkdir /usr/include/ffmpeg/libavformat > copy /usr/include/ffmpeg/avformat.h /usr/inclufe/ffmpef/libavformat/avformat.h > > Now, that is all right. > Now I would say that the correct solution should be an ffmpeg upgrade (which fixed the issue for me). So a fixed dependency on ffmpeg should fix the issue (note that I'm on amd64, too).
*** Bug 240582 has been marked as a duplicate of this bug. ***
(In reply to comment #20) > Not all so simple: > Use flags is: > [ Found these USE variables for media-libs/gegl-0.0.20 ] > U I > - - cairo : Enable support for the cairo graphics library > - - debug : Enable extra debug codepaths, like asserts and extra output. If > you want to get meaningful backtraces see > http://www.gentoo.org/proj/en/qa/backtraces.xml > - - doc : Adds extra documentation (API, Javadoc, etc) > - - ffmpeg : Enable ffmpeg-based audio/video codec support > - - gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit) > - - jpeg : Adds JPEG image support > - - openexr : Support for the OpenEXR graphics file format > - - sdl : Adds support for Simple Direct Layer (media library) > - - svg : Adds support for SVG (Scalable Vector Graphics) > > But, on emerge gegl: > Building GEGL with prefix=/usr > > Optional features: > GEGL docs: yes > Build workshop: no > Build website: yes > SIMD: sse:yes mmx:yes > > Optional dependencies: > GTK+: yes > GIO: yes > Ruby: yes > Lua: yes > Cairo: yes > Pango: yes > pangocairo: yes > GDKPixbuf: yes > JPEG: > PNG: yes > OpenEXR: yes > rsvg: yes > SDL: yes > openraw: no (usable libopenraw not found) > asciidoc: yes > enscript: yes > graphviz: yes > avcodec: yes > avformat: yes > V4L: yes > > Plus it seems that libopenraw use flags/dependency missing. > Thats right: USE flags: cairo debug doc ffmpeg gtk jpeg mmx openexr sdl sse svg used USE flags: asciidoc cairo debug doc enscript ffmpeg graphviz jpeg mmx openexr pango sdl sse svg workshop maks diff: asciidoc enscript graphviz pango workshop
Parallel build is also broken: ff-load.c: In function â~@~Xfinalizeâ~@~Y: ff-load.c:416: error: â~@~XPrivâ~@~Y has no member named â~@~Xloadedfilenameâ~@~Y make[3]: *** [ff_load_la-ff-load.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -shared .libs/text_la-text.o /usr/lib/libgio-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libpangocairo-1.0. so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -march= prescott -mmmx -msse -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--export-dynamic -pthread -Wl,-soname -Wl,text.so -o .libs/text .so creating text.la (cd .libs && rm -f text.la && ln -s ../text.la text.la) make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20-r1/work/gegl-0.0.20/operations/external' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20-r1/work/gegl-0.0.20/operations' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20-r1/work/gegl-0.0.20' make: *** [all] Error 2 make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
(In reply to comment #24) > Parallel build is also broken: > [...] > `/var/tmp/portage/media-libs/gegl-0.0.20-r1 [...] Parallel build works here with gegl-0.0.20 and I'm not able to find a gegl-0.0.20-r1 at all in Portage.
(In reply to comment #25) > > Parallel build works here with gegl-0.0.20 and I'm not able to find a > gegl-0.0.20-r1 at all in Portage. > It the one posted in bug240538 , but it has no big differences to to tree one --- /usr/portage/local/private-overlay-dev/ebuilds/media-libs/gegl/gegl-0.0.20-r1.ebuild 2008-10-09 13:25:04.000000000 +0200 +++ /usr/portage/media-libs/gegl/gegl-0.0.20.ebuild 2008-10-09 03:06:50.000000000 +0200 @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v 1.4 2008/10/08 09:29:02 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v 1.5 2008/10/09 00:54:59 hanno Exp $ inherit eutils @@ -23,7 +23,7 @@ app-text/enscript media-gfx/graphviz ) ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 ) - gtk? ( >=x11-libs/gtk+-2.8.6 + gtk? ( >=x11-libs/gtk+-2.12.0 x11-libs/pango ) jpeg? ( media-libs/jpeg ) openexr? ( media-libs/openexr )
(In reply to comment #26) > (In reply to comment #25) > > > > Parallel build works here with gegl-0.0.20 and I'm not able to find a > > gegl-0.0.20-r1 at all in Portage. > > > > It the one posted in bug240538 , but it has no big differences to to tree one In that case can you check if -j3 or -j2 works? It's better to use a lower -j value in the ebuild than completely disabling parallel build :P
(In reply to comment #5) > Yup, it complies fine after adding ~x86 to gnome-base/gail-1000 and > x11-libs/gtk+-2.14.3-r2. Anyone else on AMD64 seeing this? [ebuild U ] dev-util/intltool-0.40.5 [0.40.4] [ebuild N ] media-libs/gegl-0.0.20 USE="ffmpeg gtk mmx sdl sse -cairo -debug -doc -jpeg -openexr -svg" [ebuild U ] media-gfx/gimp-2.6.0 [2.4.7] USE="-jpeg%" [ebuild U ] gnome-base/gail-1000 [1.22.3] [ebuild U ] x11-libs/gtk+-2.14.3-r2 [2.12.11] USE="-jpeg2k%" [blocks B ] <gnome-base/gail-1000 (is blocking x11-libs/gtk+-2.14.3-r2) Note the blocks... Ed
(In reply to comment #28) > (In reply to comment #5) > > Yup, it complies fine after adding ~x86 to gnome-base/gail-1000 and > > x11-libs/gtk+-2.14.3-r2. > > Anyone else on AMD64 seeing this? > > [ebuild U ] dev-util/intltool-0.40.5 [0.40.4] > [ebuild N ] media-libs/gegl-0.0.20 USE="ffmpeg gtk mmx sdl sse -cairo > -debug -doc -jpeg -openexr -svg" > [ebuild U ] media-gfx/gimp-2.6.0 [2.4.7] USE="-jpeg%" > [ebuild U ] gnome-base/gail-1000 [1.22.3] > [ebuild U ] x11-libs/gtk+-2.14.3-r2 [2.12.11] USE="-jpeg2k%" > [blocks B ] <gnome-base/gail-1000 (is blocking x11-libs/gtk+-2.14.3-r2) > > Note the blocks... Yes, it tells you that versions of gail LOWER THAN 1000 block gtk+-2.14.3-r2. That means you have to unmerge the old gail and emerge the new gail-1000.
(In reply to comment #27) > In that case can you check if -j3 or -j2 works? It's better to use a lower -j > value in the ebuild than completely disabling parallel build :P > Sorry for making noice, parallel build is working, was the ffmpeg thing.
Created attachment 167738 [details] gegl-0.0.20.ebuild Fix 3 bugs: - configure is more older than configure.ac (required to disable ffmpeg) - >=x11-libs/gtk+-2.14.0 - Fix disable ffmpeg
@Hanno: Could you please withdraw the KEYWORDREQ and set up a fresh new tracker bug to fix the current issues? media-gfx/gimp-2.6* and its dependencies apparently need some more work that should be done prior to rekeywording.
As jeroen suggested, making this a tracker for all gimp/gegl/babl-issues. Please open bugs and let them block this one.
Done on gimp-help side...
=media-gfx/gimp-9999 requires gegl >= 0.0.21. This version does not yet have a tarball upstream, so I recommend creating an ebuild for =media-libs/gegl-9999 (live SVN).
I think we've resolved all major issues, so please archs, re-keyword media-libs/babl media-libs/gegl media-libs/gimp-2.6.2 With ~alpha ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86-fbsd
Keyworded all three on alpha. For stabilization it'd be nice to have a test plan for the (new?) gegl functionality in Gimp.
gegl fails to compile for me with these following errors: ... x86_64-pc-linux-gnu-gcc .libs/geglbuffer-clock.o -o .libs/geglbuffer-clock -Wl,--export-dynamic -pthread ../gegl/.libs/libgegl-0.0.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libpangocairo-1.0.so -L/usr/lib64 /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so /usr/lib64/libGL.so -L/usr/X11R6/lib /usr/lib64/libXext.so -lpthread /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lbabl-0.0 /usr/lib64/libpng12.so -lz -lm -pthread libtool: link: x86_64-pc-linux-gnu-gcc .libs/hello-world-video.o -o .libs/hello-world-video -Wl,--export-dynamic -pthread ../gegl/.libs/libgegl-0.0.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libpangocairo-1.0.so -L/usr/lib64 /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so /usr/lib64/libGL.so -L/usr/X11R6/lib /usr/lib64/libXext.so -lpthread /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lbabl-0.0 /usr/lib64/libpng12.so -lz -lm -pthread libtool: link: x86_64-pc-linux-gnu-gcc .libs/hello-world.o -o .libs/hello-world -Wl,--export-dynamic -pthread ../gegl/.libs/libgegl-0.0.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libpangocairo-1.0.so -L/usr/lib64 /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so /usr/lib64/libGL.so -L/usr/X11R6/lib /usr/lib64/libXext.so -lpthread /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lbabl-0.0 /usr/lib64/libpng12.so -lz -lm -pthread make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/examples' make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/examples' Making all in docs make[2]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs' Making all in gallery make[3]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery' Making all in data make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery/data' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery/data' make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery' --[Updating sample compositions]-- ./OpenRaster-00.xml ** Message: Module '../../operations/workshop/external/.libs/ff_save.so' load error: ../../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert ./OpenRaster-01.xml ** Message: Module '../../operations/workshop/external/.libs/ff_save.so' load error: ../../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert ./OpenRaster-04.xml ** Message: Module '../../operations/workshop/external/.libs/ff_save.so' load error: ../../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert ./clones.xml ** Message: Module '../../operations/workshop/external/.libs/ff_save.so' load error: ../../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery' make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs/gallery' make[3]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs' GEGL_SWAP=RAM GEGL_PATH=../operations \ ../tools/operation_reference --ops-html > operations.html GEGL_SWAP=RAM GEGL_PATH=../operations \ ../tools/introspect > class-hierarchy.html /usr/bin/enscript -E --color --language=html -pgegl.h.html ../gegl/gegl.h output left in gegl.h.html HTML: index.html cp index-static.txt index.html /usr/bin/asciidoc --unsafe -o index.html -a stylesdir=`pwd` -a toc -a theme=gegl -a quirks! index-static.txt ** Message: Module '../operations/workshop/external/.libs/ff_save.so' load error: ../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert ** Message: Module '../operations/workshop/external/.libs/ff_save.so' load error: ../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert FAILED: [blockdef-filter] missing delimiter make[3]: *** [index.html] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.20/work/gegl-0.0.20' make: *** [all] Error 2 * * ERROR: media-libs/gegl-0.0.20 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2579: Called die * The specific snippet of code: * env GEGL_SWAP="${WORKDIR}" emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/environment'. * >>> Failed to emerge media-libs/gegl-0.0.20, Log file: >>> '/var/tmp/portage/media-libs/gegl-0.0.20/temp/build.log' * Messages for package media-libs/gegl-0.0.20: * * ERROR: media-libs/gegl-0.0.20 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2579: Called die * The specific snippet of code: * env GEGL_SWAP="${WORKDIR}" emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.0.20/temp/environment'. *
~sparc done re-adding alpha for =media-gfx/gimp-2.6.3
Yawn. ** Message: Module '../operations/workshop/external/.libs/ff_save.so' load error: ../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert If you see this, just in case, "emerge -C ffmpeg gegl && emerge -1 ffmpeg gegl"
Keyworded on alpha.
@comment 40: unless I'm missing something, this should not change a thing, cause this is the problem that hit the tree when libswscale-enabled ffmpeg was introduced. This symbol won't magically reappear, you can either disable building the plugin or port it swscale (unless in p20081219 that symbol got reintroduced). This plugin may still work in stable, cause stable ffmpeg lags - it's still not swscale-enabled (p20070616-r3, see ChangeLog).
And on a semi-related note: I still fail to see the sanity of putting workshop (experimental/unstable plugins) into doc useflag.
~ia64 done
~ppc added
~ppc64 had to mask webkit from gimp due to TOC ppc64 toolchain problem
Marked ~hppa, but with USE=webkit use.masked because neither the Qt or the GTK fork of webkit seems to work all that well right now.
A problem similar to that in comment #38 occurs when I try to emerge gegl on an x86 machine. The error messages are as follows: Making all in gallery make[3]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery' Making all in data make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery/data' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery/data' make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery' --[Updating sample compositions]-- ./clones.xml ** Message: Module '../../operations/workshop/external/.libs/ff_save.so' load error: ../../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert make[5]: *** [clones.png] Error 255 ./OpenRaster-00.xml ** Message: Module '../../operations/workshop/external/.libs/ff_save.so' load error: ../../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert make[5]: *** [OpenRaster-00.png] Error 255 ./OpenRaster-01.xml ** Message: Module '../../operations/workshop/external/.libs/ff_save.so' load error: ../../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert make[5]: *** [OpenRaster-01.png] Error 255 ./OpenRaster-04.xml ** Message: Module '../../operations/workshop/external/.libs/ff_save.so' load error: ../../operations/workshop/external/.libs/ff_save.so: undefined symbol: img_convert make[5]: *** [OpenRaster-04.png] Error 255 make[4]: *** [images.stamp] Error 2 make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22' make: *** [all] Error 2 * * ERROR: media-libs/gegl-0.0.22 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2140: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed
$ svn co http://svn.gnome.org/svn/babl/trunk/ babl $ svn co http://svn.gnome.org/svn/gegl/trunk/ gegl the bug has been corrected upstream in the svn version
All non-experimental archies done. No activity in over 1 year. Closing as fixed. Mips and x86-fbsd can keyword later as needed by their teams or per user request.