Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885971 - dev-java/jython-2.7.0-r7::gentoo failed (install phase): - python_optimize: unexpected EPYTHON=jython2.7
Summary: dev-java/jython-2.7.0-r7::gentoo failed (install phase): - python_optimize: u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-12-14 15:39 UTC by Toralf Förster
Modified: 2023-01-10 20:30 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.49 KB, text/plain)
2022-12-14 15:39 UTC, Toralf Förster
Details
dev-java:jython-2.7.0-r7:20221214-152548.log (dev-java:jython-2.7.0-r7:20221214-152548.log,32.41 KB, text/plain)
2022-12-14 15:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,168.54 KB, text/plain)
2022-12-14 15:39 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,699 bytes, application/x-bzip)
2022-12-14 15:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.92 KB, application/x-bzip)
2022-12-14 15:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.85 KB, application/x-bzip)
2022-12-14 15:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-14 15:39:23 UTC
  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221213-100012

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.21.0 [icedtea-8]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 13d612b118cf056670bbe6813ea80b5b661a602c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 14 12:47:00 2022 +0000

    2022-12-14 12:46:59 UTC

emerge -qpvO dev-java/jython
[ebuild  N    ] dev-java/jython-2.7.0-r7  USE="-doc -examples -source -test"
Comment 1 Toralf Förster gentoo-dev 2022-12-14 15:39:24 UTC
Created attachment 842651 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-14 15:39:25 UTC
Created attachment 842653 [details]
dev-java:jython-2.7.0-r7:20221214-152548.log
Comment 3 Toralf Förster gentoo-dev 2022-12-14 15:39:27 UTC
Created attachment 842655 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-14 15:39:28 UTC
Created attachment 842657 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-14 15:39:29 UTC
Created attachment 842659 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-14 15:39:30 UTC
Created attachment 842661 [details]
logs.tar.bz2
Comment 7 Volkmar W. Pogatzki 2022-12-15 08:02:52 UTC
debug: java-pkg_record-jar_: entering function, parameters: xerces-2
debug: java-pkg_record-jar_: entering function, parameters: servlet-api-3.0
debug: _python_export: entering function, parameters: jython2.7 EPYTHON
debug: _python_export: implementation: jython2.7
debug: _python_export: EPYTHON = jython2.7

>>> Failed to emerge dev-java/jython-2.7.0-r7, Log file:

>>>  '/var/tmp/portage/dev-java/jython-2.7.0-r7/temp/build.log'

 * Messages for package dev-java/jython-2.7.0-r7:

 * ERROR: dev-java/jython-2.7.0-r7::gentoo failed (install phase):
 *   python_optimize: unexpected EPYTHON=jython2.7
Comment 8 Tamas Jantvik 2023-01-07 15:28:31 UTC
Prevents libreoffice to be installed (depending on use flags)
Comment 9 Jean-Claude Aciman 2023-01-09 16:36:34 UTC
I have the same problem and cannot install LibreOffice.
Comment 10 Florian Schmaus gentoo-dev 2023-01-10 20:30:45 UTC
Fixed with 496ddfcc047c ("python-utils-r1.eclass: restore support for jython2_7 in python_optimize") [1].

1: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496ddfcc047cdad17456532b3045dfd4c1e829b7