u/O_Esdras_o

▲ 5 r/Gentoo

Crossdev is complex

Heellooooo, so I try to install gentoo on a PowerMac G5. This computer has a very low capacity (CPU with 1 core at 1,8 GHz and 1Go of RAM) and I thought it was a good moment to learn how to use crossdev, i read the doc and i did what they say like 10 times. But i'm stuck again and again with this error when i try to merge package :

* Messages for package virtual/libintl-0-r2 merged to /usr/powerpc64-unknown-linux-gnu/:

* Your profile is of type merged-usr, but your directories

* on-disk are of type split-usr.

* Please switch back to your last valid profile setting and

* read the documentation about merged-usr and profile changes.

* ERROR: virtual/libintl-0-r2::gentoo failed (setup phase):

* ERROR: 23.0 merged-usr profile, but disk is split-usr

in the error message it say to include this so here it is :

miniGentoo /usr/powerpc64-unknown-linux-gnu # emerge-powerpc64-unknown-linux-gnu --info '=virtual/libintl-0-r2::gentoo'

Portage 3.0.77 (python 3.13.13-final-0, default/linux/ppc64/23.0/desktop, gcc-15, unavailable, 6.18.30-p1-gentoo-dist x86_64)

=================================================================

System Settings

=================================================================

System uname: Linux-6.18.30-p1-gentoo-dist-x86_64-Intel-R-_Core-TM-_i3-6100U_CPU_@_2.30GHz-with-glibc2.42

KiB Mem: 8006892 total, 3081976 free

KiB Swap: 10485756 total, 10485756 free

Timestamp of repository gentoo: Mon, 18 May 2026 18:15:00 +0000

Head commit of repository gentoo: 125f9161e1aa1c02764f514a4aee4cd6aa96a863

sh bash 5.3_p9-r1

ld GNU ld (Gentoo 2.46.0 p1) 2.46.0

sys-apps/baselayout: 2.18-r1::gentoo

sys-kernel/linux-headers: 6.19::gentoo (virtual/os-headers)

sys-libs/glibc: 2.43-r2::gentoo

Repositories:

gentoo

location: /var/db/repos/gentoo

sync-type: rsync

sync-uri: rsync://rsync.gentoo.org/gentoo-portage

priority: -1000

volatile: False

sync-rsync-extra-opts:

sync-rsync-verify-max-age: 3

sync-rsync-verify-jobs: 1

sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="ppc64 ~ppc64"

ACCEPT_LICENSE="@FREE"

CBUILD="x86_64-pc-linux-gnu"

CFLAGS="-mcpu=970 -mtune=970 -O2 -maltivec -mabi=altivec -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"

CHOST="powerpc64-unknown-linux-gnu"

CONFIG_PROTECT="/etc /usr/share/config"

CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"

CXXFLAGS="-mcpu=970 -mtune=970 -O2 -maltivec -mabi=altivec -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"

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="-mcpu=970 -mtune=970 -O2 -maltivec -mabi=altivec -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"

FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live compress-index config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news nodoc noinfo noman parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"

FFLAGS="-mcpu=970 -mtune=970 -O2 -maltivec -mabi=altivec -flto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"

GENTOO_MIRRORS="http://distfiles.gentoo.org"

LANG="C.UTF-8"

LDFLAGS="-Wl,-z,now -Wl,-z,relro -Wl,-O2 -Wl,--as-needed"

LEX="flex"

PKGDIR="/usr/powerpc64-unknown-linux-gnu/var/cache/binpkgs/"

PORTAGE_COMPRESS="bzip2"

PORTAGE_CONFIGROOT="/usr/powerpc64-unknown-linux-gnu/"

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="/usr/powerpc64-unknown-linux-gnu/tmp/"

RUSTFLAGS=" -C target-cpu=970"

SHELL="/bin/bash"

USE="X a52 aac acl alsa asm avif bash-completion big-endian branding bzip2 cairo cdda cdr crypt css dri dts dvd dvdr elogind encode examples exif flac fortran gdbm gif gpm graphite gui ibm iconv icu ipv6 jpeg lcms libnotify lm-sensors lto mad man minimal mng mp3 mp4 mpeg ncurses nls ogg openal openmp pam pango pcre pdf pgo pipewire png policykit ppc64 ppds pulseaudio qml readline sdl seccomp sound spell ssl startup-notification svg telemetry test-rust tiff truetype udev udisks unicode upower usb vcd vorbis vulkan webp wxwidgets x264 xattr xcb xft xml xv zlib" ADA_TARGET="gcc_15" 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_PPC="altivec" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oncore skytraq superstar2 tsip tripmate tnt" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="PowerPC" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" QEMU_SOFTMMU_TARGETS="ppc64 ppc" RUBY_TARGETS="ruby33" VIDEO_CARDS="nouveau" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

Please if someone know something, tell me. thanks in advance !!

reddit.com
u/O_Esdras_o — 4 days ago
▲ 1 r/raspberryDIY+1 crossposts

hellooooo, so here's my problem : i make a script to automatically play Audio CD in python and mplayer (use via subprocess module) but if my cd drive don't spin already, mplayer fail. I was wondering if there were anyway to force the cd drive to spin ????? P.S. I use a raspberry pi 3 with a hp cd /dvd drive

reddit.com
u/O_Esdras_o — 24 days ago