[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] Pango error when compiling virt-p2v on RHEL 7 (was: Re: Regarding libguestfs)



Hi,

Yes, We are using pango-devel-1.40.4-1.el7.x86_64.
Please find details below:

>> [root euca-10-254-11-189 rpmbuild]# rpm -qf /usr/include/pango-1.0/pango/pango-version-macros.h
pango-devel-1.40.4-1.el7.x86_64

Somehow the issue fixed if we remove the pango-devel,  but now the issue is different,

>> /opt/autoconf/x86_64/2.69/bin/autoconf: line 505: /opt/autoconf/x86_64/2.69/bin/autom4te:/opt/autoconf/x86_64/2.69/bin/autom4te:: No such file or directory
automake-1.15: error: autoconf failed with exit status: 127
WARNING: 'automake-1.15' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make[2]: *** [Makefile.in] Error 127
make[2]: Leaving directory `/ephemeral/rpmbuild/BUILD/libguestfs-1.32.10/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ephemeral/rpmbuild/BUILD/libguestfs-1.32.10'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.S7jxBC (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.S7jxBC (%build)


Please let me know why this is coming.

Regards,
Abinaya

-----Original Message-----
From: Richard W.M. Jones [mailto:rjones redhat com]
Sent: Tuesday, August 29, 2017 7:47 PM
To: Abinaya Sandhiya Manikandan (GIS) <abinaya manikandan wipro com>
Cc: libguestfs redhat com; Emlyn Jose (GIS) <emlyn jose wipro com>
Subject: Pango error when compiling virt-p2v on RHEL 7 (was: Re: [Libguestfs] Regarding libguestfs)

** This mail has been sent from an external source **

On Tue, Aug 29, 2017 at 01:16:00PM +0000, abinaya manikandan wipro com wrote:
> Hi Team,
>
> We are trying to build libguestfs-1.34.6 on RHEL7 host.
> We  have installed all the dependencies which is showing while running ./configure command in inside the source code of libguestfs.
> But while running make we are facing below issue:
>
> /usr/include/pango-1.0/pango/pango-version-macros.h:251:60: error: missing binary operator before token "("
> #define PANGO_VERSION_CUR_STABLE         (G_ENCODE_VERSION (PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR))
>                                                             ^
> /usr/include/pango-1.0/pango/pango-version-macros.h:313:42: note: in expansion of macro 'PANGO_VERSION_CUR_STABLE'
> # define PANGO_VERSION_MAX_ALLOWED      (PANGO_VERSION_CUR_STABLE)
>                                           ^
> /usr/include/pango-1.0/pango/pango-version-macros.h:623:5: note: in expansion of macro 'PANGO_VERSION_MAX_ALLOWED'
> #if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_42
>      ^
> make[2]: *** [virt_p2v-main.o] Error 1
> make[2]: Leaving directory `/root/rpmbuild/BUILD/libguestfs-1.34.6/p2v'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/rpmbuild/BUILD/libguestfs-1.34.6'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.DQIKk5 (%build)

This could really be a bug, but which version of Pango are you using?
Is it the one from RHEL 7 (eg pango-devel-1.40.4-1.el7.x86_64)

Try doing:

  rpm -qf /usr/include/pango-1.0/pango/pango-version-macros.h

Rich.

--
Richard Jones, Virtualization Group, Red Hat https://clicktime.symantec.com/a/1/FY-DG37UBTMKgQUQVXsK70IL5LZseQceq6roqDjHpUg=?d=t7EDoO_stmaz267sEObzXebuUpdxuuC1-SHwFc_8pSDYvUwuYHjRoAf3oIT7Nj3VqacmFfDucRES6nM-oehUu5ARDEWGBFGRkJK2L2qF6iTizNXr9lyMHdZd4KTaNclandQPZ-Q5B1y4BMs3X3YuTqAGmG_Vgd9lBBoUIFbNQ60J3N1fMDQvWd0OSs-9xpRLoN1_8vQAYdI1Ji5_37oSeAyVI7hwnSKUHpt3cAenBqcFHFzHJR8BmQ8ytqwA15U1oGoosHB2lMB29gMKJ8Lsp168g982psRU8JvnkLG--HZ_MYwns18B4xkGpGGfq3X2pIGuxCYGP5FJ8bmEFx6J9w-yyJcVRe3oQFxOJrGQMtM9C8FF2U37V9DnkfUx1_3nBXg_YghZKCLW2AdmJVOpG6z0ut3Jffdv_SGTxUEJgmRwlw%3D%3D&u=http%3A%2F%2Fpeople.redhat.com%2F~rjones
Read my programming and virtualization blog: https://clicktime.symantec.com/a/1/HzYfPa_j0aKC6_0uTaxtBiUqsvYnLJOHsDybQR1rQeI=?d=t7EDoO_stmaz267sEObzXebuUpdxuuC1-SHwFc_8pSDYvUwuYHjRoAf3oIT7Nj3VqacmFfDucRES6nM-oehUu5ARDEWGBFGRkJK2L2qF6iTizNXr9lyMHdZd4KTaNclandQPZ-Q5B1y4BMs3X3YuTqAGmG_Vgd9lBBoUIFbNQ60J3N1fMDQvWd0OSs-9xpRLoN1_8vQAYdI1Ji5_37oSeAyVI7hwnSKUHpt3cAenBqcFHFzHJR8BmQ8ytqwA15U1oGoosHB2lMB29gMKJ8Lsp168g982psRU8JvnkLG--HZ_MYwns18B4xkGpGGfq3X2pIGuxCYGP5FJ8bmEFx6J9w-yyJcVRe3oQFxOJrGQMtM9C8FF2U37V9DnkfUx1_3nBXg_YghZKCLW2AdmJVOpG6z0ut3Jffdv_SGTxUEJgmRwlw%3D%3D&u=http%3A%2F%2Frwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc.
https://clicktime.symantec.com/a/1/I87Est9Mna8nIKlWEVbXlshGPiOAZvWpyAss71ySxoc=?d=t7EDoO_stmaz267sEObzXebuUpdxuuC1-SHwFc_8pSDYvUwuYHjRoAf3oIT7Nj3VqacmFfDucRES6nM-oehUu5ARDEWGBFGRkJK2L2qF6iTizNXr9lyMHdZd4KTaNclandQPZ-Q5B1y4BMs3X3YuTqAGmG_Vgd9lBBoUIFbNQ60J3N1fMDQvWd0OSs-9xpRLoN1_8vQAYdI1Ji5_37oSeAyVI7hwnSKUHpt3cAenBqcFHFzHJR8BmQ8ytqwA15U1oGoosHB2lMB29gMKJ8Lsp168g982psRU8JvnkLG--HZ_MYwns18B4xkGpGGfq3X2pIGuxCYGP5FJ8bmEFx6J9w-yyJcVRe3oQFxOJrGQMtM9C8FF2U37V9DnkfUx1_3nBXg_YghZKCLW2AdmJVOpG6z0ut3Jffdv_SGTxUEJgmRwlw%3D%3D&u=http%3A%2F%2Fpeople.redhat.com%2F~rjones%2Fvirt-top

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]