You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2008/02/19 14:48:43 UTC

[jira] Resolved: (XERCESC-1492) RPM spec file is wrong for 2.7.0 tar file

     [ https://issues.apache.org/jira/browse/XERCESC-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov resolved XERCESC-1492.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0

RPM spec for Xerces-C++ has been fixed in 2.8.0.

> RPM spec file is wrong for 2.7.0 tar file
> -----------------------------------------
>
>                 Key: XERCESC-1492
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1492
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.7.0
>         Environment: Red Hat Enterprise Linux 3 / i386
>            Reporter: Jonathan Lennox
>             Fix For: 2.8.0
>
>
> The directory layout of the Xerces C++ source distribution has changed.
> In previous versions, the Xerces source distribution was placed into a directory named (e.g.) xerces-c-src_2_5_0/, but the tar files http://www.apache.org/dist/xml/xerces-c/xerces-c-current.tar.gz (equivalently http://www.apache.org/dist/xml/xerces-c/source/xerces-c-src_2_7_0.tar.gz) unpack into a directory named simply xerces-c-src/.
> Unfortunately, the xerces-c.spec file has not been updated to match.  Thus, you get the following failure:
> $ rpmbuild -ta xerces-c-src_2_7_0.tar.gz
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.34504
> + umask 022
> + cd /home/lennox/Proj/NoBackup/RPMs/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd /home/lennox/Proj/NoBackup/RPMs/BUILD
> + rm -rf xerces-c-src_2_7_0
> + /usr/bin/gzip -dc /n/irt-filer1/proj/irt-taped1/lennox/Xerces-C/xerces-c-src_2_7_0.tar.gz
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd xerces-c-src_2_7_0
> /var/tmp/rpm-tmp.34504: line 33: cd: xerces-c-src_2_7_0: No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.34504 (%prep)
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.34504 (%prep)
> (Note that I have a ~/.rpmmacros file with %_topdir set, but that shouldn't affect this.)
> As a workaround, un-tar the file, rename the xerces-c-src directory to xerces-c-src_2_7_0, create a new file, and run rpmbuild -ta on that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org