Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110929 - pcmcia-cs - cardbus build fails, config doesn't check for PCI support
Summary: pcmcia-cs - cardbus build fails, config doesn't check for PCI support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
: 111020 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-30 12:45 UTC by Alex Cannon
Modified: 2005-11-15 04:51 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 Alex Cannon 2005-10-30 12:45:45 UTC
This is my first bug report.  On my old laptop that doesn't have PCI support, I
don't have PCI support in the kernel.  When I emerge pcmcia-cs, it tries to build
cardbus support and there is no way to keep it from building with cardbus, it
fails because there is no PCI support in the kernel.  Should there be a cardbus
USE flag? Or should it check for PCI support? Thanks - Off to download the
pcmcia-cs package manually.

Reproducible: Always
Steps to Reproduce:
1.Emerge pcmcia-cs without PCI souuprt in your kernel
2.
3.

Actual Results:  
The Build fails with an error

Expected Results:  
The software should have checked for PCI support in the kernel and disabled the
cardbus option if there wasn't.
Comment 1 Henrik Brix Andersen 2005-10-30 14:06:18 UTC
Please attach the output of `emerge --info` and `emerge sys-apps/pcmcia-cs`
along with your kernel .config file to this bug report and reopen.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-31 07:20:15 UTC
*** Bug 111020 has been marked as a duplicate of this bug. ***
Comment 3 Alex Cannon 2005-11-08 20:20:29 UTC
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.13-gentoo-r5 i586)
=================================================================
System uname: 2.6.13-gentoo-r5 i586 Pentium MMX
Gentoo Base System version 1.6.13
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-Os -mcpu=i586"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=i586"DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk1 imlib ipv6 javascript jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses ogg oggvorbis opengl pam pcmcia pdflib perl png python quicktime readline sdl spell ssl symlink tcpd truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

The kernel source tree is version 2.6.13-gentoo-r5.
The current kernel build date is Mon Oct 31 01:03:27 Local time zone must be set--see zic manu.
  WARNING: the source tree has a build date of Mon Nov 7 19:58:51 2005.
date: invalid date `Mon Oct 31 01:03:27 Local time zone must be set--see zic manu'
/var/tmp/portage/pcmcia-cs-3.2.8-r2/work/pcmcia-cs-3.2.8/Configure: line 338: [: 1131415131: unary operator expected

Build 'trusting' versions of card utilities (y/n) [n]
Include 32-bit (CardBus) card support (y/n) [y]
Include PnP BIOS resource checking (y/n) [y]
Module install directory [/lib/modules/2.6.13-gentoo-r5]

Kernel configuration options:
    Kernel-tree PCMCIA support is enabled.
    Symmetric multiprocessing support is disabled.
    Preemptive kernel support is disabled.
    Realtime Hardware Abstraction Layer is disabled.
    High memory support is disabled.
    Timer frequency (HZ) for the kernel is 250.
    PCI BIOS support is disabled.
    Power management (APM) support is enabled.    SCSI support is enabled.
    IEEE 1394 (FireWire) support is disabled.
    Networking support is enabled.
     Radio network interface support is enabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
     Frame Diverter is disabled.
    Module version checking is disabled.
    Kernel debugging support is disabled.
    /proc filesystem support is enabled.
    PAE support is disabled.
Cardbus support requires kernel PCI bus support!
    To fix, re-run 'make config' and disable Cardbus support.

Configuration failed.


!!! ERROR: sys-apps/pcmcia-cs-3.2.8-r2 failed.
!!! Function pcmcia_cs_configure, Line 61, Exitcode 1
!!! Configure failed
!!! If you need support, post the topmost build error, NOT this status messa



My KERNEL CONFIG? IT's too big to paste here..., all it is is no pci support, that's it.
Comment 4 Alex Cannon 2005-11-08 20:22:56 UTC
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.13-gentoo-r5 i586)
=================================================================
System uname: 2.6.13-gentoo-r5 i586 Pentium MMX
Gentoo Base System version 1.6.13
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-Os -mcpu=i586"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=i586"DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk1 imlib ipv6 javascript jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses ogg oggvorbis opengl pam pcmcia pdflib perl png python quicktime readline sdl spell ssl symlink tcpd truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

The kernel source tree is version 2.6.13-gentoo-r5.
The current kernel build date is Mon Oct 31 01:03:27 Local time zone must be set--see zic manu.
  WARNING: the source tree has a build date of Mon Nov 7 19:58:51 2005.
date: invalid date `Mon Oct 31 01:03:27 Local time zone must be set--see zic manu'
/var/tmp/portage/pcmcia-cs-3.2.8-r2/work/pcmcia-cs-3.2.8/Configure: line 338: [: 1131415131: unary operator expected

Build 'trusting' versions of card utilities (y/n) [n]
Include 32-bit (CardBus) card support (y/n) [y]
Include PnP BIOS resource checking (y/n) [y]
Module install directory [/lib/modules/2.6.13-gentoo-r5]

Kernel configuration options:
    Kernel-tree PCMCIA support is enabled.
    Symmetric multiprocessing support is disabled.
    Preemptive kernel support is disabled.
    Realtime Hardware Abstraction Layer is disabled.
    High memory support is disabled.
    Timer frequency (HZ) for the kernel is 250.
    PCI BIOS support is disabled.
    Power management (APM) support is enabled.    SCSI support is enabled.
    IEEE 1394 (FireWire) support is disabled.
    Networking support is enabled.
     Radio network interface support is enabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
     Frame Diverter is disabled.
    Module version checking is disabled.
    Kernel debugging support is disabled.
    /proc filesystem support is enabled.
    PAE support is disabled.
Cardbus support requires kernel PCI bus support!
    To fix, re-run 'make config' and disable Cardbus support.

Configuration failed.


!!! ERROR: sys-apps/pcmcia-cs-3.2.8-r2 failed.
!!! Function pcmcia_cs_configure, Line 61, Exitcode 1
!!! Configure failed
!!! If you need support, post the topmost build error, NOT this status messa



My KERNEL CONFIG? IT's too big to paste here..., all it is is no pci support, that's it.
Comment 5 Alex Cannon 2005-11-08 20:24:52 UTC
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.13-gentoo-r5 i586)
=================================================================
System uname: 2.6.13-gentoo-r5 i586 Pentium MMX
Gentoo Base System version 1.6.13
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-Os -mcpu=i586"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=i586"DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk1 imlib ipv6 javascript jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses ogg oggvorbis opengl pam pcmcia pdflib perl png python quicktime readline sdl spell ssl symlink tcpd truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

