Summary: | svgalib-1.9.21-r1 fails to build kernel module with FEATURES=userpriv | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | MickKi <confabulate> |
Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | johnm, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
MickKi
2005-09-14 14:53:53 UTC
have you run `make` in /usr/src/linux yet ? Yep, I've already built the kernel I'm now running: ================================ # uname -a Linux study1 2.6.12-gentoo-r10 #1 Sun Sep 11 21:13:22 GMT 2005 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux # ls -la /usr/src total 3 drwxr-xr-x 4 root root 176 Sep 11 17:33 . drwxr-xr-x 16 root root 528 Aug 24 20:33 .. -rw-r--r-- 1 root root 0 Aug 24 20:33 .keep lrwxrwxrwx 1 root root 32 Sep 11 17:33 linux -> /usr/src/linux-2.6.12- gentoo-r10 drwxr-xr-x 19 root root 1248 Sep 11 21:13 linux-2.6.12-gentoo-r10 drwxr-xr-x 19 root root 1248 Sep 11 09:45 linux-2.6.12-gentoo-r9 ================================ Could it be something to do with access rights that the ebuild requires/assumes? -- Regards, Mick well, if you run `make -C /usr/src/linux` and then run `emerge svgalib` does it work ? if not, what if you remove userpriv and usersandbox from FEATURES ? Thanks SpanKY, I managed to emerge it after removing userpriv and usersandbox. Is there a simple explanation for why this is so? What puzzles me is that the previous stable ebuild did not have such problems... -- Regards, Mick previous stable did not use the kernel eclasses for building the module I have a similar bug here. svgalib-1.9.21-r1 fails to emerge. Reproducible: Always Steps to Reproduce: 1. emerge -av =media-libs/svgalib-1.9.21-r1 2. 3. Actual Results: -------------------------------------------------------------------------- These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-libs/svgalib-1.9.21-r1 [1.9.19-r3] -build -no-helper 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] yes [snip] * Preparing svgalib_helper module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper CLASS_CFLAGS=-DCLASS_SIMPLE=1 modules make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r10' WARNING: Symbol version dump /usr/src/linux-2.6.12-gentoo-r10/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/main.o CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/i810.o CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/interrupt.o CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/virtual.o CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/displaystart.o LD [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/svgalib_helper.o Building modules, stage 2. MODPOST /bin/sh: scripts/mod/modpost: Aucun fichier ou r I have a similar bug here. svgalib-1.9.21-r1 fails to emerge. Reproducible: Always Steps to Reproduce: 1. emerge -av =media-libs/svgalib-1.9.21-r1 2. 3. Actual Results: -------------------------------------------------------------------------- These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-libs/svgalib-1.9.21-r1 [1.9.19-r3] -build -no-helper 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] yes [snip] * Preparing svgalib_helper module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper CLASS_CFLAGS=-DCLASS_SIMPLE=1 modules make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r10' WARNING: Symbol version dump /usr/src/linux-2.6.12-gentoo-r10/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/main.o CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/i810.o CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/interrupt.o CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/virtual.o CC [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/displaystart.o LD [M] /var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper/svgalib_helper.o Building modules, stage 2. MODPOST /bin/sh: scripts/mod/modpost: Aucun fichier ou répertoire de ce type make[2]: *** [__modpost] Erreur 127 make[1]: *** [modules] Erreur 2 make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r10' make: *** [default] Erreur 2 !!! ERROR: media-libs/svgalib-1.9.21-r1 failed. !!! Function linux-mod_src_compile, Line 460, Exitcode 2 !!! Unable to make KDIR=/usr/src/linux default. !!! If you need support, post the topmost build error, NOT this status message. -------------------------------------------------------------------------- # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.13 dev-lang/python: 2.2.3-r5, 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -mcpu=athlon -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -mcpu=athlon -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acl alsa apm avi bash-completion berkdb bitmap-fonts bonobo cdr cjk crypt cscope cups curl droproot dvd eds emboss encode esd fam ffmpeg flac foomaticdb fortran gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit ldap libg++ libwww mad mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline ruby scanner sdl slang spell sqlite ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS Didier, that looks like a different problem since you don't have userpriv in your FEATURES. It also looks like the fact your kernel at /usr/src/linux hasn't been fully compiled is the reason behind the problem. Thanks SpanKY, my emerge problem is obviously solved, but I do not know if there's a check for FEATURES that need to take place as part of the ebuild and either userpriv gets switched off for the duration of the emerge, or a WARNING pops up while the emerge is stalled awaiting user input? What I'm saying is that I don't know if this classifies as a bug anymore, or if it should be closed out. -- Regards, Mick I'll close invalid since I cant see any real cause of a bug here. Please re-open if you feel this is incorrect. |