Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131618 - mm-sources-2.6.17_rc2-r1 fails installing
Summary: mm-sources-2.6.17_rc2-r1 fails installing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-28 15:13 UTC by Henrique Ferreiro
Modified: 2006-05-03 05:25 UTC (History)
1 user (show)

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 Henrique Ferreiro 2006-04-28 15:13:03 UTC
>>> Unpacking linux-2.6.16.tar.bz2 to /var/tmp/portage/mm-sources-2.6.17_rc2-r1/work
 * Applying patch-2.6.17-rc2.patch (-p0+) ...                             [ ok ] * Applying 2.6.17-rc2-mm1.patch (-p0+) ...                               [ ok ]*
* Restart config...
*
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[2]: *** [silentoldconfig] Erro 1
make[1]: *** [silentoldconfig] Erro 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.

emerge --info:

Portage 2.1_pre9-r4 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.17-rc1-mm2 i686)
=================================================================
System uname: 2.6.17-rc1-mm2 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.0_pre18
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r3
sys-apps/sandbox:    1.2.17
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.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache collision-protect confcache digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="gl_ES.UTF-8"
LC_ALL="C"
LINGUAS="gl es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage /usr/portage/local/layman/initng /usr/portage/local/layman/java-experimental /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/ecatmur /usr/portage/local/layman/ebuild-exchange"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa bash-completion bzip2 dbus dri dvd eds esd exif fbcon firefox gnome gpm gtk gtk2 hal jpeg libnotify mad mmx mmxext ncurses nls nptl ogg png readline sse sse2 ssl truetype udev unicode vorbis xml xml2 zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_gl linguas_es userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Comment 1 Zentoo 2006-05-02 05:45:45 UTC
Same problem on my ~amd64 box:

Following an "emerge -av mm-sources"

................................................................................
 * Applying patch-2.6.17-rc2.patch (-p0+) ...                                                                                                   [ ok ]
 * Applying 2.6.17-rc2-mm1.patch (-p0+) ...                                                                                                     [ ok ]
*
* Restart config...
*
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.

!!! ERROR: sys-kernel/mm-sources-2.6.17_rc2-r1 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_unpack
  ebuild.sh, line 700:   Called src_unpack
  ebuild.sh, line 1237:   Called kernel-2_src_unpack
  kernel-2.eclass, line 1025:   Called unpack_2_6
  kernel-2.eclass, line 368:   Called die

!!! make include/linux/version.h failed
!!! If you need support, post the topmost build error, and the call stack if relevant
................................................................................

My "emerge --info":

................................................................................
Portage 2.1_pre10-r2 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.17-rc1-mm2 x86_64)
=================================================================
System uname: 2.6.17-rc1-mm2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.17
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.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -msse -mfpmath=sse -msse2 -march=k8 -mtune=k8 -minline-all-stringops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /gentoo/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/X11/xdm /usr/share/X11/xkb /usr/share/config /usr/share/cursors/xorg-x11/default /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -msse -mfpmath=sse -msse2 -march=k8 -mtune=k8 -minline-all-stringops"
DISTDIR="/gentoo/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/gentoo/packages"
PORTAGE_TMPDIR="/gentoo/tmp"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY="/gentoo/overlay /gentoo/overlay-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa avi bitmap-fonts caps ccache cdparanoia clamav cli crypt cups curlwrappers dbus dga dio dri dvd dvdread eds emboss encode evo fbcon fftw foomaticdb ftp gif gnome gpm gstreamer gtk gtk2 icq imap imlib isdnlog jabber javascript jce jpeg jpeg2k lm_sensors lzw lzw-tiff maildir mailwrapper mbox memlimit mime mp3 mpeg msn ncurses nls nocd nptl nptlonly nvidia offensive opengl pam pcre pdf pdflib png posix pppd quicktime readline reflection sasl session sharedmem sndfile sockets socks5 spl sse3 ssl szip tcpd tiff truetype-fonts type1-fonts unicode usb userlocales utf8 videos xorg xpm xv yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_-acecad input_devices_-aiptek input_devices_-calcomp input_devices_-citron input_devices_-digitaledge input_devices_-dmc input_devices_-dynapro input_devices_-elo2300 input_devices_-elographics input_devices_-evdev input_devices_-fpit input_devices_-hyperpen input_devices_-jamstudio input_devices_-joystick input_devices_-magellan input_devices_-magictouch input_devices_-microtouch input_devices_-mutouch input_devices_-palmax input_devices_-penmount input_devices_-spaceorb input_devices_-summa input_devices_-synaptics input_devices_-tek4957 input_devices_-ur98 input_devices_-vmmouse input_devices_-void kernel_linux linguas_fr userland_GNU video_cards_fbdev video_cards_vesa video_cards_nv video_cards_nvidia video_cards_-i128 video_cards_-mga video_cards_-savage video_cards_-apm video_cards_-ark video_cards_-ati video_cards_-chips video_cards_-cirrus video_cards_-cyrix video_cards_-dummy video_cards_-fglrx video_cards_-glint video_cards_-i740 video_cards_-i810 video_cards_-imstt video_cards_-neomagic video_cards_-newport video_cards_-nsc video_cards_-rendition video_cards_-s3 video_cards_-s3virge video_cards_-siliconmotion video_cards_-sis video_cards_-sisusb video_cards_-sunbw2 video_cards_-suncg14 video_cards_-suncg3 video_cards_-suncg6 video_cards_-sunffb video_cards_-sunleo video_cards_-suntcx video_cards_-tdfx video_cards_-tga video_cards_-trident video_cards_-tseng video_cards_-v4l video_cards_-vga video_cards_-via video_cards_-vmware video_cards_-voodoo video_cards_-mach64 video_cards_-r128 video_cards_-radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL
................................................................................
Comment 2 Marek Rychly 2006-05-03 05:04:06 UTC
Correct this bug by adding:
  make defconfig ${xmakeopts} >/dev/null || die "make defconfig failed"
after
  touch .config
if function
  unpack_2_6()
into your kernel-2.eclass file or redefine this function into mm...ebuild.
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2006-05-03 05:25:27 UTC
this bug was introduced by Kbuild depending on oldconfig in newer sources.
This has been resolved in the eclass and is in CVS. Please emerge sync and try again.
Comment 4 John Mylchreest (RETIRED) gentoo-dev 2006-05-03 05:25:51 UTC
forgot to close, doing so now.