[MacPorts] #62130: stellarium crash right after start
MacPorts
noreply at macports.org
Sun Jan 31 18:27:18 UTC 2021
#62130: stellarium crash right after start
-------------------------+------------------------------
Reporter: rernenwein | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: stellarium crash
Port: stellarium |
-------------------------+------------------------------
Comment (by rernenwein):
ok thanks , i did follow your advice ... mostly
checked Xcode and command line tool, found that command line was a little
less uptodate, so upgrade with
{{{
softwareupdate --install -a
}}}
yet all tool are at same version
{{{
imac27:port-mig root#
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-v
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
imac27:port-mig root# /usr/bin/clang -v
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
imac27:port-mig root# /Library/Developer/CommandLineTools/usr/bin/clang -v
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
}}}
since your advice was to reinstall from scratch i had little to loose with
another try
i removed all dangling simbolic link
{{{
find -L /opt/local -type l | xargs rm
}}}
then uninstalled again all qt5 packages seen
{{{
port uninstall qt5-qttools qt5-qtsvg qt5-qtdeclarative qt5-qtbase
}}}
than given that no valid qt5 should exist anywhere, i checked it
{{{
imac27:port-mig root# find /opt/local -print| grep -i qt5
/opt/local/var/macports/software/qt5-qtgraphicaleffects
/opt/local/var/macports/software/qt5-qtgraphicaleffects/qt5-qtgraphicaleffects-5.14.2_0.darwin_19.x86_64.tbz2
/opt/local/var/macports/software/qt5-qtimageformats
/opt/local/var/macports/software/qt5-qtimageformats/qt5-qtimageformats-5.14.2_0.darwin_19.x86_64.tbz2
/opt/local/var/macports/software/qt5-qtlocation
/opt/local/var/macports/software/qt5-qtlocation/qt5-qtlocation-5.14.2_1.darwin_19.x86_64.tbz2
/opt/local/var/macports/software/qt5-qtscript
/opt/local/var/macports/software/qt5-qtscript/qt5-qtscript-5.14.2_0.darwin_19.x86_64.tbz2
......
}}}
many files/directories still existed, so i removed all strait
{{{
find /opt/local -print | grep -i qt5 | xargs rm
find /opt/local -print | grep -i qt5 | xargs rmdir
find /opt/local -print | grep -i qt5 | xargs rmdir
}}}
this time no more qt5 files/directories did exist anywhere
{{{
find /opt/local -print | grep -i qt5
}}}
then i did a port sync with update
{{{
port selfupdate
port upgrade outdated
}}}
then i crossed my fingers and launched stellarium installation
{{{
imac27:port-mig root# port install stellarium
---> Computing dependencies for stellarium
The following dependencies will be installed:
qt5-qtbase
qt5-qtdeclarative
qt5-qtgraphicaleffects
qt5-qtimageformats
qt5-qtlocation
qt5-qtmultimedia
qt5-qtquickcontrols
qt5-qtquickcontrols2
qt5-qtscript
qt5-qtserialport
qt5-qtsvg
qt5-qttools
Continue? [Y/n]:
---> Fetching archive for qt5-qtbase
........
---> Staging stellarium into destroot
---> Installing stellarium @0.20.4_1
---> Activating stellarium @0.20.4_1
---> Cleaning stellarium
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
}}}
installation was successful, and stellarium did launch correctly after
the interesting thing to note is that after my hand cleaning of qt5 many
more qt5 packages were installed :
before only
{{{
qt5-qtbase
qt5-qtdeclarative
qt5-qtsvg
qt5-qttools
}}}
after several more
{{{
qt5-qtgraphicaleffects
qt5-qtimageformats
qt5-qtlocation
qt5-qtmultimedia
qt5-qtquickcontrols
qt5-qtquickcontrols2
qt5-qtscript
qt5-qtserialport
}}}
but i don't understand how i could screwed the installation so much before
--
Ticket URL: <https://trac.macports.org/ticket/62130#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list