multimedia/webcamd ; port test
[email protected] Tue, 09 Mar 2010 23:39:32 +0200
| Newsgroups | gmane.os.freebsd.devel.quality-assurance |
|---|---|
| Message-ID | <op.u9bk361fmhpy7y@vova-vaio> |
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 PREF= IX and PKG_DBDIR variables. 'port test' command is recommended by the Porter's H= andbook. Note that the port installs the usual way. $ cd multimedia/webcamd ; port test +++++++++++++++ =3D=3D=3D> Validating port with portlint WARN: Makefile: only one MASTER_SITE configured. Consider adding additio= nal mirrors. WARN: Makefile: "LIB_DEPENDS" has to appear earlier. 0 fatal errors and 2 warnings found. =3D=3D=3D> flags: PREFIX=3D/home/chu/tmp/webcamd-0.1.4 NO_DEPENDS=3Dyes P= KG_DBDIR=3D/tmp/pkg_db.kHvsJcnx -- =3D=3D=3D> Cleaning workspace before port test =3D=3D=3D> Cleaning for webcamd-0.1.4 =3D=3D=3D> Extracting for webcamd-0.1.4 =3D> MD5 Checksum OK for webcamd-0.1.4.tar.bz2. =3D> SHA256 Checksum OK for webcamd-0.1.4.tar.bz2. =3D=3D=3D> Patching for webcamd-0.1.4 cd /usr/ports/multimedia/webcamd/work/webcamd-0.1.4/patches; /bin/sh ./do= _patch.sh =3D=3D=3D> Configuring for webcamd-0.1.4 =3D=3D=3D> 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=3Dnative -fno-strict-aliasing -march=3Dnative -I/usr/= ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/drivers/media/v= ideo/gspca -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/lin= ux/include -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/lin= ux -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.4 -I/usr/ports/multim= edia/webcamd/work/webcamd-0.1.4/dummy -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_W= EBCAMD -include webcamd_global.h -O2 -Wall -Wno-pointer-sign -fvisibility= =3Dhidden -std=3Dgnu99 -fstack-protector -c /usr/ports/multimedia/webcam= d/work/webcamd-0.1.4/kernel/linux_start_section.c .... cc -O2 -pipe -march=3Dnative -fno-strict-aliasing -march=3Dnative -I/usr/= ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/drivers/media/v= ideo/gspca -I/us r/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/include -I/us= r/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_glob= al.h -O2 -Wa ll -Wno-pointer-sign -fvisibility=3Dhidden -std=3Dgnu99 -fstack-protector= -c /usr/ports/multimedia/webcamd/work/webcamd-0.1.4/kernel/linux_end_se= ction.c cc -O2 -pipe -march=3Dnative -fno-strict-aliasing -march=3Dnative -I/usr/= ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/drivers/media/v= ideo/gspca -I/us r/ports/multimedia/webcamd/work/webcamd-0.1.4/v4l-dvb/linux/include -I/us= r/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_glob= al.h -O2 -Wa ll -Wno-pointer-sign -fvisibility=3Dhidden -std=3Dgnu99 -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 funct= ion) 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 fun= ction) 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 th= is function) webcamd.c:216: error: 'V4B_CMD_OPEN' undeclared (first use in this functi= on) webcamd.c:227: error: 'V4B_IOCTL_SYNC_COMMAND' undeclared (first use in t= his function) webcamd.c:231: error: 'V4B_CMD_CLOSE' undeclared (first use in this funct= ion) webcamd.c:241: error: 'V4B_CMD_READ' undeclared (first use in this functi= on) webcamd.c:249: error: 'V4B_CMD_WRITE' undeclared (first use in this funct= ion) webcamd.c:257: error: 'V4B_CMD_IOCTL' undeclared (first use in this funct= ion) webcamd.c:269: error: 'V4B_CMD_MMAP' undeclared (first use in this functi= on) 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 thi= s 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 thi= s 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 t= his 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 th= is 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 th= is 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 thi= s function) *** Error code 1 Stop in /usr/ports/multimedia/webcamd/work/webcamd-0.1.4. *** Error code 1 Stop in /usr/ports/multimedia/webcamd. =3D=3D=3D> Error running make build =3D=3D=3D> Cleaning up _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-qa To unsubscribe, send any mail to "[email protected]"