Description of problem: This was seen when trying to build unicap on fedora ia64. Below warnings were seen when compiling libunicapgtk-scanner: libunicapgtk-scan.c: In function 'get_object_types': libunicapgtk-scan.c:18: warning: implicit declaration of function 'unicapgtk_video_display_get_type' libunicapgtk-scan.c:19: warning: implicit declaration of function 'unicapgtk_device_property_get_type' libunicapgtk-scan.c:20: warning: implicit declaration of function 'unicapgtk_property_dialog_get_type' libunicapgtk-scan.c:21: warning: implicit declaration of function 'unicapgtk_device_selection_get_type' libunicapgtk-scan.c:22: warning: implicit declaration of function 'unicapgtk_video_format_selection_get_type' Then libunicapgtk-scan failed with segfault when use unicapgtk_video_display_get_type. Full build log can be found at http://ia64.koji.fedoraproject.org/koji/getfile?taskID=69228&name=build.log. The functions were declared and defined under <top_src>/libunicapgtk/, including <top_src>/libunicapgtk/unicapgtk.h could fix the build issue. Patch attached. Version-Release number of selected component (if applicable): unicap-0.2.19-3.fc9 How reproducible: always Steps to Reproduce: 1. build unicap-0.2.19-3.fc9 under fedora ia64 2. 3. Actual results: Expected results: Additional info:
Created attachment 305083 [details] fix libunicapgtk-scan issue
(How) Can I cause scratch builds for IA64 on koji?
This can be done by: koji -c ~/.koji/ia64-config build --scratch dist-f9 <srpm> I did a build to test my patch yesterday, it worked. http://ia64.koji.fedoraproject.org/koji/taskinfo?taskID=70982
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Thank you for pointing out this issue and thanks for the patch. I updated CVS to latest unicap, tested patch there with a scratch build and notified upstream to include this patch for the next release. Grab 0.2.22-1 from CVS and rebuild on IA64 now, will succeed.