Il 03/09/2014 20:35, Matthew Dawkins via OM-Cooker ha scritto:
I don't see any output as to why dtd412-xml is failing in %post, but my guess 
is this:
A cmd like xmlcatalog in sgml-common is installed after...


%post
##
## SGML catalog
##
%{_bindir}/xmlcatalog --sgml --noout --add \
        %{_sysconfdir}/sgml/%{mltyp}-docbook-%{dtdver}.cat \
        %{sgmlbase}/sgml-iso-entities-8879.1986/catalog
%{_bindir}/xmlcatalog --sgml --noout --add \
        %{_sysconfdir}/sgml/%{mltyp}-docbook-%{dtdver}.cat \
        %{sgmlbase}/docbook/%{mltyp}-dtd-%{dtdver}/catalog

# The following lines are for the case in which the style sheets
# were installed after another DTD but before this DTD
if [ -e%{sgmlbase}/openjade/catalog ]; then
        %{_bindir}/xmlcatalog --sgml --noout --add \
                %{_sysconfdir}/sgml/%{mltyp}-docbook-%{dtdver}.cat \
                %{sgmlbase}/openjade/catalog
fi

if [ -e%{sgmlbase}/docbook/dsssl-stylesheets/catalog ]; then
        %{_bindir}/xmlcatalog --sgml --noout --add \
                %{_sysconfdir}/sgml/%{mltyp}-docbook-%{dtdver}.cat \
                %{sgmlbase}/docbook/dsssl-stylesheets/catalog
fi

##
## XML catalog
##

CATALOG=%{sgmlbase}/docbook/xmlcatalog

%{_bindir}/xmlcatalog --noout --add"delegatePublic"  \
        "-//OASIS//DTD DocBook XML"  \
        "file:///usr/share/sgml/docbook/xml-dtd-4.1.2/xmlcatalog"  $CATALOG
%{_bindir}/xmlcatalog --noout --add"rewriteSystem"  \
        "http://www.oasis-open.org/docbook/xml/4.1.2";  \
        "xml-dtd-4.1.2"  $CATALOG
%{_bindir}/xmlcatalog --noout --add"rewriteURI"  \
        "http://www.oasis-open.org/docbook/xml/4.1.2";  \
        "xml-dtd-4.1.2"  $CATALOG


On Wed, Sep 3, 2014 at 12:20 PM, Robert Xu <[email protected] <mailto:[email protected]>> wrote:

    docbook-dtd412-xml is installed as a BR - but it fails adding to the
    XML catalogue in %post (see log)

    On 3 September 2014 13:39, Matthew Dawkins <[email protected]
    <mailto:[email protected]>> wrote:
    > checking for DocBook XML DTD V4.1.2 in XML catalog... not found
    >
    > configure: error: DocBook DTD is required for --enable-man
    >
    > missing BR?
    >
    >
    >
    > On Wed, Sep 3, 2014 at 11:23 AM, Robert Xu via OM-Cooker
    > <[email protected]
    <mailto:[email protected]>> wrote:
    >>
    >> Anyone know why, besides "failed to add"?
    >>
    >>
    >>
    
http://file-store.rosalinux.ru/api/v1/file_stores/624f7e015b1d03c2e87c326f5314ed5511d3ac25.log?show=true
    >>
    >> --
    >> cheers, Robert :: github.com/robxu9 <http://github.com/robxu9>
    >>
    >



    --
    cheers, Robert :: github.com/robxu9 <http://github.com/robxu9>




ok , but all I can see is that fails during the build because of missing xml
###

checking for xmlcatalog... /usr/bin/xmlcatalog

checking for DocBook XML DTD V4.1.2 in XML catalog... not found
###
so I'll stick with my version...
missing BR or the required package for build is not packed properly ...
you pick one .
--
Greetings

___________________

MRB ain't no shit

Rosalinux.Ro

Mandrivausers.Ro

________________

Talk is cheap, show me the code.



Reply via email to