[MacPorts] #17299: gimp2 installation: ld error (Undefined symbol): _dvbsub_decoder
#17299: gimp2 installation: ld error (Undefined symbol): _dvbsub_decoder --------------------------------+------------------------------------------- Reporter: hauriege1@llnl.gov | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: gimp2 ffmpeg | Port: gimp2 --------------------------------+------------------------------------------- During the installation of gimp2, I get a ld: Undefined symbols: _dvbsub_decoder error during building of ffmpeg. I attached the output of the error log. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/17299> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: gimp2 installation: ld error (Undefined symbol): _dvbsub_decoder ---------------------------------+------------------------------------------ Reporter: hauriege1@llnl.gov | Owner: devans@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg Port: gimp2 | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * keywords: gimp2 ffmpeg => ffmpeg * owner: macports-tickets@lists.macosforge.org => devans@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: gimp2 installation: ld error (Undefined symbol): _dvbsub_decoder ---------------------------------+------------------------------------------ Reporter: hauriege1@llnl.gov | Owner: devans@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ffmpeg Port: gimp2 | ---------------------------------+------------------------------------------ Description changed by macsforever2000@macports.org: Old description:
During the installation of gimp2, I get a
ld: Undefined symbols: _dvbsub_decoder
error during building of ffmpeg. I attached the output of the error log.
Thanks!
New description: During the installation of gimp2, I get a {{{ ld: Undefined symbols: _dvbsub_decoder }}} error during building of ffmpeg. I attached the output of the error log. Thanks! -- -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: ffmpeg build fails: ld error (Undefined symbol): _dvbsub_decoder while installing gimp2 ---------------------------------+------------------------------------------ Reporter: hauriege1@llnl.gov | Owner: devans@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp2 Port: ffmpeg | ---------------------------------+------------------------------------------ Changes (by devans@macports.org): * cc: acho@macports.org (added) * keywords: ffmpeg => gimp2 * port: gimp2 => ffmpeg Comment: While this occurred while installing gimp2, the problem appears to be with the build of ffmpeg so am Ccing its maintainer who may want to take over. I tried a rebuild of ffmpeg (Tiger 10.4.11 ppc) last night and could not reproduce this error so more information is required. * What version of OS X are you using and what architecture (ffmpeg has a lot of arch specific code) * Can you clean your ffmpeg build and retry in debug mode, saving the output as follows: {{{ sudo port clean --all ffmpeg sudo port -d install ffmpeg |& tee ffmpeg.log }}} and post this as an attachment to the ticket? Thanks -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: ffmpeg build fails: ld error (Undefined symbol): _dvbsub_decoder while installing gimp2 ---------------------------------+------------------------------------------ Reporter: hauriege1@llnl.gov | Owner: devans@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp2 Port: ffmpeg | ---------------------------------+------------------------------------------ Comment(by hauriege1@llnl.gov): Thanks for getting back to me. I attached the log file. I have Mac OS X 10.4.11 with a 2.6 GHz Intel Core 2 Duo, 4 GB RAM. Thx,-Stefan -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: ffmpeg build fails: ld error (Undefined symbol): _dvbsub_decoder while installing gimp2 ---------------------------------+------------------------------------------ Reporter: hauriege1@llnl.gov | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp2 Port: ffmpeg | ---------------------------------+------------------------------------------ Changes (by devans@macports.org): * cc: acho@macports.org (removed) * owner: devans@macports.org => acho@macports.org Comment: Well, I'm confused now. This log shows an entirely different problem: {{{ gcc-4.0 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk" -O2 -DHAVE_LRINTF -I/opt/local/include -pipe -force_cpusubtype_ALL -Wno- sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno -c -o libavcodec/h264.o libavcodec/h264.c In file included from libavcodec/h264.c:31: libavcodec/h264.h:365: error: parse error before 'CABACContext' libavcodec/h264.h:365: warning: no semicolon at end of struct or union }}} which again, I do not see here. The only difference is that I'm on ppc and you're on intel. This results in additional compile switches in my case to enable altivec and pic but I can't see why that would make a difference. I guess it would be helpful if someone with the same configuration as you could confirm or deny the error to rule out something specific to your installation. In the meantime, you might want to go to the work directory and see if you can understand why this error is being generated. {{{ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk }}} and look at avcodec/h264.h avcodec/h264.c etc. Sorry I can't be more help right now. Will reassign to ffmpeg maintainer. -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: ffmpeg build fails: ld error (Undefined symbol): _dvbsub_decoder while installing gimp2 ---------------------------------+------------------------------------------ Reporter: hauriege1@llnl.gov | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp2 Port: ffmpeg | ---------------------------------+------------------------------------------ Comment(by devans@macports.org): FYI, attaching build my successful build log (again 10.4.11 ppc) in case that might help someone. -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: ffmpeg build fails: ld error (Undefined symbol): _dvbsub_decoder while installing gimp2 ---------------------------------+------------------------------------------ Reporter: hauriege1@llnl.gov | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp2 Port: ffmpeg | ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * cc: devans@macports.org, ryandesign@macports.org (added) Comment: I haven't had a problem building ffmpeg on Mac OS X 10.4.11 Intel. I see some differences between hauriege1's output and mine. 1. His says: {{{ debug symbols yes }}} Mine says nothing about debug symbols, yes or no. 2. His says: {{{ SDL support no }}} Mine says: {{{ SDL support yes }}} ffplay ends up being linked to ${prefix}/lib/libSDL-1.2.0.dylib, which is part of the libsdl port. So ffmpeg should be changed, either to declare a dependency on libsdl or not to link with that library. 3. His says: {{{ libavcodec/h264.h:365: error: parse error before 'CABACContext' }}} And all the subsequent errors, and I don't know what that's about. What version of Xcode do you have? If less than 2.4.1, please update to Xcode 2.4.1 or 2.5. -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: ffmpeg build fails: ld error (Undefined symbol): _dvbsub_decoder while installing gimp2 ---------------------------------+------------------------------------------ Reporter: hauriege1@llnl.gov | Owner: acho@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gimp2 Port: ffmpeg | ---------------------------------+------------------------------------------ Comment(by hauriege1@llnl.gov): I have Xcode 2.5. -Stefan Replying to [comment:7 ryandesign@…]:
I haven't had a problem building ffmpeg on Mac OS X 10.4.11 Intel.
I see some differences between hauriege1's output and mine.
1. His says:
{{{ debug symbols yes }}}
Mine says nothing about debug symbols, yes or no.
2. His says:
{{{ SDL support no }}}
Mine says:
{{{ SDL support yes }}}
ffplay ends up being linked to ${prefix}/lib/libSDL-1.2.0.dylib, which is part of the libsdl port. So ffmpeg should be changed, either to declare a dependency on libsdl or not to link with that library.
3. His says:
{{{ libavcodec/h264.h:365: error: parse error before 'CABACContext' }}}
And all the subsequent errors, and I don't know what that's about.
What version of Xcode do you have? If less than 2.4.1, please update to Xcode 2.4.1 or 2.5.
-- Ticket URL: <http://trac.macports.org/ticket/17299#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: ffmpeg build fails: ld error (Undefined symbol): _dvbsub_decoder while installing gimp2 --------------------------------+------------------------------------------- Reporter: hauriege1@… | Owner: acho@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: gimp2 | Port: ffmpeg --------------------------------+------------------------------------------- Comment(by devans@…): ffmpeg svn rev updated in r43093, r43268, r43269.[[BR]] missing dependencies libsdl, bzip2, zlib added r43398. Does this fix the problem? I can't reproduce it on tiger ppc. -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17299: ffmpeg build fails: ld error (Undefined symbol): _dvbsub_decoder while installing gimp2 ---------------------------------+------------------------------------------ Reporter: hauriege1@… | Owner: acho@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: gimp2 Port: ffmpeg | ---------------------------------+------------------------------------------ Changes (by devans@…): * status: new => closed * resolution: => worksforme Comment: No response from reporter and works for me (and Ryan) on tiger. Assume problem resolved. -- Ticket URL: <http://trac.macports.org/ticket/17299#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts