[Bug 284126] New: linuxdoc-tools required for compilation but should be optional

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 284126] New: linuxdoc-tools required for compilation but should be optional

Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126

           Summary: linuxdoc-tools required for compilation but should be
                    optional
           Product: digikam
           Version: 2.2.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.2.0 (using KDE 4.7.1)
OS:                Linux

when I do not have linuxdoc-tools installed there is no complain during cmake
but there are errors during compilation

Reproducible: Didn't try

Steps to Reproduce:
try to compile digiKam without linuxdoc-tools installed

Actual Results:  
relevant part of make output:

Linking CXX executable digikamdatabaseserver
[ 58%] Built target digikamdatabaseserver
[ 58%] Generating index.cache.bz2
file:///usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd:101: warning:
failed to load external entity
"file:///usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd"
%DocBookDTD;
            ^
Entity: line 1:
 %DocBookDTD;
             ^
file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42:
validity error : PEReference: %div.title.content; not found
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                         ^
file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42:
parser error : ContentDecl : Name or '(' expected
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                         ^
file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42:
parser error : expected '>'
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                           ^
file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42:
parser error : Content error in the external subset
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                           ^
index.docbook:29: parser error : Entity 'language' not defined
<book lang="&language;">
                      ^
index.docbook:81: parser error : Entity 'FDLNotice' not defined
<legalnotice>&FDLNotice;</legalnotice>


Expected Results:  
lack of linuxdoc-tools should not prevent compilation

OS: Linux (i686) release 3.0.4
Compiler: gcc

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284126] linuxdoc-tools required for compilation but should be optional

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=284126





--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2011-10-17 10:53:14 ---
Git commit b2832d201702251d400d3f2816eeab07a3235853 by Gilles Caulier.
Committed on 17/10/2011 at 12:51.
Pushed by cgilles into branch 'master'.

set doc dir optional for compilation
CCBUGS: 284126

M  +4    -1    CMakeLists.txt

http://commits.kde.org/scratch/mwiesweg/digikam-sc/b2832d201702251d400d3f2816eeab07a3235853

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284126] linuxdoc-tools required for compilation but should be optional

Gilles Caulier-4
In reply to this post by Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2011-10-17 10:55:01 ---
doc dir is now optional into git/master, but your compilation error is due to a
missing DTD file from KDELibs. Check your system

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284126] linuxdoc-tools required for compilation but should be optional

Bugzilla from superandrzej@epf.pl
In reply to this post by Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126





--- Comment #3 from Andrzej <superandrzej epf pl>  2011-10-17 21:40:39 ---
Thank you.

I would rather say that kdelibs depends on
/usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd from linuxdoc-tools package.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284126] linuxdoc-tools required for compilation but should be optional

Gilles Caulier-4
In reply to this post by Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Documentation




--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2011-10-17 22:09:49 ---
With my commit, problem is fixed for you now ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284126] linuxdoc-tools required for compilation but should be optional

Bugzilla from superandrzej@epf.pl
In reply to this post by Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126





--- Comment #5 from Andrzej <superandrzej epf pl>  2011-10-18 18:25:58 ---
I'm not able to clone git repository:

-> ./download-repos
Cloning into core...
error: RPC failed; result=7, HTTP code = 0
fatal: The remote end hung up unexpectedly
Could not clone http://anongit.kde.org/digikam onto core

- Failed to populate gits repositories, aborting.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284126] linuxdoc-tools required for compilation but should be optional

Gilles Caulier-4
In reply to this post by Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126





--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2011-10-18 20:31:47 ---
It's a network problem with your computer... Try again

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 284126] linuxdoc-tools required for compilation but should be optional

Bugzilla from superandrzej@epf.pl
In reply to this post by Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126





--- Comment #7 from Andrzej <superandrzej epf pl>  2011-10-19 22:16:23 ---
I changed:
# git clone http://anongit.kde.org/digikam-software-compilation digikam-sc
into
# git clone git://anongit.kde.org/digikam-software-compilation digikam-sc

and I manged to download repository. ;) (maybe a coincidence)


and coming back to the bug it still persist:

Linking CXX shared module ../../../lib/digikamimageplugin_transform.so
[ 99%] Built target digikamimageplugin_transform                                
[ 99%] Built target digikamdatabaseserver_automoc
Linking CXX executable digikamdatabaseserver
[100%] Built target digikamdatabaseserver                                      
[100%] Generating index.cache.bz2
file:///usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd:101: warning:
failed to load external entity
"file:///usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd"                
%DocBookDTD;
            ^
Entity: line 1:
 %DocBookDTD;
             ^
file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42:
validity error : PEReference: %div.title.content; not found
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                         ^
file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42:
parser error : ContentDecl : Name or '(' expected
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                         ^
file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42:
parser error : expected '>'
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                           ^
file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42:
parser error : Content error in the external subset
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                           ^
index.docbook:29: parser error : Entity 'language' not defined
<book lang="&language;">
                      ^

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 284126] linuxdoc-tools required for compilation but should be optional

Gilles Caulier-4
In reply to this post by Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |4.3.0

--- Comment #8 from Gilles Caulier <[hidden email]> ---
documentation can be disable with a cmake flags at compilation time :

https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/CMakeLists.txt#L42

Gilles cAulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 284126] Documentation required for compilation but should be optional

Gilles Caulier-4
In reply to this post by Bugzilla from superandrzej@epf.pl
https://bugs.kde.org/show_bug.cgi?id=284126

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|linuxdoc-tools required for |Documentation required for
                   |compilation but should be   |compilation but should be
                   |optional                    |optional

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel