Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698964 - dev-java/l2fprod-common-7.3-r2 : * /usr/lib64/javatoolkit/bin/xml-rewrite-2.py failed
Summary: dev-java/l2fprod-common-7.3-r2 : * /usr/lib64/javatoolkit/bin/xml-rewrite-2....
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:
: 699100 (view as bug list)
Depends on:
Blocks: 699102
  Show dependency tree
 
Reported: 2019-10-30 22:19 UTC by Toralf Förster
Modified: 2020-08-14 07:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.29 KB, text/plain)
2019-10-30 22:19 UTC, Toralf Förster
Details
dev-java:l2fprod-common-7.3-r2:20191030-212214.log (dev-java:l2fprod-common-7.3-r2:20191030-212214.log,3.78 KB, text/plain)
2019-10-30 22:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,136.01 KB, text/plain)
2019-10-30 22:20 UTC, Toralf Förster
Details
environment (environment,152.52 KB, text/plain)
2019-10-30 22:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.77 KB, application/x-bzip)
2019-10-30 22:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.07 KB, application/x-bzip)
2019-10-30 22:22 UTC, Toralf Förster
Details
Probable patch (javatoolkit.patch,973 bytes, patch)
2020-04-19 10:22 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-10-30 22:19:00 UTC
 * ERROR: dev-java/l2fprod-common-7.3-r2::gentoo failed (compile phase):
 *   /usr/lib64/javatoolkit/bin/xml-rewrite-2.py failed
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20191027-182629

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 30 Oct 2019 18:45:58 +0000

emerge -qpvO dev-java/l2fprod-common
[ebuild  N    ] dev-java/l2fprod-common-7.3-r2
Comment 1 Toralf Förster gentoo-dev 2019-10-30 22:19:18 UTC
Created attachment 594606 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-10-30 22:19:36 UTC
Created attachment 594608 [details]
dev-java:l2fprod-common-7.3-r2:20191030-212214.log
Comment 3 Toralf Förster gentoo-dev 2019-10-30 22:20:37 UTC
Created attachment 594610 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-10-30 22:21:05 UTC
Created attachment 594612 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-10-30 22:22:06 UTC
Created attachment 594614 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-10-30 22:22:45 UTC
Created attachment 594616 [details]
temp.tbz2
Comment 7 Arfrever Frehtes Taifersar Arahesis 2020-04-19 10:11:26 UTC
*** Bug 699100 has been marked as a duplicate of this bug. ***
Comment 8 Arfrever Frehtes Taifersar Arahesis 2020-04-19 10:14:05 UTC
Relevant code, before https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=c5a30f5dc7a54d81714a30f7f8140347db173e8f, was temporarily changing working directory using os.chdir(), and next was restoring previous working directory.
The second call to os.chdir() was lost in this commit.
Comment 9 Arfrever Frehtes Taifersar Arahesis 2020-04-19 10:22:00 UTC
Created attachment 633694 [details, diff]
Probable patch
Comment 10 Larry the Git Cow gentoo-dev 2020-07-15 20:15:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=bb8bb23579f75a34ccb7c9d963a6bae001ae40b8

commit bb8bb23579f75a34ccb7c9d963a6bae001ae40b8
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2020-07-15 20:13:06 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2020-07-15 20:14:22 +0000

    xml-rewrite-2.py: add back os.chdir() function call.
    
    Courtesy of Arfrever <arfrever@apache.org>.
    
    Closes: https://bugs.gentoo.org/698964
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 src/py/xml-rewrite-2.py | 2 ++
 1 file changed, 2 insertions(+)
Comment 11 Arfrever Frehtes Taifersar Arahesis 2020-07-22 17:07:19 UTC
*** Bug 699100 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2020-08-14 07:18:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde56b295ffa8d407aaf63611bda39697fbd1a75

commit fde56b295ffa8d407aaf63611bda39697fbd1a75
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2020-08-14 07:17:29 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2020-08-14 07:18:08 +0000

    dev-java/javatoolkit: bump to 0.6.3
    
    Bug: https://bugs.gentoo.org/698964
    Bug: https://bugs.gentoo.org/699100
    Closes: https://bugs.gentoo.org/736583
    Closes: https://github.com/gentoo/gentoo/pull/17069
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-java/javatoolkit/Manifest                 |  1 +
 dev-java/javatoolkit/javatoolkit-0.6.3.ebuild | 28 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)