Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#62130 closed defect (fixed)

stellarium crash right after start

Reported by: rernenwein Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: stellarium crash Cc:
Port: stellarium

Description (last modified by rernenwein)

after recent port upgrade stellarium is no more working

os catalina

imac27:~ root# uname -a
Darwin imac27.home 19.6.0 Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64 x86_64

in ~/Library/Application Support/Stellarium/log.txt i see at the end

Loaded 1135 / 1161 DSO name records successfully
WARNING - No position data for 26 objects: "NGC 3184, NGC 5907, NGC 5907, NGC 5907, PGC 2907, PGC 23521, PGC 28759, PGC 29167, PGC 34658, PGC 42102, PGC 44750, PGC 54559, PGC 59117, PGC 59858, PGC 59953, PGC 69018, PGC 69877, PGC 73957, PGC 95597, PGC 100170, PGC 100170, PGC 119230, PGC 1694462, PGC 2822840, PGC 2826829, PGC 3098124"
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 88 / 88 constellation names
Loading constellation boundary data ... 
Loaded 782 constellation boundary segments
Error in Asterism  "TA6" : can't find star with coordinates 2.14697 / 8.55097
ERROR reading asterism lines record at line  88 for culture "western"
Loaded 81 / 82 asterism records successfully for culture "western"
WARNING - asterism abbreviation "TA6" not found when loading asterism names
Loaded 71 / 72 asterism names
Cannot mix incompatible Qt library (5.14.2) with this library (5.15.2)

here is the list of port installed

imac27:~ root# port installed | egrep -i 'qt|stell'
  qscintilla-qt5 @2.11.6_0 (active)
  qt4-mac @4.8.7_11 (active)
  qt4-mac-mariadb-plugin @4.8.7_1 (active)
  qt4-mac-sqlite3-plugin @4.8.7_2 (active)
  qt5-qtbase @5.15.2_2+openssl (active)
  qt5-qtdeclarative @5.15.2_0 (active)
  qt5-qtmacextras @5.15.2_0 (active)
  qt5-qtsvg @5.15.2_0 (active)
  qt5-qttools @5.15.2_0 (active)
  stellarium @0.20.4_1 (active)

**no qt 5.14.2 is shown !!**
imac27:~ root# port info stellarium
stellarium @0.20.4_1 (science)
Sub-ports:            stellarium-devel
Variants:             debug

Description:          Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope. It is being used in planetarium
                      projectors. Just set your coordinates and go.
Homepage:             https://stellarium.org/

Build Dependencies:   cmake, pkgconfig
Library Dependencies: zlib, gpsd, gettext, doxygen, python27, glib2, fontconfig, freetype, qt5-qtbase, qt5-qtlocation, qt5-qtmultimedia, qt5-qtscript, qt5-qtserialport, qt5-qttools
Conflicts with:       stellarium-qt4
Platforms:            darwin
License:              GPL-2+
Maintainers:          Email: michaelld@macports.org, GitHub: michaelld
                      Policy: openmaintainer

Attachments (1)

log.txt (6.8 KB) - added by rernenwein 4 years ago.
log stellarium

Download all attachments as: .zip

Change History (21)

Changed 4 years ago by rernenwein

Attachment: log.txt added

log stellarium

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to michaelld
Status: newassigned

comment:2 Changed 4 years ago by rernenwein

adittionnal info

imac27:Contents rene$ ls -l /Applications/MacPorts/Stellarium.app/Contents/MacOS/
total 32784
-rwxr-xr-x  1 root  admin  17346736 18 jan 19:39 stellarium
-rwxr-xr-x  1 root  admin  16416192  6 sep 08:57 stellarium.mp_1601209764

two executable exist

one with bad bindings mixture of 5.14.2 & 5.15.2

imac27:Contents rene$ otool -L  /Applications/MacPorts/Stellarium.app/Contents/MacOS/stellarium
/Applications/MacPorts/Stellarium.app/Contents/MacOS/stellarium:
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/opt/local/lib/libgps.28.0.0.dylib (compatibility version 28.0.0, current version 28.0.0)
	/opt/local/libexec/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtMultimedia.framework/Versions/5/QtMultimedia (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtScript.framework/Versions/5/QtScript (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtPositioning.framework/Versions/5/QtPositioning (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtSerialPort.framework/Versions/5/QtSerialPort (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.15.0, current version 5.15.2)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 902.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

another with only 5.14.2 bindings, but no idea how to force the use of this one

imac27:Contents rene$ otool -L  /Applications/MacPorts/Stellarium.app/Contents/MacOS/stellarium.mp_1601209764 
/Applications/MacPorts/Stellarium.app/Contents/MacOS/stellarium.mp_1601209764:
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/opt/local/lib/libgps.27.0.0.dylib (compatibility version 27.0.0, current version 27.0.0)
	/opt/local/libexec/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtMultimedia.framework/Versions/5/QtMultimedia (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtScript.framework/Versions/5/QtScript (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtPositioning.framework/Versions/5/QtPositioning (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtSerialPort.framework/Versions/5/QtSerialPort (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.14.0, current version 5.14.2)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 902.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

comment:3 Changed 4 years ago by rernenwein

Description: modified (diff)

comment:4 Changed 4 years ago by rernenwein

Description: modified (diff)

comment:5 Changed 4 years ago by kencu (Ken)

Somewhere along the line, it appears that you forced another Stellarium to install when you already had one installed, and now it seems there is a bit of a mess going on as they are colliding and interfering with each other.

To clean it up, try this:

sudo port uninstall stellarium
sudo rm -rf /Applications/MacPorts/Stellarium.app

then

cd /opt/local
find . | grep 1601209764

hopefully there will be no files with the 1601209764 moniker attached. If there are, you'll need to delete all of those too.

Then, once there is no trace of either of your stellariums left, do this:

sudo port -v install stellarium

comment:6 Changed 4 years ago by rernenwein

thank you for the advices, i did all the steps you provided, this time i have no more two stellarium executable but i still have crash with same symptoms

installation

imac27:local root# cd /Applications/MacPorts/Stellarium.app/Contents/MacOS

imac27:MacOS root# ls -l
total 16392
-rwxr-xr-x  1 root  admin  17346736 25 jan 13:59 stellarium

imac27:MacOS root# otool -L ./stellarium 
./stellarium:
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/opt/local/lib/libgps.28.0.0.dylib (compatibility version 28.0.0, current version 28.0.0)
	/opt/local/libexec/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtMultimedia.framework/Versions/5/QtMultimedia (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtScript.framework/Versions/5/QtScript (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtPositioning.framework/Versions/5/QtPositioning (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtSerialPort.framework/Versions/5/QtSerialPort (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.15.0, current version 5.15.2)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 902.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

imac27:MacOS root# port installed | egrep -i 'qt|stell'
  qscintilla-qt5 @2.11.6_0 (active)
  qt4-mac @4.8.7_11 (active)
  qt4-mac-mariadb-plugin @4.8.7_1 (active)
  qt4-mac-sqlite3-plugin @4.8.7_2 (active)
  qt5-qtbase @5.15.2_2+openssl (active)
  qt5-qtdeclarative @5.15.2_0 (active)
  qt5-qtmacextras @5.15.2_0 (active)
  qt5-qtsvg @5.15.2_0 (active)
  qt5-qttools @5.15.2_0 (active)
  stellarium @0.20.4_1 (active)

use

imac27:Stellarium rene$ pwd
/Users/rene/Library/Application Support/Stellarium

imac27:Stellarium rene$ ls -lt
total 48
-rw-r--r--@ 1 rene  rene   6920 25 jan 14:00 log.txt
-rw-r--r--  1 rene  rene  13527 25 jan 14:00 config.ini
-rw-r--r--  1 rene  rene      0 25 jan 14:00 output.txt
drwxr-xr-x  6 rene  rene    192 18 oct 07:34 data
drwxr-xr-x  4 rene  rene    128 16 oct  2015 modules
drwxr-xr-x  3 rene  rene     96 16 oct  2015 stars
imac27:Stellarium rene$ tail log.txt
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 88 / 88 constellation names
Loading constellation boundary data ... 
Loaded 782 constellation boundary segments
Error in Asterism  "TA6" : can't find star with coordinates 2.14697 / 8.55097
ERROR reading asterism lines record at line  88 for culture "western"
Loaded 81 / 82 asterism records successfully for culture "western"
WARNING - asterism abbreviation "TA6" not found when loading asterism names
Loaded 71 / 72 asterism names
Cannot mix incompatible Qt library (5.14.2) with this library (5.15.2)

comment:7 Changed 4 years ago by michaelld (Michael Dickens)

Cannot mix incompatible Qt library (5.14.2) with this library (5.15.2)

Since the main Stellarium app started up, I'd guess this is a plugin / dynamic library loading from some dependency which needs to be rebuilt. Kinda hard to say. I can say that Stellarium.app starts fine for me running macOS 11.2-beta.

comment:8 Changed 4 years ago by rernenwein

ok i removed everything which was depending on qt5

port installed | egrep -i 'qt|stell'

then i did a search with the magic string 1601209764, and i still find a lot of them

imac27:~ root# find /opt/local -print | grep 1601209548
/opt/local/libexec/qt5/bin/lupdate-pro.mp_1601209548
/opt/local/libexec/qt5/bin/lrelease-pro.mp_1601209548
/opt/local/libexec/qt5/bin/qdistancefieldgenerator.mp_1601209548
/opt/local/libexec/qt5/bin/lprodump.mp_1601209548
/opt/local/libexec/qt5/include/QtUiTools/5.14.2/QtUiTools/private/quiloader_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/pkgconfig/Qt5UiPlugin.pc.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Resources/QtDesigner.prl.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/deviceprofile_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/plaintexteditor_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_qsettings_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/widgetfactory_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/iconloader_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_command_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_stackedbox_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/codedialog_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/widgetdatabase_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/previewmanager_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/sheet_delegate_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qtresourceview_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_propertycommand_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/iconselector_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/extensionfactory_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/previewconfigurationwidget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_membersheet_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/abstractdialoggui_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_objectinspector_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/signalslotdialog_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_toolbox_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/plugindialog_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/formlayoutmenu_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/layout_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_taskmenu_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/spacer_widget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_promotion_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/shared_enums_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/abstractintrospection_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/textpropertyeditor_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_propertysheet_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_dnditem_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/newactiondialog_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_formeditorcommand_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_promotiondialog_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/selectsignaldialog_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/shared_settings_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_widgetbox_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/connectionedit_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/htmlhighlighter_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_dockwidget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/dialoggui_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/zoomwidget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/pluginmanager_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_toolbar_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/lib_pch.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/metadatabase_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/invisible_widget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/actionprovider_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/stylesheeteditor_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_widgetitem_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/formbuilderextra_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/promotiontaskmenu_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/actionrepository_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/richtexteditor_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_formwindowmanager_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/shared_global_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_command2_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/csshighlighter_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_widget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/actioneditor_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/morphmenu_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/textbuilder_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/ui4_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/properties_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_utils_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/formwindowbase_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/layoutinfo_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_tabwidget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qsimpleresource_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/newformwidget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_introspection_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qtresourceeditordialog_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_menubar_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/grid_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qlayout_widget_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/rcc_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_propertyeditor_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/promotionmodel_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/orderdialog_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_menu_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/gridpanel_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/propertylineedit_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/resourcebuilder_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_formwindowcommand_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qdesigner_formbuilder_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesigner.framework/Versions/5/Headers/5.14.2/QtDesigner/private/qtresourcemodel_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/cmake/Qt5DesignerComponents/Qt5DesignerComponentsConfig.cmake.mp_1601209548
/opt/local/libexec/qt5/lib/cmake/Qt5DesignerComponents/Qt5DesignerComponentsConfigVersion.cmake.mp_1601209548
/opt/local/libexec/qt5/lib/cmake/Qt5AttributionsScannerTools/Qt5AttributionsScannerToolsConfig.cmake.mp_1601209548
/opt/local/libexec/qt5/lib/cmake/Qt5AttributionsScannerTools/Qt5AttributionsScannerToolsConfigVersion.cmake.mp_1601209548
/opt/local/libexec/qt5/lib/cmake/Qt5DocTools/Qt5DocToolsConfigVersion.cmake.mp_1601209548
/opt/local/libexec/qt5/lib/cmake/Qt5DocTools/Qt5DocToolsConfig.cmake.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Resources/QtHelp.prl.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/qhelpfilterdata.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/QCompressedHelpInfo.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/QHelpFilterData.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/qcompressedhelpinfo.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/5.14.2/QtHelp/private/qhelpcollectionhandler_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/5.14.2/QtHelp/private/qhelpsearchindexwriter_default_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/5.14.2/QtHelp/private/qhelpdbreader_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/5.14.2/QtHelp/private/qhelpsearchindexreader_default_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/5.14.2/QtHelp/private/qhelpsearchindexreader_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/5.14.2/QtHelp/private/qhelpengine_p.h.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/QHelpFilterEngine.mp_1601209548
/opt/local/libexec/qt5/lib/QtHelp.framework/Versions/5/Headers/qhelpfilterengine.h.mp_1601209548
/opt/local/libexec/qt5/lib/libQtUiPlugin.prl.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesignerComponents.framework/Versions/5/Resources/QtDesignerComponents.prl.mp_1601209548
/opt/local/libexec/qt5/lib/QtDesignerComponents.framework/Versions/5/Headers/5.14.2/QtDesignerComponents/private/lib_pch.h.mp_1601209548
/opt/local/lib/pkgconfig/Qt5UiPlugin.pc.mp_1601209548
/opt/local/lib/cmake/Qt5DesignerComponents/Qt5DesignerComponentsConfig.cmake.mp_1601209548
/opt/local/lib/cmake/Qt5DesignerComponents/Qt5DesignerComponentsConfigVersion.cmake.mp_1601209548
/opt/local/lib/cmake/Qt5AttributionsScannerTools/Qt5AttributionsScannerToolsConfig.cmake.mp_1601209548
/opt/local/lib/cmake/Qt5AttributionsScannerTools/Qt5AttributionsScannerToolsConfigVersion.cmake.mp_1601209548
/opt/local/lib/cmake/Qt5DocTools/Qt5DocToolsConfigVersion.cmake.mp_1601209548
/opt/local/lib/cmake/Qt5DocTools/Qt5DocToolsConfig.cmake.mp_1601209548

which files can i remove strait ?

should i uninstall cmake and pkgconfig before ?

comment:9 Changed 4 years ago by michaelld (Michael Dickens)

I'd advise you to remove any file that contains "1601209764" ... or any equivalent file ending in *.mp_######## ... those are not guaranteed to be ignored by cmake or autotools in finding projects / headers or linking ABIs, so best to be rid of them!

Once those are gone, I'd advise you to "uninstall" then "clean --all" all of the Qt5 and related ports, so that there's no cruft on your local system storage for anything Qt5 related.

Once that's all done, then start the install process & see how it goes. Hopefully removing all of this cruft will take care of the issue!

comment:10 Changed 4 years ago by kencu (Ken)

this should do ya:

find /opt/local -print | grep 1601209548 | xargs rm

look it over carefully, knock three times, and spin once counter-clockwise first.

comment:11 Changed 4 years ago by kencu (Ken)

and then tell yourself, over and over:

"I will NOT force install anything again. I will NOT force install anything again..."

comment:12 Changed 4 years ago by rernenwein

ok i did

find /opt/local -print | grep 1601209548 | xargs rm

then found other fancy files with 1601209534 which i removed also

imac27:~ root# find /opt/local -print | grep 1601209534 /opt/local/libexec/qt5/qml/QtQml/libqmlplugin.dylib.mp_1601209534 /opt/local/libexec/qt5/qml/QtQml/WorkerScript.2/plugins.qmltypes.mp_1601209534 /opt/local/libexec/qt5/qml/QtQml/WorkerScript.2/qmldir.mp_1601209534 /opt/local/libexec/qt5/qml/QtQml/WorkerScript.2/libworkerscriptplugin.dylib.mp_1601209534 ...

find /opt/local -print | grep 1601209534|xargs rm

will see this evening what's still there...

the problem is than i don't know which action i did to create all this fancy files

i did only

port selfupdate port upgrade outdated port install something

i do remember one time i got lots of core dump during one of the upgrade

3 days later i did the upgrade actions again and the core dump disappeared

comment:13 Changed 4 years ago by michaelld (Michael Dickens)

Stuff happens. At some point you probably tried to do an install that would have overwritten some file(s), and port noted that you could do -f to force overwrite any such file(s) ... and then you did. That force overwrite is what creates these fancy files, and we don't recommend doing this unless you really know what you're doing. After a force overwrite, I strongly recommend going in and cleaning up the residual fancy files. Regardless, here you are & hopefully once you get rid of all the fancy files you can install your Qt5 requiring ports and Stellarium will then work again.

comment:14 Changed 4 years ago by rernenwein

i cleaned all what i though was meaninfull in /opt/local/libexec/qt5 there where some *cmake files left

then i reinstalled

port install stellarium

still same errors in log.txt and otool

imac27:MacOS root# otool -L stellarium 
stellarium:
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/opt/local/lib/libgps.28.0.0.dylib (compatibility version 28.0.0, current version 28.0.0)
	/opt/local/libexec/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtConcurrent.framework/Versions/5/QtConcurrent (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtMultimedia.framework/Versions/5/QtMultimedia (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.15.0, current version 5.15.2)
	/opt/local/libexec/qt5/lib/QtScript.framework/Versions/5/QtScript (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtPositioning.framework/Versions/5/QtPositioning (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtSerialPort.framework/Versions/5/QtSerialPort (compatibility version 5.14.0, current version 5.14.2)
	/opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.15.0, current version 5.15.2)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 902.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

log.txt

Loaded 81 / 82 asterism records successfully for culture "western"
WARNING - asterism abbreviation "TA6" not found when loading asterism names
Loaded 71 / 72 asterism names
Cannot mix incompatible Qt library (5.14.2) with this library (5.15.2)

then i uninstalled again

port uninstall stellarium  
port uninstall qt5-qtbase
port uninstall qt5-qtdeclarative  qt5-qtsvg   qt5-qttools

and after i removed strait with

rm -rf /opt/local/libexec/qt5

this time i get an configuration error

..........
--->  Fetching archive for qt5-qttools
--->  Attempting to fetch qt5-qttools-5.15.2_0.darwin_19.x86_64.tbz2 from https://lil.fr.packages.macports.org/qt5-qttools
--->  Attempting to fetch qt5-qttools-5.15.2_0.darwin_19.x86_64.tbz2.rmd160 from https://lil.fr.packages.macports.org/qt5-qttools
--->  Installing qt5-qttools @5.15.2_0
--->  Activating qt5-qttools @5.15.2_0
--->  Cleaning qt5-qttools
--->  Fetching archive for stellarium
--->  Attempting to fetch stellarium-0.20.4_1.darwin_19.x86_64.tbz2 from https://lil.fr.packages.macports.org/stellarium
--->  Attempting to fetch stellarium-0.20.4_1.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/stellarium
--->  Attempting to fetch stellarium-0.20.4_1.darwin_19.x86_64.tbz2 from https://packages.macports.org/stellarium
--->  Fetching distfiles for stellarium
--->  Attempting to fetch stellarium-0.20.4.tar.gz from https://lil.fr.distfiles.macports.org/stellarium
--->  Verifying checksums for stellarium                                             
--->  Extracting stellarium
--->  Applying patches to stellarium
--->  Configuring stellarium
Error: Failed to configure stellarium: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_stellarium/stellarium/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port stellarium failed
imac27:MacPorts root# vi /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_stellarium/stellarium/main.log

the log file is not telling more to me, what should i do ?

:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_stellarium/stellarium/work/build" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DCCACHE_PROGRAM="" -DMP_APPLICATIONS_DIR=/Applications/MacPorts -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.20.4
:info:configure -- Found CMake 3.19.3
:info:configure -- The C compiler identification is AppleClang 12.0.0.12000032
:info:configure -- The CXX compiler identification is AppleClang 12.0.0.12000032
:info:configure -- Detecting C compiler ABI info
:info:configure -- Detecting C compiler ABI info - done
:info:configure -- Check for working C compiler: /usr/bin/clang - skipped
:info:configure -- Detecting C compile features
:info:configure -- Detecting C compile features - done
:info:configure -- Detecting CXX compiler ABI info
:info:configure -- Detecting CXX compiler ABI info - done
:info:configure -- Check for working CXX compiler: /usr/bin/clang++ - skipped
:info:configure -- Detecting CXX compile features
:info:configure -- Detecting CXX compile features - done
:info:configure -- Platform: Darwin-19.6.0 (x86_64)
:info:configure -- Building Stellarium 0.20.4 (Mode: Release)
:info:configure -- Unit tests support: disabled
:info:configure -- Found Qt5: /opt/local/libexec/qt5/bin/qmake (found suitable version 5.15.2)
:info:configure CMake Error at CMakeLists.txt:473 (FIND_PACKAGE):
:info:configure   By not providing "FindQt5SerialPort.cmake" in CMAKE_MODULE_PATH this
:info:configure   project has asked CMake to find a package configuration file provided by
:info:configure   "Qt5SerialPort", but CMake did not find one.
:info:configure   Could not find a package configuration file provided by "Qt5SerialPort"
:info:configure   with any of the following names:
:info:configure     Qt5SerialPortConfig.cmake
:info:configure     qt5serialport-config.cmake
:info:configure   Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH or set
:info:configure   "Qt5SerialPort_DIR" to a directory containing one of the above files.  If
:info:configure   "Qt5SerialPort" provides a separate development package or SDK, be sure it
:info:configure   has been installed.
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_stellarium/stellarium/work/build/CMakeFiles/CMakeOutput.log".
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_stellarium/stellarium/work/build" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DCCACHE_PROGRAM="" -DMP_APPLICATIONS_DIR=/Applications/MacPorts -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7 -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.15" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_stellarium/stellarium/work/stellarium-0.20.4
:info:configure Exit code: 1
:error:configure Failed to configure stellarium: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_stellarium/stellarium/main.log for details.

comment:15 Changed 4 years ago by kencu (Ken)

OK. At this point, I would stop trying to fix this, and start fresh.

Uninstall MacPorts <https://guide.macports.org/chunked/installing.macports.uninstalling.html>.

Make certain that you have both Xcode and the Command Line Tools installed for your system, and that they match. What I mean by that is that checking your installation should give you the same versions of the tools everywhere, like this for me on Catalina:

% /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v
/usr/bin/clang -v
/Library/Developer/CommandLineTools/usr/bin/clang -v

Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Then reinstall MacPorts using the installer.

then

sudo port install stellarium

and if THAT doesn't work you are well and truly fragged, and report back please.

comment:16 Changed 4 years ago 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

comment:17 Changed 4 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

I'm glad the total reinstall worked. Who knows how your MP install got to where it was? Cruft & stuff happens! I'm resolving this issue as "fixed" since that might be true ... something might have changed along the way to fix your issue ... maybe!

comment:18 Changed 4 years ago by kencu (Ken)

Glad you got it working, but -- removing all the symlinks out of the /opt/local prefix can't have been a good idea, sorry.

Dozens and dozens of ports use symlinks, for library aliases, and other things.

comment:19 Changed 4 years ago by rernenwein

Sorry there is a misunderstanding

find -L /opt/local -type l

is finding all symbolic links pointing to nonexistent destination

completely different as more classical

find /opt/local -type l

which finds all symbolic link

comment:20 Changed 4 years ago by kencu (Ken)

oh, great -- you might be ok then. thanks!

Note: See TracTickets for help on using tickets.