[MacPorts] #18509: libtheora-1.0 fails to build on MacPorts 1.700 (Mac OS X 10.5.6)
MacPorts
noreply at macports.org
Mon Feb 16 04:31:30 PST 2009
#18509: libtheora-1.0 fails to build on MacPorts 1.700 (Mac OS X 10.5.6)
---------------------------------------+------------------------------------
Reporter: dennis.wagelaar@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: libtheora | Port: libtheora
---------------------------------------+------------------------------------
libtheora-1.0 does not compile with MacPorts 1.7 under Mac OS X 10.5.6. I
get the following output:
{{{
sh-3.2# port install libtheora +darwin_9_i386
---> Fetching libtheora
---> Attempting to fetch libtheora-1.0.tar.bz2 from
http://downloads.xiph.org/releases/theora/
---> Verifying checksum(s) for libtheora
---> Extracting libtheora
---> Configuring libtheora
---> Building libtheora
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/libtheora-1.0"
&& make all " returned error 2
Command output: png2theora.c:375: error: 'end_ptr' undeclared (first use
in this function)
png2theora.c:383: warning: implicit declaration of function 'png_init_io'
png2theora.c:384: warning: implicit declaration of function
'png_set_sig_bytes'
png2theora.c:385: warning: implicit declaration of function
'png_read_info'
png2theora.c:386: warning: implicit declaration of function 'png_get_IHDR'
png2theora.c:386: error: 'width' undeclared (first use in this function)
png2theora.c:386: error: 'height' undeclared (first use in this function)
png2theora.c:388: warning: implicit declaration of function
'png_set_expand'
png2theora.c:389: warning: implicit declaration of function
'png_set_packing'
png2theora.c:390: warning: implicit declaration of function
'png_set_strip_16'
png2theora.c:391: error: 'PNG_COLOR_MASK_COLOR' undeclared (first use in
this function)
png2theora.c:391: warning: implicit declaration of function
'png_set_gray_to_rgb'
png2theora.c:392: warning: implicit declaration of function 'png_get_bKGD'
png2theora.c:392: error: 'bkgd' undeclared (first use in this function)
png2theora.c:393: warning: implicit declaration of function
'png_set_background'
png2theora.c:393: error: 'PNG_BACKGROUND_GAMMA_FILE' undeclared (first use
in this function)
png2theora.c:398: warning: implicit declaration of function
'png_set_strip_alpha'
png2theora.c:400: error: 'row_data' undeclared (first use in this
function)
png2theora.c:400: error: syntax error before 'png_malloc'
png2theora.c:402: error: syntax error before ')' token
png2theora.c:404: error: 'y' undeclared (first use in this function)
png2theora.c:407: warning: implicit declaration of function
'png_read_image'
png2theora.c:408: warning: implicit declaration of function 'png_read_end'
png2theora.c:415: warning: implicit declaration of function 'png_free'
png2theora.c:417: warning: implicit declaration of function
'png_destroy_read_struct'
png2theora.c: In function 'main':
png2theora.c:510: warning: passing argument 3 of 'scandir' from
incompatible pointer type
make[2]: *** [png2theora-png2theora.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/18509>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list