Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#22749 closed defect (fixed)

libsndfile tries to use jack libraries

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: lperry (Perry Lee)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: eu@…
Port: libsndfile

Description

libsndfile tries to use libraries from the jack port, but does not declare a dependency on jack, and cannot, because jack already declares a dependency on libsndfile, and there cannot be circular dependencies in MacPorts. The following is what happens when I already have jack and libsndfile installed non-universal and try to rebuild libsndfile universal:

--->  Building libsndfile
Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_
macports_dports_audio_libsndfile/work/libsndfile-1.0.20" && /usr/bin/nice -n 10 /usr/bin/make -j2 all 
" returned error 2
Command output:   "_jack_ringbuffer_create", referenced from:
      _main in sndfile_jackplay-sndfile-jackplay.o
  "_jack_set_process_callback", referenced from:
      _main in sndfile_jackplay-sndfile-jackplay.o
  "_jack_ringbuffer_read", referenced from:
      _process in sndfile_jackplay-sndfile-jackplay.o
  "_jack_port_name", referenced from:
      _main in sndfile_jackplay-sndfile-jackplay.o
  "_jack_ringbuffer_free", referenced from:
      _main in sndfile_jackplay-sndfile-jackplay.o
  "_jack_client_new", referenced from:
      _main in sndfile_jackplay-sndfile-jackplay.o
  "_jack_activate", referenced from: 
      _main in sndfile_jackplay-sndfile-jackplay.o
[snip]

libsndfile should not try to use jack's libraries, but I don't see a configure arg to disable this. (Or libsndfile should declare a dependency on jack, and jack should then not declare a dependency on libsndfile and should not use its libraries.)

Attachments (1)

ticket-22749.txt (28.8 KB) - added by lperry (Perry Lee) 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by lperry (Perry Lee)

Attachment: ticket-22749.txt added

comment:1 Changed 14 years ago by lperry (Perry Lee)

Can you update libsndfile to 1.0.21 and try again?

Building libsndfile +universal with jack -universal and libsndfile -universal installed seems to work (see the attached log).

comment:2 Changed 14 years ago by lperry (Perry Lee)

Resolution: fixed
Status: newclosed

Since I haven't heard back, I assume this is no longer a problem.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks, it seems to work fine now.

Note: See TracTickets for help on using tickets.