Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653852 - sys-kernel/linux-headers-2.4.3*: Makefile: arch/x86/Makefile: No such file or directory
Summary: sys-kernel/linux-headers-2.4.3*: Makefile: arch/x86/Makefile: No such file or...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-23 02:48 UTC by hanetzer
Modified: 2018-04-27 21:41 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_653852.txt,7.10 KB, text/plain)
2018-04-23 02:48 UTC, hanetzer
Details
linux-headers-2.4.33.3.build.log (file_653852.txt,2.81 KB, text/plain)
2018-04-23 02:49 UTC, hanetzer
Details
linux-headers-2.4.36.build.log (file_653852.txt,2.80 KB, text/plain)
2018-04-23 02:50 UTC, hanetzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hanetzer 2018-04-23 02:48:07 UTC
Created attachment 528242 [details]
emerge --info

This could be a problem of having too new of a gcc, sys-devel/gcc-7.3.0-r1,
but while doing some build testing against a modified kernel-2.eclass, I
discovered these two versions of linux-headers do not build due to the same
error, so I restored the original contents of kernel-2.eclass and tried again,
same failure.
Comment 1 hanetzer 2018-04-23 02:49:05 UTC
Created attachment 528244 [details]
linux-headers-2.4.33.3.build.log
Comment 2 hanetzer 2018-04-23 02:50:33 UTC
Created attachment 528246 [details]
linux-headers-2.4.36.build.log
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-27 21:26:25 UTC
I think it's a problem of linux kernel unifying a kernel a while ago from i386/x86_64 to x86 and eclass forgot about it:

    make -s mrproper ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
    Makefile:261: arch/x86/Makefile: No such file or directory

This should be 
    make -s mrproper ARCH=x64_64 CROSS_COMPILE=x86_64-pc-linux-gnu-
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2018-04-27 21:33:57 UTC
Namely most of 2.4 support was broken by the following change:
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c226e451be564a545696f93fc5880ebc160812
Comment 5 Larry the Git Cow gentoo-dev 2018-04-27 21:41:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50445ee7ca5c5a89f0bf7046ed62c58b7fd5e2ff

commit 50445ee7ca5c5a89f0bf7046ed62c58b7fd5e2ff
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-04-27 21:41:29 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-04-27 21:41:44 +0000

    sys-kernel/linux-headers: drop 2.4 linux-headers
    
    In June 2016 commit 81c226e451be564a545696f93fc5880ebc160812
    broke support for kernel-version based ARCH detection for
        i386, x86_64, ppc and powerpc64.
    
    Not that many arches are left supporting these headers.
    All of them should work fine on hewer kernels and toolchains.
    
    Broken-by: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c226e451be564a545696f93fc5880ebc160812
    Closes: https://bugs.gentoo.org/653852
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sys-kernel/linux-headers/Manifest                      |  5 -----
 sys-kernel/linux-headers/linux-headers-2.4.33.3.ebuild | 17 -----------------
 sys-kernel/linux-headers/linux-headers-2.4.36.ebuild   | 17 -----------------
 3 files changed, 39 deletions(-)