Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904747 - kde-frameworks/syntax-highlighting emake failed
Summary: kde-frameworks/syntax-highlighting emake failed
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-21 15:48 UTC by Dawn Xu
Modified: 2023-04-25 23:40 UTC (History)
0 users

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


Attachments
the build log of this ebuild (build.log.gz,96.10 KB, application/gzip)
2023-04-23 11:20 UTC, Dawn Xu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dawn Xu 2023-04-21 15:48:20 UTC
emerge --info '=kde-frameworks/syntax-highlighting-5.105.0::gentoo'
Portage 3.0.46 (python 3.10.11-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.37-r2, 6.2.10-multi x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.2.10-multi-x86_64-AMD_Ryzen_5_3600X_6-Core_Processor-with-glibc2.37
KiB Mem:    16319112 total,   9346576 free
KiB Swap:   16776188 total,  16776188 free
Timestamp of repository gentoo: Fri, 21 Apr 2023 09:46:57 +0000
Head commit of repository gentoo: b46bd1822797f6f8cfd86cf7ec3692db64513d72

Head commit of repository gentoo-multi: 8636a0b0dfb76470dac79e7bc2d14731bf47462b

Head commit of repository gentoo-zh: 7e3fabc237e64b7d5e64ceefe3d007291029b521

Head commit of repository zozx-overlay: ad14c2e9858ea611d175073f55cc2ca6e682431a

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.11::gentoo, 3.11.3::gentoo
dev-lang/rust-bin:         1.69.0::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.2::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo, 16.0.2::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r2::gentoo
Repositories:



ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
AR="llvm-ar"
CBUILD="x86_64-pc-linux-gnu"
CC="clang-15"
CFLAGS=" -march=native -O2 -pipe"
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"
CXX="clang++-15"
CXXFLAGS=" -march=native -O2 -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=native -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 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=" -march=native -O2 -pipe"
GENTOO_MIRRORS=""
LANG="zh_CN.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
NM="llvm-nm"
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"
RANLIB="llvm-ranlib"
SHELL="/bin/zsh"
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 encode exif fbcon flac fortran gdbm gif gles2 gpm gtk gtk3 gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit postproc ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zsh-completion" ABI_X86="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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a 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" KERNEL="linux" L10N="zh en zh-CN en-US" 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" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="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, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, 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, PORTAGE_RSYNC_EXTRA_OPTS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


last lines of build logs:

"/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/xslt.xml" line 508 unused itemData: "CDATA Symbols"                                                                               "/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/xslt.xml" line 500 unused itemData: "XPath Attribute"                                                                             "/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/xslt.xml" line 501 unused itemData: "Variable"                                                                                    "/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/xslt.xml" line 489 unused itemData: "Attribute"                                                                                   "/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/xslt.xml" line 494 unused itemData: "Attribute Value"                                                                             "/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/makefile.xml" line 368 no IncludeRule can reach this rule, hidden by "line 377 [bmake_var_modifier]"                              "/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/latex.xml" line 6157 no IncludeRule can reach this rule, hidden by "line 80 [LaTeX inline equation (/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/rmarkdown.xml)]"                           "/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/latex.xml" line 6163 no IncludeRule can reach this rule, hidden by "line 74 [LaTeX equation block (/var/tmp/portage/kde-frameworks/syntax-highlighting-5.105.0/work/syntax-highlighting-5.105.0/data/syntax/rmarkdown.xml) via line 75]"                ninja: build stopped: subcommand failed.




sudo emerge -pqv '=kde-frameworks/syntax-highlighting-5.105.0::gentoo'                                            [ebuild  N    ] kde-frameworks/syntax-highlighting-5.105.0  USE="-debug -doc -test"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-21 15:49:14 UTC
Please always include the full build.log.

Anyway, your qtcore is probably miscompiled. Try building it with gcc?
Comment 2 Mike Gilbert gentoo-dev 2023-04-23 01:49:15 UTC
Please provide a full build log.
Comment 3 Dawn Xu 2023-04-23 11:20:27 UTC
Created attachment 860625 [details]
the build log of this ebuild
Comment 4 Dawn Xu 2023-04-24 07:42:39 UTC
(In reply to Dawn Xu from comment #3)
> Created attachment 860625 [details]
> the build log of this ebuild

Hey, the full build.log I've added
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-25 03:14:38 UTC
(In reply to Sam James from comment #1)
> Anyway, your qtcore is probably miscompiled. Try building it with gcc?

See https://bugs.gentoo.org/865339#c43. Also, do you have any config updates pending via dispatch-conf?
Comment 6 Dawn Xu 2023-04-25 10:47:37 UTC
(In reply to Sam James from comment #5)
> (In reply to Sam James from comment #1)
> > Anyway, your qtcore is probably miscompiled. Try building it with gcc?
> 
> See https://bugs.gentoo.org/865339#c43. Also, do you have any config updates
> pending via dispatch-conf?

OK,sloved. But how does clang-15 caused the miscompiled?
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-25 23:40:14 UTC
(In reply to Dawn Xu from comment #6)
> (In reply to Sam James from comment #5)
> > (In reply to Sam James from comment #1)
> > > Anyway, your qtcore is probably miscompiled. Try building it with gcc?
> > 
> > See https://bugs.gentoo.org/865339#c43. Also, do you have any config updates
> > pending via dispatch-conf?
> 
> OK,sloved. But how does clang-15 caused the miscompiled?

Solved how? By running dispatch-conf or something else?

I don't know how it causes it (see the link I sent) and in that link I explain why it's hard to analyse for Qt 5 too.