pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47456: caca option breaks mplayer build



>Number:         47456
>Category:       pkg
>Synopsis:       caca option breaks mplayer build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 16 04:15:00 +0000 2013
>Originator:     diro%nixsyspaus.org@localhost
>Release:        NetBSD 6.0.1
>Organization:
>Environment:
System: NetBSD amd64 6.0.1
Architecture: amd64
Machine: amd64
>Description:
Forgot to report this last quarter. Tail end of the build:

cc -MD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
-std=gnu99  -I/usr/pkg/include/cdparanoia -I/usr/pkg/include -I/usr/include
-I/usr/X11R7/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include/freetype2
-fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I. -Iffmpeg  -I/usr/pkg/include -I/usr/include
-I/usr/X11R7/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include/freetype2
-D_THREAD_SAFE -I/usr/X11R7/include -I/usr/pkg/include/  -I/usr/pkg/include
-D_REENTRANT -I/usr/pkg/include   -I/usr/X11R7/include/freetype2
-I/usr/X11R7/include -I/usr/pkg/include -I/usr/pkg/include/libdvdread -c -o
libvo/vo_aa.o libvo/vo_aa.c
libvo/vo_aa.c: In function 'draw_frame':
libvo/vo_aa.c:357:3: warning: passing argument 2 of 'sws_scale' from
incompatible pointer type
ffmpeg/libswscale/swscale.h:237:5: note: expected 'const __uint8_t * const*'
but argument is of type '__uint8_t **'
libvo/vo_aa.c: In function 'draw_slice':
libvo/vo_aa.c:377:3: warning: passing argument 2 of 'sws_scale' from
incompatible pointer type
ffmpeg/libswscale/swscale.h:237:5: note: expected 'const __uint8_t * const*'
but argument is of type '__uint8_t **'
cc -MD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
-std=gnu99  -I/usr/pkg/include/cdparanoia -I/usr/pkg/include -I/usr/include
-I/usr/X11R7/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include/freetype2
-fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I. -Iffmpeg  -I/usr/pkg/include -I/usr/include
-I/usr/X11R7/include -I/usr/pkg/include/faad2 -I/usr/X11R7/include/freetype2
-D_THREAD_SAFE -I/usr/X11R7/include -I/usr/pkg/include/  -I/usr/pkg/include
-D_REENTRANT -I/usr/pkg/include   -I/usr/X11R7/include/freetype2
-I/usr/X11R7/include -I/usr/pkg/include -I/usr/pkg/include/libdvdread -c -o
libvo/vo_caca.o libvo/vo_caca.c
libvo/vo_caca.c:57:23: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
libvo/vo_caca.c:58:23: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
libvo/vo_caca.c:59:23: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
libvo/vo_caca.c: In function 'resize':
libvo/vo_caca.c:139:5: warning: implicit declaration of function
'caca_get_canvas_width'
libvo/vo_caca.c:139:38: error: 'canvas' undeclared (first use in this
function)
libvo/vo_caca.c:139:38: note: each undeclared identifier is reported only once
for each function it appears in
libvo/vo_caca.c:140:5: warning: implicit declaration of function
'caca_get_canvas_height'
libvo/vo_caca.c:142:5: warning: implicit declaration of function
'caca_free_dither'
libvo/vo_caca.c:142:22: error: 'dither' undeclared (first use in this
function)
libvo/vo_caca.c:144:5: warning: implicit declaration of function
'caca_create_dither'
libvo/vo_caca.c:153:5: warning: implicit declaration of function
'caca_set_dither_antialias'
libvo/vo_caca.c:154:5: warning: implicit declaration of function
'caca_set_dither_charset'
libvo/vo_caca.c:155:5: warning: implicit declaration of function
'caca_set_dither_color'
libvo/vo_caca.c:156:5: warning: implicit declaration of function
'caca_set_dither_algorithm'
libvo/vo_caca.c: In function 'draw_frame':
libvo/vo_caca.c:177:5: warning: implicit declaration of function
'caca_dither_bitmap'
libvo/vo_caca.c:177:24: error: 'canvas' undeclared (first use in this
function)
libvo/vo_caca.c:177:58: error: 'dither' undeclared (first use in this
function)
libvo/vo_caca.c: In function 'flip_page':
libvo/vo_caca.c:194:13: warning: implicit declaration of function
'caca_put_str'
libvo/vo_caca.c:194:26: error: 'canvas' undeclared (first use in this
function)
libvo/vo_caca.c:200:5: warning: implicit declaration of function
'caca_refresh_display'
libvo/vo_caca.c:200:26: error: 'display' undeclared (first use in this
function)
libvo/vo_caca.c: In function 'check_events':
libvo/vo_caca.c:243:5: error: 'caca_event_t' undeclared (first use in this
function)
libvo/vo_caca.c:243:18: error: expected ';' before 'cev'
libvo/vo_caca.c:244:27: error: 'display' undeclared (first use in this
function)
libvo/vo_caca.c:244:53: error: 'cev' undeclared (first use in this function)
libvo/vo_caca.c:244:5: error: too many arguments to function 'caca_get_event'
/usr/pkgsrc/multimedia/mplayer/work/.buildlink/include/caca.h:262:14: note:
declared here
libvo/vo_caca.c:251:14: error: 'CACA_EVENT_QUIT' undeclared (first use in this
function)
libvo/vo_caca.c:278:17: warning: implicit declaration of function
'caca_get_dither_algorithm_list'
libvo/vo_caca.c:278:61: error: 'dither' undeclared (first use in this
function)
libvo/vo_caca.c:286:17: warning: implicit declaration of function
'caca_get_dither_antialias_list'
libvo/vo_caca.c:294:17: warning: implicit declaration of function
'caca_get_dither_charset_list'
libvo/vo_caca.c:302:17: warning: implicit declaration of function
'caca_get_dither_color_list'
libvo/vo_caca.c: In function 'uninit':
libvo/vo_caca.c:319:22: error: 'dither' undeclared (first use in this
function)
libvo/vo_caca.c:321:5: warning: implicit declaration of function
'caca_free_display'
libvo/vo_caca.c:321:23: error: 'display' undeclared (first use in this
function)
libvo/vo_caca.c:322:5: warning: implicit declaration of function
'caca_free_canvas'
libvo/vo_caca.c:322:22: error: 'canvas' undeclared (first use in this
function)
libvo/vo_caca.c: In function 'preinit':
libvo/vo_caca.c:340:5: error: 'canvas' undeclared (first use in this function)
libvo/vo_caca.c:340:5: warning: implicit declaration of function
'caca_create_canvas'
libvo/vo_caca.c:346:5: error: 'display' undeclared (first use in this
function)
libvo/vo_caca.c:346:5: warning: implicit declaration of function
'caca_create_display'
libvo/vo_caca.c:354:5: warning: implicit declaration of function
'caca_set_display_title'
gmake: *** [libvo/vo_caca.o] Error 1
*** Error code 2

>How-To-Repeat:
PKG_OPTIONS.mplayer+=aalib caca dts ggi mplayer-ssse3
cd pkgsrc/multimedia/mplayer; bmake
>Fix:
        



Home | Main Index | Thread Index | Old Index