NetBSD Problem Report #43987

From www@NetBSD.org  Wed Oct 20 01:52:18 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id EC30E63B8B8
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 20 Oct 2010 01:52:17 +0000 (UTC)
Message-Id: <20101020015217.9828463B8AD@www.NetBSD.org>
Date: Wed, 20 Oct 2010 01:52:17 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: mplayer build failure on MacOS X 10.4.11
X-Send-Pr-Version: www-1.0

>Number:         43987
>Category:       pkg
>Synopsis:       mplayer build failure on MacOS X 10.4.11
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    ahoka
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 20 01:55:00 +0000 2010
>Last-Modified:  Fri Oct 22 10:03:28 +0000 2010
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11; pkgsrc-current
>Organization:
>Environment:
Darwin ed.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

>Description:
Building multimedia/mplayer on MacOS X 10.4.11 (PPC) fails as follows:

[...]
gcc -MMD -MF libao2/ao_coreaudio.d -MT libao2/ao_coreaudio.o -Wundef  -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -maltivec -mabi=altivec -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -falign-loops=16 -shared-libgcc -mdynamic-no-pic -I.  -DPNG_NO_ASSEMBLER_CODE -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/X11R6/include -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/pkg/include/artsc -D_REENTRANT -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include   -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libdvdread -c -o libao2/ao_coreaudio.o libao2/ao_coreaudio.c
libao2/ao_coreaudio.c:78: error: parse error before 'AudioDeviceIOProcID'
libao2/ao_coreaudio.c:78: warning: no semicolon at end of struct or union
libao2/ao_coreaudio.c:102: error: parse error before '}' token
libao2/ao_coreaudio.c:102: warning: type defaults to 'int' in declaration of 'ao_coreaudio_t'
libao2/ao_coreaudio.c:102: warning: data definition has no type or storage class
libao2/ao_coreaudio.c:104: error: parse error before '*' token
libao2/ao_coreaudio.c:104: warning: type defaults to 'int' in declaration of 'ao'
libao2/ao_coreaudio.c:104: warning: data definition has no type or storage class
libao2/ao_coreaudio.c: In function 'write_buffer':
libao2/ao_coreaudio.c:110: error: request for member 'buffer_len' in something not a structure or union
libao2/ao_coreaudio.c:110: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c:112: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c: In function 'read_buffer':
libao2/ao_coreaudio.c:119: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c:121: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c: In function 'theRenderProc':
libao2/ao_coreaudio.c:131: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c:132: error: request for member 'packetSize' in something not a structure or union
libao2/ao_coreaudio.c: In function 'control':
libao2/ao_coreaudio.c:152: error: request for member 'b_digital' in something not a structure or union
libao2/ao_coreaudio.c:156: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:171: error: request for member 'b_digital' in something not a structure or union
libao2/ao_coreaudio.c:180: error: request for member 'b_muted' in something not a structure or union
libao2/ao_coreaudio.c:182: error: request for member 'b_muted' in something not a structure or union
libao2/ao_coreaudio.c:187: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c: In function 'init':
libao2/ao_coreaudio.c:424: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:425: error: request for member 'b_supports_digital' in something not a structure or union
libao2/ao_coreaudio.c:426: error: request for member 'b_digital' in something not a structure or union
libao2/ao_coreaudio.c:427: error: request for member 'b_muted' in something not a structure or union
libao2/ao_coreaudio.c:428: error: request for member 'b_stream_format_changed' in something not a structure or union
libao2/ao_coreaudio.c:429: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:430: error: request for member 'i_stream_id' in something not a structure or union
libao2/ao_coreaudio.c:431: error: request for member 'i_stream_index' in something not a structure or union
libao2/ao_coreaudio.c:432: error: request for member 'b_revert' in something not a structure or union
libao2/ao_coreaudio.c:433: error: request for member 'b_changed_mixing' in something not a structure or union
libao2/ao_coreaudio.c:465: error: request for member 'b_supports_digital' in something not a structure or union
libao2/ao_coreaudio.c:467: error: request for member 'b_supports_digital' in something not a structure or union
libao2/ao_coreaudio.c:475: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:479: error: request for member 'b_supports_digital' in something not a structure or union
libao2/ao_coreaudio.c:499: error: request for member 'packetSize' in something not a structure or union
libao2/ao_coreaudio.c:502: error: request for member 'b_supports_digital' in something not a structure or union
libao2/ao_coreaudio.c:505: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:514: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:516: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:522: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:525: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:525: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:530: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:547: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:554: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:561: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:569: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:578: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:578: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:578: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:580: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:585: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:588: error: request for member 'num_chunks' in something not a structure or union
libao2/ao_coreaudio.c:588: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:588: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:589: error: request for member 'buffer_len' in something not a structure or union
libao2/ao_coreaudio.c:589: error: request for member 'num_chunks' in something not a structure or union
libao2/ao_coreaudio.c:589: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:590: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c:590: error: request for member 'buffer_len' in something not a structure or union
libao2/ao_coreaudio.c:592: error: request for member 'num_chunks' in something not a structure or union
libao2/ao_coreaudio.c:592: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:592: error: request for member 'buffer_len' in something not a structure or union
libao2/ao_coreaudio.c:596: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:607: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:609: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:611: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c: In function 'OpenSPDIF':
libao2/ao_coreaudio.c:630: error: request for member 'b_digital' in something not a structure or union
libao2/ao_coreaudio.c:633: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:635: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:637: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:637: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:641: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:646: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:649: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:655: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:658: error: request for member 'b_changed_mixing' in something not a structure or union
libao2/ao_coreaudio.c:667: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:681: error: request for member 'i_stream_index' in something not a structure or union
libao2/ao_coreaudio.c:717: error: request for member 'i_stream_id' in something not a structure or union
libao2/ao_coreaudio.c:718: error: request for member 'i_stream_index' in something not a structure or union
libao2/ao_coreaudio.c:720: error: request for member 'b_revert' in something not a structure or union
libao2/ao_coreaudio.c:723: error: request for member 'i_stream_id' in something not a structure or union
libao2/ao_coreaudio.c:725: error: request for member 'sfmt_revert' in something not a structure or union
libao2/ao_coreaudio.c:725: error: request for member 'sfmt_revert' in something not a structure or union
libao2/ao_coreaudio.c:734: error: request for member 'b_revert' in something not a structure or union
libao2/ao_coreaudio.c:741: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:746: error: request for member 'sfmt_revert' in something not a structure or union
libao2/ao_coreaudio.c:753: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:755: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:756: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:762: error: request for member 'i_stream_index' in something not a structure or union
libao2/ao_coreaudio.c:769: error: request for member 'sfmt_revert' in something not a structure or union
libao2/ao_coreaudio.c:771: error: request for member 'i_stream_id' in something not a structure or union
libao2/ao_coreaudio.c:771: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:778: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:789: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:797: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:797: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:799: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:800: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:801: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:801: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c:802: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:805: error: request for member 'num_chunks' in something not a structure or union
libao2/ao_coreaudio.c:805: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:805: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:806: error: request for member 'buffer_len' in something not a structure or union
libao2/ao_coreaudio.c:806: error: request for member 'num_chunks' in something not a structure or union
libao2/ao_coreaudio.c:806: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:807: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c:807: error: request for member 'buffer_len' in something not a structure or union
libao2/ao_coreaudio.c:809: error: request for member 'num_chunks' in something not a structure or union
libao2/ao_coreaudio.c:809: error: request for member 'chunk_size' in something not a structure or union
libao2/ao_coreaudio.c:809: error: request for member 'buffer_len' in something not a structure or union
libao2/ao_coreaudio.c:813: warning: implicit declaration of function 'AudioDeviceCreateIOProcID'
libao2/ao_coreaudio.c:813: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:816: error: request for member 'renderCallback' in something not a structure or union
libao2/ao_coreaudio.c:818: error: request for member 'renderCallback' in something not a structure or union
libao2/ao_coreaudio.c:829: error: request for member 'b_revert' in something not a structure or union
libao2/ao_coreaudio.c:830: error: request for member 'i_stream_id' in something not a structure or union
libao2/ao_coreaudio.c:830: error: request for member 'sfmt_revert' in something not a structure or union
libao2/ao_coreaudio.c:832: error: request for member 'b_changed_mixing' in something not a structure or union
libao2/ao_coreaudio.c:832: error: request for member 'sfmt_revert' in something not a structure or union
libao2/ao_coreaudio.c:835: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:842: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:844: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:845: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:847: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:847: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:852: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c: In function 'RenderCallbackSPDIF':
libao2/ao_coreaudio.c:1019: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c:1020: error: request for member 'i_stream_index' in something not a structure or union
libao2/ao_coreaudio.c:1025: error: request for member 'b_muted' in something not a structure or union
libao2/ao_coreaudio.c:1025: error: request for member 'i_stream_index' in something not a structure or union
libao2/ao_coreaudio.c: In function 'play':
libao2/ao_coreaudio.c:1037: error: request for member 'b_digital' in something not a structure or union
libao2/ao_coreaudio.c:1037: error: request for member 'b_stream_format_changed' in something not a structure or union
libao2/ao_coreaudio.c:1039: error: request for member 'b_stream_format_changed' in something not a structure or union
libao2/ao_coreaudio.c:1040: error: request for member 'i_stream_id' in something not a structure or union
libao2/ao_coreaudio.c:1047: error: request for member 'i_stream_id' in something not a structure or union
libao2/ao_coreaudio.c:1047: error: request for member 'stream_format' in something not a structure or union
libao2/ao_coreaudio.c: In function 'reset':
libao2/ao_coreaudio.c:1075: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c: In function 'get_space':
libao2/ao_coreaudio.c:1082: error: request for member 'buffer_len' in something not a structure or union
libao2/ao_coreaudio.c:1082: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c: In function 'get_delay':
libao2/ao_coreaudio.c:1090: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c: In function 'uninit':
libao2/ao_coreaudio.c:1100: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c:1101: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c:1105: error: request for member 'b_digital' in something not a structure or union
libao2/ao_coreaudio.c:1106: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:1107: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:1108: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:1112: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:1112: error: request for member 'renderCallback' in something not a structure or union
libao2/ao_coreaudio.c:1117: warning: implicit declaration of function 'AudioDeviceDestroyIOProcID'
libao2/ao_coreaudio.c:1117: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:1117: error: request for member 'renderCallback' in something not a structure or union
libao2/ao_coreaudio.c:1121: error: request for member 'b_revert' in something not a structure or union
libao2/ao_coreaudio.c:1122: error: request for member 'i_stream_id' in something not a structure or union
libao2/ao_coreaudio.c:1122: error: request for member 'sfmt_revert' in something not a structure or union
libao2/ao_coreaudio.c:1124: error: request for member 'b_changed_mixing' in something not a structure or union
libao2/ao_coreaudio.c:1124: error: request for member 'sfmt_revert' in something not a structure or union
libao2/ao_coreaudio.c:1129: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:1132: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:1138: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:1145: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:1147: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:1148: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:1150: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:1150: error: request for member 'i_hog_pid' in something not a structure or union
libao2/ao_coreaudio.c:1155: error: request for member 'buffer' in something not a structure or union
libao2/ao_coreaudio.c: In function 'audio_pause':
libao2/ao_coreaudio.c:1167: error: request for member 'b_digital' in something not a structure or union
libao2/ao_coreaudio.c:1169: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:1175: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:1175: error: request for member 'renderCallback' in something not a structure or union
libao2/ao_coreaudio.c:1179: error: request for member 'paused' in something not a structure or union
libao2/ao_coreaudio.c: In function 'audio_resume':
libao2/ao_coreaudio.c:1188: error: request for member 'paused' in something not a structure or union
libao2/ao_coreaudio.c:1192: error: request for member 'b_digital' in something not a structure or union
libao2/ao_coreaudio.c:1194: error: request for member 'theOutputUnit' in something not a structure or union
libao2/ao_coreaudio.c:1200: error: request for member 'i_selected_dev' in something not a structure or union
libao2/ao_coreaudio.c:1200: error: request for member 'renderCallback' in something not a structure or union
libao2/ao_coreaudio.c:1204: error: request for member 'paused' in something not a structure or union
libao2/ao_coreaudio.c: In function 'DeviceListener':
libao2/ao_coreaudio.c:1236: error: request for member 'b_stream_format_changed' in something not a structure or union
gmake: *** [libao2/ao_coreaudio.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/mplayer
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/mplayer

>How-To-Repeat:
On MacOS X 10.4.11, set the following in .../etc/mk.conf:

  X11_TYPE=modular
  PKG_OPTIONS.mplayer+=-pulseaudio
  PKG_OPTIONS.SDL+=-pulseaudio

and attempt to build multimedia/mplayer.  (The PKG_OPTIONS.* settings
are needed to avoid pulling in policykit which fails with spectacular
fireworks.)
>Fix:
Beats me.  The errors reported usually appear if a required header file
was omitted, but it's not apparent which one(s).

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ahoka
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Fri, 22 Oct 2010 10:03:28 +0000
Responsible-Changed-Why:
Assigned to maintainer. If you can't handle and is Mac OS X specific,
please assign to darwin-pkg-people.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.