Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154555 - Mark stable media-video/qc-usb-0.6.6 to support recent kernels.
Summary: Mark stable media-video/qc-usb-0.6.6 to support recent kernels.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL: http://sourceforge.net/project/showfi...
Whiteboard:
Keywords:
: 155175 156982 (view as bug list)
Depends on:
Blocks: kernel-2.6.19
  Show dependency tree
 
Reported: 2006-11-09 04:47 UTC by Davide Cendron (RETIRED)
Modified: 2007-01-03 10:12 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qc-usb-0.6.6.ebuild (qc-usb-0.6.6.ebuild,912 bytes, text/plain)
2006-12-10 00:24 UTC, Samuli Suominen (RETIRED)
Details
qc-usb-0.6.6-koutput.patch (qc-usb-0.6.6-koutput.patch,3.10 KB, patch)
2006-12-10 00:24 UTC, Samuli Suominen (RETIRED)
Details | Diff
emerge log for qc-usb-0.6.6 (qc-usb-err.txt,12.92 KB, text/plain)
2006-12-23 10:06 UTC, Andrej Kacian (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Cendron (RETIRED) gentoo-dev 2006-11-09 04:47:04 UTC
Hi, i've seen that has been released the 0.6.5 version of Quickcam Express Driver.

It addresses the compilation failing against gentoo-sources-2.6.17-r8

I've copied the 0.6.4 ebuild, renaming it to 0.6.5, and i've removed all the "epatch" commands.

It compiles and runs fine on my AMD64 stable.

I haven't tested it on 2.6.16 kernel sources (but they're still ~arch)
Comment 1 Davide Cendron (RETIRED) gentoo-dev 2006-11-09 04:49:26 UTC
(In reply to comment #0)
> 
> I haven't tested it on 2.6.16 kernel sources (but they're still ~arch)
> 

Oooppssss, s/2.6.16/2.6.18/   :P

Comment 2 Davide Cendron (RETIRED) gentoo-dev 2006-11-09 04:58:46 UTC
Damn, 0.6.5 isn't the latest release, there's the new 0.6.6, but the release notes says:

"Changes: Removed the dependency on <linux/config.h>, which was breaking builds for Fedora Core 6."

I think that this doesn't change anything against Gentoo.
Comment 3 Jorge Vargas 2006-11-17 19:09:55 UTC
(In reply to comment #0)
> Hi, i've seen that has been released the 0.6.5 version of Quickcam Express
> Driver.
> 
> It addresses the compilation failing against gentoo-sources-2.6.17-r8
> 
> I've copied the 0.6.4 ebuild, renaming it to 0.6.5, and i've removed all the
> "epatch" commands.
> 
works for me on x86 agains the same gentoo-sources
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2006-12-03 00:33:34 UTC
Kernel 2.6.19 is out and so is qc-usb-0.6.6
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2006-12-03 00:37:48 UTC
*** Bug 155175 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-12-03 06:59:11 UTC
*** Bug 156982 has been marked as a duplicate of this bug. ***
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2006-12-10 00:24:22 UTC
Created attachment 103726 [details]
qc-usb-0.6.6.ebuild

- Remove COPYING to avoid duplicating of LICENSE.
- Add block for qc-usb-messenger to avoid quickcam.ko file collision.
- Backported koutput patch.
- 2.6.18 patches are not needed anymore.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2006-12-10 00:24:57 UTC
Created attachment 103727 [details, diff]
qc-usb-0.6.6-koutput.patch

Patch for ebuild above.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2006-12-10 00:31:09 UTC
[10:30] <@zzam> drac: perhaps a DEPEND=virtual/linux-sources also would not hurt
[10:30] < drac> zzam: yeah
Comment 10 Neil Stone 2006-12-12 14:45:02 UTC
Works on mine with the new .ebuild and .patch file..

kernel: 2.6.19-gentoo-r1
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2006-12-13 13:28:15 UTC
thanks, committed
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2006-12-19 15:21:27 UTC
Reopening as the fix is not in the stable tree
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2006-12-20 07:03:11 UTC
There has been very little changes in UPSTREAM from version 0.6.3 to 0.6.6; I'd say only changes are support for recent kernels after diffing them.

I suggest we don't waste time messing with old versions but instead stabilize 0.6.6 asap and clean old versions.

CCing arch teams.
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2006-12-20 07:04:03 UTC
There has been very little changes in UPSTREAM from version 0.6.3 to 0.6.6; I'd say only changes are support for recent kernels after diffing them.

I suggest we don't waste time messing with old versions but instead stabilize 0.6.6 asap and clean old versions.

Assigning to x86@ because it's only arch that had stable version of this.
Comment 15 Daniel Drake (RETIRED) gentoo-dev 2006-12-20 08:19:07 UTC
ACK
Comment 16 Markus Meier gentoo-dev 2006-12-20 14:12:37 UTC
media-video/qc-usb-0.6.6
1. emerges on x86, please note:
QA Notice: pre-stripped files found:
/var/tmp/portage/qc-usb-0.6.6/image/usr/bin/qcset
2. passes collision test
no hardware to test

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18.4 i686)
=================================================================
System uname: 2.6.18.4 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Last Sync: Wed, 20 Dec 2006 18:30:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LINGUAS="en de en_GB de_CH"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdeenablefinal kernel_linux ldap libg++ linguas_de linguas_de_CH linguas_en linguas_en_GB mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp ruby samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd test tetex theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis win32codecs wxwindows x264 xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 17 Andrej Kacian (RETIRED) gentoo-dev 2006-12-23 10:06:33 UTC
Created attachment 104645 [details]
emerge log for qc-usb-0.6.6

