NetBSD Problem Report #47357
From www@NetBSD.org Thu Dec 20 21:47:58 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 0BB6363E48E
for <gnats-bugs@gnats.NetBSD.org>; Thu, 20 Dec 2012 21:47:58 +0000 (UTC)
Message-Id: <20121220214756.D56B263E48E@www.NetBSD.org>
Date: Thu, 20 Dec 2012 21:47:56 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: multimedia/mplayer option "caca" breaks build
X-Send-Pr-Version: www-1.0
>Number: 47357
>Category: pkg
>Synopsis: multimedia/mplayer option "caca" breaks build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bsiegert
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 20 21:50:00 +0000 2012
>Closed-Date: Sat Aug 08 21:01:53 +0000 2015
>Last-Modified: Sat Aug 08 21:01:53 +0000 2015
>Originator: John D. Baker
>Release: NetBSD 6.0_STABLE/amd64, pkgsrc-HEAD (pre-pkgsrc-2012Q4)
>Organization:
>Environment:
NetBSD skuld 6.0_STABLE NetBSD 6.0_STABLE (SKULD) #5: Sun Dec 16 22:11:23 CST 2012 sysop@skuld:/d0/build/netbsd-6/obj/amd64/sys/arch/amd64/compile/SKULD amd64
>Description:
This also occurs on netbsd-5 and HEAD, and with i386 on each.
With "PKG_OPTIONS.mplayer+=caca", building multimedia/mplayer fails as
follows:
[...]
gcc -MD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2 -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/artsc -pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -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'
/d0/build/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
Stop.
make: stopped in /d0/nbsd/pkgsrc/multimedia/mplayer
*** Error code 1
Stop.
make: stopped in /d0/nbsd/pkgsrc/multimedia/mplayer
>How-To-Repeat:
In "/etc/mk.conf", set PKG_OPTIONS.mplayer+=caca
Attempt to build "multimedia/mplayer"
>Fix:
Workaround: don't use option "caca".
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/47357: multimedia/mplayer option "caca" breaks build
Date: Thu, 20 Dec 2012 23:00:14 +0100
Perhaps it needs libcaca-0.99.beta*.
Do you care enough about this to provide an update for libcaca?
Thomas
Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 08 Aug 2015 21:01:53 +0000
Responsible-Changed-Why:
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 08 Aug 2015 21:01:53 +0000
State-Changed-Why:
Building the latest mplayer with the latest libcaca (0.99.18) works fine.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.