Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647130 - app-emulation/virtualbox-5.2.6 USE=vboxwebsrv - as: out of memory allocating 4064 bytes after a total of 47165440 bytes
Summary: app-emulation/virtualbox-5.2.6 USE=vboxwebsrv - as: out of memory allocating ...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-09 15:58 UTC by Leonid Kopylov
Modified: 2018-04-07 13:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,233.92 KB, application/x-xz)
2018-02-09 16:02 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2018-02-09 15:58:42 UTC
# emerge -pqv '=app-emulation/virtualbox-5.2.6::gentoo'
[ebuild   R   ] app-emulation/virtualbox-5.2.6  USE="alsa java lvm opengl pam pulseaudio python qt5 sdk udev vboxwebsrv* vnc -debug -doc -headless -libressl -pax_kernel" PYTHON_TARGETS="python2_7"

# emerge --info '=app-emulation/virtualbox-5.2.6::gentoo'
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-7.3.0, glibc-2.26-r5, 4.15.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.15.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:     4042980 total,   3163544 free
KiB Swap:    4194300 total,   3405804 free
Timestamp of repository gentoo: Fri, 09 Feb 2018 15:00:01 +0000
Head commit of repository gentoo: a40b060ae499622ecea6d8cd96c0bbd7da799783
sh bash 4.4_p18
ld GNU ld (Gentoo 2.30 p1) 2.30.0
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p18::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

4nykey
    location: /var/lib/layman/4nykey
    sync-type: laymansync
    sync-uri: https://github.com/4nykey/4nykey.git
    masters: gentoo
    priority: 50

dotnet
    location: /var/lib/layman/dotnet
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/dotnet.git
    masters: gentoo
    priority: 50

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    sync-type: laymansync
    sync-uri: git://github.com/microcai/gentoo-zh.git
    masters: gentoo
    priority: 50

jm-overlay
    location: /var/lib/layman/jm-overlay
    sync-type: laymansync
    sync-uri: https://github.com/Jannis234/jm-overlay.git
    masters: dotnet gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    sync-type: laymansync
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

wine
    location: /var/lib/layman/wine
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/wine.git
    masters: gentoo
    priority: 50

Installed sets: @my-archives, @my-browsers, @my-cloud, @my-disk-utils, @my-docker, @my-editors, @my-hardware-utils, @my-im-voip, @my-kernel-tools, @my-log-monitor, @my-mail-clients, @my-media, @my-media-players, @my-media-tools, @my-net-analyzers, @my-net-tools, @my-portage-tools, @my-remote, @my-security, @my-servers, @my-system-tools, @my-text-browsers, @my-virt-utils, @my-virtualization
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome EULA FraunhoferFDK Nero-EULA-US PUEL OPERA-2014 RAR TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en he ru en_US he_IL ru_RU"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib accessibility acl acpi addressbook afp airplay all_sfx alsa amd64 anacron aosd apcupsd archive aspell audit autofs avahi bat berkdb bidi bittorrent bluetooth bluray box branding btrfs bzip2 cairo ccache cdda cddb cdio cdparanoia cdr cgmanager chromium cli client clockdiff cmus colord conntrack contrast contrib cracklib creds crypt cryptsetup cscope cups curl cxx daap dbus designer device-mapper discid dlz dmi dmraid dnd dns dolphin dos drawing dri dropbox dts dvb dvd dvdr eds efi emacs emboss emoji encode epub equalizer evo examples exif expat experimental fam farstream fat fdk finger firewalld flac flickr fontconfig fortran freeimage fribidi ftp fuse games gconf gd gdbm geoclue geoip geolocation geonames gif gimp git glamor gles glusterfs gme gnome gnome-keyring gnome-online-accounts gnuplot go google googledrive gpg gpm graph growl grub gssapi gstreamer gtk gtk3 gui handwriting hddtemp help highlight hotkeys html http httpd hunspell iconv icq icu id3tag idn introspection ios iostats ipod ipv6 irc iscsi iso itunes java jpeg jpeg2k kde kerberos lastfm lcms ldap legacy-systray libass libcaca libkms libmpdclient libmpv libnotify libsecret libssh libuv libvisual lj lkrn lm_sensors localstorage location logrotate lua lvm lxc mad man marble math mbox mdadm mdnsresponder-compat mediainfo mediaplayer mediawiki mediawiki-experimental messages metalink minizip mms mng moc modules mount mount-locking mp3 mp4 mpd mpeg mplayer mpx msn mtp mule multilib multimedia musepack mutt mysql nano-syntax nas natspec nautilus ncat ncurses ndiff net netgroups netlink network network-cron networkmanager nfs nftables nis nls notmuch nping nptl nscd nslint nsplugin ntfs offensive office ogg openexr opengl openmp openntpd orientation oscar otr pam pango parted pcap pcre pdf pdfimport perl phonon pidgin plasma playlist plugins plymouth png podcast policykit pop positioning postgres ppds prediction printsupport prison pulseaudio python qalculate qml qrcode qt3support qt5 quickstarter quota raw rdp readline recorder remote rpc rss samba sasl savedconfig scope script scripttools scrobbler sdl seccomp semantic-desktop sendto sensord sensors session share skins skydrive slp smi smime smp smtp sndfile sound soundcloud speech speedpitch speex spell spice spoof-source sqlite ssh sshdump ssl startup-notification stats steam subtitles sudo svg symlink sync-plugin-portage systemd systray taglib tcpd terminal tfshark tftpd theora threads thumbnail tiff timezone tk tools tracepath tracker trayicon truetype tty-helpers udev udisks uml undi unicode update-check update_drivedb upnp upnp-av upower usb usbredir user-session utils v4l vala vboxwebsrv vim vim-pager vim-syntax vimeo virt-network virtualbox vkontakte vlc vlm vmware vnc vorbis vte warmstarts wayland webcam webdav webkit webp webready webserver widgets wifi winbind wininst wireshark-plugins wps wxwidgets x264 xa xattr xcb xemacs xface xfs xine xinerama xkb xml xmms2 xmp xmpp xscreensaver xv xvid xvmc yahoo zenmap zeroconf zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-emulation/virtualbox-5.2.6::gentoo was built with the following:
USE="alsa java lvm opengl pam pulseaudio python qt5 sdk udev vnc -debug -doc -headless -libressl -pax_kernel -vboxwebsrv" ABI_X86="(64)" PYTHON_TARGETS="python2_7"
Comment 1 Leonid Kopylov 2018-02-09 16:02:23 UTC
Created attachment 518748 [details]
build.log.xz
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-07 13:28:29 UTC
You ran out of memory trying to fit five make jobs into 4 gigabytes of RAM. Either lower the number of make jobs or install more RAM.




/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/as: out of memory allocating 4064 bytes after a total of 47165440 bytes
virtual memory exhausted: Cannot allocate memory

/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/as: out of memory allocating 4064 bytes after a total of 58392576 bytes
{standard input}: Assembler messages:
{standard input}:516463: Fatal error: can't close /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps.o: Memory exhausted
 * /var/tmp/portage/sys-apps/sandbox-2.12/work/sandbox-2.12/libsandbox/libsandbox.c:resolve_path():225: failure (Cannot allocate memory):
 * malloc(8192)
/usr/lib64/libsandbox.so(+0xbd05)[0x154bc133bd05]
/usr/lib64/libsandbox.so(+0xbe1d)[0x154bc133be1d]
/usr/lib64/libsandbox.so(+0xcb93)[0x154bc133cb93]
/usr/lib64/libsandbox.so(+0x466b)[0x154bc133466b]
/usr/lib64/libsandbox.so(+0x4d71)[0x154bc1334d71]
/usr/lib64/libsandbox.so(unlink+0x4c)[0x154bc133ad7c]
/usr/lib64/binutils/x86_64-pc-linux-gnu/2.30/libbfd-2.30.0.so(unlink_if_ordinary+0x70)[0x154bc0d347d0]
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/as(+0x1e634)[0x5609fc5a1634]
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/as(+0x1ec03)[0x5609fc5a1c03]
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/as(+0xba30)[0x5609fc58ea30]
/proc/7432/cmdline: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/as -I /usr -I /usr/share/gsoap/import -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/obj/webservice -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/src/VBox/Main/webservice -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/bin/sdk/bindings/xpcom/include -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/xpcom -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/string -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/xpcom -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/ipcd -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/obj/vboxwebsrv/dtrace -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/include -I /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release --64 -o /var/tmp/portage/app-emulation/virtualbox-5.2.6/work/VirtualBox-5.2.6/out/linux.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps.o

{standard input}:516463: Internal error (Aborted).