Issues building Kdevelop5 from sources on Debian testing

Kevin Funk kfunk at kde.org
Fri May 10 07:59:49 BST 2019


On Thursday, 9 May 2019 17:10:58 CEST santilin wrote:
> Hello, I have built kdevelop5 from sources on Debian testing and I have
> found the following issues:

Hey,

thanks for the detailed report!

> 1) on https://community.kde.org/KDevelop/HowToCompile_v5  the package
> list for apt lacks one on my system: libkomparediff2-dev

Fixed.

> 2) on
> https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source#Set_up_the
> _runtime_environment that anchor doesn't exists, so I have not been able to
> setup a runtime environment.

Fixed as well, hope it is more helpful now. Tried to keep it as simple as 
possible.

> 3) Just guessing, I run  ~/kde/build/kdevelop/prefix.sh and then
> -/kde/build/kdevelop/app/kdevelop and I got a running instance of
> kdevelop 5.3.40 with the following libraries:

Yep, that works, and I now made it the default way to set up the env.
 
>   * KDE Frameworks 5.54.0
>   * Qt 5.11.3 (built against 5.11.3)
>   * The xcb windowing system
> 
> However, as $QT_PLUGIN_PATH is empty, kdevelop only finds two plugins:

prefix.sh sets QT_PLUGIN_PATH, so I'm surprised it is empty.

Note you'll have to `source .../prefix.sh` to make sure the env vars are set 
in your current terminal session(!)

Hope that helps,
Kevin


