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 "cargilld (JIRA)" <xe...@xml.apache.org> on 2005/09/08 16:23:30 UTC

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

    [ http://issues.apache.org/jira/browse/XERCESC-1492?page=comments#action_12322930 ] 

cargilld commented on XERCESC-1492:
-----------------------------------

Hi Jonathon,
I just updated the src packages on the web site to remove the .svn directories.  While making that change I also changed the directory structure to be xerces-c-src_2_7_0, so I hope I fixed this.  Can you give it a try?  Keep in mind it will take up to a day for the mirrors to be updated...

David

> RPM spec file is wrong for 2.7.0 tar file
> -----------------------------------------
>
>          Key: XERCESC-1492
>          URL: http://issues.apache.org/jira/browse/XERCESC-1492
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: 2.7.0
>  Environment: Red Hat Enterprise Linux 3 / i386
>     Reporter: Jonathan Lennox

>
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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