Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-python/dbus-python-1.2.18 fails emerge
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
Schievel
n00b
n00b


Joined: 13 Sep 2021
Posts: 27

PostPosted: Thu Sep 16, 2021 8:00 pm    Post subject: dev-python/dbus-python-1.2.18 fails emerge Reply with quote

When I run a normal update with
emerge --ask --verbose --update --deep --changed-use @world

Code:

configure: error: in `/var/tmp/portage/dev-python/dbus-python-1.2.18/work/dbus-python-1.2.18-python3_9':
configure: error:
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LIBS environment variable.
  Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================

See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-python/dbus-python-1.2.18/work/dbus-python-1.2.18-python3_9/config.log

* ERROR: dev-python/dbus-python-1.2.18::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  127:  Called src_configure
 *             environment, line 2756:  Called python_foreach_impl 'run_in_build_dir' 'configuring'
 *             environment, line 2427:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'run_in_build_dir' 'configuring'
 *             environment, line 1952:  Called _multibuild_run '_python_multibuild_wrapper' 'run_in_build_dir' 'configuring'
 *             environment, line 1950:  Called _python_multibuild_wrapper 'run_in_build_dir' 'configuring'
 *             environment, line  718:  Called run_in_build_dir 'configuring'
 *             environment, line 2737:  Called configuring
 *             environment, line 2754:  Called econf '--disable-documentation'
 *        phase-helpers.sh, line  711:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *


I can post you to logs and all that, but I since there is a library missing I thought I would rather try reemerging python instead.
But this also failed,

Code:
emerge --ask dev-lang/python 


Code:
make: *** [Makefile:637: sharedmods] Error 1
 * ERROR: dev-lang/python-3.10.0_rc2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-lang/python-3.10.0_rc2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/python-3.10.0_rc2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/python-3.10.0_rc2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.10.0_rc2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/python-3.10.0_rc2/work/Python-3.10.0rc2'
 * S: '/var/tmp/portage/dev-lang/python-3.10.0_rc2/work/Python-3.10.0rc2'

>>> Failed to emerge dev-lang/python-3.10.0_rc2, Log file:

>>>  '/var/tmp/portage/dev-lang/python-3.10.0_rc2/temp/build.log'


Code:
pascal-gentoo# emerge --info '=dev-lang/python-3.10.0_rc2::gentoo'
Undefined license group 'BINARY_REDISTRIBUTABLE'
Portage 3.0.23 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-10.3.0, glibc-2.33-r7, 5.10.61-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.61-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-6600K_CPU_@_3.50GHz-with-glibc2.33
KiB Mem:     8091112 total,   1453588 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 16 Sep 2021 18:30:01 +0000
Head commit of repository gentoo: e909ad01e3804f0717bc8b7dc27c378eb47bb385
Timestamp of repository guru: Thu, 16 Sep 2021 18:06:32 +0000
Head commit of repository guru: ea19c17a935d58d73d2f5d445708d56cc013a95a

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p5) 2.36.1
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          3.9.6_p2::gentoo, 3.10.0_rc2::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/openrc:          0.43.5::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r2::gentoo, 2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=skylake -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -O2 -pipe"
GENTOO_MIRRORS="https://ftp.gwdg.de/pub/linux/gentoo/ http://ftp.gwdg.de/pub/linux/gentoo/ https://ftp.uni-hannover.de/gentoo/ http://ftp.uni-hannover.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds elogind emboss encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio readline sdl seccomp spell split-usr ssl startup-notification svg sysprof tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

dev-lang/python-3.10.0_rc2::gentoo was built with the following:
USE="gdbm ncurses readline sqlite ssl xml -bluetooth -build -examples -hardened -test -tk -verify-sig -wininst" ABI_X86="(64)"
CFLAGS="-march=skylake -O2 -pipe -fwrapv"
CXXFLAGS="-march=skylake -O2 -pipe -fwrapv"
FEATURES="multilib-strict qa-unresolved-soname-deps usersync unmerge-logs merge-sync unmerge-orphans protect-owned userpriv sandbox distlocks ebuild-locks config-protect-if-modified network-sandbox news pid-sandbox parallel-fetch binpkg-docompress sfperms preserve-libs assume-digests binpkg-dostrip binpkg-logs fixlafiles unknown-features-warn xattr usersandbox strict userfetch ipc-sandbox"


Code:
pascal-gentoo# emerge -pqv '=dev-lang/python-3.10.0_rc2::gentoo'
Undefined license group 'BINARY_REDISTRIBUTABLE'
[ebuild   R   ] dev-lang/python-3.10.0_rc2  USE="gdbm ncurses readline sqlite ssl xml -bluetooth -build -examples -hardened -test -tk -verify-sig -wininst"

 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


The build.log is here
https://pastebin.com/3ZDt1PmB

I am quite new to gentoo, so this is probably some stupid thing I did and hopefully easy to resolve.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Thu Sep 16, 2021 9:24 pm    Post subject: Reply with quote

Hi
Do you have
python3.9
in
Code:

/etc/python-exec/python-exec.conf

?
_________________
:)
Back to top
View user's profile Send private message
Schievel
n00b
n00b


Joined: 13 Sep 2021
Posts: 27

PostPosted: Fri Sep 17, 2021 12:29 pm    Post subject: Reply with quote

yes I do.

Some urge tells me I should run eselect python an choose pythen3.10.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Sep 17, 2021 4:08 pm    Post subject: Reply with quote

Do you still have
eselect-python
?
_________________
:)
Back to top
View user's profile Send private message
Schievel
n00b
n00b


Joined: 13 Sep 2021
Posts: 27

PostPosted: Fri Sep 17, 2021 6:02 pm    Post subject: Reply with quote

Well I guess no, because it says:

Code:
!!! Error: Can't load module python
exiting
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Sep 17, 2021 6:32 pm    Post subject: Reply with quote

You can emerge it if you need it.
Try plz
Code:

emerge -1av python:3.9 python:3.10 python-exec
emerge -uDNav @world

_________________
:)
Back to top
View user's profile Send private message
Schievel
n00b
n00b


Joined: 13 Sep 2021
Posts: 27

PostPosted: Sat Sep 18, 2021 7:07 am    Post subject: Reply with quote

Are you a wizard?

Before I also tried
Code:
emerge -av python:3.9

Which failed with the same error.

Could you explain what your command does differently?
All is fine now. When I update world, there’s nothing to update.
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