Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924433 - sys-apps/cpuid-20230614 hangs forever
Summary: sys-apps/cpuid-20230614 hangs forever
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-13 16:54 UTC by Roman Gruber
Modified: 2024-04-14 12:58 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Gruber 2024-02-13 16:54:42 UTC
App hangs forever
Regardless which gcc - please test functionality

Sienna_Cichlid /home/roman # emerge -av cpuid

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 0.77 s (backtrack: 0/20).

[ebuild   R    ] sys-apps/cpuid-20230614::gentoo  0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-apps/cpuid-20230614::gentoo
>>> Installing (1 of 1) sys-apps/cpuid-20230614::gentoo
>>> Completed (1 of 1) sys-apps/cpuid-20230614::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 0.49, 0.47, 0.37

 * IMPORTANT: 23 config files in '/etc' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
Sienna_Cichlid /home/roman # cpuinfo2cpuid 
^C
Sienna_Cichlid /home/roman # 


Sienna_Cichlid /home/roman # gcc-config -l
 [1] x86_64-pc-linux-gnu-12
 [2] x86_64-pc-linux-gnu-13 *


Reproducible: Always
Comment 1 Roman Gruber 2024-02-13 16:55:19 UTC
Sienna_Cichlid /home/roman # emerge --info
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r10, 6.7.4-gentoo_07_02_2024 x86_64)
=================================================================
System uname: Linux-6.7.4-gentoo_07_02_2024-x86_64-AMD_Ryzen_5_7600X_6-Core_Processor-with-glibc2.38
KiB Mem:    65337948 total,  60410172 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 11 Feb 2024 17:00:01 +0000
Head commit of repository gentoo: a689d1251d826a329a937e19dae19bae823cc033
Head commit of repository farmboy0: b936baea493b2b35b79c5a3ed3dbfbd582b70df0

