From owner-freebsd-ports@FreeBSD.ORG Fri Dec 25 23:29:42 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F54D106566C for ; Fri, 25 Dec 2009 23:29:42 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id AFC7F8FC14 for ; Fri, 25 Dec 2009 23:29:41 +0000 (UTC) Received: by fxm27 with SMTP id 27so9017497fxm.3 for ; Fri, 25 Dec 2009 15:29:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=RzOmE/sGAN6jdE39pcu/hIeJiszJ89R2XmYHVUiFQuI=; b=BuuEhz8rMnWvGqg3ciZh9IwVy0pmuIanq5oD4PzlKEFzhQBSuxi4IV8XHHqm81l7jy 7QbQY6N1va0xKeuXVm8SkXOUI/buAjWnQ6eNxedjB+cHjlhuFjxbWvyDOnJn83Bf+dEe ssxPkAJHDMnohx16NkIL74T1vZnCgsnLuZotE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sew4gOR76mRbx/zZB6VdF8GdKwSK8hiizn7va6ikaW9gpScglA9XSzKAtgpkg52hQ4 ej6jf+loPI2pIoKJ4PX5MwDniyCCCldJFkMq3QKubvMxMI+7lP7Vf1xwHjNC1uU3CVgi T2oIMBUocSD7ORoNuM+UVbwFPcewnDRan4fHU= MIME-Version: 1.0 Received: by 10.223.98.19 with SMTP id o19mr6443774fan.82.1261783780308; Fri, 25 Dec 2009 15:29:40 -0800 (PST) Date: Fri, 25 Dec 2009 18:29:40 -0500 Message-ID: <4ad871310912251529s647cd812t46d98ef1d1a17e56@mail.gmail.com> From: Glen Barber To: ports@freebsd.org, luigi@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: multimedia/linux-gspca-kmod fails to build on 8.X X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 23:29:42 -0000 Hi I'm trying to build multimedia/linux-gspca-kmod on my laptop for my integrated SuYin camera (build errors below). The devel/linux-kmod-compat port which is a dependency of this port builds correctly. /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h includes usb_port.h, which does not exist on 8.X. To rule out the obvious, I pulled down usb_port.h from 7-STABLE and created a symlink in /usr/include, which failed to no surprise. In my searches prior to this attempt at hackery, I've found hints to try ports such as graphics/vid (and a few others, whose names elude me at the moment), however these ports are marked BROKEN for OSVERSION >=800064. I have tried to track what this port needs from usb_port.h to modify ldev_stub.h, but have had no luck thus far. I assume this is related to the new USB stack in 8.X - please correct me if this assumption is incorrect. Should linux-kmod-compat and multimedia/linux-gspca-kmod be marked BROKEN on 8.X? (If I've missed something obvious, I apologize in advance.) Regards, -- build errors -- ===> Building for linux-gspca-kmod-1.0.20_1 @ -> /usr/src/sys machine -> /usr/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h :> opt_usb.h rm -f .depend mkdep -f .depend -a -nostdinc -DUSB_DEBUG -DGSPCA_ENABLE_DEBUG -DGSPCA_ENABLE_COMPRESSION -DCONFIG_USB_GSPCA_MODULE=1 -DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\"01.00.20\" -D__KERNEL__ -DDRIVER_NAME=gspca -DDEV_NAME=\"video\" -D_KERNEL -DKLD_MODULE -ISunplus -ISunplus-jpeg -ISonix -IConexant -IVimicro -Idecoder -I/usr/local/share/linux-kmod-compat/linux_compat -I. -I@ -I@/contrib/altq gspca_core.c /usr/ports/multimedia/linux-gspca-kmod/work/gspcav1-20071220/decoder/gspcadecoder.c /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c In file included from /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:44: /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:22: error: usb_port.h: No such file or directory In file included from /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c:44: /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:22: error: usb_port.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/ports/multimedia/linux-gspca-kmod/work/gspcav1-20071220. *** Error code 1 Stop in /usr/ports/multimedia/linux-gspca-kmod. -- Glen Barber