Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137346 - net-fs/coda-kernel-6.2: build fails in src_compile
Summary: net-fs/coda-kernel-6.2: build fails in src_compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 02:02 UTC by Sascha Silbe
Modified: 2006-10-10 08:00 UTC (History)
3 users (show)

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


Attachments
coda-kernel-6.4.ebuild (coda-kernel-6.4.ebuild,985 bytes, text/plain)
2006-07-17 19:57 UTC, Michael C. Ferguson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2006-06-20 02:02:41 UTC
* Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16.14-infra
 * Checking for suitable kernel configuration options...                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking linux-coda-6.2.tgz to /var/tmp/portage/coda-kernel-6.2/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2 ...
 * Preparing coda module
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/psdev.c: In function `init_coda_psdev':
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/psdev.c:351: warning: passing arg 2 of `class_device_create' makes pointer from integer without a cast
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/psdev.c:351: warning: passing arg 3 of `class_device_create' makes integer from pointer without a cast
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/psdev.c:351: warning: passing arg 4 of `class_device_create' from incompatible pointer type
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/psdev.c:351: warning: passing arg 5 of `class_device_create' makes pointer from integer without a cast
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/cache.c: In function `coda_flag_children':
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/cache.c:80: error: structure has no member named `d_child'
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/cache.c:80: warning: type defaults to `int' in declaration of `__mptr'
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/cache.c:80: warning: initialization from incompatible pointer type
/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/cache.c:80: error: structure has no member named `d_child'
make[2]: *** [/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6/cache.o] Error 1
make[1]: *** [_module_/var/tmp/portage/coda-kernel-6.2/work/linux-coda-6.2/linux2.6] Error 2
make: *** [all] Error 2

!!! ERROR: net-fs/coda-kernel-6.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called linux-mod_src_compile
  linux-mod.eclass, line 515:   Called die

!!! Unable to make                                  KVER=2.6.16.14-infra KSRC=/usr/src/linux all.
!!! If you need support, post the topmost build error, and the call stack if relevant.

root@copper:~# emerge --info
[profile warning skipped]
Portage 2.1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r4, 2.6.16.14-infra i686)
=================================================================
System uname: 2.6.16.14-infra i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.14
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-mcpu=athlon -O2 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/usr/lib/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
LINGUAS="en_US en_GB en de_DE de"
MAKEOPTS="-s"  
PKGDIR="/usr/portage/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/inst/level3/sync/portage-local"
SYNC="rsync://rsync.sascha.silbe.org/gentoo-portage"
USE="x86 acl alsa berkdb bitmap-fonts cli crypt dedicated doc dri eds emboss encode fortran gdbm imagemagick imap imlib ipv6 isdnlog jpeg kerberos libwww maildir mbox mp3 mpeg nas ncurses nls ogg oggvorbis pam pcmcia pcre pdflib plotutils png pppd python readline reflection session spell spl ssl tetex tiff truetype-fonts type1-fonts unicode vorbis xml xml2 xorg zlib elibc_glibc kernel_linux linguas_en_US linguas_en_GB linguas_en linguas_de_DE linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-20 02:54:32 UTC
@seemant: BTW, system-tools missing in http://www.gentoo.org/proj/en/metastructure/herds/herds.xml
Comment 2 Bryan Jacobs 2006-06-29 12:59:09 UTC
Failure here too.

Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.12.1
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/ "
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/portage-overlay /usr/portage/local/layman/kolab2 /usr/portage/local/layman/php /usr/portage/local/layman/initng /usr/portage/local/layman/java-migration /usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X X509 a52 aac aalib acl acpi aim alsa amarok amazon amd amuled apache2 asf async authdaemond automount avi bash-completion bcmath bdf berkdb big-tables bootsplash branding browserplugin bzip2 cairo cap caps ccache cdda cddb cdinstall cdio cdparanoia cdr cdrom cg chroot cjk cli crypt css ctype cups curl curlwrappers cvs cvsgraph cyrus dbus dga dio directfb dlloader dlopen dmx dnd dnotify doc dpms dri dts dv dvd dvdr dvdread dxr3 edl eds emul-linux-x86 encode enscript escreen ethereal evo evolution exif exscalibar extensions fam fame fastcgi fbcon fbsplash festival ffmpeg firefox flac flash flatfile font-server foomaticdb ftp fuse gaim gd ggi gif gimp gimpprint glut gmail gmailtimestamps gmp gnome gnome-print gpgme gpm grammar graphicsmagick graphviz gs gssapi gstreamer gstreamer010 gtk gtk2 gtkhtml gtkspell gvim hal hou hpn httpd iconv id3 idled idn ieee1394 ifp imagemagick imap imlib inifile innodb insecure-savers iproute2 ipsec ipv6 irc ithreads j2ee jack java javascript jboss jce jcs jikes john joystick jpeg jpeg2k junit kde kerberos lame largeterminal latex lcms ldap ldapsam ldirectord libcaca libsamplerate libvisual lirc lm_sensors log4j logrotate lzw lzw-tiff mad maildir math matroska mbox mbrola md5sum mem-cache memcache menubar mime mjpeg mmap mng mod mod_python module mono moodbar mouse moznocompose moznoirc moznomail mp3 mp4 mp4live mpeg mpeg2 mplayer mpm-worker msdfs mudflap multiuser musepack musicbrainz mysql mysqli nas ncurses net nethack network nfs nls nocd nosrc nowin nptl nptlonly nsplugin ntfs ntlm nvidia nvtv objc objc++ odbc ogg oggvorbis opengl openssl oscar oss overlays pam pam_chroot pam_console passfile pcntl pcre pdf pdflib perl php player plotutils png pop pop3d ppds pppd python qemu-fast qt qt3 qt4 quicktime rar rdesktop readline reflection reiserfs remote rtc samba sample sasl screen sdl sensord server servlet-2.4 session sftp silvercity skey slang slp smartcard smarty smime smp smtp sockets socks5 sou spell spl sql srp sse-filters ssl startup-notification stream subtitles subversion svg swarmcache sysfs syslog tabs taglib tagwriting tcpd test tetex thesaurus threads tidy tiff timidity tokenizer toolbar transcode truetype truetype-fonts type1-fonts underscores unicode unzip urandom usb userlocales utf8 v4l v4l2 vcd vhosts vim vim-pager visualization vorbis webdav webkdc widescreen wifi winbind wma wma123 wmf wxwindows x264 xanim xcomposite xext xgetdefault xine xinerama xlockrc xml xml2 xmldoclet xmlreader xmlrpc xmlwriter xmms xorg xosd xpm xprint xrandr xscreensaver xsettings xv xvid xvmc yv12 zip zlib elibc_glibc input_devices_mouse input_devices_evdev input_devices_joystick input_devices_keyboard kernel_linux linguas_en userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Yes, I know this is an amd64 system - I have successfully patched net-fs/coda to build on amd64.
Comment 3 Bryan Jacobs 2006-07-07 14:47:43 UTC
This is resolved by upgrading coda-kernel to 6.4 (copy the ebuild and change the .tgz in SRC_URI to .tar.gz - voila!).

Coda builds and installs successfully on an amd64 machine.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2006-07-17 12:08:01 UTC
Mcf, do your thang
Comment 5 Michael C. Ferguson 2006-07-17 19:57:00 UTC
Created attachment 92044 [details]
coda-kernel-6.4.ebuild

Ah OK Seemant, but only for you. :P WFM, although I am not running Coda at the moment. In addition to Bryan's suggestions, I removed my old comment about Coda drivers not working with 2.6 anymore, since I do not believe this to be the case (at least for some versions of CodaFS) now that Linux 2.6 has the 128 bit variables newer CodaFS requires.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2006-10-10 08:00:44 UTC
ugh @ not receiving bugzilla mail.  Sorry about that everyone.  Belated thanks MCF.

In portage now.