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: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 24 00:40:00 +0000 2009
>Closed-Date: Sun May 15 02:43:33 +0000 2022
>Last-Modified: Sun May 15 02:43:33 +0000 2022
>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.
From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42117 CVS commit: pkgsrc/audio/faad2
Date: Sun, 15 May 2022 02:35:33 +0000
Module Name: pkgsrc
Committed By: dholland
Date: Sun May 15 02:35:33 UTC 2022
Modified Files:
pkgsrc/audio/faad2: distinfo
pkgsrc/audio/faad2/patches: patch-libfaad_Makefile.am
Log Message:
In audio/faad2, use -I instead -iquote; latter is gcc-only.
(and was being used for no real reason)
Should fix PR 42117.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/audio/faad2/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/faad2/patches/patch-libfaad_Makefile.am
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 15 May 2022 02:43:33 +0000
State-Changed-Why:
Fixed this particular problem; if there are more build failures please open
a new PR.
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.