Bug 707600 - /usr/bin/globus-spec-creator fails
Summary: /usr/bin/globus-spec-creator fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: globus-core
Version: el5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattias Ellert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-25 13:39 UTC by Dennis van Dok
Modified: 2011-06-29 05:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-29 05:07:35 UTC
Type: ---


Attachments (Terms of Use)

Description Dennis van Dok 2011-05-25 13:39:33 UTC
Description of problem:

Calling the globus-spec-creator utility fails with an unhelpful error. It is hard to determine whether this is a user error or a real bug.

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

5.17-3.el5

How reproducible:

Easy

Steps to Reproduce:
1. Download the globus toolkit sources: wget -N http://www-unix.globus.org/ftppub/gt5/5.0/5.0.3/installers/src/gt5.0.3-all-source-installer.tar.bz2

2. Unpack: tar xfj gt5.0.3-all-source-installer.tar.bz2
3. mv gt5.0.3-all-source-installer/source-trees/gssapi-openssh/openssh globus_openssh-5.2
4. mv gt5.0.3-all-source-installer/source-trees/gssapi-openssh/setup globus_openssh_setup-5.2
5. globus-spec-creator --gptfile globus_openssh-5.2/pkg_data_src.gpt   --directory globus_openssh-5.2

Actual results:

Can't call method "getAttributeNode" on an undefined value at /usr/bin/globus-spec-creator line 103.

Expected results:

A spec file of sorts.

Additional info:

I followed the instructions found on http://fedoraproject.org/wiki/Packaging:Globus trying to make a globus_openssh package.

Comment 1 Mattias Ellert 2011-06-29 05:07:35 UTC
The globus-spec-creator script works for all normal globus packages. The gsissh package is special because it is a modified version of openssh. This means that the package is not really using GPT to build like the normal globus package. When packaging gsissh for Fedora it is better not to use GPT at all, but rather base the gsissh package on the structure of the existing openssh package, as has been done in the package submitted for review (bug #683587).

The gsissh package is the only package I have come across that uses the particular syntax in the package description that the globus-spec-creator is failing to interpret in the way described in this bug report. Since as explained above it is not needed to run the script for this package I suggest not to spend time fixing it.


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