cheese-camera-device-monitor.c:90:1: warning: type specifier missing

AN andy at neu.net
Wed Jan 30 03:22:12 UTC 2013


FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #32 r246075: Tue Jan 29 
13:46:25 EST 2013     root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64

Rebuilding cheese after libffi update fails with:

gmake[3]: Entering directory 
`/usr/ports/multimedia/cheese/work/cheese-2.32.0/libcheese'
   CC     libcheese_gtk_la-cheese-avatar-chooser.lo
   CC     libcheese_gtk_la-um-crop-area.lo
   CC     libcheese_gtk_la-cheese-widget.lo
   CC     cheese-gconf.lo
   CC     cheese-fileutil.lo
   CC     cheese-camera.lo
   CC     cheese-camera-device.lo
   CC     cheese-camera-device-monitor.lo
cheese-camera-device-monitor.c:90:1: warning: type specifier missing, 
defaults to 'int' [-Wimplicit-int]
cheese_camera_device_monitor_handle_udi (CheeseCameraDeviceMonitor 
*monitor,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cheese-camera-device-monitor.c:109:5: error: non-void function 
'cheese_camera_device_monitor_handle_udi' should
       return a value [-Wreturn-type]
     return;
     ^
cheese-camera-device-monitor.c:125:5: error: non-void function 
'cheese_camera_device_monitor_handle_udi' should
       return a value [-Wreturn-type]
     return;
     ^
cheese-camera-device-monitor.c:135:5: error: non-void function 
'cheese_camera_device_monitor_handle_udi' should
       return a value [-Wreturn-type]
     return;
     ^
1 warning and 3 errors generated.
gmake[3]: *** [cheese-camera-device-monitor.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/multimedia/cheese/work/cheese-2.32.0/libcheese'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/multimedia/cheese/work/cheese-2.32.0/libcheese'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/cheese/work/cheese-2.32.0'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/multimedia/cheese.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20130129-19534-nvcgli-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=cheese-2.32.0_3 UPGRADE_PORT_VER=2.32.0_3 make
** Fix the problem and try again.
--->  Build of multimedia/cheese ended at: Tue, 29 Jan 2013 22:17:21 -0500 
(consumed 00:00:13)
--->  Reinstallation of multimedia/cheese ended at: Tue, 29 Jan 2013 
22:17:21 -0500 (consumed 00:00:13)
--->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
 	! multimedia/cheese (cheese-2.32.0_3)	(unknown build error)




More information about the freebsd-ports mailing list