Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830304 - app-emulation/virtualbox-6.1.30 VBoxTpG: error: Failed to start 'yasm' (assembler): VERR_ACCESS_DENIED
Summary: app-emulation/virtualbox-6.1.30 VBoxTpG: error: Failed to start 'yasm' (assem...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-30 16:18 UTC by Andrea Postiglione
Modified: 2022-01-25 10:28 UTC (History)
1 user (show)

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


Attachments
build.log (app-emulation-virtualbox.log.xz,279.95 KB, application/x-xz)
2021-12-31 10:05 UTC, Andrea Postiglione
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Postiglione 2021-12-30 16:18:50 UTC
x86_64-pc-linux-gnu-g++ -c -O2 -fno-pie -nostdinc -g -pipe  -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter     -Wlogical-op   -Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter  -Wno-overloaded-virtual -Wno-array-bounds -Wno-ignored-qualifiers -Wno-variadic-macros -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fno-exceptions -fno-stack-protector -fno-common -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -fno-rtti  -fPIC -Wunused -Wunused-variable -Wno-unused-parameter -m64 -mno-red-zone -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fasynchronous-unwind-tables -Wno-unused-function -O2 -fomit-frame-pointer  -I/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/src/VBox/VMM/include -I/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/VBoxVMM/CommonGenIncs -I/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/include/iprt/nocrt -I/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/VMMR0/dtrace -I/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/include -I/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib64/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/lib64/virtualbox\" -DRTPATH_APP_DOCS=\"\" -DIN_RING0 -DIN_RING0_AGNOSTIC -DIPRT_NO_CRT -DRT_WITH_NOCRT_ALIASES -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -DVBOX_WITH_DTRACE -DVBOX_WITH_DTRACE_R0 -DVBOX_IN_VMM -DIN_VMM_R0 -DIN_RT_R0 -DIN_DIS -DDIS_CORE_ONLY -DIN_GVMM_R0 -DIN_GMM_R0 -DIN_INTNET_R0 -DUSING_VMM_COMMON_DEFS -DVBOX_WITH_3RD_IEM_STEP -DVBOX_WITH_NESTED_HWVIRT_SVM -DVBOX_WITH_NESTED_HWVIRT_VMX -DVBOX_WITH_MULTI_CORE -DVBOX_WITH_VMMR0_DISABLE_LAPIC_NMI -DVBOX_WITH_DTRACE_RC -DVBOX_WITH_SAFE_STR -DVBOX_WITH_RAM_IN_KERNEL -DVBOX_WITH_LINEAR_HOST_PHYS_MEM -DRTASSERT_HAVE_SHOULD_PANIC -DVMM_R0_TOUCH_FPU -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/VMMR0/VMMAll/IEMAll.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/VMMR0/VMMAll/IEMAll.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/VMMR0/VMMAll/IEMAll.o  /var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/src/VBox/VMM/VMMAll/IEMAll.cpp
kmk_builtin_append -n "/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/VMMR0/VMMAll/IEMAll.o.dep" "" "/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/src/VBox/VMM/VMMAll/IEMAll.cpp:" ""
kmk: *** Exiting with status 2
  GEN {T}/RuntimeR0/dtrace/VBoxVMM-dtrace-object-format.o
kmk_builtin_rm -f -- /var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/RuntimeR0/dtrace/VBoxVMM-dtrace-object-format.o.dep /var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/RuntimeR0/dtrace/VBoxVMM-dtrace-object-format.o
/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/VBoxTpG/VBoxTpG --assembler "yasm" -64 -G --host-64-bit  --ring-0-context-agnostic --pic -o "/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/RuntimeR0/dtrace/VBoxVMM-dtrace-object-format.o" -s "/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/src/VBox/VMM/VBoxVMM.d"
VBoxTpG: error: Failed to start 'yasm' (assembler): VERR_ACCESS_DENIED
kmk: *** [/usr/share/kBuild/units/dtrace.kmk:159: /var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/RuntimeR0/dtrace/VBoxVMM-dtrace-object-format.o] Error 1
 * ERROR: app-emulation/virtualbox-6.1.30::gentoo failed (compile phase):
Comment 1 Andrea Postiglione 2021-12-30 16:21:30 UTC
thunderdome /home/custom # emerge --info virtualbox
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.1, glibc-2.34-r4, 5.15.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.12-gentoo-x86_64-Intel-R-_Core-TM-_i9-10900K_CPU_@_3.70GHz-with-glibc2.34
KiB Mem:   131947776 total, 109265532 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository 4nykey: Wed, 29 Dec 2021 17:51:58 +0000
Head commit of repository 4nykey: 699f542cd2081dbf1a4eecc75240f54cd709836d

Timestamp of repository guru: Thu, 30 Dec 2021 14:51:35 +0000
Head commit of repository guru: 088b3625f7e3e68b0d64776c53fe0da39bc7b349

Timestamp of repository gentoo: Thu, 30 Dec 2021 14:15:01 +0000
Head commit of repository gentoo: 72cd6e91a49708911dc93167f328860dcde2ff5a
sh bash 5.1_p12
ld GNU ld (Gentoo 2.37_p1 p1) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p12::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.9::gentoo
dev-lang/rust:             1.57.0::gentoo
dev-util/cmake:            3.22.1::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             11.2.1_p20211127::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r4::gentoo
Repositories:

4nykey
    location: /var/db/repos/4nykey
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/4nykey.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync3.uk.gentoo.org/gentoo-portage/
    priority: 10
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O3 -pipe"
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/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O3 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -mtune=native -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-march=native -mtune=native -O3 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis 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="libinput evdev mouse synaptics" KERNEL="linux" L10N="it" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64 hppa i386" RUBY_TARGETS="ruby27" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

app-emulation/virtualbox-6.1.30::gentoo was built with the following:
USE="alsa lvm opengl opus pam qt5 sdk udev vnc -debug -doc -dtrace -headless -java -pax-kernel -pulseaudio -python -vboxwebsrv" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
Comment 2 Jonas Stein gentoo-dev 2021-12-30 23:59:29 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. Please provide
* the complete build.log as attachment 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket

Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 3 Andrea Postiglione 2021-12-31 10:05:17 UTC
Created attachment 760923 [details]
build.log

build.log
Comment 4 Andrea Postiglione 2022-01-06 11:27:27 UTC
https://www.virtualbox.org/ticket/20759
Comment 5 Andrea Postiglione 2022-01-07 14:14:19 UTC
if i run the latest command as root work perfectly but if run as user portage fail


portage@thunderdome /var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30 $ /var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/VBoxTpG/VBoxTpG --assembler "yasm" -64 -G --host-64-bit  --ring-0-context-agnostic --pic -o "/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/out/linux.amd64/release/obj/RuntimeR0/dtrace/VBoxVMM-dtrace-object-format.o" -s "/var/tmp/portage/app-emulation/virtualbox-6.1.30/work/VirtualBox-6.1.30/src/VBox/VMM/VBoxVMM.d"
VBoxTpG: error: Failed to start 'yasm' (assembler): VERR_ACCESS_DENIED