Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#48400 closed update (fixed)

QJackCtl needs to be updated

Reported by: keybounce Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: qjackctl

Description

QJackCtl just updated to 4.0. The current version in macports is very old

Attachments (3)

Portfile (2.3 KB) - added by detlevd (Detlev Droege) 8 years ago.
Portfile replacement for 0.4.5
Portfile.diff (2.3 KB) - added by detlevd (Detlev Droege) 8 years ago.
Updated diff of Portfile for version 0.4.5
Portfile-with-qt4.diff (3.1 KB) - added by kencu (Ken) 8 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 9 years ago by keybounce

QjackCtl has updated again, 0.4.1.

Is anyone else using this on Mac OS?

comment:2 Changed 8 years ago by jbfavreau@…

qjackctl 0.3.8 is old and failed to build on MacOS 10.9.5 Maverick

mymac$ sudo port install cfxr ---> Computing dependencies for cfxr ---> Cleaning cfxr ---> Scanning binaries for linking errors ---> Found 2 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order

qjackctl @0.3.8 +dbus+portaudio

---> Computing dependencies for qjackctl ---> Cleaning qjackctl ---> Scanning binaries for linking errors ---> Found 2 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order

qjackctl @0.3.8 +dbus+portaudio

---> Computing dependencies for qjackctl ---> Fetching distfiles for qjackctl ---> Verifying checksums for qjackctl ---> Extracting qjackctl ---> Applying patches to qjackctl ---> Configuring qjackctl ---> Building qjackctl Error: org.macports.build for port qjackctl returned: command execution failed Please see the log file for port qjackctl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_qjackctl/qjackctl/main.log Error: Unable to upgrade port: 1 Error rebuilding qjackctl

while executing

"error "Error rebuilding $portname""

(procedure "revupgrade_scanandrebuild" line 395) invoked from within

"revupgrade_scanandrebuild broken_port_counts $opts"

(procedure "macports::revupgrade" line 5) invoked from within

"macports::revupgrade $opts"

(procedure "action_revupgrade" line 2) invoked from within

"action_revupgrade $action $portlist $opts"

(procedure "action_target" line 96) invoked from within

"$action_proc $action $portlist [array get global_options]"

(procedure "process_cmd" line 103) invoked from within

"process_cmd $remaining_args"

invoked from within

"if { [llength $remaining_args] > 0 } {

# If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 5268)

mymac$ sudo port install fluidsynth ---> Computing dependencies for fluidsynth ---> Cleaning fluidsynth ---> Scanning binaries for linking errors ---> Found 2 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order

qjackctl @0.3.8 +dbus+portaudio

---> Computing dependencies for qjackctl ---> Cleaning qjackctl ---> Scanning binaries for linking errors ---> Found 2 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order

qjackctl @0.3.8 +dbus+portaudio

---> Computing dependencies for qjackctl ---> Fetching distfiles for qjackctl ---> Verifying checksums for qjackctl ---> Extracting qjackctl ---> Applying patches to qjackctl ---> Configuring qjackctl ---> Building qjackctl Error: org.macports.build for port qjackctl returned: command execution failed Please see the log file for port qjackctl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_qjackctl/qjackctl/main.log Error: Unable to upgrade port: 1 Error rebuilding qjackctl

while executing

"error "Error rebuilding $portname""

(procedure "revupgrade_scanandrebuild" line 395) invoked from within

"revupgrade_scanandrebuild broken_port_counts $opts"

(procedure "macports::revupgrade" line 5) invoked from within

"macports::revupgrade $opts"

(procedure "action_revupgrade" line 2) invoked from within

"action_revupgrade $action $portlist $opts"

(procedure "action_target" line 96) invoked from within

"$action_proc $action $portlist [array get global_options]"

(procedure "process_cmd" line 103) invoked from within

"process_cmd $remaining_args"

invoked from within

"if { [llength $remaining_args] > 0 } {

# If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 5268)

please check and update QjackCtl

comment:3 Changed 8 years ago by keybounce

QJackCtl just updated to 0.4.3. http://qjackctl.sourceforge.net/ https://github.com/rncbc/qjackctl.git

... How do I add "nomaintainer@…" to the CC list? :-)

comment:4 Changed 8 years ago by detlevd (Detlev Droege)

Hi folks, I had the same problem and tried to upgrade the Portfile to the current qjackctl 0.4.5 - with success. It requires Qt5 now, and a C++11 compiler. I have almost no experience in writing Portfiles, but this one works for me when I copy it to /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/audio/qjackctl/Portfile and then install it after a clean. Remember it will be written over with the next sync or selfupdate you perform -- unless some kind soul integrates it into the official ports tree.

I'll attach the file to this ticket -- use at your own risk, YMMV.

Changed 8 years ago by detlevd (Detlev Droege)

Attachment: Portfile added

Portfile replacement for 0.4.5

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Thanks. Per the guidelines, please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing.

Changed 8 years ago by detlevd (Detlev Droege)

Attachment: Portfile.diff added

Updated diff of Portfile for version 0.4.5

comment:6 Changed 8 years ago by detlevd (Detlev Droege)

After studying chapters 4 and 5 of the MacPorts guide I improved the diff I posted 2 days ago and uploaded the new version. Tried it successfully with different variants.

comment:7 Changed 8 years ago by kencu (Ken)

Interesting app, and thanks for the pointer. It turns out qt4 is still possible to use to build this, if someone needed or wanted that. I have therefore slightly adapted your updated portfile to allow qt4 builds on systems (like mine) that don't run qt5. For your consideration. Most systems run qt5 now, so it's a small group that still like to see qt4. Thanks for doing the legwork on this.

Changed 8 years ago by kencu (Ken)

Attachment: Portfile-with-qt4.diff added

comment:8 Changed 8 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

In f518ad7179c3da0f1ef3ccffb0e8d1b1999cbc5d/macports-ports:

qjackctl:

  • Update to version 0.4.5
  • Use qt5
  • Add variant for qt4 for older systems

Closes: #48400

comment:9 Changed 8 years ago by detlevd (Detlev Droege)

Thanks to kencu for the qt4 variant supplement, however it fails to work on my Sierra (10.12.4) system. Building fails due to a weird architecture option, the main.log says:

:info:build clang: error: invalid arch name '-arch -Xarch_x86_64'

I can't discover where that excess -arch sneaks in. It is in the linker call of clang++. The compile calls have ... -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.12 ... which works fine, but the final linker call has ... -arch x86_64 -arch -Xarch_x86_64 -mmacosx-version-min=10.12 .... Strange.

comment:10 Changed 8 years ago by mf2k (Frank Schima)

Please open a new ticket for that and attach the complete main.log file there.

Note: See TracTickets for help on using tickets.