pkgsrc-Bugs archive

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

pkg/42117: audio/faad2 fails to build on Sparc Solaris with Sun compilers



>Number:         42117
>Category:       pkg
>Synopsis:       audio/faad2 fails to build on Sparc Solaris with Sun compilers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 24 00:40:00 +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'



Home | Main Index | Thread Index | Old Index