Hide Forgot
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.
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.