Discussion:
C Programmers help please
Lance Haig
2012-01-09 13:09:02 UTC
Permalink
Hi All,

I am trying to build packages on OBS for some of the new OS's as I need
them for a vm I want to build with the admin ui installed.

Unfortunately the build fails as per the attached file.

This happens for a few OS's.

Thanks

Lance
Lance Haig
2012-01-09 13:15:51 UTC
Permalink
Attached is the spec file for your reference.

Thanks

Lance
Post by Lance Haig
Hi All,
I am trying to build packages on OBS for some of the new OS's as I
need them for a vm I want to build with the admin ui installed.
Unfortunately the build fails as per the attached file.
This happens for a few OS's.
Thanks
Lance
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
Lance Haig
2012-01-11 11:50:15 UTC
Permalink
Thanks Jens,

I was hoping Alex or Pat could take a look at it when they have a chance.

My C Skill is worse that my spelling :-)

Lance
Hello,
/usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/CMakeFiles 14
[ 12%] Building C object src/libs/connio/CMakeFiles/bongoconnio.dir/connio.c.o
cd /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio&& /usr/bin/gcc -Dbongoconnio_EXPORTS -fstack-protector-all -Wall -Wextra -Werror -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE -g -fPIC -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/include -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/import/log4c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.4 -o CMakeFiles/bongoconnio.dir/connio.c.o -c /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:75:9: error: 'gnutls_set_default_export_priority' is deprecated (declared at /usr/include/gnutls/compat.h:324) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:87:9: error: 'gnutls_certificate_type_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:288) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:136:5: error: 'gnutls_rsa_params_init' is deprecated (declared at /usr/include/gnutls/compat.h:294) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:152:9: error: 'gnutls_rsa_params_import_pkcs1' is deprecated (declared at /usr/include/gnutls/compat.h:316) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:155:9: error: 'gnutls_rsa_params_generate2' is deprecated (declared at /usr/include/gnutls/compat.h:305) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:204:5: error: 'gnutls_certificate_set_rsa_export_params' is deprecated (declared at /usr/include/gnutls/compat.h:327) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:578:5: error: 'gnutls_rsa_params_deinit' is deprecated (declared at /usr/include/gnutls/compat.h:295) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
I think this "all warnings being treated as errors" was added by alex to make sure that important warnings do not get ignored.
the following page has more information:http://www.gnu.org/software/gnutls/manual/html_node/Compatibility-API.html
Sadly my knowledge about all this encryption stuff is close to zero, so I am no real help here...
Jens
Post by Lance Haig
I am trying to build packages on OBS for some of the new OS's as I
need them for a vm I want to build with the admin ui installed.
Unfortunately the build fails as per the attached file.
This happens for a few OS's.
Thanks
Lance
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
Mario Fetka
2013-11-22 13:26:14 UTC
Permalink
the following patch corrects this
Post by Lance Haig
Thanks Jens,
I was hoping Alex or Pat could take a look at it when they have a chance.
My C Skill is worse that my spelling :-)
Lance
Hello,
/usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/CMakeFiles 14
[ 12%] Building C object src/libs/connio/CMakeFiles/bongoconnio.dir/connio.c.o
cd /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio && /usr/bin/gcc -Dbongoconnio_EXPORTS -fstack-protector-all -Wall -Wextra -Werror -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE -g -fPIC -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/include -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/import/log4c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.4 -o CMakeFiles/bongoconnio.dir/connio.c.o -c /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:75:9: error: 'gnutls_set_default_export_priority' is deprecated (declared at /usr/include/gnutls/compat.h:324) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:87:9: error: 'gnutls_certificate_type_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:288) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:136:5: error: 'gnutls_rsa_params_init' is deprecated (declared at /usr/include/gnutls/compat.h:294) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:152:9: error: 'gnutls_rsa_params_import_pkcs1' is deprecated (declared at /usr/include/gnutls/compat.h:316) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:155:9: error: 'gnutls_rsa_params_generate2' is deprecated (declared at /usr/include/gnutls/compat.h:305) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:204:5: error: 'gnutls_certificate_set_rsa_export_params' is deprecated (declared at /usr/include/gnutls/compat.h:327) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:578:5: error: 'gnutls_rsa_params_deinit' is deprecated (declared at /usr/include/gnutls/compat.h:295) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
I think this "all warnings being treated as errors" was added by alex to make sure that important warnings do not get ignored.
the following page has more information: http://www.gnu.org/software/gnutls/manual/html_node/Compatibility-API.html
Sadly my knowledge about all this encryption stuff is close to zero, so I am no real help here...
Jens
I am trying to build packages on OBS for some of the new OS's as I need
them for a vm I want to build with the admin ui installed.
Unfortunately the build fails as per the attached file.
This happens for a few OS's.
Thanks
Lance
_______________________________________________
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
Lance Haig
2013-11-22 15:08:19 UTC
Permalink
Hi Mario,

