Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184816 - sys-fs/cdfs-2.6.19 fails to build with gentoo-sources-2.6.22
Summary: sys-fs/cdfs-2.6.19 fails to build with gentoo-sources-2.6.22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Timothy Redaelli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.22
  Show dependency tree
 
Reported: 2007-07-10 10:21 UTC by Marek Rychly
Modified: 2007-07-10 22:29 UTC (History)
0 users

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


Attachments
a complete build log (sys-fs:cdfs-2.6.19:20070710-101500.log,2.57 KB, text/plain)
2007-07-10 10:24 UTC, Marek Rychly
Details
A proposed patch (cdfs-2.6.19-linux-2.6.22.patch,669 bytes, patch)
2007-07-10 15:38 UTC, Marek Rychly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Rychly 2007-07-10 10:21:56 UTC
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 Marek Rychly 2007-07-10 10:24:03 UTC
Created attachment 124406 [details]
a complete build log
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-07-10 13:10:34 UTC
This can probably be fixed by adding the following include near the top of root.c:

#include <linux/sched.h>
Comment 3 Marek Rychly 2007-07-10 15:38:04 UTC
Created attachment 124431 [details, diff]
A proposed patch

thx. Daniel Drake, it works now.
Comment 4 Timothy Redaelli (RETIRED) gentoo-dev 2007-07-10 22:29:05 UTC
Fixed