Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242196 - net-dialup/fcpci-0.1-r1 +hardened-sources >2.6.26-r3 - include/linux/mmzone.h:18:26: linux/bounds.h: No such file or directory
Summary: net-dialup/fcpci-0.1-r1 +hardened-sources >2.6.26-r3 - include/linux/mmzone.h...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 13:29 UTC by Alexander Stoll
Modified: 2009-03-24 21:33 UTC (History)
3 users (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 Alexander Stoll 2008-10-15 13:29:57 UTC
Either the fix for monolithic kernels introduced in sys-kernel/hardened-sources-2.6.26-r4 broke something or the fcpci package needs new patches for fixing the missing includes

Reproducible: Always

Steps to Reproduce:
1.Build a modular kernel with hardened-sources > 2.6.26-r3
2.emerge fcpci
3.
Comment 1 Alexander Stoll 2008-10-15 13:48:03 UTC
Portage 2.1.4.5 (hardened/linux/x86, gcc-3.4.6, glibc-2.6.1-r0, 2.6.26-hardened-r4 i686)
=================================================================
System uname: 2.6.26-hardened-r4 i686 Pentium III (Katmai)
Timestamp of tree: Wed, 15 Oct 2008 10:36:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentiumpro -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentiumpro -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --e
xclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="activefilter authlib bzip2 cdb cli cracklib crypt ctype dbm dkim dri erandom ethereal flatfile ftp gd gdbm gif gnutls hardened iconv ifc ipppd iproute2
 isdnlog jpeg maildir mbox memlimit mhash midi mime mmap mmx mschap mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam pcntl pcre perl pic pie png po
p3d posix pppd readline recode reflection rrdtool sasl shared sharedmem slang sockets socks5 spf sse ssl sysvipc szip tcpd tools unicode urandom userlocales
 x86 xorg 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn
_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock defla
te dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif spel
ing status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 g
lk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de 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, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVER
LAY

----
make[1]: Entering directory `/usr/src/linux-2.6.26-hardened-r4'
  CC [M]  /var/tmp/portage/net-dialup/fcpci-0.1-r1/work/fritz/src/main.o
  CC [M]  /var/tmp/portage/net-dialup/fcpci-0.1-r1/work/fritz/src/driver.o
In Datei, eingefügt von include/linux/gfp.h:4,
                    von include/linux/slab.h:12,
                    von include/linux/percpu.h:5,
                    von include/asm/local.h:4,
                    von include/linux/module.h:19,
                    von /var/tmp/portage/net-dialup/fcpci-0.1-r1/work/fritz/src/main.c:27:
include/linux/mmzone.h:18:26: linux/bounds.h: Datei oder Verzeichnis nicht gefunden
include/linux/mmzone.h:197:5: Warnung: »MAX_NR_ZONES« ist nicht definiert
...
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-12-14 12:17:40 UTC
Reassigned to hardened maintainer.
Comment 3 Gordon Malm (RETIRED) gentoo-dev 2009-03-22 17:54:29 UTC
Didn't even see this bug until now.  Why is this a hardened-sources issue?  Probably another header move by mainline kernel.  Assigning to package maintainer, but I'll keep hardened-kernel@ on CC.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2009-03-24 19:40:33 UTC
I've assigned it to hardened team because it is related to hardened kernel (it builds successfully against gentoo-sources).
I don't see a point this ping-pong. You have 3 options:
  a) fix it 
  b) tell us what we can do to fix it
  c) tell us to go screw ourselves, in which case please close this as WONTFIX
Obviously I prefer a), since it is a lot easier for you to fix it than it is for us to make a hardened setup. 
Comment 5 Gordon Malm (RETIRED) gentoo-dev 2009-03-24 21:33:59 UTC
Thanks for the clarification Alin, I just didn't know if it was a stray bug or what.  Anyway, we don't touch bounds.h and I found the users' issue - he needs to compile the kernel first.  bounds.h is generated by Kbuild, the kernel's build system.  Further, I just tested it here and the package builds fine.

Closing as INVALID.