Bug 244617 - net-im/spectral fails to run
Summary: net-im/spectral fails to run
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Adriaan de Groot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-05 21:09 UTC by b0cspa
Modified: 2020-03-08 10:27 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description b0cspa 2020-03-05 21:09:12 UTC
~ % spectral                                                                                                                                                     [0]
DPI: 1
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:114 Type OpenFileDialog unavailable
qrc:/imports/Spectral/Dialog/OpenFileDialog.qml:2 module "QtQuick.Dialogs" is not installed

missing dependency of 
x11-toolkits/qt5-quickcontrols

installed that and ran fine.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2020-03-07 07:04:47 UTC
Moin moin

I cannot see how to reproduce this issue; the dependency which was missing for you is already depended on.

How do you get/upgrade your packages?


mfg Tobias
Comment 2 b0cspa 2020-03-07 07:32:13 UTC
(In reply to Tobias C. Berner from comment #1)
i use synth to build packages, the package was never installed when i installed spectral, otherwise the package built fine, spectral ran fine once i installed that dependency, I use gnustep + windowmaker as default ui, not a plasma or kde user, so these arent normally installed on systems i use
Comment 3 b0cspa 2020-03-07 07:35:12 UTC
(In reply to Tobias C. Berner from comment #1)
i use synth to build packages, the package was never installed when i installed spectral, otherwise the package built fine, spectral ran fine once i installed that dependency, I use gnustep + windowmaker as default ui, not a plasma or kde user, so these arent normally installed on systems i use

here is my make.conf incase that is related:
MALLOC_PRODUCTION=YES
OPTIONS_SET=SNDIO
OPTIONS_SET+=PORTAUDIO
OPTIONS_SET+=INSULTS
OPTIONS_SET+=NSFW
OPTIONS_SET+=HYPERSCAN
OPTIONS_SET+=LARGEPCAP
OPTIONS_SET+=LIBPROXY
OPTIONS_SET+=MDNS
OPTIONS_SET+=MDNSRESPONDER
OPTIONS_SET+=XLOCK
OPTIONS_SET+=DEVD
OPTIONS_SET+=BHYVE
OPTIONS_SET+=QEMU
#OPTIONS_SET+=FIXDRM
OPTIONS_SET+=VDPAU
OPTIONS_SET+=VAAPI
OPTIONS_SET+=CPACK
OPTIONS_SET+=PYGMENTS
OPTIONS_SET+=CPU_OPTS
OPTIONS_SET+=ACPI_PM
OPTIONS_UNSET= AVAHI DBUS PULSEAUDIO PULSE ALSA HALD JACK GCONF GSETTINGS UDEV LINUX
MAKE_JOBS_UNSAFE=YES
DISABLE_LICENSES=YES
OPTIMIZED_CFLAGS=YES
BUILD_OPTIMIZED=YES
WITH_CPUFLAGS=YES
DISTDIR=/usr/ports/distfiles
Comment 4 b0cspa 2020-03-07 07:40:13 UTC
(In reply to b0cspa from comment #3)
ahhh i see you have quickcontrols2 in use now that i check atm, but ive updated ports since this install, ok so i had quickcontrols2 installed - ya spectral only works if i install qt5-quickcontrols instead of qt5-quickcontrols2 

mouse@mouserpad ~ % doas pkg remove qt5-quickcontrols                                                       [0]
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        qt5-quickcontrols: 5.13.2

Number of packages to be removed: 1

The operation will free 5 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling qt5-quickcontrols-5.13.2...
[1/1] Deleting files for qt5-quickcontrols-5.13.2: 100%
mouse@mouserpad ~ % spectral                                                                                [0]
DPI: 1
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:114 Type OpenFileDialog unavailable
qrc:/imports/Spectral/Dialog/OpenFileDialog.qml:2 module "QtQuick.Dialogs" is not installed

mouse@mouserpad ~ %
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2020-03-07 08:38:21 UTC
(In reply to b0cspa from comment #4)
Ah I see.
I'll commit a fix later today.


Mfg Tobias
Comment 6 b0cspa 2020-03-07 23:24:59 UTC
(In reply to Tobias C. Berner from comment #5)
thank you
Comment 7 Tobias C. Berner freebsd_committer freebsd_triage 2020-03-08 10:26:47 UTC
Committed.
Comment 8 commit-hook freebsd_committer freebsd_triage 2020-03-08 10:27:27 UTC
A commit references this bug:

Author: tcberner
Date: Sun Mar  8 10:26:38 UTC 2020
New revision: 528021
URL: https://svnweb.freebsd.org/changeset/ports/528021

Log:
  net-im/spectral: add missing dependency on quickcontrols

  PR:		244617
  Submitted by:	b0cspa@cock.li
  Approved by:	adridg

Changes:
  head/net-im/spectral/Makefile