Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant install libproxy[Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
donjuanplatinum
n00b
n00b


Joined: 06 Oct 2024
Posts: 18
Location: China

PostPosted: Wed Jan 01, 2025 4:32 am    Post subject: cant install libproxy[Solved] Reply with quote

Code:

ModuleNotFoundError: No module named 'distutils.msvccompiler'
ninja: build stopped: subcommand failed.


This is the more output
Code:

[12/15] env PKG_CONFIG_PATH=/usr/share/pkgconfig:/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/meson-uninstalled PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config CC=x86_64-pc-linux-gnu-gcc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Libproxy --nsversion=1.0 --warn-all --output src/libproxy/Libproxy-1.0.gir --c-include=proxy.h --quiet -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5/src/libproxy -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/libproxy -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5/src/backend/. -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/backend/. --filelist=/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/libproxy/libproxy.so.0.5.5.p/Libproxy_1.0_gir_filelist -L/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/libproxy -L/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/backend -lproxy --include=Gio-2.0 --symbol-prefix=px --identifier-prefix=px --pkg-export=libproxy-1.0 --cflags-begin -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64 -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5/src/backend/. -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/backend/. -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/libproxy --library proxy -L/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/backend -lcurl -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgirepository-1.0
FAILED: src/libproxy/Libproxy-1.0.gir
env PKG_CONFIG_PATH=/usr/share/pkgconfig:/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/meson-uninstalled PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config CC=x86_64-pc-linux-gnu-gcc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Libproxy --nsversion=1.0 --warn-all --output src/libproxy/Libproxy-1.0.gir --c-include=proxy.h --quiet -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5/src/libproxy -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/libproxy -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5/src/backend/. -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/backend/. --filelist=/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/libproxy/libproxy.so.0.5.5.p/Libproxy_1.0_gir_filelist -L/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/libproxy -L/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/backend -lproxy --include=Gio-2.0 --symbol-prefix=px --identifier-prefix=px --pkg-export=libproxy-1.0 --cflags-begin -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64 -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5/src/backend/. -I/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/backend/. -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/libproxy --library proxy -L/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64/src/backend -lcurl -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgirepository-1.0
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 103, in <module>
    from giscanner.scannermain import scanner_main
  File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
    from giscanner.ast import Include, Namespace
  File "/usr/lib64/gobject-introspection/giscanner/ast.py", line 29, in <module>
    from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
  File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py", line 25, in <module>
    from .ccompiler import CCompiler
  File "/usr/lib64/gobject-introspection/giscanner/ccompiler.py", line 29, in <module>
    from distutils.msvccompiler import MSVCCompiler
ModuleNotFoundError: No module named 'distutils.msvccompiler'
ninja: build stopped: subcommand failed.
 * ERROR: net-libs/libproxy-0.5.5::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3293:  Called meson-multilib_src_compile
 *   environment, line 2042:  Called multilib-minimal_src_compile
 *   environment, line 2236:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2503:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2196:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2194:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  600:  Called multilib-minimal_abi_src_compile
 *   environment, line 2230:  Called multilib_src_compile
 *   environment, line 2723:  Called meson_src_compile
 *   environment, line 2109:  Called eninja
 *   environment, line 1489:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=net-libs/libproxy-0.5.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libproxy-0.5.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/libproxy-0.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libproxy-0.5.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64'
 * S: '/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5'

>>> Failed to emerge net-libs/libproxy-0.5.5, Log file:

>>>  '/var/tmp/portage/net-libs/libproxy-0.5.5/temp/build.log'

 * Messages for package net-libs/libproxy-0.5.5:

 * ERROR: net-libs/libproxy-0.5.5::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3293:  Called meson-multilib_src_compile
 *   environment, line 2042:  Called multilib-minimal_src_compile
 *   environment, line 2236:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2503:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2196:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2194:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  600:  Called multilib-minimal_abi_src_compile
 *   environment, line 2230:  Called multilib_src_compile
 *   environment, line 2723:  Called meson_src_compile
 *   environment, line 2109:  Called eninja
 *   environment, line 1489:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=net-libs/libproxy-0.5.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libproxy-0.5.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/libproxy-0.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libproxy-0.5.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5-abi_x86_64.amd64'
 * S: '/var/tmp/portage/net-libs/libproxy-0.5.5/work/libproxy-0.5.5'



this is the emerge info
Code:

Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.47-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.47-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-8700K_CPU_@_3.70GHz-with-glibc2.39
KiB Mem:    24569284 total,  11923480 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 31 Dec 2024 23:45:00 +0000
Head commit of repository gentoo: f509e9e23d307ab67b68964e8703899768f5fcf9
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.6_p4::gentoo
dev-lang/rust-bin:         1.81.0-r100::gentoo, 1.82.0-r101::gentoo
llvm-core/clang:           18.1.8::gentoo
llvm-core/lld:             18.1.8::gentoo
llvm-core/llvm:            18.1.8-r1::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo, 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::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://mirrors.tuna.tsinghua.edu.cn/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:

donjuan
    location: /var/db/repos/donjuan
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
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"
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="rsync://mirrors.tuna.tsinghua.edu.cn/gentoo/"
LANG="zh_CN.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j1"
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 a52 aac acl acpi activities alsa amd64 bluetooth branding browser-integration bzip2 cairo cdda cdr cet crypt cups dbus declarative discover dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jack jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sddm sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gcc_13" ALSA_CARDS="hda_intel" 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US zh-CN en zh" 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-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeonsi" 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, 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

_________________
跪敷衽以陈辞兮,耿吾既得此中正
驷玉虬以椉鹥兮,溘埃风余上征


Last edited by donjuanplatinum on Wed Jan 01, 2025 1:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31385
Location: here

PostPosted: Wed Jan 01, 2025 6:55 am    Post subject: Reply with quote

See bug #947058.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
donjuanplatinum
n00b
n00b


Joined: 06 Oct 2024
Posts: 18
Location: China

PostPosted: Wed Jan 01, 2025 1:10 pm    Post subject: Reply with quote

I Upgrade The Portage and update the @world , then it can be installed
_________________
跪敷衽以陈辞兮,耿吾既得此中正
驷玉虬以椉鹥兮,溘埃风余上征
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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