[MacPorts] #36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ---------------------------------+-------------------------------- Reporter: frederic.devernay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: libdc1394 ---------------------------------+-------------------------------- bump to 2.2.0 is trivial. checksums sha1 7e831258a65e7e111a9d52d8062aec6d28a1e4c4 \ rmd160 41a8bc28824a58bcdfdbd3226adf4b0c88555574 adding the attached patch suppresses many error messages from using libdc1394 with a firewire camera: # fix issue due to bug in OSX Firewire stack # http://permalink.gmane.org/gmane.comp.multimedia.libdc1394.devel/517 patchfiles libdc1394-macosx-status.patch -- Ticket URL: <https://trac.macports.org/ticket/36538> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------- Reporter: frederic.devernay@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mail@… Old description:
bump to 2.2.0 is trivial. checksums sha1 7e831258a65e7e111a9d52d8062aec6d28a1e4c4 \ rmd160 41a8bc28824a58bcdfdbd3226adf4b0c88555574
adding the attached patch suppresses many error messages from using libdc1394 with a firewire camera:
# fix issue due to bug in OSX Firewire stack # http://permalink.gmane.org/gmane.comp.multimedia.libdc1394.devel/517 patchfiles libdc1394-macosx-status.patch
New description: bump to 2.2.0 is trivial. {{{ checksums sha1 7e831258a65e7e111a9d52d8062aec6d28a1e4c4 \ rmd160 41a8bc28824a58bcdfdbd3226adf4b0c88555574 }}} adding the attached patch suppresses many error messages from using libdc1394 with a firewire camera: {{{ # fix issue due to bug in OSX Firewire stack # http://permalink.gmane.org/gmane.comp.multimedia.libdc1394.devel/517 patchfiles libdc1394-macosx-status.patch }}} -- Comment: Please attach your portfile patch too. In the future, don't forget to Cc the maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------- Reporter: frederic.devernay@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------- Comment (by frederic.devernay@…): i forgot to mention that homebrew applies a very similar patch to its libdc1394 patch -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------- Reporter: frederic.devernay@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------- Comment (by jmr@…): This ticket is old enough to invoke maintainer timeout, but I don't know enough to tell if the capture.c patch is correct. If it is, why hasn't it been accepted upstream? -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------- Reporter: frederic.devernay@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------- Comment (by mail@…): Works fine (i don't have a firewire cam myself anymore, so i had to get one for testing... Sorry for the delay). -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------- Reporter: frederic.devernay@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------- Comment (by macsforever2000@…): This does not compile for me on Mac OS X 10.8.2 and Xcode 4.5.2. {{{ :info:build libtool: link: /usr/bin/clang -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Wall -Wunused -std=gnu99 -pipe -O2 -arch x86_64 -arch x86_64 -o .libs/dc1394_iso dc1394_iso-dc1394_iso.o -Wl,-framework -Wl,Cocoa -L/opt/local/lib ../dc1394/.libs/libdc1394.dylib -lIOKit /opt/local/lib/libusb-1.0.dylib -lobjc /opt/local/lib/libSDLmain.a /opt/local/lib/libSDL.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib -lm -framework Carbon -framework CoreFoundation -framework CoreServices :info:build Undefined symbols for architecture x86_64: :info:build "_glBegin", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glBindTexture", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glClearColor", referenced from: :info:build _SDL_Start_GL in dc1394_iso-dc1394_iso.o :info:build "_glDeleteTextures", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glEnable", referenced from: :info:build _SDL_Start_GL in dc1394_iso-dc1394_iso.o :info:build "_glEnd", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glGenTextures", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glLoadIdentity", referenced from: :info:build _SDL_Start_GL in dc1394_iso-dc1394_iso.o :info:build "_glMatrixMode", referenced from: :info:build _SDL_Start_GL in dc1394_iso-dc1394_iso.o :info:build "_glOrtho", referenced from: :info:build _SDL_Start_GL in dc1394_iso-dc1394_iso.o :info:build "_glTexCoord2f", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glTexImage2D", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glTexParameteri", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glVertex3f", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o :info:build "_glViewport", referenced from: :info:build _SDL_Start_GL in dc1394_iso-dc1394_iso.o :info:build ld: symbol(s) not found for architecture x86_64 }}} -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------- Reporter: frederic.devernay@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------- Comment (by mail@…): Works for me with Xcode 4.5 and 4.5.2. Which version of libsdl do you use? Note: there are two ports in the repo: libsdl and libsdl-devel. I can not test it with the -devel version, because this one does not compile at the moment. Maybe you have an outdated or -devel Version? Can you do a {{{ /opt/local/include/SDL/SDL_version.h }}} -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------- Reporter: frederic.devernay@… | Owner: mail@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------- Comment (by macsforever2000@…): {{{ libsdl @1.2.15_0+x11 (active) }}} I'm attaching the file SDL__version.h -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------------------- Reporter: frederic.devernay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------------------- Changes (by mf2k@…): * owner: mail@… => macports-tickets@… Comment: Port abandoned. See #43811. -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------------------- Reporter: frederic.devernay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------------------- Comment (by mf2k@…): FYI, the patch stills fails for me with the same error on 10.9.4 and Xcode 5.1.1. -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------------------- Reporter: frederic.devernay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: libdc1394 | ----------------------------------+-------------------------------- Comment (by ctreleaven@…): Replying to [comment:5 macsforever2000@…]:
This does not compile for me on Mac OS X 10.8.2 and Xcode 4.5.2.
{{{ :info:build libtool: link: /usr/bin/clang -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Wall -Wunused -std=gnu99 -pipe -O2 -arch x86_64 -arch x86_64 -o .libs/dc1394_iso dc1394_iso-dc1394_iso.o -Wl,-framework -Wl,Cocoa -L/opt/local/lib ../dc1394/.libs/libdc1394.dylib -lIOKit /opt/local/lib/libusb-1.0.dylib -lobjc /opt/local/lib/libSDLmain.a /opt/local/lib/libSDL.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib -lm -framework Carbon -framework CoreFoundation -framework CoreServices :info:build Undefined symbols for architecture x86_64: :info:build "_glBegin", referenced from: :info:build _SDL_main in dc1394_iso-dc1394_iso.o [...] }}} Adding --disable-examples to configure args gets me past this error.
-- Ticket URL: <https://trac.macports.org/ticket/36538#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#36538: libdc1394: bump to 2.2.0 + apply patch for buggy OSX firewire stack ----------------------------------+-------------------------------- Reporter: frederic.devernay@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: libdc1394 | ----------------------------------+-------------------------------- Changes (by ctreleaven@…): * status: new => closed * resolution: => fixed Comment: I don't understand why this port has not had a dependency on libsdl in the past ?!? Added. I applied the patch; added a note that the libdc1394 developer believes there is a bug in Apples firewire stack. However, he doesn't have a Mac and there is no maintainer for the Mac port. r126686 -- Ticket URL: <https://trac.macports.org/ticket/36538#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts