From: Alan Grimes <alonzotg@verizon.net>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] The plot thickens...
Date: Mon, 10 Mar 2025 18:23:56 -0400 [thread overview]
Message-ID: <399cde31-6fad-8918-6896-d949851dd7e4@verizon.net> (raw)
In-Reply-To: 399cde31-6fad-8918-6896-d949851dd7e4.ref@verizon.net
Most of my failed packages, or a large chunck of them die like this:
[626/639] env
PKG_CONFIG_PATH=/var/tmp/portage/dev-libs/glib-2.84.0/work/glib-2.84.0-abi_x86_64.amd64/meson-uninstalled:/var/tmp/portage/dev-libs/glib-2.84.0/temp/python3.13/pkgconfig:/opt/cuda/pkgconfig:/usr/share/pkgconfig
PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig
PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg->
FAILED: girepository/introspection/GLib-2.0.gir
env
PKG_CONFIG_PATH=/var/tmp/portage/dev-libs/glib-2.84.0/work/glib-2.84.0-abi_x86_64.amd64/meson-uninstalled:/var/tmp/portage/dev-libs/glib-2.84.0/temp/python3.13/pkgconfig:/opt/cuda/pkgconfig:/usr/share/pkgconfig
PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig
PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config CC=>
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 104, in <module>
sys.exit(scanner_main(sys.argv))
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/gobject-introspection/giscanner/scannermain.py",
line 601, in scanner_main
ss, filenames = create_source_scanner(options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/gobject-introspection/giscanner/scannermain.py",
line 468, in create_source_scanner
ss.parse_files(filenames)
File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py",
line 266, in parse_files
self._parse(headers)
File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py",
line 298, in _parse
cc = CCompiler(compiler_name=self._compiler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/gobject-introspection/giscanner/ccompiler.py", line
175, in __init__
compiler_name = distutils.ccompiler.get_default_compiler()
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'distutils' has no attribute 'ccompiler'. Did you
mean: 'compilers'?
ninja: build stopped: subcommand failed.
Back in the good old days, everything was a header file in
/usr/include. =(
Apparently "distutils" is some kind of compatibility package, I
**THINK** I found a version of it in each of the .../lib64/python
directories... I have 0 understanding of how python finds its
dependencies. In ccompiler.py, it just says "import distutils" which is
like #include <distutils.h> which would mean I should look in
/usr/include.... I think I'm trying to use Python 3.13.... The problem
is that when I look at distutils, I find it's a directory (!!!).
/usr/lib/python3.13/site-packages/setuptools/_distutils It has a
ccompiler.py that is extremely terse but does list
get_default_compiler.... I don't know what's up with that underscore, I
tried to import it as _distutils but that failed...
I'm looking at
/usr/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/base.py
and it looks fine.... So I have no idea why this is causing me so much
agony... =(
--
You can't out-crazy a Democrat.
WhY aRe ThEy KiLlInG tEh ChIcKeNs?
White is the new Kulak.
Powers are not rights.
next parent reply other threads:[~2025-03-10 22:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <399cde31-6fad-8918-6896-d949851dd7e4.ref@verizon.net>
2025-03-10 22:23 ` Alan Grimes [this message]
2025-03-10 22:30 ` [gentoo-user] The plot thickens Ionen Wolkens
2025-03-10 22:35 ` Eli Schwartz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=399cde31-6fad-8918-6896-d949851dd7e4@verizon.net \
--to=alonzotg@verizon.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox