realtime-lsm-0.8.5-r2 build fails. Reproducible: Always Steps to Reproduce: 1. emerge =sys-apps/realtime-lsm-0.8.5-r2 Actual Results: dtalk@sybil ~ $ sudo emerge =sys-apps/realtime-lsm-0.8.5-r2 Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) sys-apps/realtime-lsm-0.8.5-r2 to / !!! No write access to '/data/install/linux/gentoo/portage/distfiles' * realtime-lsm-0.8.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking realtime-lsm-0.8.5.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.20-xen-r6_sybil_xen_0 >>> Unpacking source... >>> Unpacking realtime-lsm-0.8.5.tar.gz to /var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work * Applying kmisc.patch-0.8.2_pre20041022 ... [ ok ] * Converting Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5 ... * Preparing realtime module CONFIG_SECURITY_CAPABILITIES=m make modules -C //usr/src/linux M=/var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5 make[1]: Entering directory `/usr/src/linux-2.6.20-xen-r6' CC [M] /var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5/realcap.o CC [M] /var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5/commoncap.o In file included from include/asm/elf.h:52, from include/linux/elf.h:7, from include/linux/module.h:15, from /var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5/realcap.c:14: include/asm/desc.h: In function 'load_TLS': include/asm/desc.h:84: warning: implicit declaration of function 'virt_to_machine' In file included from include/asm/elf.h:52, from include/linux/elf.h:7, from include/linux/module.h:15, from /var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5/commoncap.c:11: include/asm/desc.h: In function 'load_TLS': include/asm/desc.h:84: warning: implicit declaration of function 'virt_to_machine' In file included from include/asm/pgtable.h:16, from include/linux/mm.h:40, from /var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5/commoncap.c:16: include/asm/fixmap.h: At top level: include/asm/fixmap.h:110: error: expected declaration specifiers or '...' before 'maddr_t' make[3]: *** [/var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5/commoncap.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [_module_/var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/work/realtime-lsm-0.8.5] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.20-xen-r6' make: *** [all] Error 2 * * ERROR: sys-apps/realtime-lsm-0.8.5-r2 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1383: Called linux-mod_src_compile * linux-mod.eclass, line 518: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \ * ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \ * || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}." * The die message: * Unable to make KSRC=//usr/src/linux KERNEL_DIR=//usr/src/linux O=/usr/src/linux TOUT=/var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/temp/tmp-gas-check all. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/temp/build.log'. * Expected Results: realtime-lsm-0.8.5-r2 should have been built and installed. realtime-lsm-0.8.5-r1 does not have this problem. Kernel is xen-sources-2.6.20-r6, and system is current 2007.0. make.conf follows. dtalk@sybil ~ $ cat /etc/make.conf CFLAGS="-O2 -march=athlon -pipe -mno-tls-direct-seg-refs" CXXFLAGS="${CFLAGS}" # DO NOT CHANGE THIS CHOST="i686-pc-linux-gnu" MAKEOPTS="-j2" LINGUAS="en" PORTAGE_ELOG_SYSTEM='syslog' FEATURES="${FEATURES} buildpkg fixpackages metadata-transfer parallel-fetch sandbox userfetch userpriv usersandbox" USE="alsa arts asf bitmap-fonts cdda cddb cdr cups dvd dvdr dvdread firefox flac gif gtk2 hal ipv6 jpeg kde ldap mmx module mp3 mpeg nsplugin nptlonly offensive ogg pam pdf png sdl session shape skins sse ssl truetype truetype-fonts type1 type1-fonts vorbis win32codecs wmf xine X xshape" # portage locations # machine-specific PORTAGE_TMPDIR=/var/tmp # shared PORTDIR=/data/install/linux/gentoo/portage PKGDIR=/var/packages DISTDIR=/data/install/linux/gentoo/portage/distfiles RPMDIR=/data/install/linux/gentoo/portage/rpm CONFIG_PROTECT_MASK='/usr/kde'
emerge --info please.
dtalk@sybil ~ $ emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-xen-r6_sybil_xen_0 i686) ================================================================= System uname: 2.6.20-xen-r6_sybil_xen_0 i686 AMD Sempron(tm) 2600+ Timestamp of tree: Mon, 12 Nov 2007 00:30:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 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.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon -pipe -mno-tls-direct-seg-refs" CHOST="i686-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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /usr/kde" CXXFLAGS="-O2 -march=athlon -pipe -mno-tls-direct-seg-refs" DISTDIR="/data/install/linux/gentoo/portage/distfiles" FEATURES="buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/var/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="/data/install/linux/gentoo/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa arts asf berkdb bitmap-fonts cdda cddb cdr cli cracklib crypt cups dri dvd dvdr dvdread firefox flac fortran gdbm gif gpm gtk2 hal iconv ipv6 isdnlog jpeg kde ldap midi mmx module mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin offensive ogg openmp pam pcre pdf perl png pppd python readline reflection sdl session shape skins spl sse ssl tcpd truetype truetype-fonts type1 type1-fonts unicode vorbis win32codecs wmf x86 xine xorg xshape zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This thing is dead w/ 2.6.24+ kernels... Cf. Bug 207561. Use the pam method instead as stated in http://www.gentoo.org/proj/en/desktop/sound/realtime.xml
Oh well it's time to get rid of this, nobody have touched it beside me lately, and for me the last commit was in Feb 2008.
removed from tree.