Summary: | app-emulation/virtualbox-ose-2.1.4-r1 fails with Config.kmk:1564: /var/tmp/portage/app-...2.1.4_OSE/out/linux.amd64/release/GCCConfig.kmk: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | New packages | Assignee: | Alessio Cassibba (X-Drum) <swapon> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | andrey.vihrov, balint, dcday137, dschridde+gentoobugs, DuPol, gentosaker, griffon26, guenther, hans, jesse, leon+gentoo, nelchael, pageexec, patrick, rory.cn, rrh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | /tmp/build.log |
Description
Justin Lecher (RETIRED)
![]() Created attachment 184809 [details]
/tmp/build.log
build.log
It was compiling correctly before this commit: 11 Mar 2009; Markus Ullmann <jokey@gentoo.org> virtualbox-ose-2.1.4-r1.ebuild: Apply Config.kmk fix wrt bug #251335 Got the same error on stable amd64. Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.2.5 Timestamp of tree: Sat, 14 Mar 2009 08:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 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.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CPPFLAGS="-DNDEBUG" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.tups.lv/source/" LANG="ru_RU.UTF-8" LC_ALL="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="ru en lv" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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="X aac acpi alsa amd64 avahi bash-completion berkdb bluetooth bonjour branding bzip2 cairo cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal hddtemp iconv id3tag ieee1394 ipod isdnlog jpeg libnotify lm_sensors mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection rtc samba sdl session smp spell spl sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg symlink sysfs tcpd theora threads tiff totem truetype unicode upnp usb v4l2 vim-syntax vorbis x264 xml xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en lv" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Got same error, moreover bug #262409 looks like duplicate. Here is my emerge --info: Portage 2.1.6.8 (default/linux/x86/2008.0/developer, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_M_processor_1600MHz-with-glibc2.0 Timestamp of tree: Sat, 14 Mar 2009 10:45:01 +0000 distcc 3.0 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 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.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache collision-protect cvs digest distlocks fixpackages getbinpkg metadata-transfer multilib-strict parallel-fetch protect-owned sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS=" http://mirror.yandex.ru/gentoo-distfiles http://fido.online.kz/gentoo http://mirror.qubenet.net/mirror/gentoo " LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en ru" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gnash-cvs /usr/portage/local/layman/pro-audio /usr/portage/local/layman/arcon /usr/local/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl acpi adns alsa apache2 async bash-completion berkdb bluetooth bzip2 cairo caps cdda cdr cgi cli cracklib crypt cscope ctype cups curl dbus djvu doc dri dvd dvdr dvdread eds emboss encode evo exif fam fastcgi firefox flac gdbm gif gimp gsm gtk hal iconv isdnlog jingle jpeg libnotify logrotate mad mailwrapper midi mikmod mmap mmx modplug mp3 mpeg mudflap mysql ncurses network-cron new-login nls nptl nptlonly ogg opengl pam pcmcia pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection scanner sdl sensord session slang spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype unicode usb vim-syntax vorbis win32codecs x86 xcb xft xinerama xml xorg xscreensaver xulrunner xv xvid 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev void keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="dummy radeon vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS (In reply to comment #2) > It was compiling correctly before this commit: > > 11 Mar 2009; Markus Ullmann <jokey@gentoo.org> > virtualbox-ose-2.1.4-r1.ebuild: > Apply Config.kmk fix wrt bug #251335 I can confirm this. I deleted that sed line from the ebuild, and VirtualBox compiled correctly. I think that sed line is not necessary anymore because the source code was fixed in upstream. *** Bug 262409 has been marked as a duplicate of this bug. *** (In reply to comment #5) [..] > I can confirm this. I deleted that sed line from the ebuild, and VirtualBox > compiled correctly. I think that sed line is not necessary anymore because the > source code was fixed in upstream. > Hi, yes unluckily upstream changed the sources tarball 2 times, with the last "repack" ( VirtualBox-2.1.4-3-OSE.tar.bz2 ) they removed the typo in Config.kmk[1] too. [1] http://vbox.innotek.de/pipermail/vbox-dev/2009-March/001194.html (In reply to comment #7) > Hi, yes unluckily upstream changed the sources tarball 2 times, > with the last "repack" ( VirtualBox-2.1.4-3-OSE.tar.bz2 ) they removed > the typo in Config.kmk[1] too. As I mentioned in bug #251335, I still get this error on both my PC (amd64) and my laptop (x86). (In reply to comment #8) > > As I mentioned in bug #251335, I still get this error on both my PC (amd64) and > my laptop (x86). > Probably because the ebuild still has that sed line. I think everybody should re-fetch the fixed source tarball (upstream fixed it), and that sed line should be deleted. Removing the 'sed' line from the 2.1.4-r1 ebuild does not result in a successful build for me, just a cascade of other compile errors. (In reply to comment #10) > Removing the 'sed' line from the 2.1.4-r1 ebuild does not result in a > successful build for me, just a cascade of other compile errors. Can you be a little bit more specific please? It sounds to me another kind of issue. Did you re-fetch the new source tarball? If yes, what kind of error did you get? Is it related to the Config.kmk file? If it's a build error and not configuration error, than it has nothing to do with the removal of that sed line (which is necessary, because otherwise you would not even get to the compile phase). *** Bug 262950 has been marked as a duplicate of this bug. *** I keep getting the following from my build log: [32;01m*[0m Determining the location of the kernel source code [32;01m*[0m Found kernel source directory: [32;01m*[0m /usr/src/linux [32;01m*[0m Found kernel object directory: [32;01m*[0m /lib/modules/2.6.28-gentoo-r3/build [32;01m*[0m Found sources for kernel version: [32;01m*[0m 2.6.28-gentoo-r3 >>> Unpacking source... >>> Unpacking VirtualBox-2.1.4-3-OSE.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/work /var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/temp/environment: line 3243: VirtualBox-2.1.4-3_OSE/src/VBox/Additions/linux/export_modules: No such file or directory >>> Unpacking ./vbox-kmod.tar.gz to /var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/work [31;01m*[0m [31;01m*[0m ERROR: app-emulation/virtualbox-guest-additions-2.1.4 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_unpack [31;01m*[0m environment, line 3244: Called unpack './vbox-kmod.tar.gz' [31;01m*[0m ebuild.sh, line 354: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m [[ ! -s ${srcdir}${x} ]] && die "${x} does not exist" [31;01m*[0m The die message: [31;01m*[0m ./vbox-kmod.tar.gz does not exist [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-2.1.4/temp/environment'. [31;01m*[0m This ebuild is from an overlay: '/usr/local/portage/' [31;01m*[0m It appears it is not finding the vbox-kmod.tar.gz file. Is this related? (In reply to comment #13) > > It appears it is not finding the vbox-kmod.tar.gz file. Is this related? > I think this is not related to this issue. virtualbox-guest-additions are the *kernel modules and user-space tools for Linux guests*, as the ebuild descriptions says (for file sharing and other stuff). They should be installed in your Gentoo virtual machine and not in the host OS. Normally you don't need these, unless you installed your Gentoo as guest in VirtualBox. If this is your case, than I recommend to submit a separate bug ticket. (In reply to comment #14) > (In reply to comment #13) > > > > It appears it is not finding the vbox-kmod.tar.gz file. Is this related? > > > I think this is not related to this issue. virtualbox-guest-additions are the > *kernel modules and user-space tools for Linux guests*, as the ebuild > descriptions says (for file sharing and other stuff). They should be installed > in your Gentoo virtual machine and not in the host OS. Normally you don't need > these, unless you installed your Gentoo as guest in VirtualBox. > > If this is your case, than I recommend to submit a separate bug ticket. > Thnks - I will do so. I did not see any similar bugs after searching. Just did not want to waste anyones time if they already knew about this. Yes - I am installing a Gentoo VM on VirtualBox 2.1.4 for OSX. > Can you be a little bit more specific please? It sounds to me another kind of
> issue.
>
> Did you re-fetch the new source tarball? If yes, what kind of error did you
> get? Is it related to the Config.kmk file? If it's a build error and not
> configuration error, than it has nothing to do with the removal of that sed
> line (which is necessary, because otherwise you would not even get to the
> compile phase).
>
I definitely re-fetched the package, but upon examining the build errors more closely, I see it is the same error as before, it just moved around a bit, leading me to believe I'm not removing the right sed line from the ebuild. I'm assuming an updated ebuild with everything kosher is coming soon so I'll just sit tight until then.
To fix the issue temporarily open the ebuild at: 1. /usr/portage/app-emulation/virtualbox-ose/virtualbox-ose-2.1.4-r1.ebuild 2. delete the line 72 and 73 for bugfix 251335 3 rebuild the manifest: ebuild /usr/portage/app-emulation/virtualbox-ose/virtualbox-ose-2.1.4-r1.ebuild manifest This fixed this for me. (In reply to comment #17) > To fix the issue temporarily open the ebuild at: > 1. /usr/portage/app-emulation/virtualbox-ose/virtualbox-ose-2.1.4-r1.ebuild > 2. delete the line 72 and 73 for bugfix 251335 > 3 rebuild the manifest: > ebuild /usr/portage/app-emulation/virtualbox-ose/virtualbox-ose-2.1.4-r1.ebuild > manifest > > This fixed this for me. Hmmm.....I guess I DID remove the right lines. I'm not sure what this means; I still get an error for missing GCCConfig.kmk, but in a slightly different place than if the sed line is left in. *** Bug 263035 has been marked as a duplicate of this bug. *** *** Bug 263073 has been marked as a duplicate of this bug. *** (In reply to comment #18) > > Hmmm.....I guess I DID remove the right lines. I'm not sure what this means; > I still get an error for missing GCCConfig.kmk, but in a slightly different > place than if the sed line is left in. > Could you please attach the build log file? + 21 Mar 2009; Patrick Lauer <patrick@gentoo.org> + +virtualbox-ose-2.1.4-r2.ebuild: + Undo last fix as upstream already did so. Fixes #262271 (In reply to comment #21) > Could you please attach the build log file? I figured it out; it turned out to be distcc lousing things up and coincidentally displaying the same error in a slightly different spot. As soon as I emerged with "FEATURES="-distcc" it worked fine. |