04.09.2012 03:46, Keisuke MORI wrote: > Hi, > > I've seen a similar problem. > It was caused by an unseen escape sequence produced by the crm shell > (readline library in particular) when TERM=xterm. > > Try "export TERM=vt100" and rebuild it. > Or grab the latest crm shell.
Shouldn't it be listed as build dep if docs are enabled in spec then? Although, as crm shell is not longer part of pacemaker and it heavily depends on pacemaker utils, it could be hard to implement correct cross-deps between two packages (also heaving in mind that there is no crmsh package in fedora yet). So, may be it is better to include some example crm shell output in sources rather then trying to run it at the build time? I do not have crm shell installed on my build systems and docs I get are inconsistent - sys::[crm --help] resolves to an empty string. Just checked it. If would be fine to replace sys::[crm --help] with sys::[cat crm_--help.txt] having crm_--help.txt exists in tarball and is regenerated if local crm shell is found and is newer than one used to generate original output. Of course that is a lot of work. And I'm not sure what to do with crm shell output i18n (after/if it has one). > > 2012/9/4 Miguel Angel Guerrero <miguel.guerr...@itac.com.co> >> >> Hi all >> >> I'm trying to compile the last version of the src package of pacemaker from >> red hat in centos 6.3 with snmp support but i get this error in the process >> and i don't understand this, i check the dependencies and all is correct, >> thanks for your help >> >> Processing file tmp/en-US/xml_tmp/Ch-Tools.xml -> tmp/en-US/xml/Ch-Tools.xml >> >> not well-formed (invalid token) at line 20, column 8, byte 884: >> <para>Take some time to familiarize yourself with what it can do.</para> >> <para># <command>crm --help</command></para> >> <screen> >> =======^ >> usage: >> crm [-D display_type] [-f file] [-hF] [args] >> at /usr/lib64/perl5/XML/Parser.pm line 187 >> gmake[1]: *** [Clusters_from_Scratch.txt] Error 255 >> gmake[1]: Leaving directory >> `/home/itac/rpmbuild/BUILD/ClusterLabs-pacemaker-148fccf/doc' >> make: *** [all-recursive] Error 1 >> error: Estado de salida erróneo de /var/tmp/rpm-tmp.yHX51k (%build) >> >> >> Errores de construcción RPM: >> InstallSourcePackage at: psm.c:244: CabeceraV3 RSA/SHA256 Signature, ID >> de clave fd431d51: NOKEY >> Estado de salida erróneo de /var/tmp/rpm-tmp.yHX51k (%build) >> >> >> -- >> >> >> www.itac.com.co >> >> Miguel Angel Guerrero >> Ingeniero de Infraestructura >> >> ITAC - IT Applications Consulting >> Avenida 19 # 114 – 65 Oficina 215 >> Bogota, DC. Colombia >> Telefono (+571) 6400338 Ext. 147 >> miguel.guerr...@itac.com.co >> >> ________________________________ >> >> Nuestros clientes hacen parte de la calidad que brindamos por lo que lo >> invitamos a que si tiene una queja, reclamo o sugerencia nos la haga saber a >> cali...@itac.com.co >> >> >> >> >> >> _______________________________________________ >> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker >> >> Project Home: http://www.clusterlabs.org >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: http://bugs.clusterlabs.org >> > > > > -- > Keisuke MORI > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org