Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Issue building mercurial: (2 Items)
   
Issue building mercurial  
Just to let everyone know, while building mercurial I received a vulnerability warning for the libxml2 package, which 
stopped the building of mercurial

I looked at ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/textproc/libxml2/README.html

The latest version is 2.7.6 The version available from QNX sub-directory is 2.7.3 as well as the source in community.qnx
.com

I used ftp to download the latest version libxml2 for netbsd, built it.

Now mercurial builds correctly.

Hope you find this information useful
Re: Issue building mercurial. Real issue is building xmlto 0.0.21  
Additional problem with mercurial.

After updating xml2-xxx, I started the mercurial build. During the build process I received the output below.


This is an error related to the building of xmlto.
The QNX NetBSD has the version of xmlto at 0.0.18 for 6.4.0
The 6.4.1 source for pkgsrc at community.qnx.com is for version xmlto 0.0.21
However, version 0.0.21 does not build on my system. See below.

See NetBSD posting:
http://mail-index.netbsd.org/pkgsrc-bugs/2009/04/16/msg031710.html

==================================================

===> Building for xmlto-0.0.21nb1
/usr/pkg/bin/bmake  all-am
depbase=`echo xmlif/xmlif.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.    -I/usr/pkg/include -I/usr/
include  -O2 -I/usr/pkg/include -I/usr/include -MT xmlif/xmlif.o -MD -MP -MF $depbase.Tpo -c -o xmlif/xmlif.o xmlif/
xmlif.c && mv -f $depbase.Tpo $depbase.Po
gcc  -O2 -I/usr/pkg/include -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o xmlif/xmlif 
xmlif/xmlif.o
for xml in xmlif.xml xmlto.xml; do  FORMAT_DIR=./format  /usr/pkg/bin/bash ./xmlto -o man/man1 man ./doc/$xml ;  done ||
 ( RC=$?; cat ./FAQ; exit $RC )
Note: meta source : no *info/productname or alternative            xmlif
Note: meta source : see http://docbook.sf.net/el/productname       xmlif
Note: meta source : no refentry/refmeta/refmiscinfo@class=source   xmlif
Note: meta source : see http://docbook.sf.net/el/refmiscinfo       xmlif
Note: meta version: no *info/productnumber or alternative          xmlif
Note: meta version: see http://docbook.sf.net/el/productnumber     xmlif
Note: meta version: no refentry/refmeta/refmiscinfo@class=version  xmlif
Note: meta version: see http://docbook.sf.net/el/refmiscinfo       xmlif
Warn: meta source : no fallback for source, so inserted a fixme    xmlif
Note: meta manual : no titled ancestor of refentry                 xmlif
Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual   xmlif
Note: meta manual : see http://docbook.sf.net/el/refmiscinfo       xmlif
Warn: meta manual : no fallback for manual, so inserted a fixme    xmlif
Warn: AUTHOR sect.: no personblurb|contrib for Eric S\&. Raymond   xmlif
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       xmlif
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   xmlif
Note: Writing xmlif.1
Warn: AUTHOR sect.: no personblurb|contrib for Tim Waugh
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb
Note: Writing xmlto.1

Q: I'm trying to build xmlto on my Debian box, but it doesn't work.

A: If you get `Attempt to load network entity' errors when building
   xmlto, your system does not have the required support for XML
   Catalogs
   (http://www.oasis-open.org/committees/entity/spec-2001-08-06.html).
   In particular, Debian has no support for these.  Try the Fedora
   Project <http://fedoraproject.org>.
*** Error code 1

Stop.
bmake: stopped in /pkgsrc/textproc/xmlto/work/xmlto-0.0.21
*** Error code 1

======================================================