Opened 4 months ago

Last modified 4 months ago

#70398 new defect

KDE ports: *.shell files point to destroot folder which do not exist anymore

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: kde Cc: RJVB (René Bertin)
Port: kde, kde4

Description

Multiple KDE ports have .shell file which sets DYLD_LIBRARY_PATH, for example:

/Applications/MacPorts/KDE4/calgebra.app/Contents/MacOS/calgebra.shell

All of those bake in wrong paths, pointing to destroot:

#!/bin/sh
# created by cmake, don't edit, changes will be lost

DYLD_LIBRARY_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_analitza/analitza/work/build/lib/./:/opt/local/lib${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH} "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_analitza/analitza/work/build/calgebra/calgebra.app/Contents/MacOS/calgebra" "$@"

Change History (2)

comment:1 Changed 4 months ago by RJVB (René Bertin)

Are those even being used (as the BundleExec in the Info.plist for example)?

comment:2 in reply to:  1 Changed 4 months ago by barracuda156

Replying to RJVB:

Are those even being used (as the BundleExec in the Info.plist for example)?

Perhaps not really, since once I fixed DYLD_LIBRARY_PATH for one of those, launching it instead of the main binary gave me the same errors which main binary gave on its own. I just bumped into this while trying to figure out why a half of KDE is broken.

Note: See TracTickets for help on using tickets.