> * Document preview
> 
> * Snippets tool view.
> 
> I would really appreciate helping me out with these issues.
> 
> Finally, I add the debugging output after running
> 
> ~/kde/build$ LANG=C kdevelop/app/kdevelop -n
> 
> kdevelop.app: Startup Missing value after '-n'. Unregistering type class
> 57 Unregistering type class 58 Unregistering type class 39 Unregistering
> type class 9 Unregistering type class 20 Unregistering type class 14
> Unregistering type class 21 Unregistering type class 7 Unregistering
> type class 8 Unregistering type class 4 Unregistering type class 3
> Unregistering type class 6 Unregistering type class 5 Unregistering type
> class 2 santilin at santilinx:~/kde/build$ LANG=C kdevelop/app/kdevelop -n
> new kdevelop.app: Startup kdevelop.app: Attempting to initialize
> session: "new" kdevplatform.shell: Creating controllers
> kdevplatform.shell: Creating ui controller kdevplatform.sublime: initial
> working-set: "" kdevplatform.sublime: initial working-set: ""
> kdevplatform.sublime: initial working-set: "" kdevplatform.shell: Bottom
> Left: 0 kdevplatform.shell: Bottom Right: 0 kdevplatform.shell: Color
> scheme : "Breeze Dark" kdevplatform.sublime: copying area index
> kdevplatform.sublime: copying area index kdevplatform.sublime: copying
> area index kdevplatform.sublime: reconstructing root area
> kdevplatform.sublime: RECONSTRUCT Sublime::Area(0x55763741dea0, name =
> "code") () kdevplatform.shell: re-creating widget
> Sublime::Area(0x55763741dea0, name = "code") kdevplatform.shell: Loading
> Settings kdevplatform.shell: Bottom Left: 0 kdevplatform.shell: Bottom
> Right: 0 kdevplatform.sublime: loading settings for "code"
> kdevplatform.shell: Creating plugin controller kdevplatform.shell: Found
> 0 plugins: QSet() kdevplatform.shell: Did not find any plugins, check
> your environment. kdevplatform.shell: Note: QT_PLUGIN_PATH is set to: ""
> kdevplatform.shell: Found 2 KTextEditor plugins:
> QSet("ktexteditorpreview", "katesnippetsplugin") kf5.kxmlgui:
> Registering action "file_open_recent" under new name
> "project_open_recent" kdevplatform.shell: kdevplatform.shell: setting
> runtime... "Host System" was QObject(0x0) kdevplatform.shell: Done
> creating controllers kdevplatform.shell: Initializing controllers
> kdevplatform.shell: Deleting session:
> "{f77c7149-ab63-48b4-a006-e4a893be064f}" Icon theme "breeze" not found.
> Icon theme "gnome" not found. kdevplatform.shell: Adding plugin-added
> connection kdevplatform.language: Resuming background parser
> kdevplatform.language: creating new parsing-environment static data
> kdevplatform.language: Suspending background parser kdevplatform.shell:
> Initializing plugin controller (loading session plugins)
> kdevplatform.shell: Attempting to load "ktexteditorpreview" - name:
> "Document Preview" kdevplatform.shell: Successfully loaded plugin
> "ktexteditorpreview" from
> "/usr/lib/x86_64-linux-gnu/qt5/plugins/ktexteditor/ktexteditorpreviewplugin.
> so" - took: 3 ms kdevplatform.shell: add plugin
> KTextEditorIntegration::Plugin(0x5576378058d0) "" kdevplatform.shell:
> kdevplatform.shell: Attempting to load "katesnippetsplugin" - name:
> "Snippets tool view" kdevplatform.shell: Successfully loaded plugin
> "katesnippetsplugin" from
> "/usr/lib/x86_64-linux-gnu/qt5/plugins/ktexteditor/katesnippetsplugin.so"
> - took: 4 ms kdevplatform.shell: add plugin
> KTextEditorIntegration::Plugin(0x5576377b1ad0) "" kdevplatform.shell:
> kdevplatform.shell: Done loading plugins - took: 406 ms
> kdevplatform.shell: Initializing working set controller
> kdevplatform.shell: Trying to restore area "code" kdevplatform.shell:
> Restoring area "code" kdevplatform.sublime: loading areas config
> kdevplatform.sublime: Sublime::Area(0x55763741dea0, name = "code")
> setting new working-set "code_7961240" kdevplatform.shell: changing
> working-set from "" to "code_7961240" area Sublime::Area(0x55763741dea0,
> name = "code") kdevplatform.shell: changed working-set from "" to
> "code_7961240" area Sublime::Area(0x55763741dea0, name = "code")
> kdevplatform.shell: connecting "code_7961240" to area
> Sublime::Area(0x55763741dea0, name = "code") kdevplatform.shell: loading
> working-set "code_7961240" into area Sublime::Area(0x55763741dea0, name
> = "code") kdevplatform.shell: recycling 0 old views kdevplatform.shell:
> deleting 0 old views kdevplatform.shell: Trying to restore area "debug"
> kdevplatform.shell: Restoring area "debug" kdevplatform.sublime: loading
> areas config kdevplatform.sublime: Sublime::Area(0x55763741e740, name =
> "debug") setting new working-set "code_7961240" kdevplatform.shell:
> changing working-set from "" to "code_7961240" area
> Sublime::Area(0x55763741e740, name = "debug") kdevplatform.shell:
> changed working-set from "" to "code_7961240" area
> Sublime::Area(0x55763741e740, name = "debug") kdevplatform.shell:
> connecting "code_7961240" to area Sublime::Area(0x55763741e740, name =
> "debug") kdevplatform.shell: loading working-set "code_7961240" into
> area Sublime::Area(0x55763741e740, name = "debug") kdevplatform.shell:
> recycling 0 old views kdevplatform.shell: deleting 0 old views
> kdevplatform.shell: Trying to restore area "review" kdevplatform.shell:
> Restoring area "review" kdevplatform.sublime: loading areas config
> kdevplatform.sublime: Sublime::Area(0x55763741eea0, name = "review")
> setting new working-set "review_2605794" kdevplatform.shell: changing
> working-set from "" to "review_2605794" area
> Sublime::Area(0x55763741eea0, name = "review") kdevplatform.shell:
> changed working-set from "" to "review_2605794" area
> Sublime::Area(0x55763741eea0, name = "review") kdevplatform.shell:
> connecting "review_2605794" to area Sublime::Area(0x55763741eea0, name =
> "review") kdevplatform.shell: loading working-set "review_2605794" into
> area Sublime::Area(0x55763741eea0, name = "review") kdevplatform.shell:
> recycling 0 old views kdevplatform.shell: deleting 0 old views
> kdevplatform.sublime: reconstructing root area kdevplatform.sublime:
> RECONSTRUCT Sublime::Area(0x55763741dea0, name = "code")
> ("org.kdevelop.ProjectsView") kdevplatform.shell: re-creating widget
> Sublime::Area(0x55763741dea0, name = "code") kdevplatform.shell: Loading
> Settings kdevplatform.shell: Bottom Left: 0 kdevplatform.shell: Bottom
> Right: 0 kdevplatform.sublime: loading settings for "code"
> kdevplatform.shell: Initializing remaining controllers
> kdevplatform.shell: oops no current action, using first if list is
> non-empty kdevplatform.shell: Done initializing controllers
> kdevplatform.shell: Unable to find a plugin named ' "KDevWelcomePage" '!
> kdevelop.app: Done startup - took: 1935 ms kdevplatform.language:
> Resuming background parser kf5.kservice.sycoca: Opening ksycoca from
> "/home/santilin/.cache/ksycoca5_en_Gz1qTFiGu_yvUPJx6Olxj56SBpo="
> kdevplatform.shell: Resetting UI kdevplatform.shell: Loading profiles
> from config Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
> sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed
> sonnet.plugins.hunspell: HunspellClient::HunspellClient
> sonnet.plugins.voikko: Initializing Voikko spell checker plugin.
> sonnet.core: No language dictionaries for the language: "C" sonnet.core:
> deleting 0x7ffe1e7c6460 for "C" kdevplatform.shell: kdevplatform.shell:
> kdevplatform.language: Aborting all parse jobs kdevplatform.language:
> Suspending background parser kdevplatform.sublime: save
> Sublime::Area(0x55763741dea0, name = "code") wrote
> "org.kde.okteta.ByteTableToolView:2,org.kdevelop.ContextBrowser:8,org.kdevel
> op.DocumentationView:2,org.kdevelop.FileManagerView:1,org.kdevelop.GrepOutpu
> tView:8,org.kdevelop.OutputView:8,org.kdevelop.OutputView.0:8,org.kdevelop.O
> utputView.10:8,org.kdevelop.OutputView.103:8,org.kdevelop.OutputView.11:8,or
> g.kdevelop.OutputView.12:8,org.kdevelop.OutputView.13:8,org.kdevelop.OutputV
> iew.14:8,org.kdevelop.OutputView.15:8,org.kdevelop.OutputView.16:8,org.kdeve
> lop.OutputView.17:8,org.kdevelop.OutputView.18:8,org.kdevelop.OutputView.19:
> 8,org.kdevelop.OutputView.2:8,org.kdevelop.OutputView.20:8,org.kdevelop.Outp
> utView.21:8,org.kdevelop.OutputView.23:8,org.kdevelop.OutputView.24:8,org.kd
> evelop.OutputView.25:8,org.kdevelop.OutputView.26:8,org.kdevelop.OutputView.
> 29:8,org.kdevelop.OutputView.3:8,org.kdevelop.OutputView.30:8,org.kdevelop.O
> utputView.31:8,org.kdevelop.OutputView.33:8,org.kdevelop.OutputView.34:8,org
> .kdevelop.OutputView.35:8,org.kdevelop.OutputView.36:8,org.kdevelop.OutputVi
> ew.37:8,org.kdevelop.OutputView.38:8,org.kdevelop.OutputView.4:8,org.kdevelo
> p.OutputView.41:8,org.kdevelop.OutputView.42:8,org.kdevelop.OutputView.43:8,
> org.kdevelop.OutputView.44:8,org.kdevelop.OutputView.46:8,org.kdevelop.Outpu
> tView.47:8,org.kdevelop.OutputView.48:8,org.kdevelop.OutputView.5:8,org.kdev
> elop.OutputView.53:8,org.kdevelop.OutputView.59:8,org.kdevelop.OutputView.6:
> 8,org.kdevelop.OutputView.60:8,org.kdevelop.OutputView.61:8,org.kdevelop.Out
> putView.63:8,org.kdevelop.OutputView.7:8,org.kdevelop.OutputView.73:8,org.kd
> evelop.OutputView.75:8,org.kdevelop.OutputView.8:8,org.kdevelop.OutputView.9
> :8,org.kdevelop.ProjectsView:1,org.kdevelop.debugger.BreakpointsView:8,org.k
> develop.debugger.StackView:8" kdevplatform.shell: saving "code_7961240" from
> area kdevplatform.shell: setting "code_7961240" persistent: false
> kdevplatform.sublime: save Sublime::Area(0x55763741e740, name = "debug")
> wrote
> "org.kdevelop.ContextBrowser:8,org.kdevelop.DocumentationView:2,org.kdevelop
> .FileManagerView:1,org.kdevelop.GrepOutputView:8,org.kdevelop.OutputView.0:8
> ,org.kdevelop.OutputView.10:8,org.kdevelop.OutputView.103:8,org.kdevelop.Out
> putView.11:8,org.kdevelop.OutputView.12:8,org.kdevelop.OutputView.13:8,org.k
> develop.OutputView.14:8,org.kdevelop.OutputView.15:8,org.kdevelop.OutputView
> .16:8,org.kdevelop.OutputView.17:8,org.kdevelop.OutputView.18:8,org.kdevelop
> .OutputView.19:8,org.kdevelop.OutputView.2:8,org.kdevelop.OutputView.20:8,or
> g.kdevelop.OutputView.21:8,org.kdevelop.OutputView.23:8,org.kdevelop.OutputV
> iew.24:8,org.kdevelop.OutputView.25:8,org.kdevelop.OutputView.26:8,org.kdeve
> lop.OutputView.29:8,org.kdevelop.OutputView.3:8,org.kdevelop.OutputView.30:8
> ,org.kdevelop.OutputView.31:8,org.kdevelop.OutputView.33:8,org.kdevelop.Outp
> utView.34:8,org.kdevelop.OutputView.35:8,org.kdevelop.OutputView.36:8,org.kd
> evelop.OutputView.37:8,org.kdevelop.OutputView.38:8,org.kdevelop.OutputView.
> 4:8,org.kdevelop.OutputView.41:8,org.kdevelop.OutputView.42:8,org.kdevelop.O
> utputView.43:8,org.kdevelop.OutputView.44:8,org.kdevelop.OutputView.46:8,org
> .kdevelop.OutputView.47:8,org.kdevelop.OutputView.48:8,org.kdevelop.OutputVi
> ew.5:8,org.kdevelop.OutputView.53:8,org.kdevelop.OutputView.59:8,org.kdevelo
> p.OutputView.6:8,org.kdevelop.OutputView.60:8,org.kdevelop.OutputView.61:8,o
> rg.kdevelop.OutputView.63:8,org.kdevelop.OutputView.7:8,org.kdevelop.OutputV
> iew.73:8,org.kdevelop.OutputView.75:8,org.kdevelop.OutputView.8:8,org.kdevel
> op.OutputView.9:8,org.kdevelop.ProjectsView:1,org.kdevelop.debugger.Breakpoi
> ntsView:8,org.kdevelop.debugger.StackView:8,org.kdevelop.debugger.VariablesV
> iew:1" kdevplatform.shell: saving "code_7961240" from area
> kdevplatform.shell: setting "code_7961240" persistent: false
> kdevplatform.sublime: save Sublime::Area(0x55763741eea0, name = "review")
> wrote
> "org.kdevelop.DocumentationView:2,org.kdevelop.FileManagerView:1,org.kdevelo
> p.OutputView.0:8,org.kdevelop.OutputView.10:8,org.kdevelop.OutputView.103:8,
> org.kdevelop.OutputView.11:8,org.kdevelop.OutputView.12:8,org.kdevelop.Outpu
> tView.13:8,org.kdevelop.OutputView.14:8,org.kdevelop.OutputView.15:8,org.kde
> velop.OutputView.16:8,org.kdevelop.OutputView.17:8,org.kdevelop.OutputView.1
> 8:8,org.kdevelop.OutputView.19:8,org.kdevelop.OutputView.2:8,org.kdevelop.Ou
> tputView.20:8,org.kdevelop.OutputView.21:8,org.kdevelop.OutputView.23:8,org.
> kdevelop.OutputView.24:8,org.kdevelop.OutputView.25:8,org.kdevelop.OutputVie
> w.26:8,org.kdevelop.OutputView.29:8,org.kdevelop.OutputView.3:8,org.kdevelop
> .OutputView.30:8,org.kdevelop.OutputView.31:8,org.kdevelop.OutputView.33:8,o
> rg.kdevelop.OutputView.34:8,org.kdevelop.OutputView.35:8,org.kdevelop.Output
> View.36:8,org.kdevelop.OutputView.37:8,org.kdevelop.OutputView.38:8,org.kdev
> elop.OutputView.4:8,org.kdevelop.OutputView.41:8,org.kdevelop.OutputView.42:
> 8,org.kdevelop.OutputView.43:8,org.kdevelop.OutputView.44:8,org.kdevelop.Out
> putView.46:8,org.kdevelop.OutputView.47:8,org.kdevelop.OutputView.48:8,org.k
> develop.OutputView.5:8,org.kdevelop.OutputView.53:8,org.kdevelop.OutputView.
> 59:8,org.kdevelop.OutputView.6:8,org.kdevelop.OutputView.60:8,org.kdevelop.O
> utputView.61:8,org.kdevelop.OutputView.63:8,org.kdevelop.OutputView.7:8,org.
> kdevelop.OutputView.73:8,org.kdevelop.OutputView.75:8,org.kdevelop.OutputVie
> w.8:8,org.kdevelop.OutputView.9:8,org.kdevelop.PatchReview:8,org.kdevelop.Pr
> ojectsView:1" kdevplatform.shell: saving "review_2605794" from area
> kdevplatform.shell: setting "review_2605794" persistent: false
> kdevplatform.shell: saving "code_7961240" from area kdevplatform.shell:
> setting "code_7961240" persistent: false kdevplatform.shell: saving
> "code_7961240" from area kdevplatform.shell: setting "code_7961240"
> persistent: false kdevplatform.shell: saving "review_2605794" from area
> kdevplatform.shell: setting "review_2605794" persistent: false
> kdevplatform.shell: set "code_7961240" persistent false has areas: true
> files () kdevplatform.shell: set "review_2605794" persistent false has
> areas: true files () kdevplatform.language: All parse jobs done ()
> kdevplatform.shell: unloading plugin:
> KTextEditorIntegration::Plugin(0x5576378058d0) "Document Preview"
> kdevplatform.shell: kdevplatform.shell: unloading plugin:
> KTextEditorIntegration::Plugin(0x5576377b1ad0) "Snippets tool view"
> kdevplatform.shell: kdevplatform.language: Cleaning up and shutting down
> DUChain kdevplatform.language: cleaning top-contexts
> kdevplatform.language: check ready kdevplatform.language: starting
> cleanup kdevplatform.language: time spent doing cleanup: 52 ms -
> top-contexts still open: 0 - retries 0 kdevplatform.language: doing
> final cleanup kdevplatform.serialization: cleaned in "Persistent
> Declaration Table" : 0 kdevplatform.serialization: cleaned in "Use Map"
> 
> : 0 kdevplatform.serialization: cleaned in "Definition Map" : 0
> 
> kdevplatform.serialization: cleaned in "String Index" : 0
> kdevplatform.serialization: cleaned in "Importer Map" : 0
> kdevplatform.serialization: cleaned in "Type Repository" : 0
> kdevplatform.serialization: cleaned in "Instantiation Information
> Repository" : 12 kdevplatform.serialization: cleaned in "Qualified
> Identifier Repository" : 16 kdevplatform.serialization: cleaned in
> "Identifier Repository" : 60 kdevplatform.serialization: cleaned in
> "file modification repository" : 0 kdevplatform.serialization: cleaned
> in "Environment Lists" : 0 kdevplatform.serialization: cleaned in
> "Environment Information" : 0 kdevplatform.serialization: cleaned in
> "Recursive Imports" : 0 kdevplatform.serialization: cleaned in "Comment
> Repository" : 0 kdevplatform.language: cleaned 88 B
> kdevplatform.language: cleaned enough kdevplatform.language: final
> cleanup ready kdevplatform.shell: Shutdown done kdevplatform.sublime:
> destroying mainwindow kdevplatform.sublime: marking areas as
> mainwindow-free QWidget(0x557637369780, name="MainWindow") true ()
> kdevplatform.shell: sonnet.core: Removing loader:
> Sonnet::Loader(0x7f696f4d4860) kdevplatform.language: Destroying
> Unregistering type class 57 Unregistering type class 58 Unregistering
> type class 39 Unregistering type class 9 Unregistering type class 20
> Unregistering type class 14 Unregistering type class 21 Unregistering
> type class 7 Unregistering type class 8 Unregistering type class 4
> Unregistering type class 3 Unregistering type class 6 Unregistering type
> class 5 Unregistering type class 2


-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190510/a47b59cc/attachment.sig>


More information about the KDevelop-devel mailing list