Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2013 09:16:39 GMT
From:      Martin Etteldorf <etteldor@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175399: ports: multimedia/webcamd: media_tree/drivers/media/v4l2-core/videobuf2-core.c:1780: error: 'O_CLOEXEC' undeclared
Message-ID:  <201301180916.r0I9GdqI076473@red.freebsd.org>
Resent-Message-ID: <201301180920.r0I9K0tV092671@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175399
>Category:       ports
>Synopsis:       ports: multimedia/webcamd: media_tree/drivers/media/v4l2-core/videobuf2-core.c:1780: error: 'O_CLOEXEC' undeclared
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 18 09:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Martin Etteldorf
>Release:        8.2-RELEASE (amd64)
>Organization:
>Environment:
FreeBSD kadath 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sat Sep 17 08:10:32 MEST 2011     etteldor@kadath:/usr/src/sys/amd64/compile/KADATH  amd64
>Description:
Ports tree and all installed ports are up-to-date:

webcamd 3.9.0.1 fails to compile due to an undeclared 'O_CLOEXEC' (which is, as far as I know, a linuxism):

cc -pipe -g  -D_GNU_SOURCE -DCURR_FILE_NAME=\"dvb_ca_en50221\" -DBITS_PER_LONG=64 -DLINUX -Wall -Wno-pointer-sign -Wno-unused-variable -I/usr/ports/multimedia/webcamd/work/webcamd-3.9.0.1 -I/usr/ports/multimedia/webcamd/work/webcamd-3.9.0.1/dummy -I/usr/ports/multimedia/webcamd/work/webcamd-3.9.0.1/headers -Imedia_tree/drivers/media/common/tuners -Imedia_tree/drivers/media/dvb/dvb-core -Imedia_tree/drivers/media/dvb/dvb-usb -Imedia_tree/drivers/media/dvb/frontends -Imedia_tree/drivers/media/dvb/ttpci -Imedia_tree/drivers/media/video/gspca -Imedia_tree/drivers/media/video/hdpvr -Imedia_tree/drivers/media/dvb-core -Imedia_tree/drivers/media/dvb-usb -Imedia_tree/drivers/media/dvb-frontends -Imedia_tree/drivers/media/tuners -Imedia_tree/drivers/media/pci/ttpci -Imedia_tree/drivers/media/common/siano -Imedia_tree/drivers/media/common/b2c2 -Imedia_tree/drivers/media/usb/gspca -Imedia_tree/drivers/media/usb/dvb-usb -Imedia_tree/include -Imedia_tree/include/uapi -I/usr/local -I/usr/local/inc
 lude -include webcamd_global.h -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include   -DHAVE_HAL -DCONFIG_DVB_USB_DEBUG -DHAVE_DEBUG -g -std=gnu99 -fstack-protector  -c media_tree/drivers/media/dvb-core/dvb_ca_en50221.c
media_tree/drivers/media/v4l2-core/videobuf2-core.c: In function 'vb2_expbuf':
media_tree/drivers/media/v4l2-core/videobuf2-core.c:1780: error: 'O_CLOEXEC' undeclared (first use in this function)
media_tree/drivers/media/v4l2-core/videobuf2-core.c:1780: error: (Each undeclared identifier is reported only once
media_tree/drivers/media/v4l2-core/videobuf2-core.c:1780: error: for each function it appears in.)
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/multimedia/webcamd.
*** Error code 1

Stop in /usr/ports/multimedia/webcamd.

>How-To-Repeat:
Update ports tree, try to install multimedia/webcamd from the ports.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301180916.r0I9GdqI076473>