+ [[ no == yes ]] + [[ yes != yes ]] + echo -ne ' * 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar \n' * 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar + LAST_E_CMD=einfon + return 0 + LAST_E_CMD=einfo + return 0 + '[' '!' -s /usr/src/linux/.config ']' + qeerror 'Could not find a usable .config in the kernel source directory.' + qout eerror 'Could not find a usable .config in the kernel source directory.' + local outputmsg type + type=eerror + shift + outputmsg='Could not find a usable .config in the kernel source directory.' + case "${EBUILD_PHASE}" in + '[' -n 'Could not find a usable .config in the kernel source directory.' ']' + eerror 'Could not find a usable .config in the kernel source directory.' + [[ no == yes ]] + [[ yes != yes ]] + echo -e ' * Could not find a usable .config in the kernel source directory.' * Could not find a usable .config in the kernel source directory. + esyslog daemon.err rc-scripts 'Could not find a usable .config in the kernel source directory.' + return 0 + LAST_E_CMD=eerror + return 0 + qeerror 'Please ensure that /usr/src/linux points to a configured set of Linux sources.' + qout eerror 'Please ensure that /usr/src/linux points to a configured set of Linux sources.' + local outputmsg type + type=eerror + shift + outputmsg='Please ensure that /usr/src/linux points to a configured set of Linux sources.' + case "${EBUILD_PHASE}" in + '[' -n 'Please ensure that /usr/src/linux points to a configured set of Linux sources.' ']' + eerror 'Please ensure that /usr/src/linux points to a configured set of Linux sources.' + [[ no == yes ]] + [[ yes != yes ]] + echo -e ' * Please ensure that /usr/src/linux points to a configured set of Linux sources.' * Please ensure that /usr/src/linux points to a configured set of Linux sources. + esyslog daemon.err rc-scripts 'Please ensure that /usr/src/linux points to a configured set of Linux sources.'+ return 0 + LAST_E_CMD=eerror + return 0 + qeerror 'If you are using KBUILD_OUTPUT, please set the environment var so that' + qout eerror 'If you are using KBUILD_OUTPUT, please set the environment var so that' + local outputmsg type + type=eerror + shift + outputmsg='If you are using KBUILD_OUTPUT, please set the environment var so that' + case "${EBUILD_PHASE}" in + '[' -n 'If you are using KBUILD_OUTPUT, please set the environment var so that' ']' + eerror 'If you are using KBUILD_OUTPUT, please set the environment var so that' + [[ no == yes ]] + [[ yes != yes ]] + echo -e ' * If you are using KBUILD_OUTPUT, please set the environment var so that' * If you are using KBUILD_OUTPUT, please set the environment var so that + esyslog daemon.err rc-scripts 'If you are using KBUILD_OUTPUT, please set the environment var so that' + return 0 + LAST_E_CMD=eerror + return 0 + qeerror 'it points to the necessary object directory so that it might find .config.' + qout eerror 'it points to the necessary object directory so that it might find .config.' + local outputmsg type + type=eerror + shift + outputmsg='it points to the necessary object directory so that it might find .config.' + case "${EBUILD_PHASE}" in + '[' -n 'it points to the necessary object directory so that it might find .config.' ']' + eerror 'it points to the necessary object directory so that it might find .config.' + [[ no == yes ]] + [[ yes != yes ]] + echo -e ' * it points to the necessary object directory so that it might find .config.' * it points to the necessary object directory so that it might find .config. + esyslog daemon.err rc-scripts 'it points to the necessary object directory so that it might find .config.' + return 0 + LAST_E_CMD=eerror + return 0 + return 1 + diefunc linux-info_pkg_setup 521 1 'Unable to calculate Linux Kernel version' + local funcname=linux-info_pkg_setup lineno=521 exitcode=1 + shift 3 + echo + echo '!!! ERROR: app-mobilephone/gnokii-0.6.8 failed.' !!! ERROR: app-mobilephone/gnokii-0.6.8 failed. + echo '!!! Function linux-info_pkg_setup, Line 521, Exitcode 1' !!! Function linux-info_pkg_setup, Line 521, Exitcode 1 + echo '!!! Unable to calculate Linux Kernel version' !!! Unable to calculate Linux Kernel version + echo '!!! If you need support, post the topmost build error, NOT this status message.' !!! If you need support, post the topmost build error, NOT this status message. + echo + exit 1 [23:20:27 alexander@server:~] $ sudo emerge -v1d app-mobilephone/gnokii Calculating dependencies Parent: None Depstring: app-mobilephone/gnokii Candidates: ['app-mobilephone/gnokii'] ebuild: app-mobilephone/gnokii-0.6.8 binpkg: None -Parent: ebuild / app-mobilephone/gnokii-0.6.8 merge Depstring: X? ( =x11-libs/gtk+-1.2* ) bluetooth? ( net-wireless/bluez-libs ) sms? ( >=dev-libs/glib-2 postgres? ( dev-db/postgresql ) mysql? ( dev-db/mysql ) ) irda? ( virtual/os-headers ) nls? ( sys-devel/gettext ) sys-devel/autoconf !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) X? ( =x11-libs/gtk+-1.2* ) bluetooth? ( net-wireless/bluez-libs ) sms? ( >=dev-libs/glib-2 postgres? ( dev-db/postgresql ) mysql? ( dev-db/mysql ) ) Exiting... None ...done! >>> emerge (1 of 1) app-mobilephone/gnokii-0.6.8 to / + dyn_clean + '[' GNU == BSD ']' + '[' GNU == Darwin ']' + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/image + hasq keeptemp autoconfig ccache collision-protect distcc distlocks sandbox sfperms strict userpriv usersandbox+ local x + local me=keeptemp + shift + for x in '"$@"' + '[' autoconfig == keeptemp ']' + for x in '"$@"' + '[' ccache == keeptemp ']' + for x in '"$@"' + '[' collision-protect == keeptemp ']' + for x in '"$@"' + '[' distcc == keeptemp ']' + for x in '"$@"' + '[' distlocks == keeptemp ']' + for x in '"$@"' + '[' sandbox == keeptemp ']' + for x in '"$@"' + '[' sfperms == keeptemp ']' + for x in '"$@"' + '[' strict == keeptemp ']' + for x in '"$@"' + '[' userpriv == keeptemp ']' + for x in '"$@"' + '[' usersandbox == keeptemp ']' + return 1 + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/temp + hasq keepwork autoconfig ccache collision-protect distcc distlocks sandbox sfperms strict userpriv usersandbox+ local x + local me=keepwork + shift + for x in '"$@"' + '[' autoconfig == keepwork ']' + for x in '"$@"' + '[' ccache == keepwork ']' + for x in '"$@"' + '[' collision-protect == keepwork ']' + for x in '"$@"' + '[' distcc == keepwork ']' + for x in '"$@"' + '[' distlocks == keepwork ']' + for x in '"$@"' + '[' sandbox == keepwork ']' + for x in '"$@"' + '[' sfperms == keepwork ']' + for x in '"$@"' + '[' strict == keepwork ']' + for x in '"$@"' + '[' userpriv == keepwork ']' + for x in '"$@"' + '[' usersandbox == keepwork ']' + return 1 + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/.unpacked + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/.compiled + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/.tested + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/.installed + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/.packaged + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/build-info + rm -rf /Gentoo/Portage/build/portage/gnokii-0.6.8/work + '[' -f /Gentoo/Portage/build/portage/gnokii-0.6.8/.unpacked ']' ++ find /Gentoo/Portage/build/portage/gnokii-0.6.8 -mindepth 1 -maxdepth 1 + '[' -z '' ']' + rmdir /Gentoo/Portage/build/portage/gnokii-0.6.8 + true + set +x >>> md5 files ;-) gnokii-0.6.3.ebuild >>> md5 files ;-) gnokii-0.6.4.ebuild >>> md5 files ;-) gnokii-0.6.6.ebuild >>> md5 files ;-) gnokii-0.6.7-r1.ebuild >>> md5 files ;-) gnokii-0.6.7-r2.ebuild >>> md5 files ;-) gnokii-0.6.8.ebuild >>> md5 files ;-) files/digest-gnokii-0.6.7-r1 >>> md5 files ;-) files/digest-gnokii-0.6.7-r2 >>> md5 files ;-) files/gnokii-bindir.patch >>> md5 files ;-) files/gnokii.desktop >>> md5 files ;-) files/gnokii-0.6.3-nounix98pty.patch >>> md5 files ;-) files/gnokii-0.6.4-nounix98pty.patch >>> md5 files ;-) files/gnokii-0.6.6-nounix98pty.patch >>> md5 files ;-) files/gnokii-0.6.7-smsd-glib2.patch >>> md5 files ;-) files/gnokii-0.6.8-smsd-glib2.patch >>> md5 files ;-) files/digest-gnokii-0.6.3 >>> md5 files ;-) files/digest-gnokii-0.6.4 >>> md5 files ;-) files/digest-gnokii-0.6.6 >>> md5 files ;-) files/digest-gnokii-0.6.8 >>> md5 src_uri ;-) gnokii-0.6.8.tar.bz2 + dyn_setup + pkg_setup + linux-info_pkg_setup + get_version + local kbuild_output + '[' -n '' ']' + unset KV_DIR + qeinfo 'Determining the location of the kernel source code' + qout einfo 'Determining the location of the kernel source code' + local outputmsg type + type=einfo + shift + outputmsg='Determining the location of the kernel source code' + case "${EBUILD_PHASE}" in + '[' -n 'Determining the location of the kernel source code' ']' + einfo 'Determining the location of the kernel source code' + einfon 'Determining the location of the kernel source code\n' + [[ no == yes ]] + [[ yes != yes ]] + echo -ne ' * Determining the location of the kernel source code\n' * Determining the location of the kernel source code + LAST_E_CMD=einfon + return 0 + LAST_E_CMD=einfo + return 0 + '[' -h /usr/src/linux ']' ++ readlink -f /usr/src/linux + KV_DIR=/usr/src/linux-2.6.13-ck1 + '[' -d /usr/src/linux ']' + KV_DIR=/usr/src/linux + '[' -z /usr/src/linux ']' + qeinfo 'Found kernel source directory:' + qout einfo 'Found kernel source directory:' + local outputmsg type + type=einfo + shift + outputmsg='Found kernel source directory:' + case "${EBUILD_PHASE}" in + '[' -n 'Found kernel source directory:' ']' + einfo 'Found kernel source directory:' + einfon 'Found kernel source directory:\n' + [[ no == yes ]] + [[ yes != yes ]] + echo -ne ' * Found kernel source directory:\n' * Found kernel source directory: + LAST_E_CMD=einfon + return 0 + LAST_E_CMD=einfo + return 0 + qeinfo ' /usr/src/linux' + qout einfo ' /usr/src/linux' + local outputmsg type + type=einfo + shift + outputmsg=' /usr/src/linux' + case "${EBUILD_PHASE}" in + '[' -n ' /usr/src/linux' ']' + einfo ' /usr/src/linux' + einfon ' /usr/src/linux\n' + [[ no == yes ]] + [[ yes != yes ]] + echo -ne ' * /usr/src/linux\n' * /usr/src/linux + LAST_E_CMD=einfon + return 0 + LAST_E_CMD=einfo + return 0 + '[' '!' -s /usr/src/linux/Makefile ']' + OUTPUT_DIR= ++ getfilevar KBUILD_OUTPUT /usr/src/linux/Makefile ++ local ERROR workingdir basefname basedname myARCH=x86 ++ ERROR=0 ++ '[' -z KBUILD_OUTPUT ']' ++ '[' '!' -f /usr/src/linux/Makefile ']' ++ '[' 0 = 1 ']' ++ workingdir=/Gentoo/Portage/build/portage +++ basename /usr/src/linux/Makefile ++ basefname=Makefile +++ dirname /usr/src/linux/Makefile ++ basedname=/usr/src/linux ++ unset ARCH ++ cd /usr/src/linux ++ echo -e 'include Makefile\ne:\n\t@echo $(KBUILD_OUTPUT)' ++ make -s -f - e ++ cd /Gentoo/Portage/build/portage ++ ARCH=x86 + kbuild_output= + OUTPUT_DIR= ++ getfilevar VERSION /usr/src/linux/Makefile ++ local ERROR workingdir basefname basedname myARCH=x86 ++ ERROR=0 ++ '[' -z VERSION ']' ++ '[' '!' -f /usr/src/linux/Makefile ']' ++ '[' 0 = 1 ']' ++ workingdir=/Gentoo/Portage/build/portage +++ basename /usr/src/linux/Makefile ++ basefname=Makefile +++ dirname /usr/src/linux/Makefile ++ basedname=/usr/src/linux ++ unset ARCH ++ cd /usr/src/linux ++ echo -e 'include Makefile\ne:\n\t@echo $(VERSION)' ++ make -s -f - e ++ cd /Gentoo/Portage/build/portage ++ ARCH=x86 + KV_MAJOR=2 ++ getfilevar PATCHLEVEL /usr/src/linux/Makefile ++ local ERROR workingdir basefname basedname myARCH=x86 ++ ERROR=0 ++ '[' -z PATCHLEVEL ']' ++ '[' '!' -f /usr/src/linux/Makefile ']' ++ '[' 0 = 1 ']' ++ workingdir=/Gentoo/Portage/build/portage +++ basename /usr/src/linux/Makefile ++ basefname=Makefile +++ dirname /usr/src/linux/Makefile ++ basedname=/usr/src/linux ++ unset ARCH ++ cd /usr/src/linux ++ echo -e 'include Makefile\ne:\n\t@echo $(PATCHLEVEL)' ++ make -s -f - e ++ cd /Gentoo/Portage/build/portage ++ ARCH=x86 + KV_MINOR=6 ++ getfilevar SUBLEVEL /usr/src/linux/Makefile ++ local ERROR workingdir basefname basedname myARCH=x86 ++ ERROR=0 ++ '[' -z SUBLEVEL ']' ++ '[' '!' -f /usr/src/linux/Makefile ']' ++ '[' 0 = 1 ']' ++ workingdir=/Gentoo/Portage/build/portage +++ basename /usr/src/linux/Makefile ++ basefname=Makefile +++ dirname /usr/src/linux/Makefile ++ basedname=/usr/src/linux ++ unset ARCH ++ cd /usr/src/linux ++ echo -e 'include Makefile\ne:\n\t@echo $(SUBLEVEL)' ++ make -s -f - e ++ cd /Gentoo/Portage/build/portage ++ ARCH=x86 + KV_PATCH=13 ++ getfilevar EXTRAVERSION /usr/src/linux/Makefile ++ local ERROR workingdir basefname basedname myARCH=x86 ++ ERROR=0 ++ '[' -z EXTRAVERSION ']' ++ '[' '!' -f /usr/src/linux/Makefile ']' ++ '[' 0 = 1 ']' ++ workingdir=/Gentoo/Portage/build/portage +++ basename /usr/src/linux/Makefile ++ basefname=Makefile +++ dirname /usr/src/linux/Makefile ++ basedname=/usr/src/linux ++ unset ARCH ++ cd /usr/src/linux ++ echo -e 'include Makefile\ne:\n\t@echo $(EXTRAVERSION)' ++ make -s -f - e ++ cd /Gentoo/Portage/build/portage ++ ARCH=x86 + KV_EXTRA=-ck1 + '[' -z 2 -o -z 6 -o -z 13 ']' ++ uname -r + '[' 2.6.13.-ck1 == 2.6.12-ck6.014.reiser4.nfsv4.inotify.no-posix.bsd ']' + '[' -h '' ']' + '[' -d '' ']' + '[' -n '' ']' + KV_OUT_DIR=/usr/src/linux ++ get_localversion /usr/src/linux ++ local lv_list i x +++ ls '/usr/src/linux/localversion*' ++ x= ++ echo + KV_LOCAL= ++ linux_chkconfig_string LOCALVERSION ++ getfilevar CONFIG_LOCALVERSION /usr/src/linux/.config ++ local ERROR workingdir basefname basedname myARCH=x86 ++ ERROR=0 ++ '[' -z CONFIG_LOCALVERSION ']' ++ '[' '!' -f /usr/src/linux/.config ']' ++ ERROR=1 ++ '[' 1 = 1 ']' ++ echo -e '\n' ++ eerror 'getfilevar requires 2 variables, with the second a valid file.' ++ [[ no == yes ]] ++ [[ yes != yes ]] ++ echo -e ' * getfilevar requires 2 variables, with the second a valid file.' ++ esyslog daemon.err rc-scripts 'getfilevar requires 2 variables, with the second a valid file.' ++ return 0 ++ LAST_E_CMD=eerror ++ return 0 ++ eerror ' getfilevar ' ++ [[ no == yes ]] ++ [[ yes != yes ]] ++ echo -e ' * getfilevar ' ++ esyslog daemon.err rc-scripts ' getfilevar ' ++ return 0 ++ LAST_E_CMD=eerror ++ return 0 + KV_LOCAL=' * getfilevar requires 2 variables, with the second a valid file. * getfilevar ' + KV_LOCAL=' * getfilevar requires 2 variables, with the second a valid file. * getfilevar ' + KV_FULL='2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar ' + qeinfo 'Found sources for kernel version:' + qout einfo 'Found sources for kernel version:' + local outputmsg type + type=einfo + shift + outputmsg='Found sources for kernel version:' + case "${EBUILD_PHASE}" in + '[' -n 'Found sources for kernel version:' ']' + einfo 'Found sources for kernel version:' + einfon 'Found sources for kernel version:\n' + [[ no == yes ]] + [[ yes != yes ]] + echo -ne ' * Found sources for kernel version:\n' * Found sources for kernel version: + LAST_E_CMD=einfon + return 0 + LAST_E_CMD=einfo + return 0 + qeinfo ' 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar ' + qout einfo ' 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar ' + local outputmsg type + type=einfo + shift + outputmsg=' 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar ' + case "${EBUILD_PHASE}" in + '[' -n ' 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar ' ']' + einfo ' 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar ' + einfon ' 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar \n' + [[ no == yes ]] + [[ yes != yes ]] + echo -ne ' * 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar \n' * 2.6.13-ck1 * getfilevar requires 2 variables, with the second a valid file. * getfilevar + LAST_E_CMD=einfon + return 0 + LAST_E_CMD=einfo + return 0 + '[' '!' -s /usr/src/linux/.config ']' + qeerror 'Could not find a usable .config in the kernel source directory.' + qout eerror 'Could not find a usable .config in the kernel source directory.' + local outputmsg type + type=eerror + shift + outputmsg='Could not find a usable .config in the kernel source directory.' + case "${EBUILD_PHASE}" in + '[' -n 'Could not find a usable .config in the kernel source directory.' ']' + eerror 'Could not find a usable .config in the kernel source directory.' + [[ no == yes ]] + [[ yes != yes ]] + echo -e ' * Could not find a usable .config in the kernel source directory.' * Could not find a usable .config in the kernel source directory. + esyslog daemon.err rc-scripts 'Could not find a usable .config in the kernel source directory.' + return 0 + LAST_E_CMD=eerror + return 0 + qeerror 'Please ensure that /usr/src/linux points to a configured set of Linux sources.' + qout eerror 'Please ensure that /usr/src/linux points to a configured set of Linux sources.' + local outputmsg type + type=eerror + shift + outputmsg='Please ensure that /usr/src/linux points to a configured set of Linux sources.' + case "${EBUILD_PHASE}" in + '[' -n 'Please ensure that /usr/src/linux points to a configured set of Linux sources.' ']' [23:20:35 alexander@server:~] $