Thanks for this.

I will try it in the build service and see how it goes.


Thanks again.

Lance
Post by Mario Fetka
the following patch corrects this
Thanks Jens,
I was hoping Alex or Pat could take a look at it when they have a chance.
My C Skill is worse that my spelling :-)
Lance
Hello,
/usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/CMakeFiles 14
[ 12%] Building C object src/libs/connio/CMakeFiles/bongoconnio.dir/connio.c.o
cd /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio && /usr/bin/gcc -Dbongoconnio_EXPORTS -fstack-protector-all -Wall -Wextra -Werror -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE -g -fPIC -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/include -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/import/log4c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.4 -o CMakeFiles/bongoconnio.dir/connio.c.o -c /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:75:9: error: 'gnutls_set_default_export_priority' is deprecated (declared at /usr/include/gnutls/compat.h:324) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:87:9: error: 'gnutls_certificate_type_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:288) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:136:5: error: 'gnutls_rsa_params_init' is deprecated (declared at /usr/include/gnutls/compat.h:294) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:152:9: error: 'gnutls_rsa_params_import_pkcs1' is deprecated (declared at /usr/include/gnutls/compat.h:316) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:155:9: error: 'gnutls_rsa_params_generate2' is deprecated (declared at /usr/include/gnutls/compat.h:305) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:204:5: error: 'gnutls_certificate_set_rsa_export_params' is deprecated (declared at /usr/include/gnutls/compat.h:327) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:578:5: error: 'gnutls_rsa_params_deinit' is deprecated (declared at /usr/include/gnutls/compat.h:295) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
I think this "all warnings being treated as errors" was added by alex to make sure that important warnings do not get ignored.
the following page has more information:http://www.gnu.org/software/gnutls/manual/html_node/Compatibility-API.html
Sadly my knowledge about all this encryption stuff is close to zero, so I am no real help here...
Jens
Post by Lance Haig
I am trying to build packages on OBS for some of the new OS's as
I need them for a vm I want to build with the admin ui installed.
Unfortunately the build fails as per the attached file.
This happens for a few OS's.
Thanks
Lance
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
--
Lance Haig

0799078000
Cape Town
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mario Fetka
2013-11-22 18:26:23 UTC
Permalink
its also working without the patch by disabling strict compile
-DSTRICTCOMPILE=Off

