Bug 1264249 - SableCC executable has wrong path to JAR
Summary: SableCC executable has wrong path to JAR
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sablecc
Version: 22
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-18 01:54 UTC by Daniel Miranda
Modified: 2015-09-27 03:22 UTC (History)
1 user (show)

Fixed In Version: sablecc-3.2-10.fc23 sablecc-3.2-9.fc22
Clone Of:
Environment:
Last Closed: 2015-09-26 17:33:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Miranda 2015-09-18 01:54:15 UTC
Description of problem:

Running the `sablecc` executable doesn't work properly, since the JAR path is wrong.

Version-Release number of selected component (if applicable):

sablecc.noarch 3.2-8.fc22

How reproducible:

Always

Steps to Reproduce:
1. Install SableCC
2. Run /usr/bin/sablecc

Actual results:

Program does not work at all.

Expected results:

Program works.

Additional info:

Here is the content of /usr/bin/sablecc from the package:


#!/bin/sh
#
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
# * This file is part of SableCC.                             *
# * See the file "LICENSE" for copyright information and the  *
# * terms and conditions for copying, distribution and        *
# * modification of SableCC.                                  *
# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
#
# IMPORTANT: Put the absolute path to sablecc.jar below.
java -jar lib/sablecc.jar $*


Pay attention to the notice to set an absolute path, that unfortunately wasn't followed. lib/sablecc.jar should be /usr/share/java/sablecc.jar instead.

Comment 1 Fedora Update System 2015-09-18 08:55:38 UTC
sablecc-3.2-9.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16148

Comment 2 Fedora Update System 2015-09-18 09:03:00 UTC
sablecc-3.2-10.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16149

Comment 3 Fedora Update System 2015-09-19 00:20:43 UTC
sablecc-3.2-10.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update sablecc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16149

Comment 4 Daniel Miranda 2015-09-19 00:50:29 UTC
The updated package works correctly on F22. Thanks!

Comment 5 Fedora Update System 2015-09-19 02:20:52 UTC
sablecc-3.2-9.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update sablecc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16148

Comment 6 Fedora Update System 2015-09-26 17:33:47 UTC
sablecc-3.2-10.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-09-27 03:22:02 UTC
sablecc-3.2-9.fc22 has been pushed to the Fedora 22 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.