The kernel source tree is version 2.6.13-gentoo-r5.
The current kernel build date is Mon Oct 31 01:03:27 Local time zone must be set--see zic manu.
  WARNING: the source tree has a build date of Mon Nov 7 19:58:51 2005.
date: invalid date `Mon Oct 31 01:03:27 Local time zone must be set--see zic manu'
/var/tmp/portage/pcmcia-cs-3.2.8-r2/work/pcmcia-cs-3.2.8/Configure: line 338: [: 1131415131: unary operator expected

Build 'trusting' versions of card utilities (y/n) [n]
Include 32-bit (CardBus) card support (y/n) [y]
Include PnP BIOS resource checking (y/n) [y]
Module install directory [/lib/modules/2.6.13-gentoo-r5]

Kernel configuration options:
    Kernel-tree PCMCIA support is enabled.
    Symmetric multiprocessing support is disabled.
    Preemptive kernel support is disabled.
    Realtime Hardware Abstraction Layer is disabled.
    High memory support is disabled.
    Timer frequency (HZ) for the kernel is 250.
    PCI BIOS support is disabled.
    Power management (APM) support is enabled.    SCSI support is enabled.
    IEEE 1394 (FireWire) support is disabled.
    Networking support is enabled.
     Radio network interface support is enabled.
     Token Ring device support is disabled.
     Fast switching is disabled.
     Frame Diverter is disabled.
    Module version checking is disabled.
    Kernel debugging support is disabled.
    /proc filesystem support is enabled.
    PAE support is disabled.
Cardbus support requires kernel PCI bus support!
    To fix, re-run 'make config' and disable Cardbus support.

Configuration failed.


!!! ERROR: sys-apps/pcmcia-cs-3.2.8-r2 failed.
!!! Function pcmcia_cs_configure, Line 61, Exitcode 1
!!! Configure failed
!!! If you need support, post the topmost build error, NOT this status messa



My KERNEL CONFIG? IT's too big to paste here..., all it is is no pci support, that's it.
Comment 6 Henrik Brix Andersen 2005-11-15 04:51:56 UTC
Fixed in sys-apps/pcmcia-cs-3.2.8-r2. Thank you for reporting this.