Mailinglist Archive: opensuse-buildservice (375 mails)

< Previous Next >
Re: [opensuse-buildservice] Problems trying to install a newly created package.
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Sun, 6 Apr 2008 12:20:12 +0200 (CEST)
  • Message-id: <alpine.LNX.1.10.0804061218580.26155@xxxxxxxxxxxxxxxxx>
On Sat, 5 Apr 2008, Boyd Lynn Gerber wrote:

What I had was

mkdir -p $RPM_BUILD_ROOT%{appdir}/fom-meta
install -d $RPM_BUILD_ROOT%{appdir}/fom-meta

So I really did not forget. This is turning into

/srv/www/cgi-bin/fom-meta with the error. So that was not the problem.
It does not like the above.

Some lines above in the error log you see, that $RPM_BUILD_ROOT is empty (which BTW is not good for "rm -rf"). Add a line like
"BuildRoot: %{_tmppath}/%{name}-%{version}-build"
in your SPEC file.

-- (PGP key available)
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >