Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 776247

Summary: dev-java/ant-core-1.10.9 fails with xml-rewrite-2.py: no python-exec wrapped executable found in /usr/lib/python-exec.
Product: Gentoo Linux Reporter: Cyp <cyp561>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cyp 2021-03-14 20:28:44 UTC
Maybe missing dependency on dev-python/setuptools?

>>> Emerging (15 of 1200) dev-java/ant-core-1.10.9::gentoo
 * apache-ant-1.10.9-src.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                               [ ok ]
 * ant-1.10.9-gentoo.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                   [ ok ]
 * Using: icedtea-8
>>> Unpacking source...
>>> Unpacking apache-ant-1.10.9-src.tar.bz2 to /var/tmp/portage/dev-java/ant-core-1.10.9/work
>>> Unpacking ant-1.10.9-gentoo.tar.bz2 to /var/tmp/portage/dev-java/ant-core-1.10.9/work
>>> Source unpacked in /var/tmp/portage/dev-java/ant-core-1.10.9/work
>>> Preparing source in /var/tmp/portage/dev-java/ant-core-1.10.9/work/apache-ant-1.10.9 ...
 * Applying 1.10.9-build.patch ...                                                                                                                                                                         [ ok ]
 * Applying 1.10.9-launch.patch ...                                                                                                                                                                        [ ok ]
 * Adjusting to prefix /
 *   ant ...                                                                                                                                                                                               [ ok ]
xml-rewrite-2.py: no python-exec wrapped executable found in /usr/lib/python-exec.
 * ERROR: dev-java/ant-core-1.10.9::gentoo failed (prepare phase):
 *   /usr/lib64/javatoolkit/bin/xml-rewrite-2.py failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_prepare
 *   environment, line 3237:  Called java-ant_xml-rewrite '-f' 'build.xml' '-c' '-e' 'javadoc' '-a' 'failonerror' '-v' 'false'
 *   environment, line 1409:  Called die
 * The specific snippet of code:
 *               ${gen2_1} "${@}" || die "${gen2_1} failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-java/ant-core-1.10.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/ant-core-1.10.9::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-8  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea8"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =ant-core-1.10.9
 * The complete build log is located at '/var/tmp/portage/dev-java/ant-core-1.10.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.10.9/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/ant-core-1.10.9/work/apache-ant-1.10.9'
 * S: '/var/tmp/portage/dev-java/ant-core-1.10.9/work/apache-ant-1.10.9'

>>> Failed to emerge dev-java/ant-core-1.10.9, Log file:

>>>  '/var/tmp/portage/dev-java/ant-core-1.10.9/temp/build.log'
*** Resuming merge...

These are the packages that would be merged, in order:

Calculating dependencies... done!

 * Messages for package net-p2p/bitcoin-qt-0.20.1:

 * You are building bitcoin-qt from Bitcoin Knots.
 * For more information, see:
 * https://bitcoinknots.org/files/0.20.x/0.20.1.knots20200815/bitcoin-0.20.1.knots20200815.desc.html
 * Replace By Fee policy is now always enabled by default: Your node will
 * preferentially mine and relay transactions paying the highest fee, regardless
 * of receive order. To disable RBF, set mempoolreplacement=never in bitcoin.conf

 * Messages for package net-im/pidgin-2.14.1:

 * dbus is enabled, no way to disable linkage with python => python is enabled

 * Messages for package app-office/libreoffice-6.4.7.2:

 * If you plan to use Base application you must enable USE base.

 * Messages for package dev-java/ant-core-1.10.9:

 * ERROR: dev-java/ant-core-1.10.9::gentoo failed (prepare phase):
 *   /usr/lib64/javatoolkit/bin/xml-rewrite-2.py failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_prepare
 *   environment, line 3237:  Called java-ant_xml-rewrite '-f' 'build.xml' '-c' '-e' 'javadoc' '-a' 'failonerror' '-v' 'false'
 *   environment, line 1409:  Called die
 * The specific snippet of code:
 *               ${gen2_1} "${@}" || die "${gen2_1} failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-java/ant-core-1.10.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/ant-core-1.10.9::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-java/ant-core-1.10.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.10.9/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/ant-core-1.10.9/work/apache-ant-1.10.9'
 * S: '/var/tmp/portage/dev-java/ant-core-1.10.9/work/apache-ant-1.10.9'
 * One or more packages are either masked or have missing dependencies:
 * 
 *   dev-libs/icu:0/67.1= pulled in by:
 *     (sci-libs/libqalculate-3.16.1:0/21::gentoo, installed)
 * 
 *   >=dev-libs/icu-4.4:0/67.1= pulled in by:
 *     (dev-tex/bibtexu-3.71_p20200406:0/0::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-java/ant-core-1.10.9:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-java/ant-core-1.10.9/temp/build.log'
 * 

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: app-text/poppler-21.02.0
 *  - /usr/lib64/libpoppler.so.99
 *  - /usr/lib64/libpoppler.so.99.0.0
 *      used by /usr/bin/inkscape (media-gfx/inkscape-0.92.4-r3)
 *      used by /usr/bin/inkview (media-gfx/inkscape-0.92.4-r3)
 *      used by /usr/bin/pdftex-texlive-core-2020 (app-text/texlive-core-2020-r5)
 *      used by 5 other files
>>> package: app-text/qpdf-10.1.0
 *  - /usr/lib64/libqpdf.so.26
 *  - /usr/lib64/libqpdf.so.26.0.2
 *      used by /usr/libexec/cups/filter/bannertopdf (net-print/cups-filters-1.27.4)
 *      used by /usr/libexec/cups/filter/gstoraster (net-print/cups-filters-1.27.4)
 *      used by /usr/libexec/cups/filter/pdftopdf (net-print/cups-filters-1.27.4)
 *      used by 2 other files
>>> package: dev-libs/boost-1.72.0-r1
 *  - /usr/lib64/libboost_system.so.1.65.0
 *      used by /usr/games/bin/glob2 (games-strategy/glob2-0.9.4.4-r1)
 *  - /usr/lib64/libboost_thread.so.1.65.0
 *      used by /usr/games/bin/glob2 (games-strategy/glob2-0.9.4.4-r1)
>>> package: dev-libs/gf2x-1.3.0
 *  - /usr/lib64/libgf2x.so.1
 *  - /usr/lib64/libgf2x.so.1.0.2
 *      used by /usr/lib64/libntl.so.43.0.1 (dev-libs/ntl-11.4.3)
>>> package: dev-libs/icu-68.2
 *  - /usr/lib/libicudata.so.67
 *  - /usr/lib/libicudata.so.67.1
 *  - /usr/lib/libicuuc.so.67
 *  - /usr/lib/libicuuc.so.67.1
 *      used by /usr/lib/libxml2.so.2.9.9 (dev-libs/libxml2-2.9.9-r3)
 *  - /usr/lib64/libicudata.so.67
 *  - /usr/lib64/libicudata.so.67.1
 *      used by /usr/lib/python3.7/site-packages/libxml2mod.so (dev-libs/libxml2-2.9.9-r3)
 *      used by /usr/lib64/libboost_graph.so.1.72.0 (dev-libs/boost-1.72.0-r1)
 *      used by /usr/lib64/libboost_locale.so.1.72.0 (dev-libs/boost-1.72.0-r1)
 *      used by 12 other files
 *  - /usr/lib64/libicui18n.so.67
 *  - /usr/lib64/libicui18n.so.67.1
 *      used by /usr/bin/0ad (games-strategy/0ad-0.0.23b_alpha)
 *      used by /usr/bin/bibtexu (dev-tex/bibtexu-3.71_p20200406)
 *      used by /usr/bin/js60 (dev-lang/spidermonkey-60.5.2_p0-r4)
 *      used by 35 other files
 *  - /usr/lib64/libicuuc.so.67
 *  - /usr/lib64/libicuuc.so.67.1
 *      used by /usr/bin/0ad (games-strategy/0ad-0.0.23b_alpha)
 *      used by /usr/bin/WebKitWebDriver (net-libs/webkit-gtk-2.28.2)
 *      used by /usr/bin/bibtexu (dev-tex/bibtexu-3.71_p20200406)
 *      used by 50 other files
>>> package: dev-libs/isl-0.23-r1
 *  - /usr/lib64/libisl.so.22
 *  - /usr/lib64/libisl.so.22.0.1
 *      used by /usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/cc1 (sys-devel/gcc-10.2.0-r5)
 *      used by /usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/cc1obj (sys-devel/gcc-10.2.0-r5)
 *      used by /usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/cc1objplus (sys-devel/gcc-10.2.0-r5)
 *      used by 43 other files
>>> package: dev-libs/liblinear-242
 *  - /usr/lib64/liblinear.so.3
 *      used by /usr/bin/nmap (net-analyzer/nmap-7.80-r1)
>>> package: dev-libs/nettle-3.6-r2
 *  - /usr/lib/libhogweed.so.5
 *  - /usr/lib/libhogweed.so.5.0
 *      used by /usr/lib/libgnutls.so.30.28.1 (net-libs/gnutls-3.6.15)
 *  - /usr/lib/libnettle.so.7
 *  - /usr/lib/libnettle.so.7.0
 *      used by /usr/lib/libgnutls.so.30.28.1 (net-libs/gnutls-3.6.15)
 *  - /usr/lib64/libhogweed.so.5
 *  - /usr/lib64/libhogweed.so.5.0
 *      used by /usr/lib64/libgnutls.so.30.28.1 (net-libs/gnutls-3.6.15)
 *  - /usr/lib64/libnettle.so.7
 *  - /usr/lib64/libnettle.so.7.0
 *      used by /usr/lib64/libgnutls.so.30.28.1 (net-libs/gnutls-3.6.15)
>>> package: dev-libs/re2-0.2020.11.01
 *  - /usr/lib64/libre2.so.7
 *  - /usr/lib64/libre2.so.7.0.0
 *      used by /usr/lib64/chromium-browser/chrome (www-client/chromium-83.0.4103.97)
 *      used by /usr/lib64/chromium-browser/chromedriver (www-client/chromium-83.0.4103.97)
 *      used by /usr/lib64/libQt5WebEngineCore.so.5.14.2 (dev-qt/qtwebengine-5.14.2)
>>> package: dev-libs/zziplib-0.13.72
 *  - /usr/lib64/libzzip-0.so.13
 *  - /usr/lib64/libzzip-0.so.13.0.69
 *      used by /usr/bin/luahbtex (app-text/texlive-core-2020-r5)
 *      used by /usr/bin/luajithbtex (app-text/texlive-core-2020-r5)
 *      used by /usr/bin/luajittex (app-text/texlive-core-2020-r5)
 *      used by 2 other files
>>> package: media-libs/libraw-0.20.2
 *  - /usr/lib64/libraw.so.19
 *  - /usr/lib64/libraw.so.19.0.1
 *      used by /usr/lib64/libKF5KDcraw.so.5.0.0 (kde-apps/libkdcraw-19.12.3)
>>> package: media-plugins/live-2020.05.15
 *  - /usr/lib64/libBasicUsageEnvironment.8.so
 *      used by /usr/lib64/vlc/plugins/access/liblive555_plugin.so (media-video/vlc-3.0.10-r1)
 *  - /usr/lib64/libUsageEnvironment.8.so
 *      used by /usr/lib64/vlc/plugins/access/liblive555_plugin.so (media-video/vlc-3.0.10-r1)
 *  - /usr/lib64/libgroupsock.8.so
 *      used by /usr/lib64/vlc/plugins/access/liblive555_plugin.so (media-video/vlc-3.0.10-r1)
 *  - /usr/lib64/libliveMedia.8.so
 *      used by /usr/lib64/vlc/plugins/access/liblive555_plugin.so (media-video/vlc-3.0.10-r1)
>>> package: net-libs/gloox-1.0.24
 *  - /usr/lib64/libgloox.so.17
 *  - /usr/lib64/libgloox.so.17.0.0
 *      used by /usr/bin/0ad (games-strategy/0ad-0.0.23b_alpha)
>>> package: sci-libs/libqalculate-3.16.1
 *  - /usr/lib64/libqalculate.so.20
 *  - /usr/lib64/libqalculate.so.20.0.1
 *      used by /usr/bin/step (kde-apps/step-19.12.3)
>>> package: sys-devel/clang-9.0.1
 *  - /usr/lib/llvm/9/lib64/libclangParse.so.9
 *  - /usr/lib/llvm/9/lib64/libclangCrossTU.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyBugproneModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangToolingInclusions.so.9
 *  - /usr/lib/llvm/9/lib64/libclangAnalysis.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyPlugin.so.9
 *  - /usr/lib/llvm/9/lib64/libclangSema.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyHICPPModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTooling.so.9
 *  - /usr/lib/llvm/9/lib64/libclangStaticAnalyzerCheckers.so.9
 *  - /usr/lib/llvm/9/lib64/libclangStaticAnalyzerFrontend.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyPortabilityModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangFormat.so.9
 *  - /usr/lib/llvm/9/lib64/libclangLex.so.9
 *  - /usr/lib/llvm/9/lib64/libclangBasic.so.9
 *  - /usr/lib/llvm/9/lib64/libclangEdit.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyPerformanceModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangIncludeFixerPlugin.so.9
 *  - /usr/lib/llvm/9/lib64/libclangRewrite.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyObjCModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyCERTModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangAST.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyZirconModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyAbseilModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangDriver.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyMPIModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyReadabilityModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclang.so.9
 *      used by /usr/lib64/libKDevClangPrivate.so.33 (dev-util/kdevelop-5.5.2)
 *      used by /usr/lib64/qt5/plugins/kdevplatform/33/kdevclangsupport.so (dev-util/kdevelop-5.5.2)
 *  - /usr/lib/llvm/9/lib64/libclangTidy.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyBoostModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyUtils.so.9
 *  - /usr/lib/llvm/9/lib64/libclangFrontend.so.9
 *  - /usr/lib/llvm/9/lib64/libclangStaticAnalyzerCore.so.9
 *  - /usr/lib/llvm/9/lib64/libfindAllSymbols.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyFuchsiaModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyGoogleModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangASTMatchers.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyAndroidModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangARCMigrate.so.9
 *  - /usr/lib/llvm/9/lib64/libclangToolingRefactoring.so.9
 *  - /usr/lib/llvm/9/lib64/libclangIndex.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyOpenMPModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyCppCoreGuidelinesModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyLLVMModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangIncludeFixer.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyModernizeModule.so.9
 *  - /usr/lib/llvm/9/lib64/libclangSerialization.so.9
 *  - /usr/lib/llvm/9/lib64/libclangToolingCore.so.9
 *  - /usr/lib/llvm/9/lib64/libclangTidyMiscModule.so.9
>>> package: sys-libs/readline-8.0_p4
 *  - /lib64/libreadline.so.7
 *  - /lib64/libreadline.so.7.0
 *      used by /usr/bin/ddd (dev-util/ddd-3.3.12-r4)
 *      used by /usr/bin/gftp-text (net-ftp/gftp-2.0.19-r3)
 *      used by /usr/bin/ginsh (sci-mathematics/ginac-1.7.8)
 *      used by 8 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries

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

 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2021-03-15 08:35:23 UTC
xml-rewrite-2.py: no python-exec wrapped executable found in /usr/lib/python-exec.

That's from javatoolkit and shouldn't (normally) be broken, considering your other bug #776244 I believe you are hit by possibly widespread system-specific python issues and should be kept to support venues unless can determine there is really a bug.

https://www.gentoo.org/support/