#38099: Portfile for Krita ------------------------------------+-------------------------------- Reporter: patrik.andersson.se@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ------------------------------------+-------------------------------- Comment (by patrik.andersson.se@…): Replying to [comment:11 jmr@…]:
You're overriding the install phase and not doing any of what the install phase needs to do. The code in your custom install phase should be run in post-activate if anywhere (though I'm not convinced it should be run automatically at all).
I put it in the post-activate phase and it works better, but now it says that the build is broken and the log is empty. Probably it has to do with krita's installation-phase, since it then creates some folders(destroot/lib,share,include), see log above. {{{ ---> Computing dependencies for krita ---> Cleaning krita ---> Deactivating krita @2.6.0_0 ---> Cleaning krita ---> Uninstalling krita @2.6.0_0 ---> Cleaning krita ---> Computing dependencies for krita ---> Fetching distfiles for krita ---> Verifying checksum(s) for krita ---> Extracting krita ---> Configuring krita ---> Building krita ---> Staging krita into destroot Warning: krita installs files outside the common directory structure. ---> Installing krita @2.6.0_0 ---> Activating krita @2.6.0_0 ########################################################## # Don't forget that dbus needs to be started as the local # user (not with sudo) before any KDE programs will launch # To start it run the following command: # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist ########################################################## ---> Cleaning krita ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 1312 broken file(s), matching files to ports Warning: No port py-gtk2 found in the index; can't rebuild Error: Port krita 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 krita still broken after rebuilding 3 time(s) while executing "error "Port $portname still broken after rebuilding [expr $broken_port_counts($port (procedure "revupgrade_scanandrebuild" line 268) 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 94) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 95) 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 4785) }}} -- Ticket URL: <https://trac.macports.org/ticket/38099#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS