Re: [one-users] opennebula and gentoo
Thanks for the ebuild! I've added the link to it in the OpenNebula documentation. It should be up after we regenerate the pages. Cheers On Thu Dec 18 2014 at 9:39:00 AM Thomas Stein himbe...@meine-oma.de wrote: Hello. FYI. I uploaded my ebuilds for gentoo to github. Feel free to do whatever you like with them. They work pretty well on my machines. https://github.com/himbeere/opennebula best regards t. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] opennebula and gentoo
Hello. FYI. I uploaded my ebuilds for gentoo to github. Feel free to do whatever you like with them. They work pretty well on my machines. https://github.com/himbeere/opennebula best regards t. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Opennebula on Gentoo
I was changing a beta ebuild of opennebula to build and install opennebula 2.0 on a gentoo system (since Fedora 13 has not been usable with Opennebula), in gentoo the ebuild has CFLAGS set as defined in the make.conf and that gets applied to the compile of opennebula. So in my instance, CFLAGS is set to -march=native -O2 -pipe -mfpmath=sse and opennebula fails to build with: gcc -o src/template/template_parser.o -c -march=native -O2 -pipe -mfpmath=sse -rdynamic -g -Wall -Werror -DSQLITE_DB -DMYSQL_DB -DHAVE_ERRNO_AS_DEFINE=1 - DUNIV_LINUX -Iinclude -I/usr/include -I/usr/include/mysql - I/usr/include/libxml2 src/template/template_parser.c cc1: warnings being treated as errors template_parser.c: In function 'template_lex': template_parser.l:89: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result scons: *** [src/template/template_parser.o] Error 1 scons: building terminated because of errors. If I remove the -O2 it builds fine, and I will just do that and move forward for now, but opennebula should probably not fail to build with -O2 Thank You -- George L. Emigh ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula on Gentoo
Hi George, Thanks for the heads-up on this. This is basically because of Werror. We'll take care of this for the next maintenance release (http://dev.opennebula.org/issues/406) Cheers Ruben On Wed, Nov 10, 2010 at 8:42 PM, George L. Emigh george.em...@dialecticnet.com wrote: I was changing a beta ebuild of opennebula to build and install opennebula 2.0 on a gentoo system (since Fedora 13 has not been usable with Opennebula), in gentoo the ebuild has CFLAGS set as defined in the make.conf and that gets applied to the compile of opennebula. So in my instance, CFLAGS is set to -march=native -O2 -pipe -mfpmath=sse and opennebula fails to build with: gcc -o src/template/template_parser.o -c -march=native -O2 -pipe -mfpmath=sse -rdynamic -g -Wall -Werror -DSQLITE_DB -DMYSQL_DB -DHAVE_ERRNO_AS_DEFINE=1 - DUNIV_LINUX -Iinclude -I/usr/include -I/usr/include/mysql - I/usr/include/libxml2 src/template/template_parser.c cc1: warnings being treated as errors template_parser.c: In function 'template_lex': template_parser.l:89: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result scons: *** [src/template/template_parser.o] Error 1 scons: building terminated because of errors. If I remove the -O2 it builds fine, and I will just do that and move forward for now, but opennebula should probably not fail to build with -O2 Thank You -- George L. Emigh ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Dr. Ruben Santiago Montero Associate Professor (Profesor Titular), Complutense University of Madrid URL: http://dsa-research.org/doku.php?id=people:ruben Weblog: http://blog.dsa-research.org/?author=7 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula on Gentoo
Thank you, I submitted the modified working ebuild to gentoo in hopes that it may get included in portage. When the maintenance release is available I can submit an updated one. The gentoo bug report is here if it is of interest to anyone. https://bugs.gentoo.org/show_bug.cgi?id=344969 George On Wednesday November 10 2010, Ruben S. Montero wrote: Hi George, Thanks for the heads-up on this. This is basically because of Werror. We'll take care of this for the next maintenance release (http://dev.opennebula.org/issues/406) Cheers Ruben On Wed, Nov 10, 2010 at 8:42 PM, George L. Emigh george.em...@dialecticnet.com wrote: I was changing a beta ebuild of opennebula to build and install opennebula 2.0 on a gentoo system (since Fedora 13 has not been usable with Opennebula), in gentoo the ebuild has CFLAGS set as defined in the make.conf and that gets applied to the compile of opennebula. So in my instance, CFLAGS is set to -march=native -O2 -pipe -mfpmath=sse and opennebula fails to build with: gcc -o src/template/template_parser.o -c -march=native -O2 -pipe -mfpmath=sse -rdynamic -g -Wall -Werror -DSQLITE_DB -DMYSQL_DB -DHAVE_ERRNO_AS_DEFINE=1 - DUNIV_LINUX -Iinclude -I/usr/include -I/usr/include/mysql - I/usr/include/libxml2 src/template/template_parser.c cc1: warnings being treated as errors template_parser.c: In function 'template_lex': template_parser.l:89: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result scons: *** [src/template/template_parser.o] Error 1 scons: building terminated because of errors. If I remove the -O2 it builds fine, and I will just do that and move forward for now, but opennebula should probably not fail to build with -O2 Thank You -- George L. Emigh ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Dr. Ruben Santiago Montero Associate Professor (Profesor Titular), Complutense University of Madrid URL: http://dsa-research.org/doku.php?id=people:ruben Weblog: http://blog.dsa-research.org/?author=7 -- George L. Emigh ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org