On Sun, 31 May 2009 21:55:00 -0400, Michael DeHaan <mdehaan(a)redhat.com>
wrote:
James Cammarata wrote:
> On Sat, 30 May 2009 22:23:50 +0100, James Cammarata <jimi(a)sngx.net>
> wrote:
>
>> dsch04 pointed this out in IRC. The RPMs still build for me, but he
>> said
>> it's barfing for him:
>>
>> + cp -pr AUTHORS COPYING CHANGELOG README
>> /var/tmp/cobbler-1.7.0-1-buildroot/usr/share/doc/cobbler-web-1.7.0
>> + exit 0
>> warning: File listed twice: /usr/share/cobbler/web/sessions
>> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
>> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>> Requires: Django cobbler
>> Checking for unpackaged file(s): /usr/lib/rpm/check-files
>> /var/tmp/cobbler-1.7.0-1-buildroot
>> warning: Installed (but unpackaged) file(s) found:
>> /usr/share/cobbler/web/__init__.pyc
>> /usr/share/cobbler/web/__init__.pyo
>> /usr/share/cobbler/web/authen.pyc
>> /usr/share/cobbler/web/authen.pyo
>> /usr/share/cobbler/web/manage.pyc
>> /usr/share/cobbler/web/manage.pyo
>> /usr/share/cobbler/web/settings.pyc
>> /usr/share/cobbler/web/settings.pyo
>> /usr/share/cobbler/web/urls.pyc
>> /usr/share/cobbler/web/urls.pyo
>> Wrote: /raid/devel/cobbler/rpm-build/cobbler-1.7.0-1.src.rpm
>> Wrote: /raid/devel/cobbler/rpm-build/cobbler-1.7.0-1.noarch.rpm
>> Wrote: /raid/devel/cobbler/rpm-build/koan-1.7.0-1.noarch.rpm
>> Wrote: /raid/devel/cobbler/rpm-build/cobbler-web-1.7.0-1.noarch.rpm
>> Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.58021
>> + umask 022
>> + cd /raid/devel/cobbler/rpm-build
>> + cd cobbler-1.7.0
>> + test x/var/tmp/cobbler-1.7.0-1-buildroot '!=' x
>> + rm -rf /var/tmp/cobbler-1.7.0-1-buildroot
>> + exit 0
>>
>>
>> I'll take a look at this if I have time this weekend, though I haven't
>>
> dug
>
>> into the spec file very much.
>>
>
>
> I've been looking into this, and can't for the life of me figure out why
> it's seeing these files. It looks like rpmbuild is looking in the real
> /usr/share/cobbler/web folder, and not one under the build root. So, if
> you've actually used the cobbler webui (or maybe just did a make
webtest)
> and then built an RPM, you should see this.
>
>
Can you reproduce it from "make rpms" ?
rpmbuild should be incapable of looking outside the build root.
Yes, the output from the original post is from my system. The only place I
can find those files is in /usr/share/cobbler/web. I've checked the build
root and run the commands manually in the makefile, and also did a tar -t
on the tar file for the rpm to make sure they weren't being copied into
that.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.