Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365471 - sys-kernel/gentoo-sources-2.6.16-r13 doesn't prepare with sys-devel/make-3.82
Summary: sys-kernel/gentoo-sources-2.6.16-r13 doesn't prepare with sys-devel/make-3.82
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gmake-3.82
  Show dependency tree
 
Reported: 2011-04-30 23:04 UTC by Marcin Mirosław
Modified: 2011-05-17 08:09 UTC (History)
2 users (show)

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


Attachments
xen-sources-2.6.18 patch to work with make-3.82 (make-xen-sources-2.6.18.patch,902 bytes, patch)
2011-05-07 15:24 UTC, Stratos Psomadakis (RETIRED)
Details | Diff
gentoo-sources-2.6.18 patch to work with make-3.8.2 (make-gentoo-sources-2.6.16.patch,603 bytes, patch)
2011-05-07 15:25 UTC, Stratos Psomadakis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2011-04-30 23:04:53 UTC
#  make menuconfig
Makefile:441: *** mixed implicit and normal rules.  Stop.


Reproducible: Always




# emerge --info
FEATURES variable contains unknown value(s): Xkeepwork
Portage 2.1.9.46 (default/linux/x86/10.0/server, gcc-4.5.2, libc-0-r0, 2.6.38-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r3-i686-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-gentoo-2.0.2
Timestamp of tree: Sat, 30 Apr 2011 21:30:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p8
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mfpmath=sse -pipe -fpeel-loops -fomit-frame-pointer -floop-block -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-strip-mine -s -fipa-sra"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mfpmath=sse -pipe -fpeel-loops -fomit-frame-pointer -floop-block -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-strip-mine -s -fipa-sra"
DISTDIR="/usr/portage/distfiles"
FEATURES="Xkeepwork assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O -y"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/steev /usr/portage/local/layman/portage-backup /usr/portage/local/layman/sunrise /usr/portage/local/layman/sping /usr/portage/local/layman/science /usr/local/portage/miro-overlay/staging /usr/local/portage/miro-overlay/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi adns aio async bash-completion bzip2 caps chroot clamav clamdtop cli crypt cxx daemon dhcp dri exiscan-acl extras fam flac ftp glibc-omitfp gmp gnutls gpm graphite iconv idn iproute2 ipv6 javascript jpeg justify logrotate logwatch lto lzo maildir mmap mmx mmxext modules mouse mudflap nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses network-cron nls nntp nptl nptlonly ogg openmp openssl optimization pam pcre pop3d pppd quotas readline session slang smp spell spf sse sse2 sse3 ssl ssse3 stats subtitles svg sysfs syslog threads threadsafe tools tordns tos unicode unzip urandom vhosts vim vim-pager vim-syntax x86 xattr xfs zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="account tarpit"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Marcin Mirosław 2011-04-30 23:07:06 UTC
The same problem, probably exists in other old kernels.
Comment 2 Stratos Psomadakis (RETIRED) gentoo-dev 2011-05-05 11:02:23 UTC
I guess 2.6.16 should be removed from portage in the future. It has reached EOL afaik, and users should upgrade to more recent long-term stable releases.

Anyway, if you want a workaround, replace the "config %config" at line 441 with:

config: scripts_basic outputmakefile FORCE
	$(Q)mkdir -p include/linux include/config
	$(Q)$(MAKE) $(build)=scripts/kconfig $@

%config: scripts_basic outputmakefile FORCE
	$(Q)mkdir -p include/linux include/config
	$(Q)$(MAKE) $(build)=scripts/kconfig $@

Although, I think make will still throw some warnings.
Comment 3 Marcin Mirosław 2011-05-06 23:13:46 UTC
I don't need to use such old kernels, but probably there are users using last stable xen-sources-2.6.18
Comment 4 Stratos Psomadakis (RETIRED) gentoo-dev 2011-05-07 15:24:18 UTC
Created attachment 272391 [details, diff]
xen-sources-2.6.18 patch to work with make-3.82
Comment 5 Stratos Psomadakis (RETIRED) gentoo-dev 2011-05-07 15:25:12 UTC
Created attachment 272393 [details, diff]
gentoo-sources-2.6.18 patch to work with make-3.8.2
Comment 6 Stratos Psomadakis (RETIRED) gentoo-dev 2011-05-07 15:30:09 UTC
I think these are the only kernel sources in portage, affected by make-3.8.2. 

Applying the attached patches resolves the problem with make menuconfig, although gcc will throgh lots of warnings (non-'fatal' though).

CC'ing the Xen maintainers.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2011-05-15 06:45:20 UTC
ping.   we need action here for bug 367265.    CC qa@ so we can delete the ebuilds if they don't get fixed in reasonable time.
Comment 8 Mike Pagano gentoo-dev 2011-05-16 17:01:34 UTC
When I first joined I was told something along the lines of "Mike F. needs this kernel around, don't remove."

Out of courtesy, you may want to ask him if he still needs this hanging around, if not, I know I won't miss it.
Comment 9 SpanKY gentoo-dev 2011-05-16 18:46:11 UTC
i no longer need it ... feel free to punt it
Comment 10 Mike Pagano gentoo-dev 2011-05-17 00:07:36 UTC
punted
Comment 11 Marcin Mirosław 2011-05-17 08:09:21 UTC
What about all remain sys-kernel/* ? I know bug is about gentoo-sources but problem with make hits all old sources.