Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40429 closed update (fixed)

ffmpeg update to version 2.0.1

Reported by: mf2k (Frank Schima) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), cooljeanius (Eric Gallager)
Port: ffmpeg

Description (last modified by mf2k (Frank Schima))

It looks like ffmpeg is up to version 2.0.1 now. Is there a reason not to update it to the 2.x series?

Change History (9)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Update committed in r111494. Sorry for the delay but this update removed a number of deprecated API features that were being relied upon by many dependents. Tried to get as many of these fixed as possible before updating to minimize breakage.

comment:3 in reply to:  2 ; Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to devans@…:

Update committed in r111494. Sorry for the delay but this update removed a number of deprecated API features that were being relied upon by many dependents. Tried to get as many of these fixed as possible before updating to minimize breakage.

I think gegl was broken by this update, will open a new ticket for it...

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 in reply to:  3 ; Changed 11 years ago by dbevans (David B. Evans)

Replying to egall@…:

Replying to devans@…:

Update committed in r111494. Sorry for the delay but this update removed a number of deprecated API features that were being relied upon by many dependents. Tried to get as many of these fixed as possible before updating to minimize breakage.

I think gegl was broken by this update, will open a new ticket for it...

gegl was specifically patched before this update for compatibility. Build works for me and the buildbots after the upgrade. Are you still seeing problems?

comment:6 in reply to:  5 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to devans@…:

Replying to egall@…:

Replying to devans@…:

Update committed in r111494. Sorry for the delay but this update removed a number of deprecated API features that were being relied upon by many dependents. Tried to get as many of these fixed as possible before updating to minimize breakage.

I think gegl was broken by this update, will open a new ticket for it...

gegl was specifically patched before this update for compatibility. Build works for me and the buildbots after the upgrade. Are you still seeing problems?

Yeah, I realized what's wrong: I'm using the +workshop variant, which is non-default, so the buildbots wouldn't've tried to build it. The error is:

/bin/sh ../../../libtool  --tag=CC   --mode=compile /opt/local/bin/clang-mp-3.3 -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../gegl -I../../../gegl -I../../../gegl/buffer -I../../../gegl/buffer -I../../../gegl/operation -I../../../gegl/operation -I../../../gegl/property-types -I../../../gegl/property-types -I../../../gegl/module -I../../../gegl/module -I../../../gegl/opencl -I../../../gegl/opencl -I/opt/local/include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -I/opt/local/include/babl-0.1  -I/opt/local/include  -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -pipe -Os -Wno-ignored-attributes -Wno-deprecated-declarations -Wno-implicit-function-declaration -arch x86_64 -mmmx -msse -ftree-vectorize -ffast-math -Wall
ff-save.c:785:42: error: use of undeclared identifier 'URL_WRONLY'
  if (url_fopen (&p->oc->pb, self->path, URL_WRONLY) < 0)
                                         ^
ff-save.c:791:3: warning: implicit declaration of function 'av_write_header' is invalid in C99 [-Wimplicit-function-declaration]
  av_write_header (p->oc);
  ^
ff-save.c:861:9: warning: implicit declaration of function 'url_fclose' is invalid in C99 [-Wimplicit-function-declaration]
        url_fclose (&p->oc->pb);
        ^
6 warnings and 1 error generated.
make[4]: *** [ff_save_la-ff-save.lo] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_graphics_gegl/gegl/work/gegl-0.2.0-x86_64/operations/workshop/external'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_graphics_gegl/gegl/work/gegl-0.2.0-x86_64/operations/workshop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_graphics_gegl/gegl/work/gegl-0.2.0-x86_64/operations'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_graphics_gegl/gegl/work/gegl-0.2.0-x86_64'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_graphics_gegl/gegl/work/gegl-0.2.0-x86_64'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_LocalPorts_graphics_gegl/gegl/work/gegl-0.2.0-x86_64" && /usr/bin/make -w all 
Exit code: 2

(I've made some local modifications to my gegl portfile, so the output might be a little different for me...)

comment:7 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Please file a separate bug for gegl if there isn't one already.

comment:8 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

FWIW, looks like you need to use AVIO_FLAG_WRITE instead of URL_WRONLY

comment:9 Changed 11 years ago by dbevans (David B. Evans)

gegl +workshop build failure fixed in r111717.

Note: See TracTickets for help on using tickets.