Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure #27

Closed
ArchangeGabriel opened this issue Jun 28, 2018 · 11 comments
Closed

Build failure #27

ArchangeGabriel opened this issue Jun 28, 2018 · 11 comments

Comments

@ArchangeGabriel
Copy link

When trying to build the KDE version on ArchLinux:

index.docbook:19: warning: failed to load external entity "dtd/kdex.dtd"
]>
  ^
index.docbook:21: parser error : Entity 'language' not defined
<book lang="&language;" id="book-ktikz-handbook">
                      ^
index.docbook:21: element book: validity error : No declaration for attribute lang of element book
<book lang="&language;" id="book-ktikz-handbook">
                                                ^
index.docbook:21: element book: validity error : No declaration for attribute id of element book
<book lang="&language;" id="book-ktikz-handbook">
                                                ^
index.docbook:27: element application: validity error : No declaration for element application
<title>The &ktikz; Handbook</title>
                  ^
index.docbook:27: element title: validity error : No declaration for element title
<title>The &ktikz; Handbook</title>
                                   ^
index.docbook:31: element firstname: validity error : No declaration for element firstname
	<firstname>Glad</firstname>
	                           ^
index.docbook:32: element surname: validity error : No declaration for element surname
	<surname>Deschrijver</surname>
	                              ^
index.docbook:34: element email: validity error : No declaration for element email
		<address><email>glad.deschrijver@gmail.com</email></address>
		                                                  ^
index.docbook:34: element address: validity error : No declaration for element address
		<address><email>glad.deschrijver@gmail.com</email></address>
		                                                            ^
index.docbook:35: element affiliation: validity error : No declaration for element affiliation
	</affiliation>
	              ^
index.docbook:36: element author: validity error : No declaration for element author
</author>
         ^
index.docbook:39: element authorgroup: validity error : No declaration for element authorgroup
</authorgroup>
              ^
index.docbook:42: element year: validity error : No declaration for element year
	<year>2010, 2011</year>
	                       ^
index.docbook:43: element holder: validity error : No declaration for element holder
	<holder>Glad Deschrijver</holder>
	                                 ^
index.docbook:44: element copyright: validity error : No declaration for element copyright
</copyright>
            ^
index.docbook:48: element legalnotice: validity error : No declaration for attribute id of element legalnotice
<legalnotice id="legalnotice-fdl">&FDLNotice;</legalnotice>
                                 ^
index.docbook:48: parser error : Entity 'FDLNotice' not defined
<legalnotice id="legalnotice-fdl">&FDLNotice;</legalnotice>
                                             ^
index.docbook:48: element legalnotice: validity error : No declaration for element legalnotice
<legalnotice id="legalnotice-fdl">&FDLNotice;</legalnotice>
                                                           ^
index.docbook:57: element date: validity error : No declaration for element date
<date>2011-02-08</date>
                       ^
index.docbook:58: element releaseinfo: validity error : No declaration for element releaseinfo
<releaseinfo>0.2</releaseinfo>
                              ^
