JaiBaba root # emerge gs-sources Calculating dependencies ...done! >>> emerge (1 of 1) sys-kernel/gs-sources-2.4.23_pre8 to / >>> md5 src_uri ;-) linux-2.4.22.tar.bz2 >>> md5 src_uri ;-) patches-2.4.23_pre8-gss.tar.bz2 kernel >>> Unpacking source... >>> Unpacking linux-2.4.22.tar.bz2 to /var/tmp/portage/gs-sources-2.4.23_pre8/work >>> Unpacking patches-2.4.23_pre8-gss.tar.bz2 to /var/tmp/portage/gs-sources-2.4.23_pre8/work * Cryptographic support enabled... Current kernel version is 2.4.22 Scanning patch directory: '.' Checking 00_patch-2.4.23-pre6 (plain text format)... looks good. Applying... done. Checking 01_preempt_patch (plain text format)... looks good. Applying... done. Checking 02_linux-2.4.22-xfs-2003-09-28.patch (plain text format)... looks good. Applying... done. Checking 03_3.5-useraddress.patch (plain text format)... looks good. Applying... done. Checking 05_evms-2.4.20_common_1.2.1.patch (plain text format)... looks good. Applying... done. Checking 06_ecc-20030225.patch (plain text format)... looks good. Applying... done. Checking 07_brlock.patch (plain text format)... looks good. Applying... done. Checking 08_bootsplash_3.0.7.patch (plain text format)... looks good. Applying... done. Checking 09_freeswan-2.03.k2.4.patch (plain text format)... looks good. Applying... done. Checking 11_Kernel-Win4Lin3-2.4.22.patch (plain text format)... looks good. Applying... done. Checking 12_mki_adapter.patch (plain text format)... looks good. Applying... done. Checking 13_imon-latest (plain text format)... looks good. Applying... done. Checking 14_win4lin_fixup.patch (plain text format)... looks good. Applying... done. Checking 15_process.patch (plain text format)... looks good. Applying... done. Checking 37_gcc_optimizations.patch (plain text format)... looks good. Applying... done. Checking 39_kernel_config (plain text format)... looks good. Applying... done. Checking 40_linux-2.4.23_pre6-pre7.patch (plain text format)... looks good. Applying... done. Checking 41_linux-2.4.23_pre7-pre8.patch (plain text format)... looks good. Applying... done. Checking 41_v4l2-2.4.22.patch (plain text format)... looks good. Applying... done. Checking 99_gentoo (plain text format)... looks good. Applying... done. !!! ERROR: sys-kernel/gs-sources-2.4.23_pre8 failed. !!! Function kernel_getversion, Line 64, Exitcode 0 !!! (no error message) /usr/sbin/ebuild.sh: line 127: [: too many arguments >>> Source unpacked. nt sure if this is anything to worry about ....the sources install and i have been running them without any issue but may need to look at it for the sake of some code clean up maybe. Reproducible: Always Steps to Reproduce: 1.emerge gs-sources 2. 3.
Can you do an 'emerge sync' and see whether you still get this? This might be something with the changes people have been making to kernel.eclass recently...
I have the same error. I found it when I made a new install. It breaks 'genkernel' that stops after make modules. gentoo-sources-2.4.20-r8 worked OK.
Can we verify that this is still an issue? test on portage-2.0.50_pre7 or later if 2.0.49-r18 doesn't fix it.
Created attachment 22618 [details] emerge gs-sources &> gs.txt here is the output... i am running the portage-2.0.49-r18 , looks like its fixed