View previous topic :: View next topic |
Author |
Message |
henry Tux's lil' helper
Joined: 09 Aug 2002 Posts: 147
|
Posted: Tue May 21, 2024 8:08 am Post subject: gelöst: x11-libs/libxcb-1.17.0 error |
|
|
Hallo Freunde,
kennt jemand diesen Fehler?
Ich habe bisher keine Lösung gefunden.
Code: | File "/usr/lib/python3.11/encodings/iso8859_15.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2018' in position 81: character maps to <undefined> |
Danke und 73 Henry[/quote]
Last edited by henry on Wed May 22, 2024 10:28 am; edited 1 time in total |
|
Back to top |
|
|
Max Steel Advocate
Joined: 12 Feb 2007 Posts: 2270 Location: My own world! I and Gentoo!
|
Posted: Tue May 21, 2024 8:22 am Post subject: |
|
|
Klingt als würdest du versuchen ein Zeichen UniCode Multibyte Zeichen mit ISO-8859-15 zu encoden dass aber nicht in der Tabelle verfügbar ist.
In welchem Kontext passiert das denn? Oder versuchst du selbst etwas zu programmieren? _________________ mfg
Steel
___________________
Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2) |
|
Back to top |
|
|
henry Tux's lil' helper
Joined: 09 Aug 2002 Posts: 147
|
Posted: Tue May 21, 2024 3:19 pm Post subject: |
|
|
Oh sorry,
habe ich vergessen.
Fehler erscheint bei:
emerge -u x11-libs/libxcb-1.17.0
73 Henry |
|
Back to top |
|
|
Max Steel Advocate
Joined: 12 Feb 2007 Posts: 2270 Location: My own world! I and Gentoo!
|
Posted: Tue May 21, 2024 3:31 pm Post subject: |
|
|
Hmmmm... zur weiteren Analyse wären die Ausgaben folgender Befehle hilfreich:
EMERGE_DEFAULT_OPTS="" emerge --info
wgetpaste /var/tmp/portage/dev-libs/libxcb-1.17.0/temp/build.log
grep -ri iso-8859 /etc
grep -ri LC_ /etc
grep -ri LC_ ~/ _________________ mfg
Steel
___________________
Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2) |
|
Back to top |
|
|
henry Tux's lil' helper
Joined: 09 Aug 2002 Posts: 147
|
Posted: Wed May 22, 2024 8:08 am Post subject: |
|
|
Hallo Steel,
hier die Infos.
EMERGE_DEFAULT_OPTS="" emerge --info
Code: | Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0, gcc-13, glibc-2.39-r6, 6.9.1-gentoo x86_64)
=================================================================
System uname: Linux-6.9.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-glibc2.39
KiB Mem: 24007804 total, 18278432 free
KiB Swap: 1048572 total, 1048572 free
Timestamp of repository gentoo: Wed, 22 May 2024 07:30:00 +0000
Head commit of repository gentoo: 7400529078754306ac09a433677165cb5c966353
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.28.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-java/java-config: 2.3.3-r1::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust-bin: 1.77.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::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-verify-max-age: 3
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=""
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"
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 merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de"
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/bash"USE="/ X acl alsa amd64 bzip2 cet crypt cups dbus fortran gdbm hamlib iconv ipv6 jpeg libtirpc multilib ncurses nls opengl openmp pam pcre pdf pulseaudio python readline seccomp ssl test-rust text threads udev unicode usb v4l xattr zlib" ABI_X86="64" ADA_TARGET="gcc_12" 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_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="plustek" VIDEO_CARDS="intel" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INST
ALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
Fortsetzung folgt |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4670 Location: Germany
|
Posted: Wed May 22, 2024 8:16 am Post subject: |
|
|
Setze das auf eine UTF8 locale - das sollte es fixen.
Last edited by Josef.95 on Wed May 22, 2024 8:24 am; edited 1 time in total |
|
Back to top |
|
|
henry Tux's lil' helper
Joined: 09 Aug 2002 Posts: 147
|
Posted: Wed May 22, 2024 8:20 am Post subject: |
|
|
grep -ri iso-8859 /etc
Code: |
/etc/lynx.cfg:# mode ON by default (but you get assume_charset=iso-8859-1 if you try raw mode
/etc/lynx.cfg:# Western (ISO-8859-1) iso-8859-1
/etc/lynx.cfg:# Western (ISO-8859-15) iso-8859-15
/etc/lynx.cfg:# Eastern European (ISO-8859-2) iso-8859-2
/etc/lynx.cfg:# Latin 3 (ISO-8859-3) iso-8859-3
/etc/lynx.cfg:# Latin 4 (ISO-8859-4) iso-8859-4
/etc/lynx.cfg:# Baltic Rim (ISO-8859-13) iso-8859-13
/etc/lynx.cfg:# Celtic (ISO-8859-14) iso-8859-14
/etc/lynx.cfg:# Cyrillic (ISO-8859-5) iso-8859-5
/etc/lynx.cfg:# Arabic (ISO-8859-6) iso-8859-6
/etc/lynx.cfg:# Greek (ISO-8859-7) iso-8859-7
/etc/lynx.cfg:# Hebrew (ISO-8859-8) iso-8859-8
/etc/lynx.cfg:# Turkish (ISO-8859-9) iso-8859-9
/etc/lynx.cfg:# North European (ISO-8859-10) iso-8859-10
/etc/lynx.cfg:# standard in HTML4) ISO-8859-1, in the absence of locale information.
/etc/lynx.cfg:# default is Windows 1252. In the same way, it equates ISO-8859-4 and Windows
/etc/lynx.cfg:# This option currently implements only the equating of ISO-8859-1 and Windows
/etc/lynx.cfg:# characters in those documents are encoded according to iso-8859-1
/etc/lynx.cfg:#ASSUME_CHARSET:iso-8859-1
/etc/lynx.cfg:# ASSUMED_DOC_CHARSET_CHOICE:iso-8859-5
/etc/lynx.cfg:#ASSUME_LOCAL_CHARSET:iso-8859-1
/etc/lynx.cfg:#ASSUME_UNREC_CHARSET:iso-8859-1
/etc/lynx.cfg:# "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
/etc/lynx.cfg:# The value should NOT include "ISO-8859-1" or "US-ASCII",
/etc/lynx.cfg:# CHARSET_SWITCH_RULES: koi8-r ISO-8859-5 windows-1251 cp866u KOI8-U :cp866,
/etc/lynx.cfg:# iso-8859-1 windows-1252 ISO-8859-15 :cp850,
/etc/lynx.cfg:# ISO-8859-2 windows-1250 :cp852,
/etc/lynx.cfg:# ISO-8859-8 windows-1255 :cp862
/etc/locale.gen:en_US ISO-8859-1
/etc/locale.gen:#en_HK ISO-8859-1
/etc/locale.gen:#en_PH ISO-8859-1
/etc/locale.gen:de_DE ISO-8859-1
/etc/locale.gen:de_DE@euro ISO-8859-15
/etc/locale.gen:#es_MX ISO-8859-1
/etc/locale.gen:#fr_FR ISO-8859-1
/etc/locale.gen:#fr_FR@euro ISO-8859-15
/etc/locale.gen:#it_IT ISO-8859-1
/etc/nanorc:## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
/etc/speech-dispatcher/modules/epos-generic.conf:GenericLanguage "cs" "czech" "iso-8859-2"
/etc/speech-dispatcher/modules/epos-generic.conf:GenericLanguage "sk" "slovak" iso-8859-2"
/etc/ImageMagick-7/quantization-table.xml:<?xml version="1.0" encoding="ISO-885-1"?>
/etc/ImageMagick-7/thresholds.xml:<?xml version="1.0" encoding="ISO-8859-1"?>
|
grep -ri LC_ /etc
Code: |
/etc/sudoers.dist:# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
/etc/lynx.cfg:# LC_ALL is set, overriding LANG (as well as the more apt LC_MESSAGES variable).
/etc/portage/make.conf:LC_MESSAGES=C.utf8
/etc/portage/savedconfig/sys-kernel/linux-firmware-20240513:amdgpu/picasso_rlc_am4.bin
/etc/portage/savedconfig/sys-kernel/linux-firmware-20240513:amdgpu/gc_11_0_0_rlc_1.bin
/etc/portage/savedconfig/sys-kernel/linux-firmware-20240513:mellanox/lc_ini_bundle_2010_3020.bin
/etc/portage/savedconfig/sys-kernel/linux-firmware-20240513:mellanox/lc_ini_bundle_2010_1502.bin
/etc/portage/savedconfig/sys-kernel/linux-firmware-20240513:mellanox/lc_ini_bundle_2010_1006.bin
/etc/portage/savedconfig/sys-kernel/linux-firmware-20240513:mellanox/lc_ini_bundle_2010_3146.bin
/etc/init.d/hwclock: if LC_ALL=C hwclock --help 2>&1 | grep -q -e "-- noadjfile"; then
/etc/mysql/mariadb.d/50-distro-server.cnf:lc_messages_dir = /usr/share/mariadb
/etc/mysql/mariadb.d/50-distro-server.cnf:lc_messages = en_US
/etc/ssh/sshd_config.d/9999999gentoo.conf:AcceptEnv LANG LC_ALL LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LANGUAGE LC_ADDRESS LC_IDENTIFICATION LC_MEASUREMENT LC_NAME LC_PAPER LC_TELEPHONE
/etc/ssh/ssh_config.d/9999999gentoo.conf:SendEnv LANG LC_ALL LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LANGUAGE LC_ADDRESS LC_IDENTIFICATION LC_MEASUREMENT LC_NAME LC_PAPER LC_TELEPHONE
/etc/sudoers:# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
|
wgetpaste /var/tmp/portage/dev-libs/libxcb-1.17.0/temp/build.log
Code: |
/usr/bin/wgetpaste: /var/tmp/portage/dev-libs/libxcb-1.17.0/temp/build.log No such file found.
|
|
|
Back to top |
|
|
Max Steel Advocate
Joined: 12 Feb 2007 Posts: 2270 Location: My own world! I and Gentoo!
|
Posted: Wed May 22, 2024 10:22 am Post subject: |
|
|
henry wrote: | wgetpaste /var/tmp/portage/dev-libs/libxcb-1.17.0/temp/build.log
Code: |
/usr/bin/wgetpaste: /var/tmp/portage/dev-libs/libxcb-1.17.0/temp/build.log No such file found.
|
|
Huch, da ist mir ein kleiner Fehler unterlaufen. der Pfad dev-libs gibts wirklich nicht. es sollte
wgetpaste /var/tmp/portage/x11-libs/libxcb-1.17.0/temp/build.log
heißen.
Ansonsten wie josef bereits meinte.
irgendwo, vermutlich in der LANG Variable in einer /etc/env.d/ steht de_DE@euro statt de_DE.utf8 (bzw de_DE.UTF-8, musst ausprobieren was funktioniert). Ändere es und es dürfte passen.
Zum verifizieren kannst ja ein grep -i utf-8 /etc/locale.gen anschauen. _________________ mfg
Steel
___________________
Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2) |
|
Back to top |
|
|
henry Tux's lil' helper
Joined: 09 Aug 2002 Posts: 147
|
Posted: Wed May 22, 2024 10:27 am Post subject: |
|
|
Die Lösung:
PYTHONUTF8=1 emerge -1av libxcb
https://bugs.gentoo.org/913655
Danke für die Bemühungen.
73 Henry |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|