[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-17 Thread Matthias Apitz
https://bugs.kde.org/show_bug.cgi?id=404436

Matthias Apitz  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|FIXED   |NOT A BUG

--- Comment #9 from Matthias Apitz  ---
Thanks, your last comment pointed me in the right direction. The FreeBSD ports
tree contains for KDE the version 4 and 5 and as I'm still using KDE4 I must
install misc/ktouch-kde4 and not misc/ktouch. All is fine for now.

Thanks,

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-17 Thread Sebastian Gottfried
https://bugs.kde.org/show_bug.cgi?id=404436

--- Comment #8 from Sebastian Gottfried  ---
> I've built KDE Edu again, this creates among other packages one with the
> name kqtquickcharts-kde4-4.14.3_3.txz which contains:
This is old KDE 4.x version of KDE Edu. You need the new KF5-based one.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-16 Thread Matthias Apitz
https://bugs.kde.org/show_bug.cgi?id=404436

--- Comment #7 from Matthias Apitz  ---
I've built KDE Edu again, this creates among other packages one with the name
kqtquickcharts-kde4-4.14.3_3.txz which contains:

# tar tzf kqtquickcharts-kde4-4.14.3_3.txz
+COMPACT_MANIFEST
+MANIFEST
/usr/local/lib/kde4/imports/org/kde/charts/BarChart.qml
/usr/local/lib/kde4/imports/org/kde/charts/Label.qml
/usr/local/lib/kde4/imports/org/kde/charts/LegendItem.qml
/usr/local/lib/kde4/imports/org/kde/charts/LineChart.qml
/usr/local/lib/kde4/imports/org/kde/charts/LineLabel.qml
/usr/local/lib/kde4/imports/org/kde/charts/libkqtquickcharts.so
/usr/local/lib/kde4/imports/org/kde/charts/qmldir


i.e. not in the place where ktouch looks up the files.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-16 Thread Sebastian Gottfried
https://bugs.kde.org/show_bug.cgi?id=404436

--- Comment #6 from Sebastian Gottfried  ---
Hi Matthias

> The charts subdir isn't there and I don't know which pkg should provide it:
In KDE it is an independent component part of the KDE Edu suite: 
kqtquickcharts.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-16 Thread Matthias Apitz
https://bugs.kde.org/show_bug.cgi?id=404436

--- Comment #5 from Matthias Apitz  ---
This didn't help. Monitoring the ktouch start with truss (like Linux strace)
shows what it is missing:

$ grep org/kde/charts tr
fstatat(AT_FDCWD,"/usr/local/bin/org/kde/charts.0.1",0x7fffdf9fa340,0x0) ERR#2
'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/lib/qt5/qml/org/kde/charts.0.1",0x7fffdf9fa340,0x0)
ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/bin/org/kde/charts.0",0x7fffdf9fa340,0x0) ERR#2
'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/lib/qt5/qml/org/kde/charts.0",0x7fffdf9fa340,0x0)
ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/bin/org/kde/charts",0x7fffdf9fa340,0x0) ERR#2 'No
such file or directory'
fstatat(AT_FDCWD,"/usr/local/lib/qt5/qml/org/kde/charts",0x7fffdf9fa340,0x0)
ERR#2 'No such file or directory'

The charts subdir isn't there and I don't know which pkg should provide it:

$ ls -l /usr/local/lib/qt5/qml/org/kde/
total 44
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 draganddrop
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 kcm
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 kconfig
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 kcoreaddons
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 kio
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 kquickcontrols
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 kquickcontrolsaddons
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 kwindowsystem
drwxr-xr-x  3 root  wheel  512 16 feb.  09:06 newstuff
drwxr-xr-x  3 root  wheel  512 16 feb.  09:05 private
drwxr-xr-x  2 root  wheel  512 16 feb.  09:05 solid

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-16 Thread Matthias Apitz
https://bugs.kde.org/show_bug.cgi?id=404436

--- Comment #4 from Matthias Apitz  ---
The permission problem went away after adding 'video' as group to the account.
The pkg  qt5-graphicaleffects was there:

$ id
uid=1001(guru) gid=0(wheel) groups=0(wheel),44(video)
$ export LIBGL_DEBUG=verbose 
$ ktouch
libGL: OpenDriver: trying /usr/local/lib/dri/i965_dri.so
libGL: Can't open configuration file /home/guru/.drirc: No such file or
directory.
libGL: Can't open configuration file /home/guru/.drirc: No such file or
directory.
libGL: Using DRI2 for screen 0
libGL: Can't open configuration file /home/guru/.drirc: No such file or
directory.
qCoreApp Application(0x7fffe430)
qrc:/qml/main.qml:129:5: Type HomeScreen unavailable
qrc:/qml/homescreen/HomeScreen.qml:162:26: Type ProfileSelector unavailable
qrc:/qml/homescreen/ProfileSelector.qml:92:13: Type ProfileDetailsItem
unavailable
qrc:/qml/homescreen/ProfileDetailsItem.qml:23:1: module "org.kde.charts" is not
installed
$ pkg info | grep qt5-graphicaleffects
qt5-graphicaleffects-5.12.0Qt Quick graphical effects

It seems there is another KDE pkg missing: kqtquickcharts-kde4, compiling now
...

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-16 Thread Sebastian Gottfried
https://bugs.kde.org/show_bug.cgi?id=404436

--- Comment #3 from Sebastian Gottfried  ---
Hi Matthias,

> (which is a bug in this port if it is not done as runtime dependency)
yes, but not mine. KDE only provides source tarballs. It's the responsibility
of the FreeBSD packagers to get the packaging right.


> libGL error: failed to open drm device: Permission denied
> libGL error: failed to load driver: i965
You need to have permissions to access your graphics accelerator. On Linux you
would have to be a member of the 'video' group.

> qCoreApp Application(0x7fffe4c0)
> qrc:/qml/main.qml:129:5: Type HomeScreen unavailable
> qrc:/qml/homescreen/HomeScreen.qml:125:13: Type CourseSelector unavailable
> qrc:/qml/homescreen/CourseSelector.qml:194:13: Type CoursePage unavailable
> qrc:/qml/homescreen/CoursePage.qml:70:5: Type LessonSelector unavailable
> qrc:/qml/homescreen/LessonSelector.qml:89:5: Type LessonSelectorBase
> unavailable
> qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: Type LessonLockedNotice
> unavailable
> qrc:/qml/homescreen/LessonLockedNotice.qml:22:1: module "QtGraphicalEffects"
> is not installed
You need qt5-graphicaleffects as well.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-16 Thread Matthias Apitz
https://bugs.kde.org/show_bug.cgi?id=404436

Matthias Apitz  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED

--- Comment #2 from Matthias Apitz  ---
Hello Sebastian, I installed in addition:

# pkg install qt5-quickcontrols
# pkg install qt5-quickcontrols2
# pkg install qt5-sqldrivers-sqlite3

(which is a bug in this port if it is not done as runtime dependency)

now the messages are only:

$ ktouch
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
qCoreApp Application(0x7fffe4c0)
qrc:/qml/main.qml:129:5: Type HomeScreen unavailable
qrc:/qml/homescreen/HomeScreen.qml:125:13: Type CourseSelector unavailable
qrc:/qml/homescreen/CourseSelector.qml:194:13: Type CoursePage unavailable
qrc:/qml/homescreen/CoursePage.qml:70:5: Type LessonSelector unavailable
qrc:/qml/homescreen/LessonSelector.qml:89:5: Type LessonSelectorBase
unavailable
qrc:/qml/homescreen/LessonSelectorBase.qml:60:13: Type LessonLockedNotice
unavailable
qrc:/qml/homescreen/LessonLockedNotice.qml:22:1: module "QtGraphicalEffects" is
not installed

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-16 Thread Sebastian Gottfried
https://bugs.kde.org/show_bug.cgi?id=404436

Sebastian Gottfried  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Sebastian Gottfried  ---
Hello Matthias,

I never tried to run KTouch on FreeBSD, but it seems you have installed Qt
without the Qt Quick Controls. This is mandatory runtime dependency of KTouch.

Maybe you are also missing the Qt SQLite driver, which is also required, but
this not the cause of this particular crash.

You probably want to check you USE flags.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktouch] [Bug 404436] ktouch crashes on start without bringing up the UI

2019-02-16 Thread Matthias Apitz
https://bugs.kde.org/show_bug.cgi?id=404436

Matthias Apitz  changed:

   What|Removed |Added

 CC||g...@unixarea.de

-- 
You are receiving this mail because:
You are watching all bug changes.