View previous topic :: View next topic |
Author |
Message |
leylanator n00b
Joined: 10 May 2024 Posts: 32
|
Posted: Wed Jun 05, 2024 4:49 pm Post subject: [SOLVED] emerge build fail for dev-java/javatoolkit |
|
|
This stopped an update, and I will show output of a single package update attempt that fails the same way:
Code: | ~ % doas emerge --ask --verbose javatoolkit
* IMPORTANT: 29 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 5.33 s (backtrack: 0/20).
[ebuild U ] dev-java/javatoolkit-0.6.7-r1::gentoo [0.6.7::gentoo] PYTHON_TARGETS="python3_12%* -python3_10 -python3_11*" 0 KiB
Total: 1 package (1 upgrade), Size of downloads: 0 KiB
!!! The following installed packages are masked:
- kde-apps/kio-extras-kf5-24.02.2::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2024-05-20)
# Short-lived side-by-side release, now unnecessary as it moved back to
# kde-apps/kio-extras:5. Removal on 2024-06-04.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/javatoolkit-0.6.7-r1::gentoo
* javatoolkit-0.6.7.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking javatoolkit-0.6.7.tar.bz2 to /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work
>>> Source unpacked in /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work
>>> Preparing source in /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7 ...
* Non-PEP517 builds are deprecated for ebuilds using plain distutils.
* Please migrate to DISTUTILS_USE_PEP517=setuptools.
* Please see Python Guide for more details:
* https://projects.gentoo.org/python/guide/distutils.html
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7 ...
* python3_12: running distutils-r1_run_phase distutils-r1_python_compile
python3.12 setup.py build -j 16
Traceback (most recent call last):
File "/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7/setup.py", line 5, in <module>
from distutils.core import setup
ModuleNotFoundError: No module named 'distutils'
* ERROR: dev-java/javatoolkit-0.6.7-r1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 4052: Called distutils-r1_src_compile
* environment, line 1897: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 748: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3668: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3209: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3207: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1199: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 1879: Called distutils-r1_python_compile
* environment, line 1665: Called esetup.py 'build' '-j' '16'
* environment, line 2620: Called die
* The specific snippet of code:
* "${@}" || die -n;
*
* If you need support, post the output of `emerge --info '=dev-java/javatoolkit-0.6.7-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-java/javatoolkit-0.6.7-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7'
* S: '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7'
>>> Failed to emerge dev-java/javatoolkit-0.6.7-r1, Log file:
>>> '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/temp/build.log'
* Messages for package dev-java/javatoolkit-0.6.7-r1:
* ERROR: dev-java/javatoolkit-0.6.7-r1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 4052: Called distutils-r1_src_compile
* environment, line 1897: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 748: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3668: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3209: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3207: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 1199: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 1879: Called distutils-r1_python_compile
* environment, line 1665: Called esetup.py 'build' '-j' '16'
* environment, line 2620: Called die
* The specific snippet of code:
* "${@}" || die -n;
*
* If you need support, post the output of `emerge --info '=dev-java/javatoolkit-0.6.7-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-java/javatoolkit-0.6.7-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7'
* S: '/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7' |
My make.conf is
Code: | ~ % cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j16 -l16"
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"
#FEATURES="candy"
EMERGE_DEFAULT_OPTS="--ask"
VIDEO_CARDS="amdgpu radeon radeonsi"
USE="X alsa bindist bluetooth brotli clang clap cups dbus dssi extra extras gcc gles2 gpm haptic introspection jack jack-sdk joystick keyboard ladspa llvm lv2 mouse opengl osmesa pipewire readline sound ssl terminal touchpad udev vaapi vdpau video vulkan vkd3d vst wacom wayland -networkmanager -ppp -systemd -telemetry -wow64"
#gpm may need to be unused sometimes
#replace jack-sdk with jack-client if sample rates other than 48K are needed, loses general pipewire graph
ABI_X86="32 64"
INPUT_DEVICES="libinput evdev synaptics joystick"
# NOTE: This stage was built with the bindist Use flag enabled
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8
GENTOO_MIRRORS="https://mirror.init7.net/gentoo/ \
rsync://mirror.init7.net/gentoo/ \
https://mirror.bytemark.co.uk/gentoo/ \
rsync://mirror.bytemark.co.uk/gentoo/ \
https://www.mirrorservice.org/sites/distfiles.gentoo.org/ \
ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/ \
rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
GRUB_PLATFORMS="efi-64" |
I'm not sure what the solution is, but I see the problem is related to python in some way.
Last edited by leylanator on Fri Jun 07, 2024 1:29 pm; edited 1 time in total |
|
Back to top |
|
|
leylanator n00b
Joined: 10 May 2024 Posts: 32
|
Posted: Wed Jun 05, 2024 5:52 pm Post subject: |
|
|
I should post these, too.
Output of output of `emerge --info '=dev-java/javatoolkit-0.6.7-r1::gentoo'`: https://pastebin.com/XCD9kCEN
Output of "emerge -pqv '=dev-java/javatoolkit-0.6.7-r1::gentoo' ":
Code: | ~ % emerge -pqv '=dev-java/javatoolkit-0.6.7-r1::gentoo'
[ebuild U ] dev-java/javatoolkit-0.6.7-r1 [0.6.7] PYTHON_TARGETS="python3_12%* -python3_10 -python3_11*"
!!! The following installed packages are masked:
- kde-apps/kio-extras-kf5-24.02.2::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2024-05-20)
# Short-lived side-by-side release, now unnecessary as it moved back to
# kde-apps/kio-extras:5. Removal on 2024-06-04.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
* IMPORTANT: 29 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items. |
Contents of build log: https://pastebin.com/v6UYwDzm
Ebuild environment: https://pastebin.com/Ku47sw1A
I am going to note the change to my make.conf - I have added: Code: | PYTHON_SINGLE_TARGET="python3_11" | to my make.conf for another application (carla on audio-overlay)
Last edited by leylanator on Fri Jun 07, 2024 1:28 pm; edited 1 time in total |
|
Back to top |
|
|
leylanator n00b
Joined: 10 May 2024 Posts: 32
|
Posted: Wed Jun 05, 2024 6:29 pm Post subject: |
|
|
Noticed the news post for emerge. Referring to safe upgrade procedure. This includes removing the segment added to make.conf as well as making a file in package.use (00-python, personally) to apply the python targets into. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2430
|
Posted: Wed Jun 05, 2024 8:05 pm Post subject: |
|
|
Post your emerge --info and what you've done to get here. Noticing safer upgrade procedure won't give us information what you've actually done.
leylanator wrote: | Noticed the news post for emerge. Referring to safe upgrade procedure. This includes removing the segment added to make.conf as well as making a file in package.use (00-python, personally) to apply the python targets into. |
You should not add any segments to make.conf in relationship to python and/or safer upgrade procedure.
Also when did you last sync? It looks very much like bug #933392, but I just run ebuild compile on it and it compiled successfully.
EDIT: I think it's fixed with bug #909906 3 days ago.
Best Regards,
Georgi |
|
Back to top |
|
|
leylanator n00b
Joined: 10 May 2024 Posts: 32
|
Posted: Thu Jun 06, 2024 2:20 am Post subject: |
|
|
logrusx wrote: | Post your emerge --info and what you've done to get here. Noticing safer upgrade procedure won't give us information what you've actually done.
leylanator wrote: | Noticed the news post for emerge. Referring to safe upgrade procedure. This includes removing the segment added to make.conf as well as making a file in package.use (00-python, personally) to apply the python targets into. |
You should not add any segments to make.conf in relationship to python and/or safer upgrade procedure.
Also when did you last sync? It looks very much like bug #933392, but I just run ebuild compile on it and it compiled successfully.
|
Yeah I moved the python information out of make.conf and to a package.use file. An update with only: Code: | */* PYTHON_TARGETS: -* python3_11
*/* PYTHON_SINGLE_TARGET: -* python3_11 |
Has succeeded, though with no updates to javatoolkit. So right now I am currently on a system which has deferred the Python 3.11 -> 3.12 upgrade.
My last sync was yesterday when I came back from a holiday (ran emerge --sync at around 13:00 at 2024-06-05), the one previous was 30 days before that. It seems to be that a transfer to 3.12 is snagging, maybe my system missed something important in that 30-day period - I'm thinking that I may not see the same issue anymore after updating my system using only Python 3.11 as target, as it is as up-to-date as it can be before switching over to 3.12, though with no guarantee (the issue could, unfortunately, be an interesting one).
Here's my emerge --info output: Code: | ~ % emerge --info
Portage 3.0.65 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.39-r7, 6.9.3-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.9.3-gentoo-dist-x86_64-Intel-R-_Core-TM-_i9-9900K_CPU_@_3.60GHz-with-glibc2.39
KiB Mem: 65754856 total, 33719972 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Wed, 05 Jun 2024 10:30:00 +0000
Head commit of repository gentoo: 991571cd433f50868199c7a683ed537c4825cede
Timestamp of repository audio-overlay: Mon, 20 May 2024 17:23:31 +0000
Head commit of repository audio-overlay: 198306c92d597d6382140fa9c5869e80cc552005
Timestamp of repository guru: Wed, 05 Jun 2024 13:33:54 +0000
Head commit of repository guru: 1ef1e8761e6c812275352256b9903c5418b59aa6
Timestamp of repository steam-overlay: Mon, 20 May 2024 17:23:25 +0000
Head commit of repository steam-overlay: 3aa8d3201d7bce32a1a0fffdf4afd9dbd0583048
sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r3::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.29.3::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.1::gentoo
dev-java/java-config: 2.3.3-r1::gentoo
dev-lang/perl: 5.38.2-r6::gentoo
dev-lang/python: 3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo, 3.13.0_beta1_p3::gentoo
dev-lang/rust-bin: 1.78.0::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 16.0.6::gentoo, 17.0.6::gentoo, 18.1.6::gentoo
sys-devel/gcc: 14.1.1_p20240518::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 16.0.6::gentoo
sys-devel/llvm: 16.0.6::gentoo, 17.0.6::gentoo, 18.1.6::gentoo
sys-kernel/linux-headers: 6.9::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r7::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-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
audio-overlay
location: /var/db/repos/audio-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/audio-overlay.git
masters: gentoo
volatile: False
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
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="-march=native -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="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.init7.net/gentoo/ rsync://mirror.init7.net/gentoo/ https://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ https://www.mirrorservice.org/sites/distfiles.gentoo.org/ ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/ rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16 -l16"
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 bindist bluetooth branding brotli bzip2 cairo cdda cdr cet clang clap crypt cups dbus declarative dri dssi dts dvd dvdr elogind encode exif extra extras flac gcc gdbm gif gles2 gpm gtk gui haptic iconv icu introspection ipv6 jack jack-sdk joystick jpeg kde keyboard kwallet ladspa lcms libnotify libtirpc llvm lv2 mad mng mouse mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp osmesa pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg terminal test-rust tiff touchpad truetype udev udisks unicode upower usb vaapi vdpau video vkd3d vorbis vst vulkan wacom wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="32 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev synaptics joystick" KERNEL="linux" 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="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeon 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, 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 |
I will attempt an update once I change the python targets in package.use to be: Code: | */* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_11 |
Before that, though, I must sleep. Will update next evening. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2430
|
Posted: Thu Jun 06, 2024 8:51 am Post subject: |
|
|
Code: | # emerge -v javatoolkit
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 2.22 s (backtrack: 0/20).
[ebuild N ] dev-java/javatoolkit-0.6.7-r1::gentoo PYTHON_TARGETS="python3_12 -python3_10 -python3_11" 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/javatoolkit-0.6.7-r1::gentoo
* javatoolkit-0.6.7.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking javatoolkit-0.6.7.tar.bz2 to /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work
>>> Source unpacked in /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work
>>> Preparing source in /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7 ...
* Non-PEP517 builds are deprecated for ebuilds using plain distutils.
* Please migrate to DISTUTILS_USE_PEP517=setuptools.
* Please see Python Guide for more details:
* https://projects.gentoo.org/python/guide/distutils.html
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/work/javatoolkit-0.6.7 ...
* python3_12: running distutils-r1_run_phase distutils-r1_python_compile
python3.12 setup.py build -j 16
warning: build_py: byte-compiling is disabled, skipping.
>>> Source compiled.
>>> Test phase [not enabled]: dev-java/javatoolkit-0.6.7-r1
>>> Install dev-java/javatoolkit-0.6.7-r1 into /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/image
* python3_12: running distutils-r1_run_phase python_install
python3.12 setup.py install --skip-build --root=/var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/image/_python3.12
/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
* Using python3.12 in global scope
* python3_12: running distutils-r1_run_phase distutils-r1_python_install_all
>>> Completed installing dev-java/javatoolkit-0.6.7-r1 into /var/tmp/portage/dev-java/javatoolkit-0.6.7-r1/image
|
It looks like something's off with your system. I see you have a lot of overlays. You might have something that's not migrated properly to pep517 that's substituted something from the main tree. What's the output of:
Code: | qlist -IR |grep -v gentoo$ |
Best Regards,
Georgi |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2179
|
Posted: Thu Jun 06, 2024 11:38 am Post subject: |
|
|
I'm getting the same, with no overrides in make.conf and almost no overlays (and none relevant).
This is a reported bug; there was a fix, but it's been reverted. _________________ Greybeard |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2430
|
Posted: Thu Jun 06, 2024 2:10 pm Post subject: |
|
|
Goverp wrote: | I'm getting the same, with no overrides in make.conf and almost no overlays (and none relevant).
This is a reported bug; there was a fix, but it's been reverted. |
Quote: |
This reverts commit 5c70bf44a9aa9973e6e08941c9b0bcdb7c8d4560.
The PEP517 port ends up not installing files to /usr/bin etc. |
Yeah. But at least we know it's being worked on.
Best Regards,
Georgi |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2179
|
Posted: Thu Jun 06, 2024 3:18 pm Post subject: |
|
|
In my case, it was only used by opencv with USE=java, and I didn't actually need that. So specifying
Code: | media-libs/opencv -java |
in package.use, and recompiling opencv meant I could deplcean javatoolkit. _________________ Greybeard |
|
Back to top |
|
|
leylanator n00b
Joined: 10 May 2024 Posts: 32
|
Posted: Fri Jun 07, 2024 1:24 pm Post subject: |
|
|
logrusx wrote: |
It looks like something's off with your system. I see you have a lot of overlays. You might have something that's not migrated properly to pep517 that's substituted something from the main tree. What's the output of:
Code: | qlist -IR |grep -v gentoo$ |
|
Quote: | ~ % qlist -IR |grep -v gentoo$
dev-python/steam::guru
games-emulation/rpcs3::guru
games-util/ProtonUp-Qt::guru
games-util/steam-launcher::steam-overlay
media-plugins/dragonfly-reverb::audio-overlay
media-plugins/fabla::audio-overlay
media-sound/carla::audio-overlay
x11-libs/ntk::audio-overlay |
I've recently now unmerged the audio-overlay packages and am not using the overlay anymore since I've opted to use nix packages in its place (among other things, like qtwebengine binary since gentoo's doesn't have -vaapi). This is especially since one (carla) is using Python 3.11 only. Any case, now it's: Code: | dev-python/steam::guru
games-emulation/rpcs3::guru
games-util/ProtonUp-Qt::guru
games-util/steam-launcher::steam-overlay |
I had already wanted to do this, though. Just now doing it earlier instead of procrastinating.
The partial upgrade to Python 3.12 (global python 3.11 and 3.12 along with single 3.11) still has the compile of javatoolkit fail. Didn't seem it was any of those audio-overlay packages causing the build fail.
Goverp wrote: | In my case, it was only used by opencv with USE=java, and I didn't actually need that. So specifying Code: | media-libs/opencv -java |
in package.use, and recompiling opencv meant I could deplcean javatoolkit.
|
So, I've passed -java to opencv in package.use and rebuilt it, then checked what depends on javatoolkit with `emerge -pv --depclean javatoolkit`, and dev-embedded/arduino depends on it. I thought, what the hell, and recompiled javatoolkit. It compiles!
Thanks all for giving me the pieces to this puzzle, I'm now just doing the system upgrade process to Python 3.12 without running into those issues. |
|
Back to top |
|
|
octonoodle n00b
Joined: 21 Feb 2024 Posts: 8
|
Posted: Fri Jun 07, 2024 11:35 pm Post subject: |
|
|
I hadn't updated my system for a couple of weeks and had a lot of updates along with the python change. I was also getting (this or similar, I didn't keep the logs or messages, sorry) javatoolkit failing complaining about distutils. I just excluded it when I did emerge, everything went fine and then redoing emerge to update it, it compiled fine. Not sure if there was an update in the interim, or what caused it, but it could be worth trying for anyone else reading this thread first before dropping overlays or packages, might save some time/effort. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4669 Location: Germany
|
|
Back to top |
|
|
leylanator n00b
Joined: 10 May 2024 Posts: 32
|
Posted: Mon Jun 10, 2024 12:11 am Post subject: |
|
|
Build of javatoolkit now succeeds with opencv using java use flag. I have now unset the flag to rebuild opencv without necessitating the flag going forward, but I can confirm that javatoolkit builds when opencv is built using the java flag - on my system at least.
[Edited only for grammar and clarity] |
|
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
|
|