NetBSD Problem Report #42117

From www@NetBSD.org  Thu Sep 24 00:39:15 2009
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 8645C63B8DF
	for <gnats-bugs@gnats.netbsd.org>; Thu, 24 Sep 2009 00:39:15 +0000 (UTC)
Message-Id: <20090924003915.4E78263B850@www.NetBSD.org>
Date: Thu, 24 Sep 2009 00:39:15 +0000 (UTC)
From: raymond.meyer@rambler.ru
Reply-To: raymond.meyer@rambler.ru
To: gnats-bugs@NetBSD.org
Subject: audio/faad2 fails to build on Sparc Solaris with Sun compilers
X-Send-Pr-Version: www-1.0

>Number:         42117
>Category:       pkg
>Synopsis:       audio/faad2 fails to build on Sparc Solaris with Sun compilers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 24 00:40:00 +0000 2009
>Last-Modified:  Tue Dec 01 13:27:51 +0000 2009
>Originator:     RM
>Release:        
>Organization:
>Environment:
SunOS ultra10 5.10 Generic_139555-08 sun4u sparc SUNW,Ultra-5_10
>Description:
 cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -iquote ../include -O -c bits.c  -KPIC -DPIC -o .libs/bits.o
cc: Warning: Option -quote passed to ld, if ld is invoked, ignored otherwise
"common.h", line 42: cannot find include file: "neaacdec.h"
"structs.h", line 427: syntax error before or at: NeAACDecConfiguration
cc: acomp failed for bits.c
gmake[2]: *** [bits.lo] Error 1
gmake[2]: Leaving directory `/opt/pkg.obj/audio/faad2/work.ultra10/faad2-2.7/libfaad'

>How-To-Repeat:

>Fix:
Sun compilers don't support '-iquote' options, it's only valid for GCC-4.x.
I guess the fix is to patch faad2 Makefile and replace '-iquote' with '-I',
or hack pkgsrc compiler wrapper scripts to replace '-iquote' on the fly with '-I'

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Tue, 01 Dec 2009 13:27:51 +0000
Responsible-Changed-Why:
Problem on Solaris.


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