RSS/Atom feed Twitter
Site is read-only, email is disabled

gegl builds fail

This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

gegl builds fail richard brown 21 Mar 14:49
  gegl builds fail Øyvind Kolås 21 Mar 22:17
richard brown
2016-03-21 14:49:25 UTC (about 8 years ago)

gegl builds fail

Hello,

I've been running gimp 2.9 in my home directory for some time now. Recently however, gegl 0.3.2, 0.3.4 and 0.3.6 have all failed to build, I have current git pulls of glib, babl, gexiv2, harfbuzz. gegl 0.3.0 does build, however. The current git pull of gegl fails with:

CC ff_save_la-ff-save.lo ff-save.c: In function 'write_audio_frame': ff-save.c:429:34: error: 'AV_CODEC_CAP_VARIABLE_FRAME_SIZE' undeclared (first use in this function)
if (!(c->codec->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE)) ^ ff-save.c:429:34: note: each undeclared identifier is reported only once for each function it appears in
ff-save.c: In function 'write_video_frame': ff-save.c:824:40: error: 'AV_CODEC_CAP_INTRA_ONLY' undeclared (first use in this function)
if (c->codec->capabilities & AV_CODEC_CAP_INTRA_ONLY) ^ Makefile:1169: recipe for target 'ff_save_la-ff-save.lo' failed make[4]: *** [ff_save_la-ff-save.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory
'/home/richard/Software/gimp-git/gegl/operations/external' Makefile:937: recipe for target 'all' failed make[3]: *** [all] Error 2
make[3]: Leaving directory
'/home/richard/Software/gimp-git/gegl/operations/external' Makefile:504: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/richard/Software/gimp-git/gegl/operations' Makefile:627: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/richard/Software/gimp-git/gegl' Makefile:533: recipe for target 'all' failed make: *** [all] Error

All the builds that fail, fail around ff_save.c. I'm a bit stumped, and can't find much on google. I've upgraded make from 3.8 to 4.1. Because gegl-0.3.6 won't build, neither will gimp-2.9. Quite possible I've done something silly, but, thoughts anyone?

Øyvind Kolås
2016-03-21 22:17:42 UTC (about 8 years ago)

gegl builds fail

On Mon, Mar 21, 2016 at 3:49 PM, richard brown wrote:

I've been running gimp 2.9 in my home directory for some time now. Recently however, gegl 0.3.2, 0.3.4 and 0.3.6 have all failed to build, I have current git pulls of glib, babl, gexiv2, harfbuzz. gegl 0.3.0 does build, however. The current git pull of gegl fails with:

CC ff_save_la-ff-save.lo ff-save.c: In function 'write_audio_frame': ff-save.c:429:34: error: 'AV_CODEC_CAP_VARIABLE_FRAME_SIZE' undeclared (first use in this function)
if (!(c->codec->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE)) ^
ff-save.c:429:34: note: each undeclared identifier is reported only once for each function it appears in
ff-save.c: In function 'write_video_frame': ff-save.c:824:40: error: 'AV_CODEC_CAP_INTRA_ONLY' undeclared (first use in this function)
if (c->codec->capabilities & AV_CODEC_CAP_INTRA_ONLY)

Which version of ffmpeg / libavformat do you have installed? This should be reported by $ pkg-config --modversion libavformat # on my system it reports 57.28.100 and GEGL is rigged up to not try building with older than 55.48.100 - maybe this needs to be bumped to avoid trying to build with an as old version of libavformat as you have. A possible workaround is passing --without-libavformat to autogen/configure to skip building the ffmpeg based ops (which aren't used by GIMP anyway).

/pippin