[pacman-dev] Dan's pacman tree build&test

Allan McRae allan at archlinux.org
Thu Dec 4 09:53:48 EST 2008


Gerhard Brauer wrote:
> Hi Dan,
>
> git clone http://code.toofishes.net/gitprojects/pacman.git
> (branch is master)
>
> 1. if have to install asciidox (for a2x), that's current not a
> (build)depend of pacman
>
> make stops with an error
>
> make[2]: Entering directory `/home/gerhard/al-de/pac-git/pacman/doc'
> a2x -d manpage -f manpage --xsltproc-opts='-param man.endnotes.list.enabled 0' --xsltproc-opts='-param man.en
> dnotes.are.numbered 0' --asciidoc-opts="-f asciidoc.conf -a pacman_version="3.2.1" -a pacman_date="`date +%Y-
> %m-%d`" -a sysconfdir=/etc" PKGBUILD.5.txt
> ./PKGBUILD.5.xml:148: element literal: validity error : Element emphasis is not declared in literal list of p
> ossible children
> e. The syntax is: <literal>source=(<emphasis>filename::url</emphasis>)</literal>
>                                                                                ^
> ./PKGBUILD.5.xml:780: element programlisting: validity error : No declaration for attribute language of eleme
> nt programlisting
> <programlisting language="sh" linenumbering="unnumbered"># Maintainer: Joe User 
>                                                         ^
> ./PKGBUILD.5.xml:780: parser error : error parsing attribute name
> isting language="sh" linenumbering="unnumbered"># Maintainer: Joe User <joe.user
>                                                                                ^
> ./PKGBUILD.5.xml:780: parser error : attributes construct error
> isting language="sh" linenumbering="unnumbered"># Maintainer: Joe User <joe.user
>                                                                                ^
> ./PKGBUILD.5.xml:780: parser error : Couldn't find end of Start Tag joe.user line 780
> isting language="sh" linenumbering="unnumbered"># Maintainer: Joe User <joe.user
>                                                                                ^
> a2x: failed: xmllint --nonet --noout --valid "./PKGBUILD.5.xml"
> make[2]: *** [PKGBUILD.5] Fehler 1
> make[2]: Leaving directory `/home/gerhard/al-de/pac-git/pacman/doc'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/gerhard/al-de/pac-git/pacman'
> make: *** [all] Fehler 2
>
> Seems any error in XML-Input doc file.
>
> Is it ok to post to this ML? Or better a private mail address?
>
> Gerhard
>   

Not a specific answer to your question but I always just do:

./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--disable-doc
make

which avoids building docs altogether. 

Allan




More information about the pacman-dev mailing list