Date: Tue, 09 Mar 2010 23:39:32 +0200 From: chukharev@mail.ru To: "freebsd-qa@freebsd.org" <freebsd-qa@freebsd.org> Subject: multimedia/webcamd ; port test Message-ID: <op.u9bk361fmhpy7y@vova-vaio>
next in thread | raw e-mail | index | archive | help
The 'port test' command (ports-mgmt/porttools) tests a port for a number of possible errors by running portlint, building, packaging, installing, and de-installing with a check for left files. This is done with defined PREFIX and PKG_DBDIR variables. 'port test' command is recommended by the Porter's Handbook. Note that the port installs the usual way. $ cd multimedia/webcamd ; port test +++++++++++++++ ===> Validating port with portlint WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors. WARN: Makefile: "LIB_DEPENDS" has to appear earlier. 0 fatal errors and 2 warnings found. ===> flags: PREFIX=/home/chu/tmp/webcamd-0.1.4 NO_DEPENDS=yes PKG_DBDIR=/tmp/pkg_db.kHvsJcnx -- ===> Cleaning workspace before port test ===> Cleaning for webcamd-0.1.4 ===> Extracting for webcamd-0.1.4 => MD5 Checksum OK for webcamd-0.1.4.tar.bz2. => SHA256 Checksum OK for webcamd-0.1.4.tar.bz2. ===> Patching for webcamd-0.1.4 cd /usr/ports/multimedia/webcamd/work/webcamd-0.1.4/patches; /bin/sh ./do_patch.sh ===> Configuring for webcamd-0.1.4 ===> Building for webcamd-0.1.4 Warning: Object directory not changed from original /usr/ports/multimedia/webcamd/work/webcamd-0.1.4 cc -O2 -pipe -march=native -fno-strict-aliasing -march=native -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/drivers/media/video/gspca -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/include -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4 -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/dummy -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_WEBCAMD -include webcamd_global.h -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -std=gnu99 -fstack-protector -c /usr/ports/multimedia/webcamd/work/webcamd-0.1.4/kernel/linux_start_section.c .... cc -O2 -pipe -march=native -fno-strict-aliasing -march=native -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/drivers/media/video/gspca -I/us r/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/include -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux -I/usr/ports/multimedia/w ebcamd/work/webcamd-0.1.4 -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/dummy -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_WEBCAMD -include webcamd_global.h -O2 -Wa ll -Wno-pointer-sign -fvisibility=hidden -std=gnu99 -fstack-protector -c /usr/ports/multimedia/webcamd/work/webcamd-0.1.4/kernel/linux_end_section.c cc -O2 -pipe -march=native -fno-strict-aliasing -march=native -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/drivers/media/video/gspca -I/us r/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/include -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux -I/usr/ports/multimedia/w ebcamd/work/webcamd-0.1.4 -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/dummy -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_WEBCAMD -include webcamd_global.h -O2 -Wa ll -Wno-pointer-sign -fvisibility=hidden -std=gnu99 -fstack-protector -c webcamd.c webcamd.c:37:23: error: video4bsd.h: No such file or directory webcamd.c:55: error: 'V4B_ALLOC_UNIT_MAX' undeclared here (not in a function) webcamd.c: In function 'main': webcamd.c:126: error: storage size of 'cmd' isn't known webcamd.c:176: error: 'V4B_DEVICES_MAX' undeclared (first use in this function) webcamd.c:176: error: (Each undeclared identifier is reported only once webcamd.c:176: error: for each function it appears in.) webcamd.c:207: error: 'V4B_IOCTL_GET_COMMAND' undeclared (first use in this function) webcamd.c:216: error: 'V4B_CMD_OPEN' undeclared (first use in this function) webcamd.c:227: error: 'V4B_IOCTL_SYNC_COMMAND' undeclared (first use in this function) webcamd.c:231: error: 'V4B_CMD_CLOSE' undeclared (first use in this function) webcamd.c:241: error: 'V4B_CMD_READ' undeclared (first use in this function) webcamd.c:249: error: 'V4B_CMD_WRITE' undeclared (first use in this function) webcamd.c:257: error: 'V4B_CMD_IOCTL' undeclared (first use in this function) webcamd.c:269: error: 'V4B_CMD_MMAP' undeclared (first use in this function) webcamd.c:126: warning: unused variable 'cmd' webcamd.c: In function 'copy_to_user': webcamd.c:304: error: variable 'cmd' has initializer but incomplete type webcamd.c:305: error: unknown field 'client_ptr' specified in initializer webcamd.c:305: warning: excess elements in struct initializer webcamd.c:305: warning: (near initialization for 'cmd') webcamd.c:306: error: unknown field 'peer_ptr' specified in initializer webcamd.c:306: warning: excess elements in struct initializer webcamd.c:306: warning: (near initialization for 'cmd') webcamd.c:307: error: unknown field 'length' specified in initializer webcamd.c:307: warning: excess elements in struct initializer webcamd.c:307: warning: (near initialization for 'cmd') webcamd.c:304: error: storage size of 'cmd' isn't known webcamd.c:311: error: 'V4B_IOCTL_WRITE_DATA' undeclared (first use in this function) webcamd.c:304: warning: unused variable 'cmd' webcamd.c: In function 'copy_from_user': webcamd.c:320: error: variable 'cmd' has initializer but incomplete type webcamd.c:321: error: unknown field 'client_ptr' specified in initializer webcamd.c:321: warning: excess elements in struct initializer webcamd.c:321: warning: (near initialization for 'cmd') webcamd.c:322: error: unknown field 'peer_ptr' specified in initializer webcamd.c:322: warning: excess elements in struct initializer webcamd.c:322: warning: (near initialization for 'cmd') webcamd.c:323: error: unknown field 'length' specified in initializer webcamd.c:323: warning: excess elements in struct initializer webcamd.c:323: warning: (near initialization for 'cmd') webcamd.c:320: error: storage size of 'cmd' isn't known webcamd.c:327: error: 'V4B_IOCTL_READ_DATA' undeclared (first use in this function) webcamd.c:320: warning: unused variable 'cmd' webcamd.c: In function 'set_mmap': webcamd.c:375: error: variable 'cmd' has initializer but incomplete type webcamd.c:375: warning: excess elements in struct initializer webcamd.c:375: warning: (near initialization for 'cmd') webcamd.c:375: warning: excess elements in struct initializer webcamd.c:375: warning: (near initialization for 'cmd') webcamd.c:375: error: storage size of 'cmd' isn't known webcamd.c:394: error: 'V4B_IOCTL_MAP_MEMORY' undeclared (first use in this function) webcamd.c:375: warning: unused variable 'cmd' webcamd.c: In function 'malloc_vm': webcamd.c:408: error: variable 'cmd' has initializer but incomplete type webcamd.c:408: warning: excess elements in struct initializer webcamd.c:408: warning: (near initialization for 'cmd') webcamd.c:408: warning: excess elements in struct initializer webcamd.c:408: warning: (near initialization for 'cmd') webcamd.c:408: error: storage size of 'cmd' isn't known webcamd.c:433: error: 'V4B_IOCTL_ALLOC_MEMORY' undeclared (first use in this function) webcamd.c:447: error: 'V4B_ALLOC_PAGES_MAX' undeclared (first use in this function) webcamd.c:451: error: 'V4B_IOCTL_FREE_MEMORY' undeclared (first use in this function) webcamd.c:408: warning: unused variable 'cmd' webcamd.c: In function 'free_vm': webcamd.c:471: error: variable 'cmd' has initializer but incomplete type webcamd.c:471: warning: excess elements in struct initializer webcamd.c:471: warning: (near initialization for 'cmd') webcamd.c:471: warning: excess elements in struct initializer webcamd.c:471: warning: (near initialization for 'cmd') webcamd.c:471: error: storage size of 'cmd' isn't known webcamd.c:488: error: 'V4B_IOCTL_FREE_MEMORY' undeclared (first use in this function) webcamd.c:471: warning: unused variable 'cmd' webcamd.c: In function 'check_signal': webcamd.c:511: error: 'V4B_IOCTL_GET_SIGNAL' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/multimedia/webcamd/work/webcamd-0.1.4. *** Error code 1 Stop in /usr/ports/multimedia/webcamd. ===> Error running make build ===> Cleaning up
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u9bk361fmhpy7y>