Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18 i686) ================================================================= System Settings ================================================================= System uname: 2.6.18 i686 Genuine Intel(R) CPU 1500 @ 2.00GHz Gentoo Base System version 1.12.5 Last Sync: Sun, 24 Sep 2006 19:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r1 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="nl_BE@euro" LC_ALL="nl_BE@euro" LINGUAS="" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 alsa apm berkdb bitmap-fonts cairo cdr cli crypt cups dlloader dri elibc_glibc fam fortran gdbm gnome gpm gtk2 hal input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ mono ncurses nls nptl nptlonly nsplugin oggvorbis opengl pam pcre perl ppds pppd python readline reflection samba session spell spl ssl svg tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_i810 video_cards_vesa xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Please, post some errors, we won't guess.
(In reply to comment #1) > Please, post some errors, we won't guess. > checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking whether client should be built... yes checking where to find a working nbd.h... configure: error: Could not find an nbd.h from 2.6 or above. Sorry, I forgot, tia
linux/nbd.h needs to include linux/types.h
Created attachment 98469 [details] config.log Here's a config.log. I tried adding an #include <linux/types.h> just below the include of linux/mutex.h and that did not do anything. configure:7769: i686-pc-linux-gnu-gcc -c -O2 -march=athlon-mp -g -pipe -w -idira fter /var/tmp/portage/nbd-2.8.6/work/nbd-2.8.6/inc-after conftest.c >&5 In file included from conftest.c:43: /usr/include/linux/nbd.h:81: error: expected specifier-qualifier-list before '__ u32' /usr/include/linux/nbd.h:97: error: expected specifier-qualifier-list before '__ u32'
Woops, didn't notice the ifdef __KERNEL__ there ... moving the include out worked.
fixed in 2.6.18
*** Bug 152627 has been marked as a duplicate of this bug. ***
*** Bug 152707 has been marked as a duplicate of this bug. ***
Sorry but fixing a bug valid for a *stable* ebuild in -* linux-headers which is completely unsupported by kernel folks plain doesn't help anyone. Reopen.
here's an idea ... unless you're part of the development team, you dont get to say what is and isnt supported linux-headers-2.6.18 is fully supported
(In reply to comment #10) > linux-headers-2.6.18 is fully supported By whom? Bug 151391 Comment #3 doesn't seem to suggest that kernel folks would be willing to support it.
why dont you read the metadata.xml
Given that gentoo-sources hasn't gone stable for 2.6.18 and therefore we're stuck on linux-headers-2.6.17-r1 - is there a solution for us here ??
linux-headers has nothing to do with kernel-sources you can easily use say linux-headers-2.6.18 with a 2.6.10 kernel ... glibc takes care of all the lower details
o.k. but i've just resynced and even though I have linux-headers-2.6.17-r1 currently installed, emerge -puD doesn't show it wants to upgrade to linux-headers-2.6.18. what do I need to do ?
2.6.18 headers arent ready for general consumption yet ... there are known bugs in some packages that should be fixed first
o.k. but sys-block/nbd is stable, so it used to work I guess. Is there no fix for 2.6.17 headers and bump it to -r2 ??
that's why the bug is re-opened ... i have to get up the courage to muck in the older stuff :p
Right, I think that's what Jakub was trying to say earlier in the comments. 2.6.18 headers aren't ready for general consumption as you say, but you closed the bug. So, yes, I understand why it's been reopened. I'll await the next installment. :-)
fixed in 2.6.17-r2