Im trying to build a rpm of the current rc1 tarball.

I get the error below during scons install.

I'm using the ccrma .spec file, but I had to modify it since autotools
are no longer used.

The build part of the spec file now looks like this:
%build
scons configure
scons

%install
%{__rm} -rf %{buildroot}

scons DESTDIR=%{buildroot} install

I have no other means to try the build except with "mock", so I have
to build the srpm and so on. This is because im running on x86_64, and
ccrma is i386 only.


the error:

scons: *** [/usr/share/icons/locolor/16x16/apps/x-rosegarden.xpm] Exception
Traceback (most recent call last):
  File "/usr/lib/scons/SCons/Taskmaster.py", line 101, in execute
    self.targets[0].build()
  File "/usr/lib/scons/SCons/Node/__init__.py", line 201, in build
    apply(executor, (self, errfunc), kw)
  File "/usr/lib/scons/SCons/Executor.py", line 115, in __call__
    apply(action, (self.targets, self.sources, env, errfunc), kw)
  File "/usr/lib/scons/SCons/Action.py", line 243, in __call__
    stat = self.execute(target, source, env)
  File "/usr/lib/scons/SCons/Action.py", line 512, in execute
    return self.execfunction(target=target, source=rsources, env=env)
  File "/usr/lib/scons/SCons/Environment.py", line 82, in installFunc
    return install(target[0].path, source[0].path, env)
  File "scons_admin/generic.py", line 268, in copy_bksys
    shutil.copy2(source, dest)
  File "/usr/lib/python2.4/shutil.py", line 92, in copy2
    copyfile(src, dst)
  File "/usr/lib/python2.4/shutil.py", line 48, in copyfile
    fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory: 
'/usr/share/icons/locolor/16x16/apps/x-rosegarden.xpm'
scons: building terminated because of errors.
error: Bad exit status from /var/tmp/rpm-tmp.32843 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.32843 (%install)


-- 
Joakim Verona
www.verona.se





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to