Opened 10 years ago

Closed 10 years ago

#44142 closed submission (fixed)

SoQt @1.5 - new port

Reported by: mbrethen Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: SoQt

Description

A proposed Portfile for SoQt, which is a Qt GUI component toolkit library for Coin.

SoQt is dependent on Trolltech's Qt library. On Mac OS X, you have two options:

  1. Use the native Qt/Mac
  2. Use X11 and Qt/X11

You need to build both Coin and SoQt using the same option. Coin builds with X11 and Qt/X11 by default and I have chosen the same for SoQt. Alternatively, you can install as SoQt.framework with the aqua variant (Qt/Mac). The variant checks that Coin was similarly built.

Attachments (5)

configure.patch (777 bytes) - added by mbrethen 10 years ago.
main.log (212.5 KB) - added by mbrethen 10 years ago.
framework-prefix.patch (1.1 KB) - added by mbrethen 10 years ago.
Patched src/Inventor/Qt/Makefile.in to prefix /opt/local/Library/Frameworks/ to the names.
Portfile.2 (1.6 KB) - added by mbrethen 10 years ago.
Added portgroup bitbucket 1.0
Portfile (1.6 KB) - added by mbrethen 10 years ago.

Download all attachments as: .zip

Change History (13)

Changed 10 years ago by mbrethen

Attachment: configure.patch added

comment:1 Changed 10 years ago by mbrethen

Verified check for 'aqua' variant:

:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: Coin qt4-mac pkgconfig doxygen
:debug:configure Coin is installed with the following variants: +aqua
:debug:configure   required: aqua, forbidden: 
:debug:configure   accepted
:debug:configure Executing org.macports.configure (SoQt)

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

Keywords: qt coin removed
Version: 2.3.0

comment:3 Changed 10 years ago by mbrethen

I'm getting a linking error:

--->  Found 1 broken file(s), matching files to ports    
Error: Port SoQt is still broken after rebuilding it more than 3 times.
Error: Please run port -d -y rev-upgrade and use the output to report a bug.
Port SoQt still broken after rebuilding 3 time(s)
    while executing
"error "Port $portname still broken after rebuilding [expr {$broken_port_counts($portname) - 1}] time(s)""
    (procedure "revupgrade_scanandrebuild" line 280)
    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 93)
    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 5254)

port -d -y rev-upgrade output:

Could not open Inventor.framework/Versions/C/Inventor: Error opening or reading file (referenced from /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.5.0.dylib)
DEBUG: Marking /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.5.0.dylib as broken
--->  Found 1 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
DEBUG: Broken: SoQt
DEBUG: Processing port SoQt @0:1.5.0_0 +aqua 
--->  Rebuilding in order
     SoQt @1.5.0 +aqua
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: SoQt 1.5.0_0 exists in the ports tree
DEBUG: SoQt 1.5.0_0 +aqua is the latest installed
DEBUG: SoQt 1.5.0_0 +aqua is active
DEBUG: Merging existing variants '+aqua' into variants
DEBUG: new fully merged portvariants: aqua + bash_completion +
DEBUG: Changing to port directory: /Users/marbre/ports/graphics/SoQt
DEBUG: OS darwin/13.2.0 (Mac OS X 10.9) arch i386
DEBUG: Going to use alternate build prefix: /Users/marbre/.macports
DEBUG: workpath = /Users/marbre/.macports/opt/local/var/macports/build/_Users_marbre_ports_graphics_SoQt/SoQt/work
DEBUG: Sourcing PortGroup active_variants 1.1 from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/active_variants-1.1.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant +bash_completion is not provided by port SoQt.
DEBUG: Executing variant aqua provides aqua
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: rev-upgrade override ... upgrading!
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: Coin 3.1.3_2 exists in the ports tree
DEBUG: Coin 3.1.3_2 +aqua is the latest installed
DEBUG: Coin 3.1.3_2 +aqua is active
DEBUG: Merging existing variants '+aqua' into variants
DEBUG: new fully merged portvariants: aqua + bash_completion +
DEBUG: Changing to port directory: /Users/marbre/ports/graphics/Coin
DEBUG: OS darwin/13.2.0 (Mac OS X 10.9) arch i386
DEBUG: Going to use alternate build prefix: /Users/marbre/.macports
DEBUG: workpath = /Users/marbre/.macports/opt/local/var/macports/build/_Users_marbre_ports_graphics_Coin/Coin/work
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant +bash_completion is not provided by port Coin.
DEBUG: Executing variant aqua provides aqua
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: No need to upgrade! Coin 3.1.3_2 >= Coin 3.1.3_2

comment:4 Changed 10 years ago by mbrethen

'Inventor.framework/Versions/C/Inventor' points to 'Inventor.framework/Versions/C/Libraries/libCoin.60.1.3.dylib'

Attaching log file.

Last edited 10 years ago by mbrethen (previous) (diff)

Changed 10 years ago by mbrethen

Attachment: main.log added

Changed 10 years ago by mbrethen

Attachment: framework-prefix.patch added

Patched src/Inventor/Qt/Makefile.in to prefix /opt/local/Library/Frameworks/ to the names.

Changed 10 years ago by mbrethen

Attachment: Portfile.2 added

Added portgroup bitbucket 1.0

comment:5 Changed 10 years ago by mbrethen

Remove Portfile.2 and framework-prefix.patch -- they are not used.

comment:6 Changed 10 years ago by mbrethen

Keep the framework patch -- it is needed.

Changed 10 years ago by mbrethen

Attachment: Portfile added

comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Committed in r122490 with these changes:

  • adjusted whitespace so that indentations are at multiples of 4 spaces and so that tabs are not used
  • renamed patchfiles to match our patch naming guidelines
  • used depends_lib-replace instead of depends_lib-delete and depends_lib-append
Note: See TracTickets for help on using tickets.