Opened 19 years ago

Closed 18 years ago

#3926 closed defect (fixed)

BUG: ffmpeg fails to compile on Tiger

Reported by: bahamat@… Owned by: ocheron@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: andre@…, mellon85@…
Port:

Description

Output follows:

$ port install ffmpeg ---> Fetching ffmpeg ---> Verifying checksum(s) for ffmpeg ---> Extracting ffmpeg ---> Applying patches to ffmpeg ---> Configuring ffmpeg ---> Building ffmpeg with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_multimedia_ffmpe g/work/ffmpeg-0.4.8" && make all" returned error 2 Command output: cc -I/opt/local/include -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic- no-pic -faltivec -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 - D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o h263dec.o h263dec.c cc -I/opt/local/include -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -faltivec -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE - D_GNU_SOURCE -c -o svq1.o svq1.c In file included from svq1.c:63: svq1_cb.h:768: warning: pointer targets in initialization differ in signedness svq1_cb.h:768: warning: pointer targets in initialization differ in signedness svq1_cb.h:769: warning: pointer targets in initialization differ in signedness svq1_cb.h:770: warning: pointer targets in initialization differ in signedness svq1_cb.h:1510: warning: pointer targets in initialization differ in signedness svq1_cb.h:1510: warning: pointer targets in initialization differ in signedness svq1_cb.h:1511: warning: pointer targets in initialization differ in signedness svq1_cb.h:1512: warning: pointer targets in initialization differ in signedness svq1.c: In function 'svq1_decode_frame_header': svq1.c:614: warning: pointer targets in passing argument 2 of 'svq1_parse_string' differ in signedness svq1.c: At top level: svq1.c:560: warning: 'svq1_component_checksum' defined but not used cc -I/opt/local/include -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -faltivec -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE - D_GNU_SOURCE -c -o rv10.o rv10.c rv10.c:261: warning: 'get_num' defined but not used cc -I/opt/local/include -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -faltivec -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE - D_GNU_SOURCE -c -o wmadec.o wmadec.c wmadec.c: In function 'wma_decode_block': wmadec.c:857: warning: pointer targets in assignment differ in signedness wmadec.c:858: warning: pointer targets in assignment differ in signedness cc -I/opt/local/include -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -faltivec -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE - D_GNU_SOURCE -c -o indeo3.o indeo3.c indeo3.c: In function 'iv_Decode_Chunk': indeo3.c:371: warning: pointer targets in assignment differ in signedness cc -I/opt/local/include -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -faltivec -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE - D_GNU_SOURCE -c -o ppc/dsputil_ppc.o ppc/dsputil_ppc.c {standard input}:117:dcbzl instruction is only for 64-bit implementations (not allowed without - force_cpusubtype_ALL option) {standard input}:161:dcbzl instruction is only for 64-bit implementations (not allowed without - force_cpusubtype_ALL option) {standard input}:230:dcbzl instruction is only for 64-bit implementations (not allowed without - force_cpusubtype_ALL option) make[1]: * [ppc/dsputil_ppc.o] Error 1 make: * [lib] Error 2

Change History (8)

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to ocheron@…

assign to maintainer

comment:2 Changed 19 years ago by dgarrett@…

I this this error instead:

dhcp-42-36$sudo port install ffmpeg ---> Fetching ffmpeg ---> Verifying checksum(s) for ffmpeg ---> Extracting ffmpeg ---> Applying patches to ffmpeg ---> Configuring ffmpeg ---> Building ffmpeg with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_multimedia_ffmpeg/work/ffmpeg-0.4.8" && make all" returned error 2 Command output: make -C libavcodec all cc -I/opt/local/include -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -faltivec -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c In file included from avcodec.h:14,

from common.c:27:

common.h:68: error: array type has incomplete element type common.h:70: error: array type has incomplete element type make[1]: * [common.o] Error 1 make: * [lib] Error 2

comment:3 Changed 19 years ago by yves@…

Cc: andre@… added

I get the same as Dan

As stated on ffmpeg's website, it is advised to use cvs rather than releases, which would be the thing to do, IMHO, before trying to fix anything else

comment:4 Changed 18 years ago by xcgr@…

ffmpeg fails for me under 10.4.3. Same error as Don and Yves: "array type has incomplete element type" while making libavcodec.

comment:5 Changed 18 years ago by blb@…

Cc: mellon85@… added

* Bug 4818 has been marked as a duplicate of this bug. *

comment:6 Changed 18 years ago by goran@…

older (non CVS-versions) will not compile with gcc 4.x due to stricter checks.

comment:7 Changed 18 years ago by bchesneau@…

Pb on 10.4.4 :

Command output: make -C libavcodec all cc -I/opt/darwinports/include -no-cpp-precomp -pipe -fomit-frame-pointer -mdynamic-no-pic -faltivec -g -O3 -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c In file included from avcodec.h:14,

from common.c:27:

common.h:68: error: array type has incomplete element type common.h:70: error: array type has incomplete element type make[1]: * [common.o] Error 1 make: * [lib] Error 2

comment:8 Changed 18 years ago by olegb@…

Resolution: fixed
Status: newclosed

compiles fine with the just commited change.

Note: See TracTickets for help on using tickets.