Opened 12 years ago

Closed 12 years ago

#36902 closed defect (fixed)

portaudio: No rule to make target `../../../lib/libportaudio.la', needed by `libportaudiocpp.la'

Reported by: jwhowse4 Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), dcecchin@…, gjasny@…
Port: portaudio

Description

I am running an Intel Mac Pro with Lion 10.7.5 and Xcode 4.5.2. When I try to upgrade the port "portaudio" it fails with the attached log file. When I change the line in the Portfile

configure.args  --disable-mac-universal --enable-cxx

to the line

configure.args  --disable-mac-universal

the port builds just fine.

Attachments (1)

portaudio_main.log (137.6 KB) - added by jwhowse4 12 years ago.
portaudio build failure log

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by jwhowse4

Attachment: portaudio_main.log added

portaudio build failure log

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; hum@… removed
Owner: changed from macports-tickets@… to hum@…
Summary: portaudio build fails with C++ bindingsportaudio: No rule to make target `../../../lib/libportaudio.la', needed by `libportaudiocpp.la'

comment:2 Changed 12 years ago by dcecchin@…

Cc: dcecchin@… added

Cc Me!

comment:3 Changed 12 years ago by gjasny@…

Try to disable parallel build. The libportaudio.la is created in line 777 but needed in line 750.

one thing you could try to parallellize nevertheless is (warning: pseudo code)

make -j24 libportaudio.la
make -j24 libportaudiocpp.la
make -j24

comment:4 Changed 12 years ago by gjasny@…

Cc: gjasny@… added

Cc Me!

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Thanks, that was it. Disabled parallel build in r99498. Even so it takes less than a minute to build on my system so I'm not terribly concerned about finding a way to re-enable parallel building, though I agree there are probably ways to do it. The best way would be to fix the makefile.

Note: See TracTickets for help on using tickets.