On Tuesday, 20 May 2025 00:04:01 British Summer Time Michael wrote:
On Tuesday, 20 May 2025 00:00:35 British Summer Time Eli Schwartz wrote:
On 5/19/25 6:27 PM, Michael wrote:
No buildpkg on this system. :-(
Gentoo provides a large (45 gb) public buildpkg cache at https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart
I'm not sure how to
fix that. Basically, portage stores data on what is installed in /var >> but the packages are in /, mostly /(s)bin and /usr. Basically, portage >> thinks one thing but the truth is something else. I suspect emerge
isn't happy since it is so confused.
Emerge is not happy when it tries to use package versions which the filesystem does not have installed yet. I'll try once more to tweak python targets in case I can get emerge to build a working toolchain.
If
that doesn't work I'll fetch a stage 3, build what I need as binaries
and
then emerge them on the live system before I carry on.
With the public binhost you should be able to skip the stage3 and go straight to emerging a binary toolchain. I'd suggest you should even use --getbinpkg --emptytree @world for consistency.
Thank you Eli, I'll take a look at this approach as it will be a quicker option.
I thought before I use binaries I better see how big the job ahead might be. I've set:
*/* PYTHON_TARGETS: -* python3_12 python3_13
*/* PYTHON_SINGLE_TARGET: -* python3_13
then tried to emerge python:
emerge -1aDv -e dev-lang/python
It wouldn't start because it complained packages (any/all) were masked by keyword. This is a stable OS, so I do not understand why it thinks stable versions are masked:
$ emerge --info | grep ACCEPT_KEYWORDS
ACCEPT_KEYWORDS="amd64"
Anyway, I tried it this way, which allowed all but 1 out 481 packages to
emerge successfully:
ACCEPT_KEYWORDS="amd64" emerge -1aDv -e dev-lang/python
Then this happens:
Source configured.
Compiling source in /var/tmp/portage/dev-qt/qtwayland-5.15.16-r1/work/ qtwayland-everywhere-src-5.15.16 ...
* Running emake
make -j9 -l9.8
cd src/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/ tmp/portage/dev-qt/qtwayland-5.15.16-r1/work/qtwayland-everywhere-src-5.15.16/ src/src.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar
cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc- linux-gnu-strip 'QMAKE_CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-- undefined-version' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile
make[1]: Entering directory '/var/tmp/portage/dev-qt/qtwayland-5.15.16-r1/ work/qtwayland-everywhere-src-5.15.16_build/src'
cd qtwaylandscanner/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-qt/qtwayland-5.15.16-r1/work/qtwayland- everywhere-src-5.15.16/src/qtwaylandscanner/qtwaylandscanner.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc- linux-gnu-strip 'QMAKE_CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-- undefined-version' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile
make[2]: Entering directory '/var/tmp/portage/dev-qt/qtwayland-5.15.16-r1/ work/qtwayland-everywhere-src-5.15.16_build/src/qtwaylandscanner' x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -fomit-frame-pointer -std=c++1z -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I/var/tmp/portage/dev-qt/ qtwayland-5.15.16-r1/work/qtwayland-everywhere-src-5.15.16/src/ qtwaylandscanner -I. -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I.moc -I/ usr/lib64/qt5/mkspecs/linux-g++ -o .obj/qtwaylandscanner.o /var/tmp/portage/ dev-qt/qtwayland-5.15.16-r1/work/qtwayland-everywhere-src-5.15.16/src/ qtwaylandscanner/qtwaylandscanner.cpp
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -Wl,--enable-new-dtags -o ../../bin/qtwaylandscanner .obj/qtwaylandscanner.o /usr/lib64/libQt5Core.so -pthread
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwayland-5.15.16-r1/work/ qtwayland-everywhere-src-5.15.16_build/src/qtwaylandscanner'
cd client/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/ tmp/portage/dev-qt/qtwayland-5.15.16-r1/work/qtwayland-everywhere-src-5.15.16/ src/client/client.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux- gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu- gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu- g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g+ + QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64- pc-linux-gnu-strip 'QMAKE_CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-- undefined-version' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile
Project ERROR: Library 'atspi' is not defined.
make[1]: *** [Makefile:75: sub-client-make_first] Error 3
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwayland-5.15.16-r1/work/ qtwayland-everywhere-src-5.15.16_build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2
* ERROR: dev-qt/qtwayland-5.15.16-r1::gentoo failed (compile phase):
* emake failed
OK, I thought I better install what it seems to be complaining about, because it was not installed in this system:
ACCEPT_KEYWORDS="amd64" emerge -1av dev-python/pyatspi
However, it still complains:
# python -c 'import atspi'
Traceback (most recent call last):
File "<string>", line 1, in <module>
import atspi
ModuleNotFoundError: No module named 'atspi'
Apparently, it is a media-libs/assimp QT bug:
https://bugreports.qt.io/browse/QTBUG-84037
I've re-emerged media-libs/assimp, but the bug remains ... I wonder how it had been installed originally. Is there anything I can do about this?
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmgsxS4ACgkQseqq9sKV ZxlAfxAAnLjiYT25BCon4gKB7Cs9+X4leApqYrxX7a79N9XMN7k17Dbs/ATqmYd+ jyJq70Z6bh5hDXpHSmviDSDoWp06KZuoi8/WxFkpmF3biVhETxCFoqDZp05/+r9E wZhGMg3YXq4DPSvswWay3bb4psg2sF/C01Zu1zBdfh+1Zosarm49pZ3pn9RdKKsp JmkgrcvzjIpYV+LTVHW/tP1vbICxu1fn1hJd9VxzNwjVbu5wo7dtVK47ZurspioI ieiuDKxfDkAg6IBfcOz+Li33mztSEI1e4pkeCGSGYrxWRBXGUrgiJ9jYU4cIiqWy o2k1SVY47PcLKrv+unjtNkdA4gI+uH7SN7e4qkqB1eUol3CtqdV1GZwzmDiNEmvI /1A0vpBmweQF1OwFzadiG41bsEIdlu3nwLSudy3qyZQKfS4kY7fCK+8kgQkxtFUX aON3yAXFdK2JGAA+N2MmM/jGlKoDfJD7QOQdzUqWF1wPz2JrZPHBl21fuQ0aVnJo 5GxdCeCWZd6S5XP99mg8YEboWu7WtBh98XuAcWXTwId1J1lDS4osSNJlQZPPTb19 aOwWA7Ebf6zkFbzb1d+QwKc7unllujFGoW7H3N4k5tp33HNWrWwprZ7b5LOFucbq bqRUMmj0i8tXeNQIRSs6iNNCQXi7avCxaLypwxshjxCzg6QeVl0=
=cfRa
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)