Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77260 - [2.4] Compiling gentoo-sources-2.4.26-r15 fails
Summary: [2.4] Compiling gentoo-sources-2.4.26-r15 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-09 12:09 UTC by Joerg Schaible
Modified: 2005-01-12 05:09 UTC (History)
0 users

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


Attachments
.config (kernel-config,25.83 KB, text/plain)
2005-01-09 12:11 UTC, Joerg Schaible
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2005-01-09 12:09:38 UTC
New package gentoo-sources-2.4.26-r15 fails to compile:

 ======= %< =========
 make[3]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/cdrom'
 make[2]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/cdrom'
 make -C char
 make[2]: Entering directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/char'
 make -C joystick
 make[3]: Entering directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/char/joystick'
 make all_targets
 make[4]: Entering directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/char/joystick'
 rm -f js.o
 ar rcs js.o
 make[4]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/char/joystick'
 make[3]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/char/joystick'
 make all_targets
 make[3]: Entering directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/char'
 gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r15/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp   -nostdinc -iwithprefix include -DKBUILD_BASENAME=mem  -c -o mem.o mem.c
 gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r15/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp   -nostdinc -iwithprefix include -DKBUILD_BASENAME=tty_io  -DEXPORT_SYMTAB -c tty_io.c
 tty_io.c: In function `tty_set_ldisc':
 tty_io.c:481: warning: unused variable `work'
 tty_io.c: In function `tty_write':
 tty_io.c:1127: error: syntax error before "__user"
 tty_io.c:1127: warning: left-hand operand of comma expression has no effect
 tty_io.c:1127: error: syntax error before ')' token
 make[3]: *** [tty_io.o] Error 1
 make[3]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/char'
 make[2]: *** [first_rule] Error 2
 make[2]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r15/drivers/char'
 make[1]: *** [_subdir_char] Error 2
 make[1]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r15/drivers'
 make: *** [_dir_drivers] Error 2

 ======= %< =========


Reproducible: Always
Steps to Reproduce:
1. Emerge gentoo-sources-2.4.26-r15
2. make oldconfig
3. make dep bzImage

Actual Results:  
Failed compilaton as reported above. 

Expected Results:  
Create the bzImage.
Comment 1 Joerg Schaible 2005-01-09 12:11:22 UTC
Created attachment 48038 [details]
.config

Used .config file
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-01-10 09:59:52 UTC
Fixed; emerge sync and either remerge gentoo-sources-2.4.26 with the updated CAN-2004-0814 patch or merge gentoo-sources-2.4.28 which does not have the issue. Reopen this bug if you still have any issues. Thanks!
Comment 3 Joerg Schaible 2005-01-11 14:19:58 UTC
It seems, you've forgotten the digest ...

>>> emerge (2 of 2) sys-kernel/gentoo-sources-2.4.26-r15 to /
>>> md5 src_uri ;-) linux-2.4.26.tar.bz2
>>> md5 src_uri ;-) gentoo-sources-2.4.26-r6.tar.bz2
>>> md5 src_uri ;-) linux-2.4.26-CAN-2004-0415.patch

!!! Digest verification Failed:
!!!    /usr/portage/distfiles/gentoo-sources-2.4.25-CAN-2004-0814.patch
!!! Reason: Filesize does not match recorded size

Concerning 2.4.28: Can't, because of: http://bugs.gentoo.org/show_bug.cgi?id=74783
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-01-12 05:09:20 UTC
No, digests were updated. Fetch the 0814 patch from the SRC_URI in the ebuild and replace your existing one in /usr/portage/distfiles... looks like the mirrors haven't fully updated yet.