Bug 463096 - qc-usb-kmod fails to compile with kernel 2.6.26.3-29.fc9.x86_64
qc-usb-kmod fails to compile with kernel 2.6.26.3-29.fc9.x86_64
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: kernel-utils (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jarod Wilson
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-21 11:45 EDT by Andy Bailey
Modified: 2008-09-22 10:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-22 10:22:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andy Bailey 2008-09-21 11:45:14 EDT
(I couldnt find the Component for kernel-modules/modules/qc-usb so I am submitting it here, I know its not the right place, apologies in advance)

Description of problem:

Checking kmods exist for 2.6.26.3-29.fc9.x86_64            [WARNING]
Building and installing qc-usb-kmod                        [FAILED]
Building rpms failed; see /var/cache/akmods/qc-usb/0.6.6-31-for-2.6.26.3-29.fc9.x86_64.failed.log for details

-----------------

# cat /var/cache/akmods/qc-usb/0.6.6-31-for-2.6.26.3-29.fc9.x86_64.failed.log 
21 Sep 10:39:29 akmods: Building RPM using the command '/usr/bin/akmodsbuild --target x86_64 --kernels 2.6.26.3-29.fc9.x86_64 /usr/src/akmods/qc-usb-kmod.latest'
mkdir -p /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.tmp_versions ; rm -f /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64
  gcc -Wp,-MD,/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.qc-driver.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os   -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args  -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign   -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-driver.o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-driver.c
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-driver.c: In function 'qc_i2c_init':
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-driver.c:827: warning: assignment from incompatible pointer type
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-driver.c: In function 'qc_isoc_start':
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-driver.c:1869: warning: assignment from incompatible pointer type
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-driver.c: At top level:
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-driver.c:3000: warning: initialization from incompatible pointer type
  gcc -Wp,-MD,/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.qc-hdcs.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os   -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args  -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign   -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_hdcs)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-hdcs.o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-hdcs.c
  gcc -Wp,-MD,/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.qc-pb0100.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os   -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args  -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign   -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_pb0100)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-pb0100.o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-pb0100.c
  gcc -Wp,-MD,/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.qc-vv6410.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os   -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args  -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign   -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_vv6410)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-vv6410.o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-vv6410.c
  gcc -Wp,-MD,/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.qc-formats.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os   -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args  -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign   -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_formats)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-formats.o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-formats.c
  gcc -Wp,-MD,/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.qc-mjpeg.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os   -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args  -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign   -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_mjpeg)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-mjpeg.o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-mjpeg.c
  gcc -Wp,-MD,/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/.qc-memory.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.3.0/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os   -fno-stack-protector -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args  -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign   -DNOKERNEL -DHAVE_UTSRELEASE_H=1  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_memory)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-memory.o /tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-memory.c
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-memory.c: In function 'qc_mm_rvmalloc':
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-memory.c:207: error: implicit declaration of function 'mem_map_reserve'
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-memory.c: In function 'qc_mm_rvfree':
/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-memory.c:225: error: implicit declaration of function 'mem_map_unreserve'
make[2]: *** [/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64/qc-memory.o] Error 1
make[1]: *** [_module_/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.26.3-29.fc9.x86_64'
make: *** [quickcam.ko] Error 2
make: Leaving directory `/tmp/akmodsbuild.0a4cyLVY/BUILD/qc-usb-kmod-0.6.6/_kmod_build_2.6.26.3-29.fc9.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.55410 (%build)




Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.yum update kernel*
2.yum install akmod-qc-usb
3.reboot



Additional info:

According to 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491754


[the problem ]

Which is triggered by the following upstream commit:

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6a1e7f777f613bf0df99c7772fa2123d01ce2f7d
Commit:     6a1e7f777f613bf0df99c7772fa2123d01ce2f7d
Parent:     f94a62e910840b3552c7adb7c57e0f8b3b345f6e
Author:     Christoph Lameter <clameter@sgi.com>
AuthorDate: Mon Apr 28 02:12:50 2008 -0700
Committer:  Linus Torvalds <torvalds@linux-foundation.org>
CommitDate: Mon Apr 28 08:58:22 2008 -0700

    pageflags: convert to the use of new macros
    
    Replace explicit definitions of page flags through the use of macros.
    Significantly reduces the size of the definitions and removes a lot of
    opportunity for errors.  Additonal page flags can typically be generated with
    a single line.
    
    Signed-off-by: Christoph Lameter <clameter@sgi.com>
    Cc: Andy Whitcroft <apw@shadowen.org>
    Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Mel Gorman <mel@csn.ul.ie>
    Cc: Jeremy Fitzhardinge <jeremy@goop.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Comment 1 Jarod Wilson 2008-09-22 10:22:49 EDT
This is neither the right component, nor the right bugzilla. qc-usb-kmod isn't a Fedora package, there are no Fedora kmod packages. I'd suggest filing a bug with the repository providing the package (appears to be a package from the livna repository).

Note You need to log in before you can comment on or make changes to this bug.