Bug 948161

Summary: F19 jpackage-utils has grown a dep on perl
Product: [Fedora] Fedora Reporter: Kalev Lember <kalevlember>
Component: jpackage-utilsAssignee: Severin Gehwolf <sgehwolf>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: akurtako, dbhole, mizdebsk, thoger
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-09 09:48:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Git formatted patch with a fix. none

Description Kalev Lember 2013-04-04 08:11:38 UTC
jpackage-utils has recently grown a dep on perl and drags in the whole perl stack to F19 live media.

It seems to be for /usr/share/java-utils/abs2rel.sh which is a simple on-liner script and invokes File::Spec. Could it be possible to reimplement it in some other scripting language that we already have available on the live media? Python or lua, for instance?

Comment 1 Severin Gehwolf 2013-04-08 09:52:54 UTC
A fix for bug 823669 introduced this. I'll have another go at fixing the lua script rather than using the Perl script. Also CC'ing Tomas.

Comment 2 Tomas Hoger 2013-04-08 10:09:27 UTC
Maybe reconsider fix proposed in bug 823669 comment 0 (attachment 585883 [details])?

Comment 3 Severin Gehwolf 2013-04-08 10:35:32 UTC
(In reply to comment #2)
> Maybe reconsider fix proposed in bug 823669 comment 0 (attachment 585883 [details]
> [details])?

Absolutely! Working on it now.

Comment 4 Severin Gehwolf 2013-04-08 12:44:10 UTC
Scratch build with a fix is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5225796

I'm attaching a git-formatted patch of the fix if somebody with the powers feels like pushing it :) It is based on Tomas' original proposal in bug 823669. It also includes the missing lua requires as stated in bug 882578.

Deepak, if patch looks OK to you, you can alternatively give me commit privs[1] and I'll push the fix myself.

[1] https://admin.fedoraproject.org/pkgdb/acls/name/jpackage-utils

Comment 5 Severin Gehwolf 2013-04-08 12:45:07 UTC
Created attachment 732664 [details]
Git formatted patch with a fix.

Comment 6 Severin Gehwolf 2013-04-09 09:48:14 UTC
jpackage-utils-1.7.5-26.fc19 fixes this. Task is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5231511

The fix has been pushed to rawhide too:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5231509

Comment 7 Kalev Lember 2013-04-09 12:31:43 UTC
Awesome, thanks!

Can you submit the F19 build to Bodhi too?

Comment 8 Fedora Update System 2013-04-09 12:43:02 UTC
jpackage-utils-1.7.5-26.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/jpackage-utils-1.7.5-26.fc19

Comment 9 Severin Gehwolf 2013-04-09 12:45:05 UTC
(In reply to comment #7)
> Awesome, thanks!

Anytime!

> Can you submit the F19 build to Bodhi too?

Done. See link in comment 8.

Comment 10 Fedora Update System 2013-04-20 19:46:16 UTC
jpackage-utils-1.7.5-26.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.