Opened 13 years ago

Closed 13 years ago

#31336 closed defect (fixed)

gegl: error: 'AVERROR_NUMEXPECTED' undeclared (first use in this function)

Reported by: fleason (Fred Leason) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: gegl

Description

port selfupdate (2011/09/19)
port upgrade outdated
port install xsane +disable_gimp
port clean gegl
port clean gimp
port install gimp +manual

--->  Computing dependencies for gimp
--->  Dependencies to be installed: gimp-app gimp2 gegl libexif libgnomeui libbonoboui libgnome esound audiofile libgnomecanvas libglade2 libgnome-keyring gnome-keyring libmng libwmf py27-gtk py27-cairo py27-py py27-gobject gimp2 gimp2 gimp-jp2 gimp-lqr-plugin liblqr gimp-user-manual coreutils gmp gtk-nodoka-engine gutenprint icns-gimp ufraw cfitsio dcraw exiv2 gtkimageview lensfun
--->  Fetching archive for gegl
--->  Attempting to fetch gegl-0.1.6_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/gegl
--->  Fetching gegl
--->  Verifying checksum(s) for gegl
--->  Extracting gegl
--->  Configuring gegl
--->  Building gegl
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install gegl
Log for gegl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/main.log
Error: The following dependencies were not installed: gimp-app gimp2 gegl libexif libgnomeui libbonoboui libgnome esound audiofile libgnomecanvas libglade2 libgnome-keyring gnome-keyring libmng libwmf py27-gtk py27-cairo py27-py py27-gobject gimp2 gimp2 gimp-jp2 gimp-lqr-plugin liblqr gimp-user-manual coreutils gmp gtk-nodoka-engine gutenprint icns-gimp ufraw cfitsio dcraw exiv2 gtkimageview lensfun
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

main.log and config.log attached. Last lines from main.log:

:info:build ../../config.h:108:1: warning: this is the location of the previous definition
:info:build make[3]: *** [ff_load_la-ff-load.lo] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/work/gegl-0.1.6/operations/external'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/work/gegl-0.1.6/operations'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/work/gegl-0.1.6'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/work/gegl-0.1.6'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/work/gegl-0.1.6" && /usr/bin/make -j8 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gegl): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install gegl
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:build Log for gegl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/main.log

Xcode 4.1 Build 48110 Mac OS X 10.7.1 2.8 GHz Intel Core i7 16 GB 1067 MHz DDR3

Attachments (2)

config.log (69.7 KB) - added by fleason (Fred Leason) 13 years ago.
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/gegl/work/gegl-0.1.6/config.log
main.log (45.2 KB) - added by fleason (Fred Leason) 13 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/main.log

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by fleason (Fred Leason)

Attachment: config.log added

/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/gegl/work/gegl-0.1.6/config.log

Changed 13 years ago by fleason (Fred Leason)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gegl/gegl/main.log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to devans@…
Summary: gegl fails install while install gimp +manualgegl: error: 'AVERROR_NUMEXPECTED' undeclared (first use in this function)

What version of ffmpeg (or ffmpeg-devel) is installed?

comment:2 in reply to:  1 Changed 13 years ago by fleason (Fred Leason)

Replying to ryandesign@…:

What version of ffmpeg (or ffmpeg-devel) is installed?

08:42 AM ~ $ ffmpeg --version
ffmpeg version N-32427-g22bf6f7, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 19 2011 07:14:53 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/opt/local --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --disable-indevs --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm --enable-nonfree --enable-libfaac
  libavutil    51. 16. 0 / 51. 16. 0
  libavcodec   53. 13. 0 / 53. 13. 0
  libavformat  53. 12. 0 / 53. 12. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 39. 0 /  2. 39. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0

comment:3 Changed 13 years ago by mf2k (Frank Schima)

I believe what Ryan wanted was the output of:

port installed ffmpeg*

comment:4 in reply to:  3 Changed 13 years ago by fleason (Fred Leason)

Replying to macsforever2000@…:

I believe what Ryan wanted was the output of:

port installed ffmpeg*
01:13 PM ~ $ sudo port installed ffmpeg-devel
The following ports are currently installed:
  ffmpeg-devel @20110909_0
  ffmpeg-devel @20110909_0+nonfree (active)

Everything is pretty current. I had to do a restore due to disk corruption and I didn't bother to Time Machine my /opt directory.

comment:5 Changed 13 years ago by dbevans (David B. Evans)

Status: newassigned

comment:6 Changed 13 years ago by dbevans (David B. Evans)

Keywords: lion removed
Resolution: fixed
Status: assignedclosed

ffmpeg versions 8.* and later, including ffmpeg-devel, incorporate API changes that break the gegl build.

This is reported upstream here.

Committed a patch in r84289 that includes conditional code to build with either version.

Note: See TracTickets for help on using tickets.