Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891889 - sys-devel/gcc-11.3.1_p20230120-r1[sanitize]: fails to compile (bits/struct_stat.h:26:8: error: redefinition of ‘struct stat’)
Summary: sys-devel/gcc-11.3.1_p20230120-r1[sanitize]: fails to compile (bits/struct_st...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-24 04:13 UTC by epoch3kon
Modified: 2023-01-26 04:19 UTC (History)
0 users

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


Attachments
Build log (build.log.tar.xz,536.76 KB, application/x-xz)
2023-01-24 04:24 UTC, epoch3kon
Details
Here is the output of /usr/local (this.txt,46.65 KB, text/plain)
2023-01-25 01:53 UTC, epoch3kon
Details
build logs (gcc-build-logs.tar.xz,294.76 KB, application/x-xz)
2023-01-26 04:19 UTC, epoch3kon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description epoch3kon 2023-01-24 04:13:41 UTC
build.log 

https://transfer.sh/cwSs1R/build.log

emerge -pqv
[ebuild   R   ] sys-devel/gcc-12.2.1_p20230121-r1  USE="(cxx) fortran (multilib) nls nptl openmp (pie) sanitize ssp -ada (-cet) (-custom-cflags) -d -debug -default-stack-clash-protection -default-znow -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -lto -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv -zstd"


emerge --info

Portage 3.0.44 (python 3.10.9-final-0, default/linux/amd64/17.1, gcc-11, glibc-2.36-r7, 6.1.7-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.7-gentoo-x86_64-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-glibc2.36
KiB Mem:    16307000 total,    227352 free
KiB Swap:   16777212 total,  16596152 free
Timestamp of repository gentoo: Tue, 24 Jan 2023 00:00:01 +0000
Head commit of repository gentoo: 708460e50bca1d251a826bf74c00a3021ea76f10
Timestamp of repository monero: Tue, 26 Jul 2022 05:02:30 +0000
Head commit of repository monero: f09efc008db5f08668b8341baba0d46b8488e3cd

Timestamp of repository SwordArMor: 1
Head commit of repository librewolf: 2f5965ece2fa281603ff670472a77f20cc7667c6

sh bash 5.2_p15-r1
ld GNU ld (Gentoo 2.39 p5) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.6-r1::gentoo
app-shells/bash:           5.2_p15-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.8.16-r1::gentoo, 3.9.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo, 3.12.0_alpha4::gentoo
dev-lang/rust:             1.66.1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo, 2.40::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo, 12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

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

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

SwordArMor
    location: /var/lib/layman/SwordArMor
    sync-type: laymansync
    sync-uri: https://git.grifon.fr/alarig/SwordArMor-gentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

brave-overlay
    location: /var/lib/layman/brave-overlay
    sync-type: laymansync
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    sync-type: laymansync
    sync-uri: https://github.com/microcai/gentoo-zh.git
    masters: gentoo
    priority: 50
    volatile: True

guru
    location: /var/lib/layman/guru
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50
    volatile: True

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git
    masters: gentoo
    priority: 50
    volatile: True

pentoo
    location: /var/lib/layman/pentoo
    sync-type: laymansync
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

pf4public
    location: /var/lib/layman/pf4public
    sync-type: laymansync
    sync-uri: https://github.com/PF4Public/gentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

snapd
    location: /var/lib/layman/snapd
    sync-type: laymansync
    sync-uri: https://github.com/zigford/snapd.git
    masters: gentoo
    priority: 50
    volatile: True

src_prepare-overlay
    location: /var/lib/layman/src_prepare-overlay
    sync-type: laymansync
    sync-uri: https://gitlab.com/src_prepare/src_prepare-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

Installed sets: @peertube
ACCEPT_KEYWORDS="* amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
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="-O2 -pipe -march=native"
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="-O2 -pipe -march=native"
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 parallel-install 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 -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j6 -l6"
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/zsh"
USE="X acl amd64 bzip2 cli contrib crypt cuda dbus dri driver elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc mp3 multilib multimedia ncurses nls nptl ogg opengl openmp opus pam pcre pulseaudio python readline seccomp sound spice split-usr ssl test-rust tools unicode usb usbredir wifi xattr xinerama zlib zsh-completion" 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="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 mouse keyboard kbd" KERNEL="linux" 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="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-24 04:15:48 UTC
Please attach the full build.log, compressed if necessary, rather than using external paste sites.

(And/or just attach the tar.xz that the GCC build log mentions at the end.)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-24 04:16:43 UTC
libtool: compile:  /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/libsupc++/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -fchecking=1 -m32 -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -I. -I/var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/sanitizer_common -I.. -I /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/include -I /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer -isystem /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/include/system -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include -I../../libstdc++-v3/include/x86_64-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++14 -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE -I /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/../libbacktrace -I ../libbacktrace -I /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/../include -include /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/libbacktrace/backtrace-rename.h -g -pipe -march=native -O2 -D_GNU_SOURCE -m32 -MT sanitizer_platform_limits_linux.lo -MD -MP -MF .deps/sanitizer_platform_limits_linux.Tpo -c /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cpp  -fPIC -DPIC -o .libs/sanitizer_platform_limits_linux.o
In file included from /usr/include/bits/stat.h:25,
                 from /usr/include/fcntl.h:78,
                 from /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/build/./gcc/include-fixed/linux/mount.h:33,
                 from /usr/include/linux/fs.h:19,
                 from /usr/include/linux/aio_abi.h:31,
                 from /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/include/system/linux/aio_abi.h:2,
                 from /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cpp:54:
/usr/include/bits/struct_stat.h:26:8: error: redefinition of ‘struct stat’
   26 | struct stat
      |        ^~~~
In file included from /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cpp:45:
/usr/include/asm/stat.h:10:8: note: previous definition of ‘struct stat’
   10 | struct stat {
      |        ^~~~
In file included from /usr/include/bits/stat.h:25,
                 from /usr/include/fcntl.h:78,
                 from /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/build/./gcc/include-fixed/linux/mount.h:33,
                 from /usr/include/linux/fs.h:19,
                 from /usr/include/linux/aio_abi.h:31,
                 from /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/include/system/linux/aio_abi.h:2,
                 from /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cpp:54:
/usr/include/bits/struct_stat.h:103:8: error: redefinition of ‘struct stat64’
  103 | struct stat64
      |        ^~~~~~
In file included from /var/tmp/portage/sys-devel/gcc-11.3.1_p20230120-r1/work/gcc-11-20230120/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cpp:45:
/usr/include/asm/stat.h:42:8: note: previous definition of ‘struct stat64’
   42 | struct stat64 {
      |        ^~~~~~
make[8]: *** [Makefile:615: sanitizer_platform_limits_linux.lo] Error 1
Comment 3 epoch3kon 2023-01-24 04:23:28 UTC
Wrong version for the emerge -pqv. Here is the correct one

[ebuild     U ] sys-devel/gcc-11.3.1_p20230120-r1 [11.3.1_p20221209] USE="(cxx) fortran (multilib) nls nptl openmp (pie) sanitize* ssp -ada (-cet) (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite -hardened -jit (-libssp) -lto -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv -zstd"
Comment 4 epoch3kon 2023-01-24 04:24:45 UTC
Created attachment 849119 [details]
Build log
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-24 04:35:00 UTC
- Do you have anything in /usr/local?
- Could you run: `find /usr/include -exec qfile -o {} +` and share the output?
- Anything else interesting of note that is worth sharing?
Comment 6 epoch3kon 2023-01-24 04:48:26 UTC
I have been having this problem since October 2022 about but just pushed this off

Output of find /usr/include -exec qfile -o {} +

/usr/include/odictobject.h
/usr/include/boolobject.h
/usr/include/import.h
/usr/include/funcobject.h
/usr/include/object.h
/usr/include/weakrefobject.h
/usr/include/osdefs.h
/usr/include/modsupport.h
/usr/include/internal
/usr/include/typeslots.h
/usr/include/interpreteridobject.h
/usr/include/longintrepr.h
/usr/include/greenlet
/usr/include/pyhash.h
/usr/include/abstract.h
/usr/include/complexobject.h
/usr/include/methodobject.h
/usr/include/osmodule.h
/usr/include/pytime.h
/usr/include/ucnhash.h
/usr/include/pyctype.h
/usr/include/py_curses.h
/usr/include/db_185.h
/usr/include/pystrcmp.h
/usr/include/context.h
/usr/include/token.h
/usr/include/sip.h
/usr/include/datetime.h
/usr/include/pydebug.h
/usr/include/pyexpat.h
/usr/include/moduleobject.h
/usr/include/objimpl.h
/usr/include/pymacconfig.h
/usr/include/pyport.h
/usr/include/patchlevel.h
/usr/include/structmember.h
/usr/include/fileobject.h
/usr/include/pg_config_manual.h
/usr/include/floatobject.h
/usr/include/marshal.h
/usr/include/setobject.h
/usr/include/tupleobject.h
/usr/include/traceback.h
/usr/include/pyfpe.h
/usr/include/node.h
/usr/include/pymacro.h
/usr/include/pydtrace.h
/usr/include/cellobject.h
/usr/include/genericaliasobject.h
/usr/include/symtable.h
/usr/include/bytesobject.h
/usr/include/structseq.h
/usr/include/postgresql
/usr/include/bltinmodule.h
/usr/include/errcode.h
/usr/include/opcode.h
/usr/include/pymem.h
/usr/include/compile.h
/usr/include/pycapsule.h
/usr/include/enumobject.h
/usr/include/classobject.h
/usr/include/cpython
/usr/include/intrcheck.h
/usr/include/genobject.h
/usr/include/dictobject.h
/usr/include/pystrhex.h
/usr/include/bytearrayobject.h
/usr/include/pythread.h
/usr/include/pystrtod.h
/usr/include/listobject.h
/usr/include/ast.h
/usr/include/namespaceobject.h
/usr/include/descrobject.h
/usr/include/pyerrors.h
/usr/include/Python-ast.h
/usr/include/rangeobject.h
/usr/include/eval.h
/usr/include/pymath.h
/usr/include/pyarena.h
/usr/include/libpq
/usr/include/*
/usr/include/fileutils.h
/usr/include/grammar.h
/usr/include/pystate.h
/usr/include/frameobject.h
/usr/include/picklebufobject.h
/usr/include/memoryobject.h
/usr/include/ceval.h
/usr/include/asdl.h
/usr/include/warnings.h
/usr/include/graminit.h
/usr/include/tracemalloc.h
/usr/include/parsetok.h
/usr/include/bitset.h
/usr/include/pythonrun.h
/usr/include/sysmodule.h
/usr/include/pg_config_ext.h
/usr/include/exports.h
/usr/include/dynamic_annotations.h
/usr/include/unicodeobject.h
/usr/include/iterobject.h
/usr/include/sliceobject.h
/usr/include/pyconfig.h
/usr/include/pylifecycle.h
/usr/include/codecs.h
/usr/include/db.h
/usr/include/code.h
/usr/include/libpq-fe.h
/usr/include/postgres_ext.h
/usr/include/Python.h
/usr/include/longobject.h
/usr/include/pyframe.h
Comment 7 epoch3kon 2023-01-24 04:56:02 UTC
/usr/local $ ls
bin  etc  include  lib	lib64  sbin  searx  share

I'm removing searx as I don't use it anymore
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-24 05:23:01 UTC
(In reply to epoch3kon from comment #6)
> I have been having this problem since October 2022 about but just pushed
> this off
> 
> Output of find /usr/include -exec qfile -o {} +
> 
> /usr/include/odictobject.h
> /usr/include/boolobject.h
> /usr/include/import.h
> /usr/include/funcobject.h
> /usr/include/object.h
> /usr/include/weakrefobject.h
> /usr/include/osdefs.h
> /usr/include/modsupport.h
> /usr/include/internal
> /usr/include/typeslots.h
> /usr/include/interpreteridobject.h
> /usr/include/longintrepr.h
> /usr/include/greenlet
> /usr/include/pyhash.h
> /usr/include/abstract.h
> /usr/include/complexobject.h
> /usr/include/methodobject.h
> /usr/include/osmodule.h
> /usr/include/pytime.h
> /usr/include/ucnhash.h
> /usr/include/pyctype.h
> /usr/include/py_curses.h
> /usr/include/db_185.h
> /usr/include/pystrcmp.h
> /usr/include/context.h
> /usr/include/token.h
> /usr/include/sip.h
> /usr/include/datetime.h
> /usr/include/pydebug.h
> /usr/include/pyexpat.h
> /usr/include/moduleobject.h
> /usr/include/objimpl.h
> /usr/include/pymacconfig.h
> /usr/include/pyport.h
> /usr/include/patchlevel.h
> /usr/include/structmember.h
> /usr/include/fileobject.h
> /usr/include/pg_config_manual.h
> /usr/include/floatobject.h
> /usr/include/marshal.h
> /usr/include/setobject.h
> /usr/include/tupleobject.h
> /usr/include/traceback.h
> /usr/include/pyfpe.h
> /usr/include/node.h
> /usr/include/pymacro.h
> /usr/include/pydtrace.h
> /usr/include/cellobject.h
> /usr/include/genericaliasobject.h
> /usr/include/symtable.h
> /usr/include/bytesobject.h
> /usr/include/structseq.h
> /usr/include/postgresql
> /usr/include/bltinmodule.h
> /usr/include/errcode.h
> /usr/include/opcode.h
> /usr/include/pymem.h
> /usr/include/compile.h
> /usr/include/pycapsule.h
> /usr/include/enumobject.h
> /usr/include/classobject.h
> /usr/include/cpython
> /usr/include/intrcheck.h
> /usr/include/genobject.h
> /usr/include/dictobject.h
> /usr/include/pystrhex.h
> /usr/include/bytearrayobject.h
> /usr/include/pythread.h
> /usr/include/pystrtod.h
> /usr/include/listobject.h
> /usr/include/ast.h
> /usr/include/namespaceobject.h
> /usr/include/descrobject.h
> /usr/include/pyerrors.h
> /usr/include/Python-ast.h
> /usr/include/rangeobject.h
> /usr/include/eval.h
> /usr/include/pymath.h
> /usr/include/pyarena.h
> /usr/include/libpq
> /usr/include/*
> /usr/include/fileutils.h
> /usr/include/grammar.h
> /usr/include/pystate.h
> /usr/include/frameobject.h
> /usr/include/picklebufobject.h
> /usr/include/memoryobject.h
> /usr/include/ceval.h
> /usr/include/asdl.h
> /usr/include/warnings.h
> /usr/include/graminit.h
> /usr/include/tracemalloc.h
> /usr/include/parsetok.h
> /usr/include/bitset.h
> /usr/include/pythonrun.h
> /usr/include/sysmodule.h
> /usr/include/pg_config_ext.h
> /usr/include/exports.h
> /usr/include/dynamic_annotations.h
> /usr/include/unicodeobject.h
> /usr/include/iterobject.h
> /usr/include/sliceobject.h
> /usr/include/pyconfig.h
> /usr/include/pylifecycle.h
> /usr/include/codecs.h
> /usr/include/db.h
> /usr/include/code.h
> /usr/include/libpq-fe.h
> /usr/include/postgres_ext.h
> /usr/include/Python.h
> /usr/include/longobject.h
> /usr/include/pyframe.h

This is concerning. Almost all of these shouldn't be there (qfile -o finds orphaned files).

All the Python stuff in particular definitely shouldn't be there. It probably comes from installing Python manually from source and not using the right paths, then never uninstalling it.

(In reply to epoch3kon from comment #7)
> /usr/local $ ls
> bin  etc  include  lib	lib64  sbin  searx  share
> 
> I'm removing searx as I don't use it anymore

What about 'find /usr/local'?
Comment 9 epoch3kon 2023-01-25 01:53:57 UTC
Created attachment 849167 [details]
Here is the output of /usr/local

Here is the output of /usr/local
Comment 10 epoch3kon 2023-01-26 04:19:54 UTC
Created attachment 849215 [details]
build logs

Fixed /usr/local and moved orpahned files. Tried checking /usr/ for orphaned files but ended up with no results.

https://transfer.sh/sgF8Fu/orphaned.txt