the patch only wors on the latest gnutls2 but not with guntls3
Post by Lance Haig
Hi Mario,
Thanks for this.
I will try it in the build service and see how it goes.
Thanks again.
Lance
the following patch corrects this
Post by Lance Haig
Thanks Jens,
I was hoping Alex or Pat could take a look at it when they have a chance.
My C Skill is worse that my spelling :-)
Lance
Hello,
/usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/CMakeFiles 14
[ 12%] Building C object src/libs/connio/CMakeFiles/bongoconnio.dir/connio.c.o
cd /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio && /usr/bin/gcc -Dbongoconnio_EXPORTS -fstack-protector-all -Wall -Wextra -Werror -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE -g -fPIC -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/include -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/import/log4c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.4 -o CMakeFiles/bongoconnio.dir/connio.c.o -c /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:75:9: error: 'gnutls_set_default_export_priority' is deprecated (declared at /usr/include/gnutls/compat.h:324) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:87:9: error: 'gnutls_certificate_type_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:288) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:136:5: error: 'gnutls_rsa_params_init' is deprecated (declared at /usr/include/gnutls/compat.h:294) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:152:9: error: 'gnutls_rsa_params_import_pkcs1' is deprecated (declared at /usr/include/gnutls/compat.h:316) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:155:9: error: 'gnutls_rsa_params_generate2' is deprecated (declared at /usr/include/gnutls/compat.h:305) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:204:5: error: 'gnutls_certificate_set_rsa_export_params' is deprecated (declared at /usr/include/gnutls/compat.h:327) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:578:5: error: 'gnutls_rsa_params_deinit' is deprecated (declared at /usr/include/gnutls/compat.h:295) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
I think this "all warnings being treated as errors" was added by alex to make sure that important warnings do not get ignored.
the following page has more information: http://www.gnu.org/software/gnutls/manual/html_node/Compatibility-API.html
Sadly my knowledge about all this encryption stuff is close to zero, so I am no real help here...
Jens
I am trying to build packages on OBS for some of the new OS's as I need
them for a vm I want to build with the admin ui installed.
Unfortunately the build fails as per the attached file.
This happens for a few OS's.
Thanks
Lance
_______________________________________________
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
_______________________________________________
--
Lance Haig
0799078000
Cape Town
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
Mario Fetka
2013-11-23 16:40:51 UTC
Permalink
my actual work can be found here in my gentoo bongo overlay.
http://git.disconnected-by-peer.at/dbp/bongo/

also including arm build fix (could also work on other archs)
Post by Mario Fetka
its also working without the patch by disabling strict compile
-DSTRICTCOMPILE=Off
the patch only wors on the latest gnutls2 but not with guntls3
Post by Lance Haig
Hi Mario,
Thanks for this.
I will try it in the build service and see how it goes.
Thanks again.
Lance
the following patch corrects this
Post by Lance Haig
Thanks Jens,
I was hoping Alex or Pat could take a look at it when they have a chance.
My C Skill is worse that my spelling :-)
Lance
Hello,
/usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/CMakeFiles 14
[ 12%] Building C object src/libs/connio/CMakeFiles/bongoconnio.dir/connio.c.o
cd /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio && /usr/bin/gcc -Dbongoconnio_EXPORTS -fstack-protector-all -Wall -Wextra -Werror -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE -g -fPIC -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/include -I/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/import/log4c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gmime-2.4 -o CMakeFiles/bongoconnio.dir/connio.c.o -c /home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:75:9: error: 'gnutls_set_default_export_priority' is deprecated (declared at /usr/include/gnutls/compat.h:324) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:87:9: error: 'gnutls_certificate_type_set_priority' is deprecated (declared at /usr/include/gnutls/compat.h:288) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:136:5: error: 'gnutls_rsa_params_init' is deprecated (declared at /usr/include/gnutls/compat.h:294) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:152:9: error: 'gnutls_rsa_params_import_pkcs1' is deprecated (declared at /usr/include/gnutls/compat.h:316) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:155:9: error: 'gnutls_rsa_params_generate2' is deprecated (declared at /usr/include/gnutls/compat.h:305) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:204:5: error: 'gnutls_certificate_set_rsa_export_params' is deprecated (declared at /usr/include/gnutls/compat.h:327) [-Werror=deprecated-declarations]
/home/abuild/rpmbuild/BUILD/bongo-unstable-1356/src/libs/connio/connio.c:578:5: error: 'gnutls_rsa_params_deinit' is deprecated (declared at /usr/include/gnutls/compat.h:295) [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
I think this "all warnings being treated as errors" was added by alex to make sure that important warnings do not get ignored.
the following page has more information: http://www.gnu.org/software/gnutls/manual/html_node/Compatibility-API.html
Sadly my knowledge about all this encryption stuff is close to zero, so I am no real help here...
Jens
I am trying to build packages on OBS for some of the new OS's as I
need them for a vm I want to build with the admin ui installed.
Unfortunately the build fails as per the attached file.
This happens for a few OS's.
Thanks
Lance
_______________________________________________
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
_______________________________________________
--
Lance Haig
0799078000
Cape Town
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
_______________________________________________
Bongo-devel mailing list
https://mail.gna.org/listinfo/bongo-devel
Loading...