Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915392 - app-arch/p7zip-17.05-r1: USE='natspec static' combination is broken
Summary: app-arch/p7zip-17.05-r1: USE='natspec static' combination is broken
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-08 19:44 UTC by WANG Xuerui
Modified: 2023-11-16 14:55 UTC (History)
1 user (show)

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


Attachments
compressed build log (build.log.xz,9.81 KB, application/x-xz)
2023-10-08 19:44 UTC, WANG Xuerui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description WANG Xuerui gentoo-dev 2023-10-08 19:44:18 UTC
Created attachment 872354 [details]
compressed build log

While testing USE combinations of app-arch/p7zip on loong, I found the combination of USE='natspec static' currently broken, due to dev-libs/libnatspec not having an IUSE of static-libs, and that USE=static of p7zip was package.use.masked on amd64 since 2008 (!) so the combination practically never get tested.

emerge --info:

Portage 3.0.52 (python 3.12.0-final-0, default/linux/loong/22.0/la64v100/lp64d/desktop/gnome/systemd/merged-usr, gcc-14, glibc-2.38-r5, 6.6.0-rc3-next-20230928-gbcdaf018db45 loongarch64)
=================================================================
System uname: Linux-6.6.0-rc3-next-20230928-gbcdaf018db45-loongarch64-with-glibc2.38
KiB Mem:    33222960 total,  12881520 free
KiB Swap:   33554416 total,  33554416 free
Timestamp of repository gentoo: Sun, 08 Oct 2023 07:45:01 +0000
Head commit of repository gentoo: f7331ffccc1adb2bc1d3cc0adffd17e16ad638ed
Timestamp of repository gentoo-zh: Sun, 08 Oct 2023 02:46:55 +0000
Head commit of repository gentoo-zh: c09511e1f7a457b9a6f613ca7d7d503de3cfd87a

Timestamp of repository loongson: Fri, 06 Oct 2023 16:46:51 +0000
Head commit of repository loongson: 2af67673841e56cd1c2c3d2bfb9c653287f5ff7f

sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.6::gentoo, 3.12.0::gentoo
dev-lang/rust-bin:         1.73.0::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.6-r1::gentoo
dev-util/meson:            1.2.2-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.5::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.2::gentoo
sys-devel/gcc:             14.0.0_pre20231001::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6-r1::loongson, 17.0.2::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.2-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.5::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-openpgp-key-refresh: no
    sync-type: rsync
    sync-uri: rsync://rsync.asia.gentoo.org/gentoo-portage/
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

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

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

ACCEPT_KEYWORDS="loong ~loong"
ACCEPT_LICENSE="@FREE"
CBUILD="loongarch64-unknown-linux-gnu"
CFLAGS="-march=la464 -mtune=la464 -O3 -pipe"
CHOST="loongarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /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.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=la464 -mtune=la464 -O3 -pipe"
DISTDIR="/var/cache/distfiles"
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="-march=la464 -mtune=la464 -pipe -O2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=la464 -mtune=la464 -pipe -O2"
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j8 -l16"
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="/tmp"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi alsa apng avif bluetooth branding brotli bzip2 cairo cdda cdr cjk cli colord crypt cups dbus dri drm dts dvd dvdr eds encode evo exif flac flatpak fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui heif ibus iconv icu idn introspection io-uring ipv6 jack jpeg jpeg2k jpegxl jxl keyring lcms libnotify loong lz4 lzma mad mng mp3 mp4 mpeg nautilus ncurses nls nptl ogg opengl openmp osmesa pam pango pcre pdf png policykit ppds pulseaudio python qt5 readline sdl seccomp smartcard sound spell ssl startup-notification svg systemd test-rust tiff tracker truetype udev udisks unicode upower usb v4l vaapi vorbis vulkan wayland webm webp wxwidgets x264 xattr xcb xft xinerama xml xmp xv xvid zlib zstd" 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" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB en-US eo ga ja ko ru zh-CN zh-TW" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeon radeonsi" 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, 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

(the CFLAGS and CXXFLAGS have -O3 in it because I was inadvertently inside a project directory with CFLAGS and CXXFLAGS overridden in the environment. It is not expected to make the build result invalid though.)
Comment 1 Pacho Ramos gentoo-dev 2023-11-16 14:55:46 UTC
Why static support is not simply disabled unconditionally?