Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899082 - app-emulation/virtualbox-guest-additions-7.0.6: build failed with clang
Summary: app-emulation/virtualbox-guest-additions-7.0.6: build failed with clang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-03-03 16:28 UTC by renwei
Modified: 2023-04-21 16:38 UTC (History)
0 users

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


Attachments
buid log (build.log.tar,165.07 KB, application/x-tar)
2023-03-03 16:30 UTC, renwei
Details
emerge-info (emerge-info,8.32 KB, text/plain)
2023-03-03 16:31 UTC, renwei
Details
environment (environment,108.02 KB, text/plain)
2023-03-03 16:33 UTC, renwei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renwei 2023-03-03 16:28:08 UTC
1)i build kernel with clang:
Linux version 6.2.1-gentoo-x86_64 (root@gentoo) (clang version 15.0.7, LLD 15.0.7) #1 SMP PREEMPT_DYNAMIC Fri Mar  3 16:09:03 CST 2023

2)compile app-emulation/virtualbox-guest-additions:
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Qunused-arguments’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Qunused-arguments’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Qunused-arguments’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Qunused-arguments’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Qunused-arguments’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Wformat-invalid-specifier’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Wformat-invalid-specifier’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Wformat-invalid-specifier’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Wformat-invalid-specifier’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Wformat-invalid-specifier’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Wformat-insufficient-args’
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-Wformat-insufficient-args’

3)the problem is similer with this:
https://www.virtualbox.org/ticket/10964
Comment 1 renwei 2023-03-03 16:30:03 UTC
Created attachment 855990 [details]
buid log

build.log
Comment 2 renwei 2023-03-03 16:31:37 UTC
Created attachment 855992 [details]
emerge-info

emerge-info
Comment 3 renwei 2023-03-03 16:33:02 UTC
Created attachment 855994 [details]
environment

environment
Comment 4 renwei 2023-03-03 16:37:00 UTC
Portage 3.0.45.1 (python 3.10.10-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.36-r7, 6.2.1-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.2.1-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-9750H_CPU_@_2.60GHz-with-glibc2.36
KiB Mem:    40883772 total,  32874160 free
KiB Swap:   20971516 total,  20971516 free
Head commit of repository gentoo: 58596de4cc2b966cdd4e43ca425493d81a3bf4a5

Timestamp of repository benzene-overlay: Fri, 03 Mar 2023 13:31:48 +0000
Head commit of repository benzene-overlay: 1076d75496b2e2648b17a3300ad67ee525af95af

Timestamp of repository gentoo-zh: Fri, 03 Mar 2023 10:46:55 +0000
Head commit of repository gentoo-zh: 79ae5026f617b2380a188d637b2b87cb921a0ab1

Timestamp of repository pentoo: Fri, 03 Mar 2023 06:02:23 +0000
Head commit of repository pentoo: f2080eec2970840507b988d30405d8790b3df6b9

Timestamp of repository pf4public: Fri, 03 Mar 2023 13:31:48 +0000
Head commit of repository pf4public: 853920ae383265079c2e98ed54e1f8526192beec

Timestamp of repository steam-overlay: Thu, 23 Feb 2023 13:47:16 +0000
Head commit of repository steam-overlay: 5dbabcc794ef909f45c8fb40eec07cebf569e0d1

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.40 p2) 2.40.0
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.9.16_p2::gentoo, 3.10.10_p2::gentoo, 3.11.2_p1::gentoo
dev-lang/rust-bin:         1.66.1-r1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sec-policy/selinux-base:   2.20221101-r3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
sys-libs/libselinux:       3.4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000
    volatile: False

benzene-overlay
    location: /var/db/repos/benzene-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/benzene-overlay.git
    masters: gentoo
    volatile: False

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

layman
    location: /var/db/repos/layman
    masters: gentoo
    volatile: False

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

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

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Installed sets: @esteam, @qt-development
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
AR="llvm-ar"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-O2 -march=skylake -mtune=skylake"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
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/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXX="clang++"
CXXFLAGS="-O2 -march=skylake -mtune=skylake"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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 usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo  https://mirrors.163.com/gentoo/  https://mirrors.aliyun.com/gentoo/ http://mirrors.aliyun.com/gentoo/ http://mirror.rackspace.com/gentoo/  https://ftp.lanet.kr/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12"
NM="llvm-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-6 --info=progress2"
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"
RANLIB="llvm-ranlib"
SHELL="/bin/bash"
USE="X acl alsa amd64 bluetooth bzip2 clang cli crypt dbus dmenu dri egl ffmpeg flac fortran gdbm gles2 gold gtk3 iconv ios ipv6 iwd jack javafx jpeg kms libglvnd libtirpc mp3 multilib ncurses netifrc nls nptl opengl openmp pam pcre pipewire pipewire-alsa pulseaudio qt5 readline savedconfig seccomp sound-server spice split-usr ssl test-rust tk udev unicode usbredir virgl vulkan wavpack xattr xinerama zlib" ABI_X86="32 64" ADA_TARGET="gnat_2021" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 synaptics eudev" KERNEL="linux" L10N="en en-US zh zh-CN" 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-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="intel i965 i915 nvidia virtualbox" 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, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 5 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-03-06 04:28:20 UTC
Please report build failures only in the "Gentoo Linux" product, in the "Current packages" component. And especially do not CC random aliases.
Comment 6 Larry the Git Cow gentoo-dev 2023-04-21 16:38:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1df171ea8170aecf0f85442e081cbf6465d5cbac

commit 1df171ea8170aecf0f85442e081cbf6465d5cbac
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2023-04-19 15:14:46 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2023-04-21 16:35:22 +0000

    app-emulation/virtualbox-guest-additions: add 7.0.8
    
    Closes: https://bugs.gentoo.org/899082
    Closes: https://bugs.gentoo.org/757783
    Closes: https://bugs.gentoo.org/893286
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 app-emulation/virtualbox-guest-additions/Manifest  |   2 +
 .../virtualbox-guest-additions-7.0.8.ebuild        | 303 +++++++++++++++++++++
 2 files changed, 305 insertions(+)