qc-usb-0.6.6 fails on my laptop. From some errors I saw I guess v4l needs to be enabled in kernel, but ebuild doesn't check for such option.

See attached log.

root@hiker ~ # emerge --info
Portage 2.1.2_rc3-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.17-suspend2-r6 i686)
=================================================================
System uname: 2.6.17-suspend2-r6 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 18 Dec 2006 16:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/gentoo/distfiles"
FEATURES="autoconfig ccache collision-protect confcache distlocks metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://ftp.easynet.nl/mirror/gentoo"
LANG="en_US.UTF-8"
LC_ALL="sk_SK.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/gentoo/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/gentoo/portage"
PORTDIR_OVERLAY="/usr/gentoo/overlay"
SYNC="rsync://gentoo.ynet.sk/gentoo-portage"
USE="x86 X aac aalib acpi alsa bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt curl dbus dillo dlloader dri dvd dvdr eds elibc_glibc emboss encode esd expat fam firefox flac gdbm gif gnome gpm gstreamer gtk hal iconv imap input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jpeg kernel_linux libg++ lm_sensors mmx moznocompose moznoirc moznomail mp3 mpeg mplayer ncurses nls nptl nptlonly nspl ogg opengl oss pam pcre perl pmu png ppds pppd python qt3 qt4 quicktime readline real reflection rtc sdl session spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fglrx video_cards_radeon vorbis win32codecs wma xinerama xml xorg xscreensaver xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 18 Andrej Kacian (RETIRED) gentoo-dev 2006-12-23 10:15:43 UTC
(In reply to comment #17)
> Created an attachment (id=104645) [edit]
> emerge log for qc-usb-0.6.6
> 
> qc-usb-0.6.6 fails on my laptop. From some errors I saw I guess v4l needs to be
> enabled in kernel, but ebuild doesn't check for such option.
> 

Correction: v4l _is_ enabled here, but only version 2:
root@hiker /usr/src/linux # grep V4L .config
# CONFIG_VIDEO_V4L1 is not set
# CONFIG_VIDEO_V4L1_COMPAT is not set
CONFIG_VIDEO_V4L2=y
# V4L USB devices
root@hiker /usr/src/linux # 

Comment 19 Samuli Suominen (RETIRED) gentoo-dev 2006-12-23 10:58:53 UTC
Yes, sorry I forgot to add VIDEO_V4L1_COMPAT to CONFIG_CHECK. It should be,

CONFIG_CHECK="USB VIDEO_DEV VIDEO_V4L1_COMPAT"

Exacty like it is in media-video/qc-usb-messenger-1.5.ebuild.
Comment 20 Samuli Suominen (RETIRED) gentoo-dev 2006-12-25 01:35:22 UTC
> (In reply to comment #17)
> > Created an attachment (id=104645) [edit]
> > qc-usb-0.6.6 fails on my laptop. From some errors I saw I guess v4l needs to be
> > enabled in kernel, but ebuild doesn't check for such option.

It does now thanks to genstef.
Comment 21 Dennis Nezic 2006-12-28 17:44:14 UTC
I get an "Access Violation", and although it compiles fine, it doesn't install into my system. Any ideas?

>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-media-video_-_qc-usb-0.6.6-9471.log"

open_wr:   /usr/src/linux-2.6.19.1/astest9554.out
unlink:    /usr/src/linux-2.6.19.1/astest9554.out
open_wr:   /usr/src/linux-2.6.19.1/astest9558.out
unlink:    /usr/src/linux-2.6.19.1/astest9558.out
open_wr:   /usr/src/linux-2.6.19.1/astest9562.out
unlink:    /usr/src/linux-2.6.19.1/astest9562.out
open_wr:   /usr/src/linux-2.6.19.1/astest9566.out
unlink:    /usr/src/linux-2.6.19.1/astest9566.out
----
Comment 22 Dennis Nezic 2006-12-28 18:30:51 UTC
Hrm. The sandbox violation appears to be an issue with my vanilla kernel sources, as described in bug# 149307
Comment 23 Samuli Suominen (RETIRED) gentoo-dev 2006-12-29 07:59:28 UTC
(In reply to comment #22)
> Hrm. The sandbox violation appears to be an issue with my vanilla kernel
> sources, as described in bug# 149307
> 

That is true, problem is with 2.6.19 and minors. I tested with 2.6.20-rc2 and problem is fixed by upstream.
Comment 24 Daniel Drake (RETIRED) gentoo-dev 2006-12-30 17:25:43 UTC
bump
I don't see anything else stopping this going stable?
Comment 25 Andrej Kacian (RETIRED) gentoo-dev 2006-12-30 18:30:17 UTC
Looks like no testers on this bug have necessary hardware to test - that's why I'm reluctant to mark stable.
Comment 26 Daniel Drake (RETIRED) gentoo-dev 2007-01-02 15:03:36 UTC
the very small change delta makes this pretty safe
Comment 27 Andrej Kacian (RETIRED) gentoo-dev 2007-01-02 17:14:14 UTC
Marked stable on x86.

You'll probably want to send this bug to amd64@, as original request was to stabilize on amd64, and I can't see it mentioned anywhere.
Comment 28 Daniel Drake (RETIRED) gentoo-dev 2007-01-02 20:46:11 UTC
amd64 does not have this ebuild in the stable tree. thanks.
Comment 29 Samuli Suominen (RETIRED) gentoo-dev 2007-01-03 10:12:31 UTC
(In reply to comment #28)
> amd64 does not have this ebuild in the stable tree. thanks.
> 

that's why I assigned it only to x86..

mind cleaning 0.6.3 and 0.6.4 w/ patches from tree? seems useless to keep them around now.

and thanks :)