Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168291 - sys-fs/dazuko-2.3.3_pre1-r1 doesn't compile on kernel 2.6.20-gentoo
Summary: sys-fs/dazuko-2.3.3_pre1-r1 doesn't compile on kernel 2.6.20-gentoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.20
  Show dependency tree
 
Reported: 2007-02-25 05:58 UTC by keenblade
Modified: 2007-02-28 18:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description keenblade 2007-02-25 05:58:35 UTC
I upgraded kernel to 2.6.20-gentoo and now dazuko don't compile.I'm running ~amd64.

>>> Emerging (1 of 1) sys-fs/dazuko-2.3.3_pre1-r1 to /
 * dazuko-2.3.3-pre1.tar.gz MD5 ;-) ...                                                                                                 [ ok ]
 * dazuko-2.3.3-pre1.tar.gz RMD160 ;-) ...                                                                                              [ ok ]
 * dazuko-2.3.3-pre1.tar.gz SHA1 ;-) ...                                                                                                [ ok ]
 * dazuko-2.3.3-pre1.tar.gz SHA256 ;-) ...                                                                                              [ ok ]
 * dazuko-2.3.3-pre1.tar.gz size ;-) ...                                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                  [ ok ]
 * checking dazuko-2.3.3-pre1.tar.gz ;-) ...                                                                                            [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.20-gentoo/build
 * Found sources for kernel version:
 *     2.6.20-gentoo
>>> Unpacking source...
>>> Unpacking dazuko-2.3.3-pre1.tar.gz to /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1 ...
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel build source in /usr/src/linux... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.20)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API (this can take a while)... ok
identifying device API... ok
inspecting class type... ok (class)
inspecting suspend function... ok (suspend2)
inspecting task_struct structure... ok (using parent)
disabling ON_CLOSE events (not available for Linux 2.6 LSM)
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

=======================
 Configuration summary
=======================

module events = ON_OPEN ON_EXEC
devfs support = no
rsbac support = no
stacking support = yes
local __d_path() = no (using chroot events, see README.linux26)
module debug = no
library 1.x compatibility = yes

 * Converting Makefile to use M= instead of SUBDIRS= ...                                                                                [ ok ]
 * Preparing dazuko module
make -C /usr/src/linux M="/var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1" modules
make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo'
  CC [M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1/dazuko_core.o
  CC [M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1/dazuko_transport.o
  CC [M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.o
In file included from /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1/dazuko_platform.h:5,
                 from /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1/dazuko_core.c:37:
/var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1/dazuko_linux26.h:49: error: field 'mutex' has incomplete type
make[2]: *** [/var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1/dazuko_core.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/sys-fs/dazuko-2.3.3_pre1-r1/work/dazuko-2.3.3-pre1] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo'
make: *** [dummy_rule] Error 2

!!! ERROR: sys-fs/dazuko-2.3.3_pre1-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4273:   Called src_compile
  dazuko-2.3.3_pre1-r1.ebuild, line 47:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make   dummy_rule.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sys-fs:dazuko-2.3.3_pre1-r1:20070225-054527.log'.

Reproducible: Always

Steps to Reproduce:
1.emerge dazuko
2.
3.
Comment 1 keenblade 2007-02-25 06:03:20 UTC
Also my emerge --info
>>> cfg-update-1.8.0-r6: Building checksum index... (takes a few seconds) done!
Portage 2.1.2-r11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.9
Timestamp of tree: Sat, 24 Feb 2007 21:30:08 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
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.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 arts berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd fam ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack java jpeg kde lash ldap libg++ lm_sensors mad midi mikmod mmx mp3 mpeg mysql mysqli ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png ppds pppd python qt4 quicktime readline reflection sdl session spell spl sqlite3 sse sse2 ssl svg tcpd truetype truetype-fonts type1-fonts unicode usb vorbis xml xorg xv xvid zlib" ALSA_CARDS="intel8x0 mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-25 10:44:39 UTC
Yes.
Known issue.
Upstream does not support 2.6.20 in even near-stable release.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-02-25 16:19:13 UTC
Alon, if it's not going to be possible to support 2.6.20 in the near future with this ebuild, the usual measure is to add a kernel_is check in pkg_setup and bail out if 2.6.20 is detected.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-28 18:24:10 UTC
Fixed in dazuko-2.3.3_pre2