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
Confirmed.
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
Same problem with mm-sources 2.6.12
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
That's because you didn't configure and compile your kernel first.
(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
I have located the cause of the compilation error and contacted upstream for a solution...
*** Bug 98464 has been marked as a duplicate of this bug. ***
Fixed in linux-2.6.13-rc3, thanks to Dominik Brodowski.