Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167782 - media-video/spca5xx-20060501-r2 fails to build on amd64
Summary: media-video/spca5xx-20060501-r2 fails to build on amd64
Status: RESOLVED DUPLICATE of bug 159176
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-20 19:47 UTC by Radek Podgorny
Modified: 2007-02-20 20:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radek Podgorny 2007-02-20 19:47:30 UTC
The arch has to be converted to x86_64 (it's how the kernel calls it) from amd64...



>>> Emerging (1 of 1) media-video/spca5xx-20060501-r2 to /
 * spca5xx-20060501.tar.gz MD5 ;-) ...                                        [ ok ]
 * spca5xx-20060501.tar.gz RMD160 ;-) ...                                     [ ok ]
 * spca5xx-20060501.tar.gz SHA1 ;-) ...                                       [ ok ]
 * spca5xx-20060501.tar.gz SHA256 ;-) ...                                     [ ok ]
 * spca5xx-20060501.tar.gz size ;-) ...                                       [ ok ]
 * checking ebuild checksums ;-) ...                                          [ ok ]
 * checking auxfile checksums ;-) ...                                         [ ok ]
 * checking miscfile checksums ;-) ...                                        [ ok ]
 * checking spca5xx-20060501.tar.gz ;-) ...                                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.20/build
 * Found sources for kernel version:
 *     2.6.20
 * Checking for suitable kernel configuration options...                      [ ok ]
>>> Unpacking source...
>>> Unpacking spca5xx-20060501.tar.gz to /var/tmp/portage/media-video/spca5xx-20060501-r2/work
tar: spca5xx-20060501/drivers: implausibly old time stamp 1970-01-01 01:00:00
 * Converting spca5xx-20060501/Makefile to use M= instead of SUBDIRS= ...     [ ok ]
 * Applying spca-20060501-defines.patch ...                                   [ ok ]
 * Applying spca-20060501-2.6.18.patch ...                                    [ ok ]
 * Applying spca-20060501-LogitechQC92f.patch ...                             [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501 ...
 * Preparing spca5xx module
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
make -C /usr/src/linux M=/var/tmp/portage/media-video/spca5xx-20060501-r2/work/spca5xx-20060501 CC=x86_64-pc-linux-gnu-gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.20'
Makefile:491: /usr/src/linux-2.6.20/arch/amd64/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.20/arch/amd64/Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make: *** [default] Error 2

!!! ERROR: media-video/spca5xx-20060501-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4041:   Called src_compile
  ebuild.sh, line 1304:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  KERNELDIR=/usr/src/linux default.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/spca5xx-20060501-r2/temp/build.log'.


emerge --info:

Portage 2.1.2-r10 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20 x86_64)
=================================================================
System uname: 2.6.20 x86_64 Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Tue, 20 Feb 2007 12:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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="-march=nocona -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf8"
LINGUAS="en en_US cs cs_CZ"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri fortran gdbm gpm iconv ipv6 isdnlog libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US cs cs_CZ" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CBUILD, CHOST, CTARGET, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Radek Podgorny 2007-02-20 19:59:58 UTC
The same for gspcav1:

>>> Emerging (1 of 1) media-video/gspcav1-20070110 to /
>>> Downloading 'http://distfiles.gentoo.org/distfiles/gspcav1-20070110.tar.gz'
--20:58:51--  http://distfiles.gentoo.org/distfiles/gspcav1-20070110.tar.gz
           => `/usr/portage/distfiles/gspcav1-20070110.tar.gz'
Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 159,466 (156K) [application/x-gzip]

100%[========================================>] 159,466      142.07K/s             

20:58:52 (141.69 KB/s) - `/usr/portage/distfiles/gspcav1-20070110.tar.gz' saved [159466/159466]

 * checking ebuild checksums ;-) ...                                          [ ok ]
 * checking auxfile checksums ;-) ...                                         [ ok ]
 * checking miscfile checksums ;-) ...                                        [ ok ]
 * checking gspcav1-20070110.tar.gz ;-) ...                                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.20/build
 * Found sources for kernel version:
 *     2.6.20
 * Checking for suitable kernel configuration options...                      [ ok ]
>>> Unpacking source...
>>> Unpacking gspcav1-20070110.tar.gz to /var/tmp/portage/media-video/gspcav1-20070110/work
 * Converting gspcav1-20070110/Makefile to use M= instead of SUBDIRS= ...     [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-video/gspcav1-20070110/work/gspcav1-20070110 ...
 * Preparing gspca module
make -C /usr/src/linux M=/var/tmp/portage/media-video/gspcav1-20070110/work/gspcav1-20070110 CC=x86_64-pc-linux-gnu-gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.20'
Makefile:491: /usr/src/linux-2.6.20/arch/amd64/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.20/arch/amd64/Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.20'
make: *** [default] Error 2

!!! ERROR: media-video/gspcav1-20070110 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4031:   Called src_compile
  ebuild.sh, line 1304:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  KERNELDIR=/usr/src/linux default.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/gspcav1-20070110/temp/build.log'.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-20 20:01:30 UTC
Use media-video/gspcav1 instead, spca5xx is dead.

*** This bug has been marked as a duplicate of bug 159176 ***