[MacPorts] #35243: transition_composite.c compile error
#35243: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: ----------------------------------+----------------------------------------- Hi, I have a problem when i use the command "sudo port install mlt" the file "transition_composite.c" doesn't compile and the error is : /usr/bin/llvm-gcc-4.2 -O2 -I/opt/local/include -I/opt/local/include -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree- pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno- tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree- pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c -o transition_composite.o transition_composite.c {standard input}:186:FATAL:Symbol loop_start already defined. make[2]: *** [transition_composite.o] Error 2 Please help me. Best regards -- Ticket URL: <https://trac.macports.org/ticket/35243> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * priority: High => Normal * owner: macports-tickets@… => dan@… * port: => mlt Old description:
Hi, I have a problem when i use the command "sudo port install mlt" the file "transition_composite.c" doesn't compile and the error is :
/usr/bin/llvm-gcc-4.2 -O2 -I/opt/local/include -I/opt/local/include -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree- pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree- pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c -o transition_composite.o transition_composite.c {standard input}:186:FATAL:Symbol loop_start already defined. make[2]: *** [transition_composite.o] Error 2
Please help me.
Best regards
New description: Hi, I have a problem when i use the command "sudo port install mlt" the file "transition_composite.c" doesn't compile and the error is : {{{ /usr/bin/llvm-gcc-4.2 -O2 -I/opt/local/include -I/opt/local/include -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree- pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno- tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree- pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c -o transition_composite.o transition_composite.c {standard input}:186:FATAL:Symbol loop_start already defined. make[2]: *** [transition_composite.o] Error 2 }}} Please help me. Best regards -- Comment: It might help Dan diagnose the problem if you attached the main.log file. It might be a compiler-specific problem, in which case you might be able to work around it by [wiki:ProblemHotlist#compiler using a different compiler]. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by jimrandomh@…): I'm also affected, and reproduced the problem with two different compilers. Clang gave a more informative error message: :info:build /usr/bin/clang -O2 -I/opt/local/include -I/opt/local/include -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree- pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno- tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree- pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c -o transition_composite.o transition_composite.c:info:build clang: warning: argument unused during compilation: '-O2' :info:build clang: warning: argument unused during compilation: '-O2' :info:build clang: warning: argument unused during compilation: '-fno- tree-dominator-opts':info:build clang: warning: argument unused during compilation: '-fno-tree-pre' :info:build clang: warning: argument unused during compilation: '-O2' :info:build clang: warning: argument unused during compilation: '-fno- tree-dominator-opts' :info:build clang: warning: argument unused during compilation: '-fno- tree-pre':info:build clang: warning: argument unused during compilation: '-fno-tree-dominator-opts' :info:build clang: warning: argument unused during compilation: '-fno- tree-pre' :info:build In file included from transition_composite.c:369: :info:build ./composite_line_yuv_sse2_simple.c:10:9: error: invalid symbol redefinition :info:build "pxor %%xmm0, %%xmm0 \n\t" /* clear zero register */ :info:build ^ :info:build <inline asm>:7:2: note: instantiated into assembly here :info:build loop_start: :info:build ^ -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by jimrandomh@…): D'oh, fuck WikiFormatting. It's readable in main.2.log. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by dan@…): On my system, if I change -O2 to -O1 then the problem goes away, but I do like that change and want to figure out real reason. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by mikyboum@…): thank you for your comments. Can you help me because i can't use "port install mlt" ? it doesn't work ? i don't know where to change the file -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by mikyboum@…): i attach my main.log. Please help me, my system is Macbook Pro Mac OS X v10.6.8. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by dan@…): I have attached the fixes. If you are observing this bug but do not have experience with local ports, then you can wait for the patches to be accepted or try to learn how to use local ports from the Guide. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by jimrandomh@…): Reported upstream: https://sourceforge.net/tracker/?func=detail&aid=3546436&group_id=96039&atid... -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by jimrandomh@…): I confirm that the patch fixes the problem for me. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by mikyboum@…): thank you very much it works. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error ----------------------------------+----------------------------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mlt ----------------------------------+----------------------------------------- Comment(by dan@…): I just added a newer patch to because previous one created regression building on 32-bit. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error -------------------------+---------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: haspatch Port: mlt | -------------------------+---------------------- Changes (by jmr@…): * keywords: => haspatch Comment: Do you want to commit this patch? Or just update to 0.8.2? -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error -------------------------+---------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: haspatch Port: mlt | -------------------------+---------------------- Comment (by dan@…): Yesterday, I was using MacPorts and realized I had not updated my port to 0.8.2. I will do that now. -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error -------------------------+---------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: haspatch Port: mlt | -------------------------+---------------------- Comment (by dan@…): see ticket #36154 for the port upgrade -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35243: mlt: transition_composite.c compile error -------------------------+---------------------- Reporter: mikyboum@… | Owner: dan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: haspatch Port: mlt | -------------------------+---------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/35243#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts