Bug 948161 - F19 jpackage-utils has grown a dep on perl
Summary: F19 jpackage-utils has grown a dep on perl
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jpackage-utils
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Severin Gehwolf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-04 08:11 UTC by Kalev Lember
Modified: 2013-04-20 19:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-09 09:48:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Git formatted patch with a fix. (4.38 KB, text/plain)
2013-04-08 12:45 UTC, Severin Gehwolf
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 823669 0 unspecified CLOSED jpackage-utils: abs2rel.sh passes arguments to lua script incorrectly 2021-02-22 00:41:40 UTC

Internal Links: 823669

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.


Note You need to log in before you can comment on or make changes to this bug.