Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97829 - pcmcia-cs compilation fails with linux-2.6.13_rc{1,2}
Summary: pcmcia-cs compilation fails with linux-2.6.13_rc{1,2}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: Bug
: 98464 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-03 09:12 UTC by Jonathan Smith (RETIRED)
Modified: 2005-07-13 02:39 UTC (History)
4 users (show)

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


Attachments
pcmcia-cs_emerge.log (pcmcia-cs_emerge.log,19.06 KB, text/plain)
2005-07-03 09:19 UTC, Jonathan Smith (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Smith (RETIRED) gentoo-dev 2005-07-03 09:12:49 UTC
when the kernel symlink points to linux-2.6.12, all works as expected, but when it is changed to 13-rc1, i get many errors and the install fails

also note that user cflags are not respected with this package. the makefile puts -O3 _after_ user flags, ensuring that no matter what -Ox setting users use, it is ignored. as i told brix, i'm not sure if this is desired or not, but i might as well report it
Comment 1 Henrik Brix Andersen 2005-07-03 09:14:34 UTC
Confirmed.
Comment 2 Jonathan Smith (RETIRED) gentoo-dev 2005-07-03 09:19:34 UTC
Created attachment 62549 [details]
pcmcia-cs_emerge.log

Portage 2.0.51.22-r1 (default-linux/x86, gcc-3.4.4, glibc-2.3.5-r0, 2.6.13-rc1
i686)
=================================================================
System uname: 2.6.13-rc1 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs digest distlocks sandbox sfperms
sign 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.us.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi aim alsa apache2 avi bash-completion bitmap-fonts cdr
crypt cups dba divx4linux dvd encode esd flac fluxbox font-server ftp gd
gd-external gif gtk gtk2 icq idea imap imlib java jikes jpeg mad mmx mmx2
mozilla mp3 mpeg ncurses nptl nptlonly offensive ogg oggvorbis opengl pam
pcmcia php pic png posix python samba sdl spell sse sse2 ssl tcltk tcpd tiff
truetype truetype-fonts type1-fonts udev unicode usb vim vorbis xmms xprint xv
xvid userland_GNU kernel_linux elibc_glibc"
Unset:	ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
PORTDIR_OVERLAY


smithy@elana ~ $ emerge -pv vanilla-sources

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-kernel/vanilla-sources-2.6.13_rc1  -build -doc -symlink 0
kB 

Total size of downloads: 0 kB

smithy@elana ~ $ emerge -pv pcmcia-cs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/pcmcia-cs-3.2.8-r2  +X +gtk +gtk2 -trusted -vanilla
-xforms 0 kB 

Total size of downloads: 0 kB
Comment 3 Stephen Amar 2005-07-04 07:01:55 UTC
Same problem with mm-sources 2.6.12

Comment 4 Jonathan Smith (RETIRED) gentoo-dev 2005-07-08 21:53:49 UTC
ok, i tried with the new 2.6.13_rc2, and this time i get a _different_ problem

/usr/src/linux/include/asm does not exist!
    To fix, do 'ln -s asm-i386 asm' in /usr/src/linux/include.

Configuration failed.


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

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-sys-apps_-_pcmcia-cs-3.2.8-r2-19903.log"

symlink:   /usr/src/linux-2.6.13-rc2/include/asm
--------------------------------------------------------------------------------


when i go into /usr/src/linux/include and create the symlink myself, emerge
gives me the same error as with 13-rc1
Comment 5 Henrik Brix Andersen 2005-07-09 02:07:36 UTC
That's because you didn't configure and compile your kernel first.
Comment 6 Jonathan Smith (RETIRED) gentoo-dev 2005-07-09 07:24:44 UTC
(In reply to comment #5)
> That's because you didn't configure and compile your kernel first.

right you are... it would be nice if the ebuild told me that too, but that is an
entirely seperate and mostly irrelevent issue
Comment 7 Henrik Brix Andersen 2005-07-09 07:27:56 UTC
I have located the cause of the compilation error and contacted upstream for a
solution...
Comment 8 Henrik Brix Andersen 2005-07-09 10:50:13 UTC
*** Bug 98464 has been marked as a duplicate of this bug. ***
Comment 9 Henrik Brix Andersen 2005-07-13 02:39:55 UTC
Fixed in linux-2.6.13-rc3, thanks to Dominik Brodowski.