Create a .bep file for Haikuporter to build latest version of gloox Haiku
Status: Closed Time to complete: 72 hrs Mentors: Barrett, Scott McCreary, Richie Nyhus Tags: C, C++

This task requires creating a .bep file to allow Haikuporter to build from source code the listed package.  You will need a working installation of Haiku, this could be on real hardware or in a VM, and haikuporter which can be installed by following the install instructions at HaikuPorts

Some knowledge of C, C++ may or may not be required in order to complete this task.  Knowledge of the GNU autotools and/or cmake may also be helpful.  The package may or may not require some patching to get it to work on Haiku.  For these cases don't be afraid to ask for help.  Many compile issues can be figured out by reading through the various wiki pages at HaikuPorts.  Also google (or other web search engine) may be of help in finding solutions to build issues that you may run into, irc channel #haiku on freenode might also be of help.  Be sure to follow the correct format for creating your .bep file, including the license and copyright entries.

Previous work on gloox and be found here:

http://ports.haiku-files.org/ticket/341

Uploaded Work
File name/URL File size Date submitted
gloox-1.0.tar.gz 1.2 KB December 27 2012 22:16 UTC
gloox-1.0.bep 700 bytes December 30 2012 20:45 UTC
Comments
skycocker on December 27 2012 20:02 UTC Task Claimed

I would like to work on this task.

Richie Nyhus on December 27 2012 22:13 UTC Task Assigned

This task has been assigned to skycocker. You have 72 hours to complete this task, good luck!

skycocker on December 27 2012 22:16 UTC Ready for review

The work on this task is ready to be reviewed.

Jérôme Duval on December 28 2012 12:09 UTC logs

Could you please add the build log for both gcc2 and gcc4? Thanks

Jérôme Duval on December 28 2012 12:09 UTC Task Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

skycocker on December 29 2012 11:44 UTC Re: logs

Here's the log for build with gcc2: http://pastebin.com/zQMNfmRS


Gcc4 out: http://pastebin.com/ELzRzTTG


And gcc4 warnings out: http://pastebin.com/PXXkNaW3

skycocker on December 29 2012 11:44 UTC Ready for review

The work on this task is ready to be reviewed.

Scott McCreary on December 30 2012 03:18 UTC gcc2 build

See if you can find a fix for these two error on the gcc2 build:


cc1plus: Invalid option `-Wfloat-equal'


cc1plus: Invalid option `-Wmissing-format-attribute'


 

Scott McCreary on December 30 2012 03:18 UTC Task Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

Scott McCreary on December 30 2012 03:18 UTC Deadline extended

The deadline of the task has been extended with 2 days and 0 hours.

skycocker on December 30 2012 03:30 UTC Re: gcc2 build

Ok, I'm on it now.

skycocker on December 30 2012 03:45 UTC gcc2 follow up

I fixed those errors using sed, but now I'm getting this: 


/boot/develop/abi/x86/gcc2/tools/gcc-2.95.3-haiku-121101/lib/gcc-lib/i586-pc-haiku/2.95.3-haiku-121101/../../../../include/g++/std/bastring.h:421:                 int basic_string<char,string_char_traits<char>,__malloc_alloc_template<0> >::compare(const char *, long unsigned int = 0) const


make[3]: *** [parser.lo] Error 1


Looks like gcc4 is actually needed.

skycocker on December 30 2012 03:54 UTC Ready for review

The work on this task is ready to be reviewed.

Scott McCreary on December 30 2012 16:15 UTC gcc4 terminal output

can you show the gcc4 terminal output when you run


haikuporter -c -d gloox


?


It should build into a zip and put files in their proper places, including doc files (if any), which should go in B_COMMON_DOCUMENTATION_DIRECTORY


Also check to see if there is any test suite, these can usually be run using make test, or make check, and if so then create a TEST section in the bep.


 


 

Scott McCreary on December 30 2012 16:15 UTC Task Needs More Work

One of the mentors has sent this task back for more work. Talk to the mentor(s) assigned to this task to satisfy the requirements needed to complete this task, submit your work again and mark the task as complete once you re-submit your work.

skycocker on December 30 2012 20:43 UTC Re: gcc4 terminal output

Ok, here's the warnings out as before: http://pastebin.com/dJGLSWHq


And the proper haikuporter out: http://pastebin.com/h0pE9GkM


I wouldn't give you a broken bep marked as stable. Now I'll prepare test section and upload updated bep.

skycocker on December 30 2012 20:45 UTC Ready for review

The work on this task is ready to be reviewed.

Scott McCreary on December 30 2012 21:29 UTC Task Closed

Congratulations, this task has been completed successfully.