sh bash 5.2_p26
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.1-r1::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.72.0-r1::gentoo
dev-lang/rust-bin:         1.75.0::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20240112::gentoo, 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fstack-clash-protection"
CHOST="x86_64-pc-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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fstack-clash-protection"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=12 --load-average=12"
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 binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted 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=""
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j12 -l12"
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="64bit 7z 7zip X a52 aac aacplus acl acpi adns aimodules aio alsa amd64 amr amrnb amrwb ao apm apng archive ares assistant atmo audacious audiofile auth-dns automount avx base bash-completion battstat bidi binfilter bittorrent bl blender-game boo bzip2 cairo caja caps cdda cddax cddb cdio cdparanoia cdr cdrom cg cgroups chm cilk clang cli clucene clutter clvm conntrack context contrast contrib coverage cpufreq_bench cpuload crypt cryptsetup ctypes-python cups curl custom-cflags custom-optimization cxx dav1d dbus declarative deduplicate default-stack-clash-protection designer device-mapper devil dga dhcp dhcp-tools dhcpcd dia dirac directfb djvu dns dos dri dts dvd dvdr edd egl elogind emf emovix enca encode epiphany equalizer evdev exif expat faac faad fat fbcon ffmpeg fftw firebird fits flac floppy fluidsynth fontconfig foomaticdb fortran fpx ftp fts3 fuse g3dvl gadu gcj gcrypt gd gdbm gdk-pixbuf gegl ggi ghostscript gif gimp git gjs glade gles1 gles2 glew glut glx gmp gmplayer gnutls gold googledrive gost gpgme gpm graphite grilo groovy groupwise gs gstreamer gtk gtk3 gucharmap gui guile gzip-el haptic harfbuzz hdri hfs hotpixels http hugepages hwdata iconv icu id3 id3tag idn imagemagick imagequant imlib imlib2 initramfs inkjar inotify introspection ipp ipp_autosetup ipv4 ipv6 irrlicht jabber java javascript jbig jemalloc jfs jit joystick jpeg jpeg2k justify kerberos krb4 ladspa lame lapack lasi lcdfilter lcms lensfun libass libatomic libev libevent libffi libidn2 libnl libssh2 libsysfs libtirpc libuv libv4l libv4l2 libvisual llvm lm-sensors lqr lua lvm lvm2 lxde lximage lz4 lzma lzo mad magic mapimg matroska md5sum md5sum-external mdev meanwhile midi mikmod minizip mjpeg mms mmx mmxext mng mod modplug modules-compress moonlight motif mp3 mp4 mpd mpeg mpeg2 mpeg3 mpfi mpfr mplayer mtp multicore multilib multimedia musepack mxit natspec nautilus ncat ncurses netlink nettle networking newnet nfs nfsdcld nfsv4 nfsv41 nftables nntp nping nsplugin nss ntfs ntfsdecrypt ntfsprogs numa nut nuv nvcontrol nvidia nvtt ogg ogre ois openal opencore-amr openexr opengl openh264 openmp openrc openssl optimisememory optimized-qmake opus orbit osc osmesa pam pango pclm pdf pdfimport perl pgo pie plotutils pm-utils png pnm policykit postproc postscript ppds pptx prediction printsupport proprietary-codecs pulseaudio pvr python qml qt5 radio rar raw rdoc readline realtime redland reiserfs resolvconf rle rrdcgi rtmp rtsp s3tc sasl schroedinger script sdl sdl-image seccomp secure-delete sensors sftp sha1 shine silc sip skype smi smp smpeg snappy sndfile soqt sound soundex soundtouch sox soxr speex split-usr spoof-source sqlite sse2_4way sse2check sse3 sse4 sse4_1 ssl ssse3 staging stream subversion svg sync-plugin-portage syslog sysstat system-jflex system-jsoncpp system-sqlite system-zlib taglib tbb tcl tcpd templates test-rust text theora threaded threads tiff tinfo tk tonal toolkit-scroll-bars truetype twolame udev udisks umfpack unicode unlock-notify upcall upower usb uvm v4l v4l2 vala vamp vcdinfo vdo vhook vlc vorbis vpx vte vtv vulkan vulkan-overlay wacom wav wavpack wayland weather-metar weather-xoap webp widgets wifi winbind wireshark wma wma-fixed wmf x264 x265 xanim xattr xcb xcomposite xft xinerama xml xmlpatterns xmp xosd xpm xps xpsmall xscreensaver xv xvfb xvid yuv4mpeg zlib zstd" ABI_X86="32 64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics wacom joystick libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU X86" 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" RUBY_TARGETS="ruby31" SANE_BACKENDS="genesys canon canon630u canon_dr canon_lide70 canon_pp" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Roman Gruber 2024-02-13 16:57:01 UTC
I expect such result

Seems ebuild was working in august. This is a longtime installation since 2006. Not a reinstall.

Sienna_Cichlid /home/roman # cat /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fstack-clash-protection"
CXXFLAGS="${CFLAGS}"
#08/12/2023 
#Sienna_Cichlid /home/roman # cpuid2cpuflags 
#model name	: AMD Ryzen 5 7600X 6-Core Processor
CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
Comment 3 Roman Gruber 2024-02-13 16:57:42 UTC
Yesterday in the shell the app was hanging for over half an hour
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-13 18:56:13 UTC
cpuinfo2cpuid is from app-portage/cpuid2cpuflags, not sys-apps/cpuid.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-13 18:58:37 UTC
(In reply to Sam James from comment #4)
> cpuinfo2cpuid is from app-portage/cpuid2cpuflags, not sys-apps/cpuid.

oops! I thought it was cpuid2cpuflags.

When it's hanging, can you get its PID, and attach to it with gdb -p PID, and then ^C, and 'bt', then show us the output?
Comment 6 Conrad Kostecki gentoo-dev 2024-04-02 18:03:42 UTC
Could you please test 20240330?