Bug 857157 - Make working directory if needed
Summary: Make working directory if needed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: rpmrebuild
Version: el6
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Anderson Silva
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-13 17:06 UTC by Orion Poplawski
Modified: 2013-02-13 14:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-13 14:50:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2012-09-13 17:06:29 UTC
Description of problem:

$ rpmrebuild --edit-provides -p hdf5189-intel-openmpi-1.8.9-2.el6.x86_64.rpm
Do you want to continue ? (y/N) y
/tmp/rpm/rpm-tmp.KR7tjx: line 26: cd: /scratch/orion/redhat/hdf5189-intel-openmpi-1.8.9: No such file or directory
error: Bad exit status from /tmp/rpm/rpm-tmp.KR7tjx (%clean)
    Bad exit status from /tmp/rpm/rpm-tmp.KR7tjx (%clean)
/usr/lib/rpmrebuild/rpmrebuild.sh: ERROR: package 'hdf5189-intel-openmpi-1.8.9-2.el6.x86_64.rpm' build failed

Looks like it may need to create the working directory.  I have:

%_topdir                /scratch/orion/redhat
%_rpmtopdir             %{_topdir}/%{name}-%{version}

In my ~/.rpmmacros.

Version-Release number of selected component (if applicable):
rpmrebuild-2.8-1.el6.noarch

Comment 1 Anderson Silva 2013-02-13 14:50:39 UTC
Hi, sorry for the late reply. This is not a rpmrebuild issue, but a rpmbuild configuration. rpmrebuild depends on rpmbuild, and it is part of the configuration of rpmbuild for the users to set up the config directories.

I hope this helps.


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