Opened 10 years ago

Closed 10 years ago

#20338 closed defect (fixed)

portaudio fails to build on 10.6

Reported by: nerdling (Jeremy L) Owned by: themiwi@…
Priority: Low Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: portaudio

Description

Tried disabling parallel build, no effect. This is caused since warnings are treated as errors.

cc1: warnings being treated as errors
src/common/pa_dither.c: In function 'PaUtil_Generate16BitTriangularDither':
src/common/pa_dither.c:73: warning: right shift count >= width of type
src/common/pa_dither.c:74: warning: right shift count >= width of type
src/common/pa_dither.c: In function 'PaUtil_GenerateFloatTriangularDither':
src/common/pa_dither.c:100: warning: right shift count >= width of type
src/common/pa_dither.c:101: warning: right shift count >= width of type
cc1: warnings being treated as errors
src/common/pa_dither.c: In function 'PaUtil_Generate16BitTriangularDither':
src/common/pa_dither.c:73: warning: right shift count >= width of type
src/common/pa_dither.c:74: warning: right shift count >= width of type
src/common/pa_dither.c: In function 'PaUtil_GenerateFloatTriangularDither':
src/common/pa_dither.c:100: warning: right shift count >= width of type
src/common/pa_dither.c:101: warning: right shift count >= width of type
lipo: can't open input file: /var/tmp//ccF49Lpv.out (No such file or directory)
make: *** [src/common/pa_dither.lo] Error 1

Change History (4)

comment:1 Changed 10 years ago by tobypeterson

portaudio's build system appears to be horribly broken. It's building four-way universal without being asked, and it's doing -DSIZEOF_LONG=8 ... presumably that warning is for the i386/ppc portions.

comment:2 Changed 10 years ago by tobypeterson

Ok, that bit is relatively easy to work around. However, it appears to also be using a ton of deprecated/removed APIs.

comment:3 Changed 10 years ago by tobypeterson

Ok, I think I have it building with some relatively simple changes (and -Wno-deprecated-declarations)

comment:4 Changed 10 years ago by tobypeterson

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.