Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 184816
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Timothy Redaelli <drizzt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marek Rychly <marek.rychly@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sys-fs:cdfs-2.6.19:20070710-101500.log a complete build log text/plain Marek Rychly 2007-07-10 10:24 0000 2.57 KB Details
cdfs-2.6.19-linux-2.6.22.patch A proposed patch patch Marek Rychly 2007-07-10 15:38 0000 669 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 184816 depends on: Show dependency tree
Bug 184816 blocks: 184683
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-10 10:21 0000
Emerging sys-fs/cdfs-2.6.19 (the latest version available in the portage) fails
with gentoo-sources-2.6.22. Degrading the kernel to 2.6.21 seems to allow the
installation to finish.


Reproducible: Always

Steps to Reproduce:
1. emerge -va =sys-fs/cdfs-2.6.19
2.
3.

Actual Results:  
/storage/tmp/portage/sys-fs/cdfs-2.6.19/work/cdfs-2.6.19/root.c: In function
‘cdfs_init’:
/storage/tmp/portage/sys-fs/cdfs-2.6.19/work/cdfs-2.6.19/root.c:598: error:
‘CLONE_FS’ undeclared (first use in this function)
/storage/tmp/portage/sys-fs/cdfs-2.6.19/work/cdfs-2.6.19/root.c:598: error:
(Each undeclared identifier is reported only once
/storage/tmp/portage/sys-fs/cdfs-2.6.19/work/cdfs-2.6.19/root.c:598: error: for
each function it appears in.)
/storage/tmp/portage/sys-fs/cdfs-2.6.19/work/cdfs-2.6.19/root.c:598: error:
‘CLONE_FILES’ undeclared (first use in this function)
/storage/tmp/portage/sys-fs/cdfs-2.6.19/work/cdfs-2.6.19/root.c:598: error:
‘CLONE_SIGHAND’ undeclared (first use in this function)
make[2]: *** [/storage/tmp/portage/sys-fs/cdfs-2.6.19/work/cdfs-2.6.19/root.o]
Error 1

Expected Results:  
Successful build

marek-ntb rychly # emerge --info
Portage 2.1.2.9 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r3,
2.6.22-gentoo x86_64)
=================================================================
System uname: 2.6.22-gentoo x86_64 AMD Turion(tm) 64 Mobile Technology ML-32
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 09 Jul 2007 14:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.22
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -mtune=k8 -O2 -pipe -fomit-frame-pointer -funroll-all-loops
-funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -mmmx -msse -msse2
-msse3 -m3dnow -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -mtune=k8 -O2 -pipe -fomit-frame-pointer -funroll-all-loops
-funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -mmmx -msse -msse2
-msse3 -m3dnow -mfpmath=sse -fno-enforce-eh-specs"
DISTDIR="/storage/distfiles"
FEATURES="distlocks noinfo parallel-fetch sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://81.91.81.13/ http://147.32.127.222/MIRRORS/gentoo/
http://ftp.linux.cz/pub/linux/gentoo/ http://gentoo.supp.name/ "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--enable-new-dtags -z -combreloc"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/storage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-layman/r300-driver
/usr/local/portage-layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit 7zip X a52 aac acpi alsa amd64 avi bash-completion bindist bzip2
cairo caps cdparanoia cdr crypt cups curl curlwrappers dio dlloader dri dvd
dvdr dvdread encode exif expat ffmpeg firefox flac foomaticdb ftp geoip gif
glitz glut gtk gtk2 iconv imagemagick imap imlib ipv6 java jikes jpeg jpeg2k
lcms libwww lirc lzw matroska memlimit mikmod mime mmap mng mp3 mpeg mplayer
nas ncurses nls nmp nptl nptlonly nsplugin ogg opengl pcmcia pcre pdf png posix
ppds quicktime readline samba session slang slp sndfile sockets speex spell ssl
ssse3 svg symlink sysvipc szip tcpd theora threads tidy tiff truetype
truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi wmf xml xorg xosd
xpm xprint xscreensaver xsl xv xvid zlib" ALSA_CARDS="atiixp" CAMERAS="canon
ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="cs
en" LIRC_DEVICES="sir" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Marek Rychly 2007-07-10 10:24:03 0000 -------
Created an attachment (id=124406) [details]
a complete build log

------- Comment #2 From Daniel Drake 2007-07-10 13:10:34 0000 -------
This can probably be fixed by adding the following include near the top of
root.c:

#include <linux/sched.h>

------- Comment #3 From Marek Rychly 2007-07-10 15:38:04 0000 -------
Created an attachment (id=124431) [details]
A proposed patch

thx. Daniel Drake, it works now.

------- Comment #4 From Timothy Redaelli 2007-07-10 22:29:05 0000 -------
Fixed

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug