[Lunar-bugs] [bug] 2.4.28 kernels don't build!

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Tue Jan 11 11:09:48 UTC 2005


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    kernel
 Category:     bug reports
 Priority:     critical
-Assigned to:  Moe
+Assigned to:  sofar
 Reported by:  remsys
 Updated by:   sofar
-Status:       active
+Status:       fixed

the ISO tar version is too old. If you need to build a 2.4.28 kernel
with it then you will just have to update tar first. (wontfixthat).

The tar option namechange is unfortunate, but don't blame me for GNU
people changing their minds.

sofar



Previous comments:
------------------------------------------------------------------------

Tue, 12/28/2004 - 08:20 : remsys

Yesterday I had to recompile my kernel in order to add some features to
my workstation, but none of the 2.4 kernel build:

lin linux-2.4-vanilla 
+ mod_v="" mod="linux-2.4-vanilla"
linux-2.4-vanilla:  Configure this kernel to load from grub? [n] n
linux-2.4-vanilla:  Configure this kernel to load from lilo? [n] y
linux-2.4-vanilla:  Do you prefer xconfig over menuconfig? [n] n
linux-2.4-vanilla:  Do you prefer menuconfig over config? [y] y
+ Editing "/etc/lunar/local/depends/linux-2.4-vanilla"
linux-2.4-vanilla:  Configure linux kernel? [n] y
+ adding "required" depends for "linux-2.4-vanilla" on "autoconf" (on)
+ Spawning download manager
+ download queue:   linux-2.4-vanilla
+ starting lin "linux-2.4-vanilla"
+ mod_v="" mod="linux-2.4-vanilla"
Checking dependencies for linux-2.4-vanilla 
+ downloading module "linux-2.4-vanilla"
+ Skipping download of "linux-2.4.28.tar.bz2" for module
"linux-2.4-vanilla" (in
 cache)
+ make="/usr/bin/make", MAKES=""
+ CC_EXT="ccache ", CXX_EXT="ccache "
+ Enabling gcc wrapper scripts to force optimizations
+ BUILD="i686-pc-linux-gnu"
+ GCCVER="3"
+ CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer
-mfpmath=sse
,387"
+ CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer
-mfpmath=s
se,387"
+ LDFLAGS=" -s"
Building linux-2.4-vanilla
+ creating building dir "/usr/src/linux-2.4.28-vanilla"
tar: unrecognized option `--strip-path=1'
Try `tar --help' or `tar --usage' for more information.
+ building "linux-2.4-vanilla" version "2.4.28" in
/usr/src/linux-2.4.28-vanilla
make: *** No rule to make target `menuconfig'.  Stop.
make: *** No rule to make target `config'.  Stop.



lin linux-2.4
+ mod_v="" mod="linux-2.4"
+ Editing "/etc/lunar/local/depends/linux-2.4"
linux-2.4:  Configure linux kernel? [n] y
+ Spawning download manager
+ download queue:   linux-2.4
+ starting lin "linux-2.4"
+ mod_v="" mod="linux-2.4"
Checking dependencies for linux-2.4 
+ downloading module "linux-2.4"
+ Skipping download of "linux-2.4.28.tar.bz2" for module "linux-2.4"
(in cache)
+ Skipping download of "ll-r8.0-1.tar.bz2" for module "linux-2.4" (in
cache)
+ make="/usr/bin/make", MAKES=""
+ CC_EXT="ccache ", CXX_EXT="ccache "
+ Enabling gcc wrapper scripts to force optimizations
+ BUILD="i686-pc-linux-gnu"
+ GCCVER="3"
+ CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer
-mfpmath=sse
,387"
+ CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer
-mfpmath=s
se,387"
+ LDFLAGS=" -s"
Building linux-2.4
+ creating building dir "/usr/src/linux-2.4.28"
+ Removing old source directory first!
tar: unrecognized option `--strip-path=1'
Try `tar --help' or `tar --usage' for more information.
+ Unpacking "/var/spool/lunar/ll-r8.0-1.tar.bz2" in
"/usr/src/linux-2.4.28/patch
es"
+ patch_it "patches/fix/00_lunar.patch" "1"
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur old/Makefile new/Makefile
|--- old/Makefile       2003-08-25 13:44:44.000000000 +0200
|+++ new/Makefile       2003-08-25 20:43:22.000000000 +0200
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
! Broken patch file patches/fix/00_lunar.patch
+ patch_it "patches/fix/01_kde-fix1.patch" "1"
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur old/include/asm-i386/byteorder.h
new/include/asm-i386/byteorder.h
|--- old/include/asm-i386/byteorder.h   2003-06-13 16:51:38.000000000
+0200
|+++ new/include/asm-i386/byteorder.h   2003-09-08 20:59:43.000000000
+0200
--------------------------
File to patch:


It keeps asking for patchfiles....
And the same goes for linux-2.4-stable and -grsec.

There seems to be a problem extracting the files...

My info:
moonbase, Lunar, Lunar-tools: latest
Perl: 5.8.5
tar: 1.15.1
present kernel: 2.4.28

------------------------------------------------------------------------

Tue, 12/28/2004 - 10:38 : Moe

dammit .. unknown syntax changes in the latest available tar. Should be
fixed now. Thank you very much Remco.

------------------------------------------------------------------------

Tue, 01/04/2005 - 04:10 : jbrocklin

In the processes of doing a new install on a friend's box, and it looks
like version of tar included from the iso (1.3.25) doesn't support
either --strip-path=1 or --strip-components=1.  It also looks like
there are no equivilant options to send to the version of tar installed
by default.  Maybe the only fix is to update the version of tar on the
iso?

-- 
View: http://lunar-linux.org/?q=node/view/654
Edit: http://lunar-linux.org/?q=project/comments/add/654




More information about the Lunar-bugs mailing list