index.docbook:61: parser error : Entity 'kde' not defined
	<para>&ktikz; is program for &kde; for creating TikZ (from the LaTeX pgf packag
	                                  ^
index.docbook:61: element para: validity error : No declaration for element para
program for &kde; for creating TikZ (from the LaTeX pgf package) diagrams.</para
                                                                               ^
index.docbook:62: element abstract: validity error : No declaration for element abstract
</abstract>
           ^
index.docbook:69: element keyword: validity error : No declaration for element keyword
	<keyword>KDE</keyword>
	                      ^
index.docbook:70: element keyword: validity error : No declaration for element keyword
	<keyword>KtikZ</keyword>
	                        ^
index.docbook:71: element keyword: validity error : No declaration for element keyword
	<keyword>Editor</keyword>
	                         ^
index.docbook:72: element keyword: validity error : No declaration for element keyword
	<keyword>PGF</keyword>
	                      ^
index.docbook:73: element keyword: validity error : No declaration for element keyword
	<keyword>LaTeX</keyword>
	                        ^
index.docbook:74: element keywordset: validity error : No declaration for element keywordset
</keywordset>
             ^
index.docbook:75: element bookinfo: validity error : No declaration for element bookinfo
</bookinfo>
           ^
index.docbook:86: element chapter: validity error : No declaration for attribute id of element chapter
<chapter id="chap-introduction">
                               ^
index.docbook:87: element title: validity error : No declaration for element title
<title>Introduction</title>
                           ^
index.docbook:95: parser error : Entity 'kde' not defined
&ktikz; is a TikZ/PGF code editor for &kde; which allows to preview the code rea
                                           ^
index.docbook:96: element para: validity error : No declaration for element para
</para>
       ^
index.docbook:99: element guimenu: validity error : No declaration for element guimenu
 report dialog.  This is accessible from the <menuchoice><guimenu>Help</guimenu>
                                                                               ^
index.docbook:99: element guimenuitem: validity error : No declaration for element guimenuitem
 the <menuchoice><guimenu>Help</guimenu><guimenuitem>Report Bug...</guimenuitem>
                                                                               ^
index.docbook:99: element menuchoice: validity error : No declaration for element menuchoice
ice><guimenu>Help</guimenu><guimenuitem>Report Bug...</guimenuitem></menuchoice>
                                                                               ^
index.docbook:100: element para: validity error : No declaration for element para
</para>
       ^
index.docbook:101: element chapter: validity error : No declaration for element chapter
</chapter>
          ^
interface.docbook:1: element chapter: validity error : No declaration for attribute id of element chapter
<chapter id="chap-interface">
                            ^
interface.docbook:2: element title: validity error : No declaration for element title
<title>&ktikz; Interface</title>
                                ^
interface.docbook:4: element sect1: validity error : No declaration for attribute id of element sect1
<sect1 id="sect1-interface-mainwindow">
                                      ^
interface.docbook:5: element title: validity error : No declaration for element title
	<title>&ktikz; Main Window</title>
	                                  ^
interface.docbook:9: element screeninfo: validity error : No declaration for element screeninfo
			<screeninfo>Screenshot of &ktikz; main window</screeninfo>
			                                                          ^
interface.docbook:11: element imagedata: validity error : No declaration for attribute fileref of element imagedata
				<imageobject><imagedata fileref="interface-mainwindow.png" format="PNG"/></i
				                                                                       ^
interface.docbook:11: element imagedata: validity error : No declaration for attribute format of element imagedata
				<imageobject><imagedata fileref="interface-mainwindow.png" format="PNG"/></i
				                                                                       ^
interface.docbook:11: element imagedata: validity error : No declaration for element imagedata
				<imageobject><imagedata fileref="interface-mainwindow.png" format="PNG"/></i
				                                                                         ^
interface.docbook:11: element imageobject: validity error : No declaration for element imageobject
object><imagedata fileref="interface-mainwindow.png" format="PNG"/></imageobject
                                                                               ^
interface.docbook:12: element phrase: validity error : No declaration for element phrase
				<textobject><phrase>&ktikz; main window</phrase></textobject>
				                                                ^
interface.docbook:12: element textobject: validity error : No declaration for element textobject
				<textobject><phrase>&ktikz; main window</phrase></textobject>
				                                                             ^
interface.docbook:13: element mediaobject: validity error : No declaration for element mediaobject
			</mediaobject>
			              ^
interface.docbook:14: element screenshot: validity error : No declaration for element screenshot
		</screenshot>
		             ^
interface.docbook:15: element para: validity error : No declaration for element para
	</para>
	       ^
interface.docbook:19: element para: validity error : No declaration for element para
	</para>
	       ^
interface.docbook:22: element guilabel: validity error : No declaration for element guilabel
		The <guilabel>Preview</guilabel> and <guilabel>Messages</guilabel> panels can 
		                                ^
interface.docbook:22: element guilabel: validity error : No declaration for element guilabel
		The <guilabel>Preview</guilabel> and <guilabel>Messages</guilabel> panels can 
		                                                                  ^
interface.docbook:22: element guimenu: validity error : No declaration for element guimenu
ilabel> panels can be shown or hidden in <menuchoice><guimenu>Settings</guimenu>
                                                                               ^
interface.docbook:22: element guimenuitem: validity error : No declaration for element guimenuitem
en in <menuchoice><guimenu>Settings</guimenu><guimenuitem>Sidebars</guimenuitem>
                                                                               ^
interface.docbook:22: element menuchoice: validity error : No declaration for element menuchoice
oice><guimenu>Settings</guimenu><guimenuitem>Sidebars</guimenuitem></menuchoice>
                                                                               ^
interface.docbook:23: element para: validity error : No declaration for element para
	</para>
	       ^
interface.docbook:25: element sect2: validity error : No declaration for attribute id of element sect2
	<sect2 id="sect2-interface-mainwindow-editor">
	                                             ^
interface.docbook:26: element title: validity error : No declaration for element title
		<title>&ktikz; Editor</title>
		                             ^
interface.docbook:29: element quote: validity error : No declaration for element quote
ce code of a TikZ picture (everything between <quote>\begin{tikzpicture}</quote>
                                                                               ^
interface.docbook:29: element quote: validity error : No declaration for element quote
 between <quote>\begin{tikzpicture}</quote> and <quote>\end{tikzpicture}</quote>
                                                                               ^
interface.docbook:29: element guilabel: validity error : No declaration for element guilabel
 of the TikZ picture is generated on the fly in the <guilabel>Preview</guilabel>
                                                                               ^
interface.docbook:29: element keycombo: validity error : No declaration for attribute action of element keycombo
 selected by the user using the arrow keys and pressing <keycombo action="simul"
                                                                               ^
interface.docbook:29: element keycap: validity error : No declaration for element keycap
sing the arrow keys and pressing <keycombo action="simul"><keycap>Enter</keycap>
                                                                               ^
interface.docbook:29: element keycombo: validity error : No declaration for element keycombo
row keys and pressing <keycombo action="simul"><keycap>Enter</keycap></keycombo>
                                                                               ^
interface.docbook:29: element guilabel: validity error : No declaration for element guilabel
s selected in this way or if it is selected from the <guilabel>Insert</guilabel>
                                                                               ^
interface.docbook:29: element keycombo: validity error : No declaration for attribute action of element keycombo
ou can select the next or previous &bullet; by pressing <keycombo action="simul"
                                                                               ^
interface.docbook:29: element keycap: validity error : No declaration for element keycap
t or previous &bullet; by pressing <keycombo action="simul"><keycap>Tab</keycap>
                                                                               ^
interface.docbook:29: element keycombo: validity error : No declaration for element keycombo
us &bullet; by pressing <keycombo action="simul"><keycap>Tab</keycap></keycombo>
                                                                               ^
interface.docbook:29: element keycombo: validity error : No declaration for attribute action of element keycombo
combo action="simul"><keycap>Tab</keycap></keycombo> or <keycombo action="simul"
                                                                               ^
interface.docbook:29: parser error : Entity 'Shift' not defined
tion="simul"><keycap>Tab</keycap></keycombo> or <keycombo action="simul">&Shift;
                                                                               ^
interface.docbook:89: parser error : Entity 'Ctrl' not defined
ed by rolling the mouse wheel while pressing the <keycombo action="simul">&Ctrl;
                                                                               ^
interface.docbook:126: parser error : chunk is not well balanced

^
index.docbook:103: parser error : Failure to process entity ktikz-interface
&ktikz-interface;
                 ^
index.docbook:103: parser error : Entity 'ktikz-interface' not defined
&ktikz-interface;
                 ^
index.docbook:124: parser error : Entity 'underFDL' not defined
&underFDL;		<!-- FDL: do not remove (NOTE: All documentation are licensed under 
          ^
index.docbook:125: parser error : Entity 'underGPL' not defined
&underGPL;		<!-- GPL License -->
          ^
index.docbook:139: parser error : Entity 'kde' not defined
essfully use &ktikz; you need to at least to have kdebase and kdelibs from &kde;
                                                                               ^
index.docbook:144: parser error : Entity 'kde' not defined
to install the development packages for &qt; 4.4, kdebase and kdelibs from &kde;
                                                                               ^
index.docbook:144: parser error : Entity 'gcc' not defined
ckages for &qt; 4.4, kdebase and kdelibs from &kde; 4.3, &poppler; 0.6 and &gcc;
                                                                               ^
index.docbook:150: parser error : Entity 'kde' not defined
	<para>Since &kde; uses <command>cmake</command> you should have no trouble comp
	                 ^
index.docbook:154: parser error : Entity 'documentation.index' not defined
&documentation.index;
                     ^
Updating '/build/ktikz/src/build/translations/qtikz_cs.qm'...
kf5.kdoctools: Error: `xmllint --noout` outputted text
make[2]: *** [doc/CMakeFiles/doc-index-cache-bz2.dir/build.make:66: doc/index.cache.bz2] Error 1
make[1]: *** [CMakeFiles/Makefile2:1150: doc/CMakeFiles/doc-index-cache-bz2.dir/all] Error 2
@jfmcarreira
Copy link
Collaborator

Thanks for reporting!

Does building Qt only works? Which version of the KDE frameworks do you have? I assume this might be a missing dependency.

@ArchangeGabriel
Copy link
Author

Building Qt only does not work:

In file included from ../ktikz-0.12/common/templatewidget.h:22,
                 from ../ktikz-0.12/common/templatewidget.cpp:19:
ui/ui_templatewidget.h:18:10: fatal error: ../common/utils/combobox.h: No such file or directory
 #include "../common/utils/combobox.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1357: obj/templatewidget.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../ktikz-0.12/common/templatewidget.h:22,
                 from ../ktikz-0.12/common/tikzpreviewcontroller.cpp:49:
ui/ui_templatewidget.h:18:10: fatal error: ../common/utils/combobox.h: No such file or directory
 #include "../common/utils/combobox.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

But that error just means you don’t support building from anywhere, only from a folder that is in the main directory. Changing that led to a successful Qt build. Should I open another issue for this?

But that does not change anything for ktikz. KDE Frameworks are 5.47. I would also bet on some missing docbook dependency, but not sure which one. Any idea?

@ArchangeGabriel
Copy link
Author

OK, got it working by adding kdelibs4support. Maybe you should add this to the dependency list?

@ArchangeGabriel
Copy link
Author

(It contains dtd/kdex.dtd, which was apparently the missing part.)

@jfmcarreira
Copy link
Collaborator

Maybe I should add it. Maybe I am not building something on my side. When I initially ported I had that framework but then I managed to get rid of it.

I can add it again untill we manage to correctly port this.

@jfmcarreira
Copy link
Collaborator

Regarding the Qt build you could create an issue but I will probably will not look at it soon. Because it would also affect the KDE build.

But if you create an issue we will be able to tracked it down

@ArchangeGabriel
Copy link
Author

The kdelibs4support is about dtd/kdex.dtd file being required to build the doc apparently.

@jfmcarreira
Copy link
Collaborator

Can you send the comple build log including cmake generation. I am able to build it without kdelibs4support. I would like to check what is different about us

@jfmcarreira
Copy link
Collaborator

Can you try again with the lastest version on master. I looked at porting documentation and made some changes. I do not know if it is enough.

I am reluctant to add kdelibs4support again as this is bad police. I think we should make the effort to correctly port it to KDE frameworks 5.

@pinotree
Copy link
Contributor

The issue with the DocBook documentation was fixed with commit 3b137b2.

@ArchangeGabriel
Copy link
Author

I can confirm that this commit allows to remove kdelibs4support from building dependencies. Congrats on getting rid of it, that effectively the good thing to do!
(And sorry for the long delay in answering…)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants